- This topic has 5 replies, 2 voices, and was last updated 17 years, 9 months ago by
Loyal Water.
-
AuthorPosts
-
ekkpMemberHi,
Im trying to run a JSF example using OC4J 10.1.3.2 and MyEclipse 5.5 GA.
I configure OC4J and it runs OK. I create an Enterprise Java Project with a web module and I can open the index.jsp page with no problems.
But when I add JSF Capabilities to the web module I can’t run the index.jsp.
When I run the server I get the following message:2007-08-03 14:48:04.465 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
2007-08-03 14:48:04.465 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
2007-08-03 14:48:20.480 ERROR J2EE HTTP-00004 Internal error raised tyring to instantiate web-application: DemoWeb defined in web site OC4J 10g (10.1.3) Default Web Site. Error instantiate servlet classes
07/08/03 14:48:20 Oracle Containers for J2EE 10g (10.1.3.2.0) initializedDo I need to create another class or configure the project to add some library?
Thanks in advance,
Eduardo Kenzo Kurahayashi Porto
Loyal WaterMemberIm a little confused. Did you run your JSF example and get this error or did you just create an Enterprise Java project and add JSF capabilities to it to get this error?
ekkpMemberI try to run the example.
Eduardo Kenzo
Loyal WaterMemberI create an Enterprise Java Project with a web module
Can you try creating a new project but this time round select J2EE 1.4. Does that resolve the problem ?
ekkpMemberI tried lots of things… but forgot the basics 🙂
Thanks a lot, it worked!But why I cant create a Java EE 5.0 project + JSF capabilities?
Thanks,
Eduardo Kenzo
Loyal WaterMemberThats because you were deploying your project to an older version of the application server that didn’t understand Java EE 5… so the deployment descriptors, like web.xml, were referencing the web 2.5 specification file, and the server didn’t know what to do with it, so it couldn’t run the application.
-
AuthorPosts