JSF-ORACLE APPLICATION SERVER

Hi i am new to JSF and Oracle application server.

My problem is i am able to deploy and run my application in web logic,but i am unable to run in oracle app server,even though i am able to deploy it successfully.

When i run any of my JSF pages it is showing page cant be displayed,500Internal server error.

And it is not showing any error in the server(dos screen)screen.

please help me and there is no errors during deployment.

thanks in advance

[483 byte] By [Raja_ctsa] at [2007-11-27 6:35:34]
# 1
Hi i checked in the log file,there is null pointer exception at FacesServlet->init() function
Raja_ctsa at 2007-7-12 18:02:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Gotta give us a bit more information. I have never run Oracle Application Server but develop use JDeveloper all the time and have no issues even when I am not using ADF (another framework). My guess is that you are using something WebLogic specific? Try something neutral like Tomcat if you can.

I've deployed from JDeveloper to WebSphere with no problems (pertaining to JDeveloper, that does not go to say issues with JSF and WebSphere).

smurray_eriea at 2007-7-12 18:02:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Thank you very much for u r reply.

This is the exception i found in the log file.

I am just trying .xhtml files ,even there is no bindings also.

running with .jsf extension(xhtml files).

and i kept .xhtml as default tooo

Thanks in advance

valueScope: Error initializing servlet

java.lang.NullPointerException

at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2361

)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4810

)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4734

)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication

.java:2957)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler

.java:736)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler

.java:448)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler

.java:216)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)

at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)

at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor

.java:303)

at java.lang.Thread.run(Thread.java:595)

Raja_ctsa at 2007-7-12 18:02:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I would start by running down the source of the JSF implementation you are using and take a look at line 144 in FacesServlet.java.
RaymondDeCampoa at 2007-7-12 18:02:40 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...