facebook

OC4J and JSF example

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #273501 Reply

    ekkp
    Member

    Hi,

    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) initialized

    Do I need to create another class or configure the project to add some library?

    Thanks in advance,
    Eduardo Kenzo Kurahayashi Porto

    #273525 Reply

    Loyal Water
    Member

    Im 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?

    #273537 Reply

    ekkp
    Member

    I try to run the example.

    Eduardo Kenzo

    #273564 Reply

    Loyal Water
    Member

    I 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 ?

    #273594 Reply

    ekkp
    Member

    I 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

    #273616 Reply

    Loyal Water
    Member

    Thats 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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: OC4J and JSF example

You must be logged in to post in the forum log in