aspose file tools*
The moose likes BEA/Weblogic and the fly likes How To Run Gregg Bolinger's JSF Example on the WebLogic 8.1? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How To Run Gregg Bolinger Watch "How To Run Gregg Bolinger New topic
Author

How To Run Gregg Bolinger's JSF Example on the WebLogic 8.1?

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I have successfully run the JSF example provided by the moderator on the Tomcat 5.0.28.

I copied the war file (the one I copied to the $TOMCATHOME/webapps directory) to the WebLogic 8.1 deployment directory, started the WebLogic Server, changed the localhost to 7001 (http://localhost:7001/jsflogin/faces/login.jsp), but got the error shown below. How do I make JSF applications run on the WebLogic Server? Should I ask this question at the WebLogic Forum?


Error 500--Internal Server Error
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Since the app obviously works under tomcat I'd assume this is more of a Weblogic specific question so I am going to move this post to that forum.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Run Gregg Bolinger's JSF Example on the WebLogic 8.1?