Hello,
While migrating from a web-server application to a J2EE application with
JBoss, I run into some problems. The original version was already working on
Tomcat and now I wanted to add the JBoss functionality. I am using
Connection polling with Oracle through JNDI which seems to work fine. But
when I open and close a connection on this pool, directly after that Tomcat
wont load any pages anymore (not even html), and I get the next Exception:
java.lang.NullPointerExceptionnull at
org.apache.tomcat.util.FileUtil.patch(FileUtil.java:271)null at
org.apache.tomcat.util.FileUtil.safePath(FileUtil.java:180)null at
org.apache.tomcat.core.Context.getRealPath(Context.java:794)null at
org.apache.tomcat.facade.ServletContextFacade.getRealPath(ServletContextFaca
de.java:136)null at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:381)null at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)null
at org.apache.tomcat.core.Handler.service(Handler.java:286)null at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)null
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)null at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)null
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)null at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)nul
l at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)nu
ll at java.lang.Thread.run(Unknown Source)null
So the exception occurs somewhere in Tomcat (?) after a connectionpool is
being used for the first time. Anybody got an idea what's wrong here?
Rien.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user