tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Storch" <P1ST...@BFG.DE>
Subject Antwort: RE: JDBC, JDK-1.2.2, Tomcat 3.1beta under RH6.1
Date Tue, 21 Mar 2000 14:04:47 GMT

What about the WEB-INF/lib directory?
I read in TOMCAT_HOME/doc/appdev/deployment.html:
...
WEB-INF/lib/ - This directory contains JAR files that contain Java class files
(and associated resources) required for your application, such as third party
class libraries or JDBC drivers.
...






"Shields, Dorwin T." <DShields@Paymentech.com> am 21.03.2000 14:47:36

Bitte antworten an tomcat-user@jakarta.apache.org

An:    "'tomcat-user@jakarta.apache.org'" <tomcat-user@jakarta.apache.org>
Kopie:  (Blindkopie: Peter Storch/501500/Extern/BfG-Bank-AG)
Thema: RE: JDBC, JDK-1.2.2, Tomcat 3.1beta under RH6.1




I really hated to do it
but I just edited the tomcat.sh and
the tomcat.bat files to add my non-servlet
.zips and .jars to the CLASSPATH

-----Original Message-----
From: John Coonrod [mailto:jc@thp.org]
Sent: Tuesday, March 21, 2000 7:43 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: JDBC, JDK-1.2.2, Tomcat 3.1beta under RH6.1


What I have had to do is completely unzip the jdbc file (in my case Oracle)
so that there is a folder

\tomcat\webpages\WEB-INF\classes\oracle

===== Original Message from tomcat-user@jakarta.apache.org at 3/21/00 6:04
am
>Hello,
>
>I want to run some JSP and Servlets using JDBC. However, Tomcat is not
>able to locate the jdbc-file (classes12.zip). I have put it into
>$TOMCAT_HOME/lib and also into $JAVA_HOME/jre/lib/ext but nothing
>changes.
>
>I will still get the following Errormessage:
>
>Error: 500
>Location: /sql/servlet/sql.SQLServlet
>Internal Servlet Error:
>
>java.lang.NoClassDefFoundError: sql/SQLVerbindungsBean
> at sql.SQLServlet.(SQLServlet.java:8)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:237)
> at
>org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:270)
>
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:363
)
>
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:422
)
>
> at
>org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:390
)
>
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
> at
>org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnectio
n(Ajp12ConnectionHa
ndler.java:147)
>
> at
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:33
4)
>
> at java.lang.Thread.run(Thread.java:475)
>
>thanks for help
>
>bye Daniel
>
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org

----------------
Dr. John Coonrod, Vice President, jc@thp.org
The Hunger Project, 15 East 26th Street, NY, NY 10010 www.thp.org


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org








Mime
View raw message