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-tp26855630s17564p26855630.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer