On Wed, Jul 14, 1999 at 10:32:04AM -0400, Benoit Foucher wrote:
> Hi Christoph,
>
> Did you add the rmijdbc.jar to the wrapper.classpath in
> the jserv.properties? You can also see the FAQ-O-MATIC,
> http://java.apache.org/faq/index.cgi?file=214
Yes, I did. I assume this is active after I restart httpd (apachectl restart).
/home/kuku/ApacheJServ-1.0/jserv.properties contains:
wrapper.classpath=/home/kuku/ApacheJServ-1.0/src/java/ApacheJServ.jar
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/home/kuku/rmijdbc/rmijdbc.jar
I'm gettings an exception on
try {
Class.forName("RmiJdbc.RJDriver").newInstance();
}
catch (ClassNotFoundException e) {
out.println("Couldn't find class: " + e.getMessage());
}
Couldn't find class: RmiJdbc.RJDriver
>
> Regards,
>
> Benoit.
>
> Christoph Kukulies wrote:
> >
> > After having gotten through the Hello example and gotten jserv 1.0 compiled
> > into apache1.3.6 I'm wondering after all the magic that
> > happened during make and configure where I would have to put
> > rmijdbc.jar to make a servlet to find the classes in there.
> >
> > I extended the Hello example with my mundane knowledge on applets, servlets and
> > applications such that it should open a jdbc connection to an ACCESS97
> > database (using rmijdbc).
> >
> > From httpd-error.log:
> >
> > java.lang.ClassNotFoundException: RmiJdbc.RJDriver
> > at org.apache.java.lang.AdaptiveClassLoader.loadClass(AdaptiveClassLoade
> > r.java:437)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java)
> > at MyDB.doGet(MyDB.java:47)
> > 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:
> > 335)
> > at org.apache.jserv.JServConnection.run(JServConnection.java:197)
> > at java.lang.Thread.run(Thread.java)
> >
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]