Hmm as far as i could find out in sun's documentation, glassfish comes with
following jsf libraries:

JSF
com.sun.faces:jsf-api:2.0.2-b03
com.sun.faces:jsf-impl:2.0.2-b03

Domagoj


Patrik Nordwall wrote:
> 
> Do you know if glassfish has any libraries in it's classpath that takes
> preceedence of of jars that are bundled in war lib? Jsf provider/version?
> /Patrik 
> 
> 
> dmadunic wrote:
>> 
>> Hi Patrik,
>> i have not tried using jboss at all. I tested it first on jetty and all
>> went well, then i performed modifications as described above, and at some
>> point managed to run it on glassfish, but with the mentioned problem.
>> 
>> Unfortunately, glassfish logs are of no help, server.log does not contain
>> any exception stack trace.
>> And, yea i have modifed web.xml several time, but i am pretty sure it is
>> valid.
>> Any suggestions what else should i try?
>> Again, i am new to sculptore, and do not know where to look for what. I
>> am doing this because i want to evaluate its usability for some future
>> projects.
>> 
>> cheers
>> Domagoj
>>  
>> 
>> Patrik Nordwall wrote:
>>> 
>>> I have not tried in glassfish, but I don't think it will be difficult
>>> solve the issues. It would be interesting to see the full stack trace of
>>> the UnsupportedOperationException.
>>> 
>>> I think you should start with Jetty (which is default) or Tomcat
>>> settings, instead of jboss. 
>>> deployment.applicationServer=Tomcat
>>> http://fornax.itemis.de/confluence/display/fornax/7.+Developer%27s+Guide+%28CSC%29#7.Developer%27sGuide%28CSC%29-DeploymentinTomcat
>>> 
>>> Note that web.xml is only generated once, so you have to remove it when
>>> you have done above configuration change and then re-generate.
>>> 
>>> I would guess that if you have used jboss setting it will fail on the
>>> ServiceContextFactory, which is jboss-specific.
>>> 
>>> /Patrik
>>> 
>>> 
>>> dmadunic wrote:
>>>> 
>>>> Hi all, 
>>>> has anyone succeeded in deploying helloworld-web example on glassfish
>>>> 3?
>>>> 
>>>> I am completely new to sculptor, and since JBOSS is not my favorite
>>>> weapon of choice in the domain of JEE servers , i have attempted to run
>>>> helloworld-web on new glassfish 3 server.
>>>> Unfortunately, I have not made it until the end....
>>>>  
>>>> First I had to resolve data source name: java:comp/env/jdbc/UniverseDS
>>>> for glassfish, because applicotion could not be deployed, due to the
>>>> name JNDI mismatch.
>>>> 
>>>> Solution is similar one to the JBOSS solution.
>>>> 
>>>> 1) I have created new datasource in glassfish admin concole and named
>>>> it jdbc/UniverseDS
>>>> 
>>>> 2) added following to the web.xml:
>>>> 
>>>> <resource-ref>
>>>>            <description>Aliased UniverseDS now visible in
>>>> java:comp/env</description>
>>>>            <res-ref-name>jdbc/UniverseDS</res-ref-name>
>>>>            <res-type>javax.sql.DataSource</res-type>
>>>>            <res-auth>Container</res-auth>
>>>>    </resource-ref>
>>>> 
>>>> 3) Added new file sun-web.xml file in WEB-INF/
>>>> 
>>>> <?xml version="1.0" encoding="UTF-8" ?> 
>>>> <sun-web-app>
>>>>    <resource-ref>
>>>>            <res-ref-name>jdbc/UniverseDS</res-ref-name>
>>>>            <jndi-name>jdbc/UniverseDS</jndi-name>
>>>>    </resource-ref>
>>>> </sun-web-app>
>>>> 
>>>> Now application cane be deployed and even started (i got first screen),
>>>> but when i attempt to navigate to screen to "create new planet" i got
>>>> follwing error on the screen:
>>>> 
>>>> An internal fault occurred
>>>> 
>>>> System error (java.lang.UnsupportedOperationException), 
>>>> caused by: java.lang.UnsupportedOperationException
>>>> 
>>>> And nothing in the server logs..
>>>> 
>>>> Any help. It would be great if sculptor could be used on some other jee
>>>> server, not only on Jboss.
>>>> 
>>>> thx
>>>> Domagoj
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/helloworld-web-glassfish-deployment-tp26855630s17564p26862424.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to