where to put mssqlserver.jar

2003-11-13 Thread Swapan Mazumdar
Hi,

I am using tomcat4.1. Where I must put mssqlserver.jar to be shared by all
web apps.

regards
Swapan Mazumdar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem running servlet

2003-10-20 Thread Swapan Mazumdar
i am new to Tomcat. iam able to run jsp fine but not able to run even
HelloWorld servlet.
 
Ashish,

It seems that you might be getting some sort of exception explaining root
cause too.
It would be of help to diagnose if you can post the exception report here.

rg,
SM

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Swapan Mazumdar
Hi Richard,

Your problem might be related to the driver class not available in your
classpath. You can find the exact cause by looking at 
the _0002fconnect_00033_0002ejspconnect3_jsp_20.java:82) at line no. 82.
Look at
tomcat_home/work/../localhost/yourwebapp/jsp/_0002fconnect_00033_0002ejspcon
nect3_jsp_20.java

Can you check if your dependent jar (firebirdsql-full.jar) is placed under
WEB-INF/lib folder.
Placing dependent jar files here must solve your problems.

hope it could help.
regards
SM

-Original Message-
From: Richard Drent (Drent IT BV) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:52 AM
To: 'Tomcat Users List'
Subject: how to solve java.lang.NoClassDefFoundError



Can anyone tell me what this meens, and how to solve.

This error accurse when I try to connect to a firebird db, using
firebirdsql-full.jar

Root cause: 
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
_0002fconnect_00033_0002ejspconnect3_jsp_20._jspService(_0002fconnect_00033_
0002ejspconnect3_jsp_20.java:82)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484) 


Greetz
 
 
Richard Drent
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to solve java.lang.NoClassDefFoundError

2003-10-13 Thread Swapan Mazumdar
On line 82 is this 

 //Load driver
 Class.forName(org.firebirdsql.jdbc.FBDriver);

I cant tell you if you are using the correct package name for
FBDriver.class.
Well it would be wise enough if you could look into these jars below by
exploding/opening it.
Package declration and Driver class must be the ones that you use in your
application page.

-rwxrwxrwx1 adminsite1  336637 Oct  9 09:04
firebirdsql-full.jar
-rwxrwxrwx1 adminsite1  308739 Oct  9 09:04 firebirdsql.jar

all seems fine to me.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



let web tomcat talk 2 lan tomcat

2003-10-10 Thread Swapan Mazumdar
Hi forum,

I am having a difficult scenario where one tomcat sitting on webserver needs
to invoke a servlet from the other tomcat machine which not on web.
How can I let the tomcat on web to communicate with tomcat on LAN.

I would very much appreciate any response and insights from all.

Regards
Swapan Mazumdar



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: let web tomcat talk 2 lan tomcat

2003-10-10 Thread Swapan Mazumdar
Tim,
Tomcat by itslef has no ability to do this. But if on the first server you 
have apache, then you can use JK.

Otherwise - you'll need to poroxy the request yourself. There is a jakarat 
project called HttpClient which makes this easy to do.

The listed features below:
*Transparent connections through HTTP proxies. 
*Tunneled HTTPS connections through HTTP proxies, via the CONNECT method. 
*Transparent connections through SOCKS proxies (version 4  5) using native
Java socket support.

seems to play a vital role in meeting my requirement.
But before I dig my head into this stuff I would like to elaborate my
situtaion.
The web server(external IP) in question is supposed to render a image to be
fetched from an application(ARC MAP) to be run on 
a peer machine in LAN.

Since ARC Map can't be installed in te same machine which is a web server.
What approach would be a neat approach in meeting this requirement.

Kindly let may know what could be your approach in this context.

Regards
Swapan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]