----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
I realize this is probably not strictly a JServ question. I hope you will
forgive me.
This morning I took a bunch of development code and put it live which
involves moving the class files from the development zone to the live zone.
The problem is it won't work in the live zone, only in the dev zone. I have
a user object that keeps track of which DB connection the user is using.
When a page is requested a quick check is made to see if the user is in the
pool. If not a new one is created. Herein lies the problem.
In my dev zone everything continues to work properly and happily. However,
when trying to create a new user in the live zone I get
Unexpected exception:
null
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:125)
at com.viewpoint.publicWeb.UserManager.getUser(UserManager.java:33)
at BuildMenu.Go(BuildMenu.java:75)
at BuildMenu.doGet(BuildMenu.java:20)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:485)
I have no idea what to make of this error (I'm used to seeing ClassNotFound
exceptions w/ Class.forName, not NullPointerExceptions) or why I would be
getting it in one zone and not the other since they are using the same JVM
and the code is currently identical. I've blown away the class files and
completely recompiled. That's not the problem. Any help is greatly
appreciated.
JServ 1.1
Apache 1.3.9
JDK 1.2.1_04
Solaris 2.6
-Sean
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]