Hi,
I want to get the Bookstore class (from Torque
tutorial) running as a servlet in Tomcat. While the
application runs fine, its servlet form seems to run
into some torque configuration trouble:
java.lang.NullPointerException
at
org.apache.torque.Torque.initialize(Torque.java:227)
at
org.apache.torque.Torque.init(Torque.java:295)
at
org.apache.torque.Torque.init(Torque.java:275)
at
com.kazmier.BookstoreServlet.doGet(BookstoreServlet.java:29)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
<snip>
The catalina debugger reveals that the mapBuilders are
null objects.
I believe the Torque.properties is configured
correctly, and
properly accessed by the servlet via Torque.init. The
BookMapBuilder, AuthorMapBuilder, and
PublisherMapBuilder
classes all access the proper database. What else do
I
need to consider?
Other info: RH Linux 6.2, mySQL 4.0, torque-3.0-b4-dev
Needing Help,
Parox
P.S. Please tell me whether I should reword or
elaborate on my question. I've been being ignored for
a couple of weeks already on the -user list.
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>