RE: Tomcat problem

2005-05-13 Thread Robert Harper
Is someone inadvertently selecting text in the console? This will cause any
process running in the console to become blocked by the OS. When you hit a
key, this deselects the text in the console and releases the process to run
again. I sometimes use this while debugging something to halt a process
instead of using breakpoints.

Robert S. Harper
Senior Engineer
 
Information Access Technology, Inc.
1100 East 6600 South
Suite 300
Salt Lake City, Utah USA 84121-7411
(801)265-8800 Ext. 255
FAX (801)265-8880
 

This e-mail is intended only for the addressee and may contain confidential
and/or privileged information. Any review, retransmission, or action taken
upon this information by persons other than the intended recipient is
prohibited by law. If you received this communication in error, please
contact us immediately at 801-265-8800. Although this e-mail and any
attachments are believed to be free of any virus or other defect, it is the
responsibility of the recipient to ensure that anything received or opened
is virus free. No responsibility is accepted by IAT for any loss or damage
in the event that such a virus or defect exists.
 


-Original Message-
From: Santiago Iacobelli [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 13, 2005 1:10 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat problem

I'm running Tomcat 5.5.9 on Pentium 4, 512mb ram, ram with Windows 2000
server sp4.
Sometimes (two or four times a day) Tomcat doesn't send responses but when i
press any key in the console window, all the requests are processed and
Tomcat sends the responses to the clients.
This error happend with tomcat 5.0.x too.

Regards,





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



Re: tomcat problem

2005-02-11 Thread Parsons Technical Services
It appears you have a problem with a JSP. Check the logs for a more complete 
trace and see if the is any additional info. Do all the examples work?

Doug
- Original Message - 
From: ssk 2001 [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 2:29 AM
Subject: tomcat problem


After starting the tomcar when i enter my application url it fails .. The 
error is given below , pls help me ..

HTTP Status 500 -
-
type Exception report
message
description The server encountered an internal error () that prevented it 
from fulfilling this request.

exception
org.apache.jasper.JasperException 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause
java.lang.NullPointerException 
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:220) 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296) 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.4 logs.

-
Apache Tomcat/5.5.4
-
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term' 

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


RE: tomcat problem

2005-02-11 Thread George Sexton
I've seen this if the tags specified by the page are not available.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: ssk 2001 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 11, 2005 12:30 AM
 To: tomcat-user@jakarta.apache.org
 Subject: tomcat problem
 
 After starting the tomcar when i enter my application url it 
 fails .. The error is given below , pls help me ..
  
 HTTP Status 500 - 
 -
 
 type Exception report
 
 message 
 
 description The server encountered an internal error () that 
 prevented it from fulfilling this request.
 
 exception 
 org.apache.jasper.JasperException 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
 Wrapper.java:373) 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:295)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.ja
 va:245)   
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 
 
 root cause 
 java.lang.NullPointerException
 org.apache.jasper.JspCompilationContext.createCompiler(JspComp
 ilationContext.java:220)  
 org.apache.jasper.JspCompilationContext.compile(JspCompilation
 Context.java:552) 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
 Wrapper.java:296) 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:295)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.ja
 va:245)   
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
 
 
 note The full stack trace of the root cause is available in 
 the Apache Tomcat/5.5.4 logs.
 
 -
 Apache Tomcat/5.5.4
 
   
 -
 Do you Yahoo!?
  Yahoo! Search presents - Jib Jab's 'Second Term'
 


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



RE: tomcat problem related connection pooling help needed

2004-12-19 Thread Jan Behrens
ok, i will share what little knowledge i have...

when you normaly open a database connection, you get a connection object
that represents a database connection, you allways get a new connection and
have to ensure that this is definetly closed after usage. there a quite a
few drawbacks to this as you _must_ close the connection and in that the
number of java connection objects have to correspond to those maximal
available from your dbms (e.g. mysql). 

my first webapp at university was build like that and worked fine till i got
load on the system - then it crashed ;)

a connection pool helps you in avoiding mentioned problems. it basically is
a pool (funny that :) managed by a pool provider that consist of a limited
number of actual connection objects. these get created (and in specific
cases even destroyed/closed) by the pool provider. all you have to do is
configure it according to your specifications and then changed your db code
to request connections from the pool.

tomcat, beeing the great server it is, comes with a pool provider that you
could use to start with. i am not sure whether it is recommended for
production so you should check that before going live with your system. you
usually will set up a connection pool in combination with a jndi ressource
that provides everything needed for your app. 

first created the mentioned jndi by editing your applications xml file under

{TomcatInstallDir}\conf\Catalina\{servername}\myApplicationName.xml

you will need to insert a new ressource within the context-tag. the
following should serve as a general guideline, you will have to change
names, paths etc according to your setup of course :)

?xml version='1.0' encoding='utf-8'?
Context ... 
...
  Resource auth=Container name=jdbc/yourDatasourceName
type=javax.sql.DataSource/
  ResourceParams name=jdbc/yourDatasourceName
parameter
  nameurl/name
  valuejdbc:mysql://localhost:3306/daxcolog?autoReconnect=true/value
/parameter
parameter
  namemaxIdle/name
  value15/value
/parameter
parameter
  namemaxActive/name
  value50/value
/parameter
parameter
  namedriverClassName/name
  valuecom.mysql.jdbc.Driver/value
/parameter
parameter
  namemaxWait/name
  value1/value
/parameter
parameter
  nameremoveAbandoned/name
  valuetrue/value
/parameter
parameter
  nameusername/name
  valuedbUsername/value
/parameter
parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
  nameremoveAbandonedTimeout/name
  value60/value
/parameter
parameter
  namepassword/name
  valuedbPassword/value
/parameter
  /ResourceParams
/Context

the following two methods illustrate how to retrieve the session from the
context afterwards. NOTE: these are quite old as i have been using hibernate
for quite some time now, so use them as a general guideline only!

private Connection connect() {
  Connection conn = null;

try {
Context ctx = new InitialContext();

if (ctx == null) {
throw new Exception(
BaseTable.connect() -- Could not get Database
Context);
}

DataSource ds = (DataSource)
ctx.lookup(java:comp/env/jdbc/yourDatasourceName);

if (ds != null) {
conn = ds.getConnection();
}
} catch (Exception e) {
logger.error( Connection error! , e);
}

return conn;
}

private void disconnect(Connection conn) {
try {
java.sql.SQLWarning sqlw = conn.getWarnings();

while (sqlw != null) {
logger.error( SQL Warnings:  + 
   sqlw);
sqlw = sqlw.getNextWarning();
}

conn.close();
} catch (Exception e) {
logger.error( Error closing connection , e);
}

conn = null;
}

there are several good tutorials on this topic as well (just google or look
at either the tomcat or mysql driver manual) and i would highly recommend
looking into them, especially to ensure that you are closing every statement
and connection and that connections are correctly returned to the pool...

hth, jan

 -Original Message-
 From: Krishnakant Mane [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, December 19, 2004 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: tomcat problem related connection pooling help needed
 
 
 hello Jan and other friends,
 I read the mail that was sent as a reply for my
 problem.
 thanks jan for ur valuable help.
 I must mention that I am new to the jdbc stuff.  so I
 could not figure out the connection pooling issue.  I 
 understand that with pooling I can have live objects of say 
 connection objects that I can use as a pool and that tomcat 
 can send them when needed. but I don't exactly know how to 

Re: Tomcat - problem starting service

2004-11-29 Thread Janet Ciavarelli
Hello Everyone,
My Tomcat service still won't start. I've tried rebooting. Still
get error message stated below. I don't know what else to try. Any ideas
appreciated. 

Thanx, Janet

 [EMAIL PROTECTED] 11/25/04 08:50AM 
Hello. Thanx. I changed what you said under the Java tab and now it
has the correct path. Now I try to start the tomcat service again, it
won't start.  I get an error message as below. Do you know what could
be
causing this?

[2004-11-25 08:42:07] [173  javajni.c] [error] The specified module
could not be found.
[2004-11-25 08:42:07] [764  prunsrv.c] [error] Failed creating java
D:\Sun\AppServer\jdk\jre\bin\java.dll
[2004-11-25 08:42:07] [982  prunsrv.c] [error] ServiceStart returned 1



 [EMAIL PROTECTED] 11/24/04 04:45PM 
Yep, the installer picked up the wrong JRE.  

If you installed the Start Menu items you can change that by clicking
Start - Programs - Apache Tomcat - Config. then click the Java
tab.

If not, you'll either have to uninstall/reinstall or change the value
in
the registry using regedit.




On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
 Hello All,
I just installed Tomcat 5.0.28. The service won't start. See the
contents of the log file below. Why is it trying to access C:\Program
Files\Oracle\jre\1.1.7? In the install I specified for it to use
\D:\Sun\AppServer\jdk\jre. Where is it picking up this value
C:\Program
Files\Oracle\jre\1.1.7? Thanx, Janet
 
 [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 14:53:47] [info] Service Tomcat5 installed
 [2004-11-24 14:53:47] [info] Procrun finished.
 [2004-11-24 14:54:43] [info] Updating service...
 [2004-11-24 14:54:43] [info] Service Tomcat5 updated
 [2004-11-24 14:54:43] [info] Update service finished.
 [2004-11-24 14:54:43] [info] Procrun finished.
 [2004-11-24 14:54:47] [info] Updating service...
 [2004-11-24 14:54:47] [info] Service Tomcat5 updated
 [2004-11-24 14:54:48] [info] Update service finished.
 [2004-11-24 14:54:48] [info] Procrun finished.
 [2004-11-24 14:56:43] [info] Running Service...
 [2004-11-24 14:56:43] [info] Starting service...
 [2004-11-24 14:56:43] [173  javajni.c] [error] The specified module
could not be found.
 [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating java
C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart returned
1
 [2004-11-24 14:56:43] [info] Run service finished.
 [2004-11-24 14:56:43] [info] Procrun finished.
 [2004-11-24 14:58:36] [info] Running Service...
 [2004-11-24 14:58:36] [info] Starting service...
 [2004-11-24 14:58:36] [173  javajni.c] [error] The specified module
could not be found.
 [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating java
C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart returned
1
 [2004-11-24 14:58:36] [info] Run service finished.
 [2004-11-24 14:58:36] [info] Procrun finished.
 [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 15:46:07] [420  service.c] [error] The specified service
already exists.
 [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing
Tomcat5 service
 [2004-11-24 15:46:07] [info] Procrun finished.
 [2004-11-24 15:47:00] [info] Updating service...
 [2004-11-24 15:47:00] [info] Service Tomcat5 updated
 [2004-11-24 15:47:00] [info] Update service finished.
 [2004-11-24 15:47:00] [info] Procrun finished.
 [2004-11-24 15:47:01] [info] Updating service...
 [2004-11-24 15:47:01] [info] Service Tomcat5 updated
 [2004-11-24 15:47:01] [info] Update service finished.
 [2004-11-24 15:47:01] [info] Procrun finished.
 
 
 

-
 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] 


-
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: Tomcat - problem starting service

2004-11-25 Thread Janet Ciavarelli
Hello. Thanx. I changed what you said under the Java tab and now it
has the correct path. Now I try to start the tomcat service again, it
won't start.  I get an error message as below. Do you know what could be
causing this?

[2004-11-25 08:42:07] [173  javajni.c] [error] The specified module
could not be found.
[2004-11-25 08:42:07] [764  prunsrv.c] [error] Failed creating java
D:\Sun\AppServer\jdk\jre\bin\java.dll
[2004-11-25 08:42:07] [982  prunsrv.c] [error] ServiceStart returned 1



 [EMAIL PROTECTED] 11/24/04 04:45PM 
Yep, the installer picked up the wrong JRE.  

If you installed the Start Menu items you can change that by clicking
Start - Programs - Apache Tomcat - Config. then click the Java
tab.

If not, you'll either have to uninstall/reinstall or change the value
in
the registry using regedit.




On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
 Hello All,
I just installed Tomcat 5.0.28. The service won't start. See the
contents of the log file below. Why is it trying to access C:\Program
Files\Oracle\jre\1.1.7? In the install I specified for it to use
\D:\Sun\AppServer\jdk\jre. Where is it picking up this value C:\Program
Files\Oracle\jre\1.1.7? Thanx, Janet
 
 [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 14:53:47] [info] Service Tomcat5 installed
 [2004-11-24 14:53:47] [info] Procrun finished.
 [2004-11-24 14:54:43] [info] Updating service...
 [2004-11-24 14:54:43] [info] Service Tomcat5 updated
 [2004-11-24 14:54:43] [info] Update service finished.
 [2004-11-24 14:54:43] [info] Procrun finished.
 [2004-11-24 14:54:47] [info] Updating service...
 [2004-11-24 14:54:47] [info] Service Tomcat5 updated
 [2004-11-24 14:54:48] [info] Update service finished.
 [2004-11-24 14:54:48] [info] Procrun finished.
 [2004-11-24 14:56:43] [info] Running Service...
 [2004-11-24 14:56:43] [info] Starting service...
 [2004-11-24 14:56:43] [173  javajni.c] [error] The specified module
could not be found.
 [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating java
C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart returned
1
 [2004-11-24 14:56:43] [info] Run service finished.
 [2004-11-24 14:56:43] [info] Procrun finished.
 [2004-11-24 14:58:36] [info] Running Service...
 [2004-11-24 14:58:36] [info] Starting service...
 [2004-11-24 14:58:36] [173  javajni.c] [error] The specified module
could not be found.
 [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating java
C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart returned
1
 [2004-11-24 14:58:36] [info] Run service finished.
 [2004-11-24 14:58:36] [info] Procrun finished.
 [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 15:46:07] [420  service.c] [error] The specified service
already exists.
 [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing
Tomcat5 service
 [2004-11-24 15:46:07] [info] Procrun finished.
 [2004-11-24 15:47:00] [info] Updating service...
 [2004-11-24 15:47:00] [info] Service Tomcat5 updated
 [2004-11-24 15:47:00] [info] Update service finished.
 [2004-11-24 15:47:00] [info] Procrun finished.
 [2004-11-24 15:47:01] [info] Updating service...
 [2004-11-24 15:47:01] [info] Service Tomcat5 updated
 [2004-11-24 15:47:01] [info] Update service finished.
 [2004-11-24 15:47:01] [info] Procrun finished.
 
 
 

-
 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] 


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



Re: Tomcat - problem starting service

2004-11-25 Thread Janet Ciavarelli
The settings are:

Java Virtual Machine:
D:\Sun\AppServer\jdk\jre\bin\java.dll

Java Classpath:
D:\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar

Java Options:
-Dcatalina.home=D:\Apache Software Foundation\Tomcat 5.0
-Djava.endorsed.dirs=D:\Apache Software Foundation\Tomcat
5.0\common\endorsed
-Djava.io.tmpdir=D:\Apache Software Foundation\Tomcat 5.0

 [EMAIL PROTECTED] 11/25/04 09:07AM 
What are the settings now?
I just looked on one of our windows boxes. These are the settings that
are there by default. (obviously c:\davison\tomcat is our
CATALINA_HOME)


Java Virtual Machine:
C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll

Java Classpath:
C:\j2sdk1.4.2_05\lib\tools.jar;c:\davison\tomcat\bin\bootstrap.jar






On Thu, 2004-11-25 at 11:50, Janet Ciavarelli wrote:
 Hello. Thanx. I changed what you said under the Java tab and now
it
 has the correct path. Now I try to start the tomcat service again,
it
 won't start.  I get an error message as below. Do you know what could
be
 causing this?
 
 [2004-11-25 08:42:07] [173  javajni.c] [error] The specified module
 could not be found.
 [2004-11-25 08:42:07] [764  prunsrv.c] [error] Failed creating java
 D:\Sun\AppServer\jdk\jre\bin\java.dll
 [2004-11-25 08:42:07] [982  prunsrv.c] [error] ServiceStart returned
1
 
 
 
  [EMAIL PROTECTED] 11/24/04 04:45PM 
 Yep, the installer picked up the wrong JRE.  
 
 If you installed the Start Menu items you can change that by
clicking
 Start - Programs - Apache Tomcat - Config. then click the Java
 tab.
 
 If not, you'll either have to uninstall/reinstall or change the
value
 in
 the registry using regedit.
 
 
 
 
 On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
  Hello All,
 I just installed Tomcat 5.0.28. The service won't start. See
the
 contents of the log file below. Why is it trying to access
C:\Program
 Files\Oracle\jre\1.1.7? In the install I specified for it to use
 \D:\Sun\AppServer\jdk\jre. Where is it picking up this value
C:\Program
 Files\Oracle\jre\1.1.7? Thanx, Janet
  
  [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
  [2004-11-24 14:53:47] [info] Service Tomcat5 installed
  [2004-11-24 14:53:47] [info] Procrun finished.
  [2004-11-24 14:54:43] [info] Updating service...
  [2004-11-24 14:54:43] [info] Service Tomcat5 updated
  [2004-11-24 14:54:43] [info] Update service finished.
  [2004-11-24 14:54:43] [info] Procrun finished.
  [2004-11-24 14:54:47] [info] Updating service...
  [2004-11-24 14:54:47] [info] Service Tomcat5 updated
  [2004-11-24 14:54:48] [info] Update service finished.
  [2004-11-24 14:54:48] [info] Procrun finished.
  [2004-11-24 14:56:43] [info] Running Service...
  [2004-11-24 14:56:43] [info] Starting service...
  [2004-11-24 14:56:43] [173  javajni.c] [error] The specified
module
 could not be found.
  [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating
java
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
  [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart
returned
 1
  [2004-11-24 14:56:43] [info] Run service finished.
  [2004-11-24 14:56:43] [info] Procrun finished.
  [2004-11-24 14:58:36] [info] Running Service...
  [2004-11-24 14:58:36] [info] Starting service...
  [2004-11-24 14:58:36] [173  javajni.c] [error] The specified
module
 could not be found.
  [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating
java
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
  [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart
returned
 1
  [2004-11-24 14:58:36] [info] Run service finished.
  [2004-11-24 14:58:36] [info] Procrun finished.
  [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
  [2004-11-24 15:46:07] [420  service.c] [error] The specified
service
 already exists.
  [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing
 Tomcat5 service
  [2004-11-24 15:46:07] [info] Procrun finished.
  [2004-11-24 15:47:00] [info] Updating service...
  [2004-11-24 15:47:00] [info] Service Tomcat5 updated
  [2004-11-24 15:47:00] [info] Update service finished.
  [2004-11-24 15:47:00] [info] Procrun finished.
  [2004-11-24 15:47:01] [info] Updating service...
  [2004-11-24 15:47:01] [info] Service Tomcat5 updated
  [2004-11-24 15:47:01] [info] Update service finished.
  [2004-11-24 15:47:01] [info] Procrun finished.
  
  
  
 

-
  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]

 
 

-
 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: Tomcat - problem starting service

2004-11-25 Thread Ben Souther
What are the settings now?
I just looked on one of our windows boxes. These are the settings that
are there by default. (obviously c:\davison\tomcat is our CATALINA_HOME)


Java Virtual Machine:
C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll

Java Classpath:
C:\j2sdk1.4.2_05\lib\tools.jar;c:\davison\tomcat\bin\bootstrap.jar






On Thu, 2004-11-25 at 11:50, Janet Ciavarelli wrote:
 Hello. Thanx. I changed what you said under the Java tab and now it
 has the correct path. Now I try to start the tomcat service again, it
 won't start.  I get an error message as below. Do you know what could be
 causing this?
 
 [2004-11-25 08:42:07] [173  javajni.c] [error] The specified module
 could not be found.
 [2004-11-25 08:42:07] [764  prunsrv.c] [error] Failed creating java
 D:\Sun\AppServer\jdk\jre\bin\java.dll
 [2004-11-25 08:42:07] [982  prunsrv.c] [error] ServiceStart returned 1
 
 
 
  [EMAIL PROTECTED] 11/24/04 04:45PM 
 Yep, the installer picked up the wrong JRE.  
 
 If you installed the Start Menu items you can change that by clicking
 Start - Programs - Apache Tomcat - Config. then click the Java
 tab.
 
 If not, you'll either have to uninstall/reinstall or change the value
 in
 the registry using regedit.
 
 
 
 
 On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
  Hello All,
 I just installed Tomcat 5.0.28. The service won't start. See the
 contents of the log file below. Why is it trying to access C:\Program
 Files\Oracle\jre\1.1.7? In the install I specified for it to use
 \D:\Sun\AppServer\jdk\jre. Where is it picking up this value C:\Program
 Files\Oracle\jre\1.1.7? Thanx, Janet
  
  [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
  [2004-11-24 14:53:47] [info] Service Tomcat5 installed
  [2004-11-24 14:53:47] [info] Procrun finished.
  [2004-11-24 14:54:43] [info] Updating service...
  [2004-11-24 14:54:43] [info] Service Tomcat5 updated
  [2004-11-24 14:54:43] [info] Update service finished.
  [2004-11-24 14:54:43] [info] Procrun finished.
  [2004-11-24 14:54:47] [info] Updating service...
  [2004-11-24 14:54:47] [info] Service Tomcat5 updated
  [2004-11-24 14:54:48] [info] Update service finished.
  [2004-11-24 14:54:48] [info] Procrun finished.
  [2004-11-24 14:56:43] [info] Running Service...
  [2004-11-24 14:56:43] [info] Starting service...
  [2004-11-24 14:56:43] [173  javajni.c] [error] The specified module
 could not be found.
  [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating java
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
  [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart returned
 1
  [2004-11-24 14:56:43] [info] Run service finished.
  [2004-11-24 14:56:43] [info] Procrun finished.
  [2004-11-24 14:58:36] [info] Running Service...
  [2004-11-24 14:58:36] [info] Starting service...
  [2004-11-24 14:58:36] [173  javajni.c] [error] The specified module
 could not be found.
  [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating java
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
  [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart returned
 1
  [2004-11-24 14:58:36] [info] Run service finished.
  [2004-11-24 14:58:36] [info] Procrun finished.
  [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
  [2004-11-24 15:46:07] [420  service.c] [error] The specified service
 already exists.
  [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing
 Tomcat5 service
  [2004-11-24 15:46:07] [info] Procrun finished.
  [2004-11-24 15:47:00] [info] Updating service...
  [2004-11-24 15:47:00] [info] Service Tomcat5 updated
  [2004-11-24 15:47:00] [info] Update service finished.
  [2004-11-24 15:47:00] [info] Procrun finished.
  [2004-11-24 15:47:01] [info] Updating service...
  [2004-11-24 15:47:01] [info] Service Tomcat5 updated
  [2004-11-24 15:47:01] [info] Update service finished.
  [2004-11-24 15:47:01] [info] Procrun finished.
  
  
  
 
 -
  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] 
 
 
 -
 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: Tomcat - problem starting service

2004-11-25 Thread Ben Souther
Which JDK did you install?


On Thu, 2004-11-25 at 12:22, Janet Ciavarelli wrote:
 The settings are:
 
 Java Virtual Machine:
 D:\Sun\AppServer\jdk\jre\bin\java.dll
 
 Java Classpath:
 D:\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar
 
 Java Options:
 -Dcatalina.home=D:\Apache Software Foundation\Tomcat 5.0
 -Djava.endorsed.dirs=D:\Apache Software Foundation\Tomcat
 5.0\common\endorsed
 -Djava.io.tmpdir=D:\Apache Software Foundation\Tomcat 5.0
 
  [EMAIL PROTECTED] 11/25/04 09:07AM 
 What are the settings now?
 I just looked on one of our windows boxes. These are the settings that
 are there by default. (obviously c:\davison\tomcat is our
 CATALINA_HOME)
 
 
 Java Virtual Machine:
 C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll
 
 Java Classpath:
 C:\j2sdk1.4.2_05\lib\tools.jar;c:\davison\tomcat\bin\bootstrap.jar
 
 
 
 
 
 
 On Thu, 2004-11-25 at 11:50, Janet Ciavarelli wrote:
  Hello. Thanx. I changed what you said under the Java tab and now
 it
  has the correct path. Now I try to start the tomcat service again,
 it
  won't start.  I get an error message as below. Do you know what could
 be
  causing this?
  
  [2004-11-25 08:42:07] [173  javajni.c] [error] The specified module
  could not be found.
  [2004-11-25 08:42:07] [764  prunsrv.c] [error] Failed creating java
  D:\Sun\AppServer\jdk\jre\bin\java.dll
  [2004-11-25 08:42:07] [982  prunsrv.c] [error] ServiceStart returned
 1
  
  
  
   [EMAIL PROTECTED] 11/24/04 04:45PM 
  Yep, the installer picked up the wrong JRE.  
  
  If you installed the Start Menu items you can change that by
 clicking
  Start - Programs - Apache Tomcat - Config. then click the Java
  tab.
  
  If not, you'll either have to uninstall/reinstall or change the
 value
  in
  the registry using regedit.
  
  
  
  
  On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
   Hello All,
  I just installed Tomcat 5.0.28. The service won't start. See
 the
  contents of the log file below. Why is it trying to access
 C:\Program
  Files\Oracle\jre\1.1.7? In the install I specified for it to use
  \D:\Sun\AppServer\jdk\jre. Where is it picking up this value
 C:\Program
  Files\Oracle\jre\1.1.7? Thanx, Janet
   
   [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
   [2004-11-24 14:53:47] [info] Service Tomcat5 installed
   [2004-11-24 14:53:47] [info] Procrun finished.
   [2004-11-24 14:54:43] [info] Updating service...
   [2004-11-24 14:54:43] [info] Service Tomcat5 updated
   [2004-11-24 14:54:43] [info] Update service finished.
   [2004-11-24 14:54:43] [info] Procrun finished.
   [2004-11-24 14:54:47] [info] Updating service...
   [2004-11-24 14:54:47] [info] Service Tomcat5 updated
   [2004-11-24 14:54:48] [info] Update service finished.
   [2004-11-24 14:54:48] [info] Procrun finished.
   [2004-11-24 14:56:43] [info] Running Service...
   [2004-11-24 14:56:43] [info] Starting service...
   [2004-11-24 14:56:43] [173  javajni.c] [error] The specified
 module
  could not be found.
   [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating
 java
  C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
   [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart
 returned
  1
   [2004-11-24 14:56:43] [info] Run service finished.
   [2004-11-24 14:56:43] [info] Procrun finished.
   [2004-11-24 14:58:36] [info] Running Service...
   [2004-11-24 14:58:36] [info] Starting service...
   [2004-11-24 14:58:36] [173  javajni.c] [error] The specified
 module
  could not be found.
   [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating
 java
  C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
   [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart
 returned
  1
   [2004-11-24 14:58:36] [info] Run service finished.
   [2004-11-24 14:58:36] [info] Procrun finished.
   [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
   [2004-11-24 15:46:07] [420  service.c] [error] The specified
 service
  already exists.
   [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing
  Tomcat5 service
   [2004-11-24 15:46:07] [info] Procrun finished.
   [2004-11-24 15:47:00] [info] Updating service...
   [2004-11-24 15:47:00] [info] Service Tomcat5 updated
   [2004-11-24 15:47:00] [info] Update service finished.
   [2004-11-24 15:47:00] [info] Procrun finished.
   [2004-11-24 15:47:01] [info] Updating service...
   [2004-11-24 15:47:01] [info] Service Tomcat5 updated
   [2004-11-24 15:47:01] [info] Update service finished.
   [2004-11-24 15:47:01] [info] Procrun finished.
   
   
   
  
 
 -
   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]
 
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL 

Re: Tomcat - problem starting service

2004-11-24 Thread Ben Souther
Yep, the installer picked up the wrong JRE.  

If you installed the Start Menu items you can change that by clicking
Start - Programs - Apache Tomcat - Config. then click the Java tab.

If not, you'll either have to uninstall/reinstall or change the value in
the registry using regedit.




On Wed, 2004-11-24 at 19:31, Janet Ciavarelli wrote:
 Hello All,
I just installed Tomcat 5.0.28. The service won't start. See the contents 
 of the log file below. Why is it trying to access C:\Program 
 Files\Oracle\jre\1.1.7? In the install I specified for it to use 
 \D:\Sun\AppServer\jdk\jre. Where is it picking up this value C:\Program 
 Files\Oracle\jre\1.1.7? Thanx, Janet
 
 [2004-11-24 14:53:46] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 14:53:47] [info] Service Tomcat5 installed
 [2004-11-24 14:53:47] [info] Procrun finished.
 [2004-11-24 14:54:43] [info] Updating service...
 [2004-11-24 14:54:43] [info] Service Tomcat5 updated
 [2004-11-24 14:54:43] [info] Update service finished.
 [2004-11-24 14:54:43] [info] Procrun finished.
 [2004-11-24 14:54:47] [info] Updating service...
 [2004-11-24 14:54:47] [info] Service Tomcat5 updated
 [2004-11-24 14:54:48] [info] Update service finished.
 [2004-11-24 14:54:48] [info] Procrun finished.
 [2004-11-24 14:56:43] [info] Running Service...
 [2004-11-24 14:56:43] [info] Starting service...
 [2004-11-24 14:56:43] [173  javajni.c] [error] The specified module could not 
 be found.
 [2004-11-24 14:56:43] [764  prunsrv.c] [error] Failed creating java 
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:56:43] [982  prunsrv.c] [error] ServiceStart returned 1
 [2004-11-24 14:56:43] [info] Run service finished.
 [2004-11-24 14:56:43] [info] Procrun finished.
 [2004-11-24 14:58:36] [info] Running Service...
 [2004-11-24 14:58:36] [info] Starting service...
 [2004-11-24 14:58:36] [173  javajni.c] [error] The specified module could not 
 be found.
 [2004-11-24 14:58:36] [764  prunsrv.c] [error] Failed creating java 
 C:\Program Files\Oracle\jre\1.1.7\bin\javai.dll
 [2004-11-24 14:58:36] [982  prunsrv.c] [error] ServiceStart returned 1
 [2004-11-24 14:58:36] [info] Run service finished.
 [2004-11-24 14:58:36] [info] Procrun finished.
 [2004-11-24 15:46:07] [info] Service Tomcat5 name Apache Tomcat
 [2004-11-24 15:46:07] [420  service.c] [error] The specified service already 
 exists.
 [2004-11-24 15:46:07] [514  prunsrv.c] [error] Failed installing Tomcat5 
 service
 [2004-11-24 15:46:07] [info] Procrun finished.
 [2004-11-24 15:47:00] [info] Updating service...
 [2004-11-24 15:47:00] [info] Service Tomcat5 updated
 [2004-11-24 15:47:00] [info] Update service finished.
 [2004-11-24 15:47:00] [info] Procrun finished.
 [2004-11-24 15:47:01] [info] Updating service...
 [2004-11-24 15:47:01] [info] Service Tomcat5 updated
 [2004-11-24 15:47:01] [info] Update service finished.
 [2004-11-24 15:47:01] [info] Procrun finished.
 
 
 
 -
 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: Tomcat Problem

2004-06-22 Thread klyik
Note that when running Tomcat as a service it is possible that the user can be 
different from when you launch it manually.

I am not sure but this can be one possible issue.

All the best,
Ric

Quoting Aris Javier [EMAIL PROTECTED]:

 
 Hello!
  
 just like to ask why i always have this kind of error;
 
 org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General
 Error
 
 this error only occurs when i run tomcat 5.0.7 on
 start - programs - administrative tools - services... but if i run
 tomcat 5.0.7 manually.. like start - programs - apache tomcat -
 start tomcat all of my servlets/jsp works fine... with no dbcp error...
  
 i need to run tomcat automatically... so that when i logged off from
 server... the tomcat should still run... 
 
 help needed.. 
  
 thanks!
 Aris
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 




-
This mail sent through IMP: http://horde.org/imp/

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



RE: Tomcat Problem

2004-06-22 Thread Aris Javier
hello!

i'm logged as the administrator for the server.. when i run it
manually.. the java programs works fine.. 

when i logged off.. not shutdown.. tomcat manually operated will be
closed right? or wrong?



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 10:27 AM
To: Tomcat Users List
Subject: Re: Tomcat Problem


Note that when running Tomcat as a service it is possible that the user
can be 
different from when you launch it manually.

I am not sure but this can be one possible issue.

All the best,
Ric

Quoting Aris Javier [EMAIL PROTECTED]:

 
 Hello!
  
 just like to ask why i always have this kind of error;
 
 org.apache.commons.dbcp.DbcpException: java.sql.SQLException: General 
 Error
 
 this error only occurs when i run tomcat 5.0.7 on
 start - programs - administrative tools - services... but if i 
 run tomcat 5.0.7 manually.. like start - programs - apache tomcat 
 - start tomcat all of my servlets/jsp works fine... with no dbcp 
 error...
  
 i need to run tomcat automatically... so that when i logged off from 
 server... the tomcat should still run...
 
 help needed..
  
 thanks!
 Aris
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 




-
This mail sent through IMP: http://horde.org/imp/

-
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: tomcat problem

2004-01-29 Thread STOCKHOLM, Raymond
try boosting the memory available for tomcat 
for instance add in startup.* :
set JAVA_OPTS=-server -Xms750m -Xmx750m -XX:NewRatio=2

and check the number of processors available : increase maxProcessors
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=80 minProcessors=20 maxProcessors=400
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /


-Message d'origine-
De : Alejandro Pérez Nava [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 29 janvier 2004 09:36
À : [EMAIL PROTECTED]
Objet : tomcat problem


Hello i have a problem.
i have the next configuration:
win2000 apache tomcat sql server, when i switch on the server the
application is very fast but 4 or 5 hours affter the application is slow and
two days after is very slow... then i switch off and switch on the server
and the application is very fast but 4 or 5 hours affter the application is
slow and two days after is very slow

thakns
Alejandro Pérez Nava.

Dir. Dep. Desarrollo.

CanaryWeb, S.L.

Tlf 922 210339



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



Re: Tomcat Problem

2003-11-02 Thread Sriram N
Hello:

Please post queries related to Tomcat's usage to the Tomcat-user mailing list.
You will have a bigger audience there to help you get started with Tomcat.

1. Have you read the application developer's guide ?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It is also installed along with the tomcat that you are running as part of the
tomcat documentation, accessible via http://localhost:8080/

Read this doc, and you will learn exactly where to place classes (e.g. not in
the bin folder).

2. To get started quickly, I suggest you make a copy of the examples webapps,
and start adding jsps there.

3. Does your bean belong to some package ? e.g. foo.bar.MyBean

4. Upper/lower case matters. Are you typing the class name in the correct case
?

Post a snippet of how you are trying to include the Bean. 

-- Sriram

--- ganeshprabhup [EMAIL PROTECTED] wrote:
 I am a java professsional new to Tomcat and JSP. I downloaded and installed
 successfully Jakarta-Tomcat 4.1.27. While I tried to run a jsp accessing a
 javabean, it gave an error saying 'Unable to compile class for JSP'. It was
 not able to locate the bean class. I put the bean class in all the 'classes'
 directries. I also created the jar file of the bean and put it in all the
 available 'bin' directories. Still the problem persisted. Please suggest a
 solution. Do I need to add any path or classpath in my environment? If so
 please show me how to write it.
 
 
 Thanks
 
 
 Ganesh Prabhu
 Get Your Private, Free E-mail from Indiatimes at  http://email.indiatimes.com
 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
 Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to
 http://airsahara.indiatimes.com and Bid Now !
 


__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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



RE: Tomcat problem !

2003-10-17 Thread Patrick Willart
Come on Hassan... How can you ever expect to get an answer on this?

Your question doesn't have any specifics at all and this kind of stuff is
documented well on http://jakarta.apache.org/tomcat.


-Original Message-
From: hassan [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 3:38 AM
To: [EMAIL PROTECTED]
Subject: Tomcat problem !


Sir plz let me know how can i configuree Tomcat 4.1 or 3.1 at my machine ..

Regards !

Hassan



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



Re: Tomcat problem !

2003-10-17 Thread Filip Hanik
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
- Original Message - 
From:  hassan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 3:38 AM
Subject: Tomcat problem !


Sir plz let me know how can i configuree Tomcat 4.1 or 3.1 at my machine ..

Regards !

Hassan



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



RE: TOMCAT problem

2003-07-24 Thread dr.ahab
haifeng,

to ask a couple of stupid questions... have you reloaded your webapp or
restarted tomcat after your changes? was the original version of the webapp
deployed through a .war file and same is still in catalina_homewebapps/ ?
if so, remove that and reload your app once more.

jan

 -Original Message-
 From: Liu Haifeng [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 24, 2003 8:12 AM
 To: Anandkumar Ayyachamy
 Cc: [EMAIL PROTECTED]
 Subject: Re: TOMCAT problem


 Thanks Anand, but I do have deleted the files under the directory
 tomcat/work/localhost_myapp/.  Also I have cleared the cache of
 my browser.
 It does not work.  Just wondering where the old copies of the classes are
 stored in the Tomcat server.

 Regards
 Haifeng
 - Original Message -
 From: Anandkumar Ayyachamy [EMAIL PROTECTED]
 To: Liu Haifeng [EMAIL PROTECTED]
 Sent: Thursday, July 24, 2003 2:15 PM
 Subject: Re: TOMCAT problem


  I face this problem with the jsp as there is always a copy of the
  compiled jsp in the
  work folder under tomcat. I am not sure about the classes though. Try to
  delete the myapp
  folder in tomcat/work/Standalone/localhost. or anywhere under work. Hope
  this helps.
  Cheers,
  Anand
 
  Liu Haifeng wrote:
 
  Hi,
  
  I am not sure if this is the right place for me to ask the question.
 Just
  hope to get some clues.  I am implementing a JSP web application  under
  linux and Tomcat.  After the application has successfully run for a
 period,
  I made some changes on the source codes of the application, and
  compiled them.  Then restarted Tomcat.  However, I am always
 getting the
  results related to the old version codes that no longer exist in the
 server.
  So anybody can help here?  Thanks.   (the codes are located under
  Tomcat/webapps/myapp/WEB-INF/classes.)
  
  Regards
  Haifeng
  
  
  
  
 
 


 --
 MySQL Java Mailing List
 For list archives: http://lists.mysql.com/java
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



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



RE: Tomcat Problem

2002-10-07 Thread Cox, Charlie



 -Original Message-
 From: Uma Maheswar [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, October 05, 2002 7:16 AM
 To: Tomcat Users List
 Subject: Re: Tomcat Problem
 
 
 Hi Reynir,
 I tried it, I got this messages
 
 C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
 Using CATALINA_BASE: ..
 Using CATALINA_HOME: ..
 Using CLASSPATH: 
 ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar
 Using JAVA_HOME: c:/j2sdk1.4.0/bin;

remove the '/bin'
JAVA_HOME should be c:/j2sdk1.4.0

Charlie


 The system cannot find the path specified.
 C:\PROGRA~1\Apache Tomcat 4.0\bin
 
 But I dont see the console. My Tomcat is working when I type
 http://localhost:8080 . Please suggest me.
 
 Thanks
 Uma
 
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




Re: Tomcat Problem

2002-10-05 Thread Andreas Probst

Hi Uma,

it seems you installed Tomcat as a service. You could deinstall 
this service or set it to manual start. Then you should be able 
to start Tomcat manually from the script.

On Sun, 29 Sep 2002 19:30:50 -0500 there was a message from 
Jacob Kjome (Subject: Re: Need Help ASAP w. Tomcat install!), 
where he also explained, how to install or deinstall the service 
from the command line.

Andreas


On 5 Oct 2002 at 7:54, Uma Maheswar wrote:

 Hello,
 I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I
 cannot start the Tomcat from
 Start - Programmes - Apache Tomcat. I need to go to the Control Panel -
 Admin Tools - Services and then start the Tomcat over there.
 
 Can any one tell me what is wrong? I am also using JDK1.4.0
 
 Thanks
 Uma
 Java Developer
 http://www.javagalaxy.com
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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




Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar

Hi Probst,
Sorry, I did that. Not helpful. Any other way?

Uma

- Original Message -
From: Andreas Probst [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, October 05, 2002 12:56 PM
Subject: Re: Tomcat Problem


 Hi Uma,

 it seems you installed Tomcat as a service. You could deinstall
 this service or set it to manual start. Then you should be able
 to start Tomcat manually from the script.

 On Sun, 29 Sep 2002 19:30:50 -0500 there was a message from
 Jacob Kjome (Subject: Re: Need Help ASAP w. Tomcat install!),
 where he also explained, how to install or deinstall the service
 from the command line.

 Andreas


 On 5 Oct 2002 at 7:54, Uma Maheswar wrote:

  Hello,
  I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also,
I
  cannot start the Tomcat from
  Start - Programmes - Apache Tomcat. I need to go to the Control Panel -
  Admin Tools - Services and then start the Tomcat over there.
 
  Can any one tell me what is wrong? I am also using JDK1.4.0
 
  Thanks
  Uma
  Java Developer
  http://www.javagalaxy.com
 
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 



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





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




RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner

Well, the error message might be helpful, but if you try starting it by going into 
command line and browse to 
C:\$yourtomcathome\bin
And run from there \ catalina run
you should see a stacktrace of why tomcat doesn't startup. It usually has something to 
do with bad formed server.xml

Hope it helps
-reynir


 -Original Message-
 From: Uma Maheswar [mailto:[EMAIL PROTECTED]] 
 Sent: 5. október 2002 02:25
 To: Tomcat Users List
 Subject: Tomcat Problem
 
 
 Hello,
 I cannot view the Tomcat Console. I am using Tomcat 4.0 on 
 Win XP. Also, I cannot start the Tomcat from Start - 
 Programmes - Apache Tomcat. I need to go to the Control Panel 
 - Admin Tools - Services and then start the Tomcat over there.
 
 Can any one tell me what is wrong? I am also using JDK1.4.0
 
 Thanks
 Uma
 Java Developer
 http://www.javagalaxy.com
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

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




Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar

Hi Reynir,
I do not have any error message. If I need to start the Tomcat in my PC
running on Win XP, I need to go to Start - Control Panel - Admin Tools -
Services and then start the Tomcat. There is no other option for me than
this.

Now the Tomcat gets started if I do so. But I wanted to view its Console
(Black DOS like Window). How can I get this?

Thanks
Uma
http://www.javagalaxy.com


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




RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner

Ok go to : 

Start - run - cmd
C:\cd jakarta tomcat
C:\jakarta tomcat\ cd bin
C:\jakarta tomcat\bin\ catalina run

Just try it.
You could also try starting the startup.bat in the same folder.




 -Original Message-
 From: Uma Maheswar [mailto:[EMAIL PROTECTED]] 
 Sent: 5. október 2002 10:54
 To: Tomcat Users List
 Subject: Re: Tomcat Problem
 
 
 Hi Reynir,
 I do not have any error message. If I need to start the 
 Tomcat in my PC running on Win XP, I need to go to Start - 
 Control Panel - Admin Tools - Services and then start the 
 Tomcat. There is no other option for me than this.
 
 Now the Tomcat gets started if I do so. But I wanted to view 
 its Console (Black DOS like Window). How can I get this?
 
 Thanks
 Uma
 http://www.javagalaxy.com
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

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




Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar

Hi Reynir,
I tried it, I got this messages

C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar
Using JAVA_HOME: c:/j2sdk1.4.0/bin;
The system cannot find the path specified.
C:\PROGRA~1\Apache Tomcat 4.0\bin

But I dont see the console. My Tomcat is working when I type
http://localhost:8080 . Please suggest me.

Thanks
Uma



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




Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar

Reynir,
I tried this and it gave me some error messages. Can you suggest me now?

Uma


C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar
Using JAVA_HOME: c:/j2sdk1.4.0/bin;
The system cannot find the path specified.
C:\PROGRA~1\Apache Tomcat 4.0\binset JAVA_HOME=C:\j2sdk1.4.0

C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CLASSPATH: ..\bin\bootstrap.jar;C:\j2sdk1.4.0\lib\tools.jar
Using JAVA_HOME: C:\j2sdk1.4.0
ERROR reading ..\conf\server.xml
At Line 319 /Server/Service/Connector/
className=org.apache.catalina.connector.w
arp.WarpConnector port=8008 minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=10 debug=0

Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.connector.
warp.WarpConnector
java.lang.ClassNotFoundException:
org.apache.catalina.connector.warp.WarpConnect
or
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at
org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)

at
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91
)
at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
va:329)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:253)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
C:\PROGRA~1\Apache Tomcat 4.0\bin


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




RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner

Yes, 
In server.xml you have specified a WARP connector. 
It seems to me like you have an extra space in here : 

  org.apache.catalina.connector. warp.WarpConnector
^

Fix it, and try again .

-hope it helps
Reynir

 -Original Message-
 From: Uma Maheswar [mailto:[EMAIL PROTECTED]] 
 Sent: 5. október 2002 11:18
 To: Tomcat Users List
 Subject: Re: Tomcat Problem
 
 
 Reynir,
 I tried this and it gave me some error messages. Can you 
 suggest me now?
 
 Uma
 
 
 C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
 Using CATALINA_BASE: ..
 Using CATALINA_HOME: ..
 Using CLASSPATH: 
 ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar
 Using JAVA_HOME: c:/j2sdk1.4.0/bin;
 The system cannot find the path specified.
 C:\PROGRA~1\Apache Tomcat 4.0\binset JAVA_HOME=C:\j2sdk1.4.0
 
 C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run
 Using CATALINA_BASE: ..
 Using CATALINA_HOME: ..
 Using CLASSPATH: ..\bin\bootstrap.jar;C:\j2sdk1.4.0\lib\tools.jar
 Using JAVA_HOME: C:\j2sdk1.4.0
 ERROR reading ..\conf\server.xml
 At Line 319 /Server/Service/Connector/ 
 className=org.apache.catalina.connector.w
 arp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 
 enableLookups=true acceptCount=10 debug=0
 
 Catalina.start: java.lang.ClassNotFoundException: 
 org.apache.catalina.connector. warp.WarpConnector
 java.lang.ClassNotFoundException: 
 org.apache.catalina.connector.warp.WarpConnect
 or
 at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
 at 
 java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:130)
 at
 org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
 at
 org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
 
 at 
 org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91
 )
 at 
 org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
 va:329)
 at 
 org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
 at 
 org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
 at 
 org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
 at 
 org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
 at 
 org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
 at 
 org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
 at
 org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
 
 at
 org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
 
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:253)
 at
 org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
 at 
 org.apache.catalina.startup.Catalina.start(Catalina.java:725)
 at 
 org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at 
 org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 sorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at 
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 C:\PROGRA~1\Apache Tomcat 4.0\bin
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

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




Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar

Reynir,
I never changed the server.xml file. I dont know that stuff. Can you tell me
how to change WARP?

Thanks


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




RE: Tomcat Problem

2002-10-05 Thread Reynir Hübner

Just open it up (tomcat/conf/server.xml) and read the instructions.

-reynir



 -Original Message-
 From: Uma Maheswar [mailto:[EMAIL PROTECTED]] 
 Sent: 5. október 2002 11:25
 To: Tomcat Users List
 Subject: Re: Tomcat Problem
 
 
 Reynir,
 I never changed the server.xml file. I dont know that stuff. 
 Can you tell me how to change WARP?
 
 Thanks
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

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




Re: tomcat problem with struts *.do and /do/*

2002-09-03 Thread skraaatch

PLEASE IGNORE THAT LAST POST. PROBLEM SOLVED.
DUH! I'M SO BLIND, I THINK IT'S TIME TO CHANGE MY GLASSES... backing out
sheepishly.../
but hey, if someone out there can work out the answer (not just because
they've seen the bug before) and they're in london i'll happily buy them a
beer. and ask for some debugging advice ;-)
(hint - i was barking up the wrong tree and you probably would need more
info than i posted to solve it...)


- Original Message -
From: alex r [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, September 03, 2002 10:57 PM
Subject: tomcat problem with struts *.do and /do/*


 hi, i'm using tomcat 4.0.4 and struts 1.0.2 and have a problem with my
 mapping configuration file (struts-config.xml).
 in an action mapping such as:
 actionpath=/travel
type=com.jazzdup.arak.user.TravelAction
   scope=request
   forward name=failure  path=/logon.do/
   forward name=success  path=/travel.jsp/
 /action
 the path to *.jsp works fine but on trying to follow the path to
/logon.do,
 i get the following error:

 java.lang.IllegalArgumentException: Path failure2 does not start with a
/
 character
  at

org.apache.catalina.core.ApplicationContext.getRequestDispatcher(Application
 Context.java:572)
  at

org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(Appli
 cationContextFacade.java:174)
  at

org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
 va:1751)
  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
  at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
 FilterChain.java:247)
  at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
 ain.java:193)
  at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
 va:260)
  at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
 eNext(StandardPipeline.java:646)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
 va:191)
  at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
 eNext(StandardPipeline.java:646)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
  at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
 ), etc, etc...

 now, changing *.do to /do/* (ie/ change /logon.do to /do/logon with the
 corresponding change in the web.xml file) works fine for normal links but
 when trying to forward does NOT work.

 does this work with the standalone tomcat 4.0.4? i'm using the jwsdp.
 i've found hardly any info on this - the references i did find were
 broken/didn't give much info at all so does anyone have any more
information
 on this?
 or can someone suggest a decent workaround?
 the only information that i've been able to glean has been that there's a
 known bug in the jasper compiler and that changing it to /do/* should
 work... but it doesn't
 thanks,
 aL.






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



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




RE: Tomcat Problem (startup.bat)

2001-04-12 Thread Danny Angus



I 
think you need to specify a full file path, because your servlet will search in 
the current directory, which is way *not* ever going to be where you expect it 
to be...
You 
can use your knowledge of your own application, the request URI, and TOMCAT_HOME 
to build one that's independant of installation directories, or I think you can 
set it as a parameter in web.xml

-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, 
April 12, 2001 2:55 PMTo: 
[EMAIL PROTECTED]Subject: Tomcat Problem 
(startup.bat)
Hello, 
  I am having a particular problem in getting one of my servlets to work 
  with Tomcat. My servlet (and other classes it calls upon to perform 
  processing) is located in a directory named: 
  c:\tomcat\webapps\nodes\web-inf\classes When I run 
  c:\tomcat\bin\startup.bat, and try to run the servlet, tomcat immediately 
  closes. But, when I run the startup.bat command from the directory that 
  the servlet exists in 
  (c:\tomcat\webapps\nodes\web-inf\classes\startup.bat), the servlet works 
  fine. Note: one of the classes reads an input.dat file, which at 
  first I thought was causing the problem. The .dat file is in the same 
  directory as the servlet. I changed the way I called the .dat file from 
  "BufferedReader infile = new BufferedReader(new 
  FileReader("input.dat"));" to "BufferedReader infile = new 
  BufferedReader(new 
  InputStreamReader(getClass().getResourceAsStream("input.dat")));" 
  but this did not help the situation. I think it must be a classpath 
  problem; this is what my classpath looks like: 
  CLASSPATH=c:\jdk1.3\jre\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;c:\tomcat\lib\se 
  rvlet.jar;c:\tomcat\webapps\nodes\web-inf\classes;c:\tomcat\webapps;c:\tomcat\ 
  webapps\nodes\web-inf;c:\orion\default-web-app\web-inf\classes 
  Does anyone know what may be causing this problem? I want the servlet 
  to run when I launch startup.bat from the c:\tomcat\bin directory, instead 
  of only running from when I run startup.bat from the directory the servlet 
  and related classes are in. Thanks, M. Kaluzienski 
  www.networks-plus.net 


Re: TOMCAT PROBLEM of disconection

2001-01-12 Thread Andrew Robson

Are you using Redhat 7.0? This sounds similiar to a known
bug I came across recently. Tomcat dies and spits out
# 
# HotSpot Virtual Machine Error, Unexpected Signal 11 
# Please report this error at 
# http://java.sun.com/cgi-bin/bugreport.cgi 
# 
# Error ID: 4F533F4C494E55580E43505005BC 
# 
# Problematic Thread: prio=1 tid=0x804df78 nid=0x6e3 runnable 
# 
An irrecoverable stack overflow has occurred.

There is info about it in the bug database.  
I am using JDK 1.3 and I'm going to go back to Redhat 6.2 
as problem never occurred there.

Andrew

On Thu, 11 Jan 2001, you wrote:
 
 In fact  i use this JVM :
  
 java version "1.2.2"
 Classic VM (build 1.2.2-L, green threads, nojit)
  
  
  
  
 -Message d'origine-
 De : Khaled Ben Mohamed 
 Envoyé : jeudi 11 janvier 2001 18:26
 À : '[EMAIL PROTECTED]'
 Objet : TR: 
 
 
 I use the same jvm so i don't understand ?
  
  
   -Message d'origine-
   De : Michael Kuz [mailto:[EMAIL PROTECTED]]
   Envoyé : jeudi 11 janvier 2001 18:27
   À : 'Khaled Ben Mohamed'
   Objet : RE: 
 
 
 
   I'm using Suns 1.2.2 for Linux 
 
   [mkuz@mkuz ~]$ java -version 
   java version "1.2.2" 
  Classic VM (build 1.2.2_006, green threads, nojit) 
 
 
 
  -Original Message- 
  From: Khaled Ben Mohamed [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 10:17 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: 
  
  
  -Original Message- 
  From: Kitching Simon [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 9:50 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: RE: TOMCAT PROBLEM of disconection 
   
   
  The problem is that the java virtual machine you are using 
  has a bug. There really isn't any work-around for this sort 
  of problem - if the jvm is buggy, the best thing is to change 
  jm. 

  JVM version 1.3 is available for just about every platform 
  now, I suggest you download  install it. 
  
  Isn't 1.3 still 'buggy' on Linux? 
  
  What JVM do you think i have to use ? 
  
 
 


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 





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




RE: TOMCAT PROBLEM of disconection

2001-01-12 Thread Khaled Ben Mohamed

No i am using a mandrake 7.1
Someone says to me that it 's because of the apache version ,
another that it 's because of SSL 
can anyone help me ?


-Message d'origine-
De : Andrew Robson [mailto:[EMAIL PROTECTED]]
Envoy : vendredi 12 janvier 2001 15:02
 : [EMAIL PROTECTED]
Objet : Re: TOMCAT PROBLEM of disconection


Are you using Redhat 7.0? This sounds similiar to a known
bug I came across recently. Tomcat dies and spits out
# 
# HotSpot Virtual Machine Error, Unexpected Signal 11 
# Please report this error at 
# http://java.sun.com/cgi-bin/bugreport.cgi 
# 
# Error ID: 4F533F4C494E55580E43505005BC 
# 
# Problematic Thread: prio=1 tid=0x804df78 nid=0x6e3 runnable 
# 
An irrecoverable stack overflow has occurred.

There is info about it in the bug database.  
I am using JDK 1.3 and I'm going to go back to Redhat 6.2 
as problem never occurred there.

Andrew

On Thu, 11 Jan 2001, you wrote:
 
 In fact  i use this JVM :
  
 java version "1.2.2"
 Classic VM (build 1.2.2-L, green threads, nojit)
  
  
  
  
 -Message d'origine-
 De : Khaled Ben Mohamed 
 Envoy : jeudi 11 janvier 2001 18:26
  : '[EMAIL PROTECTED]'
 Objet : TR: 
 
 
 I use the same jvm so i don't understand ?
  
  
   -Message d'origine-
   De : Michael Kuz [mailto:[EMAIL PROTECTED]]
   Envoy : jeudi 11 janvier 2001 18:27
: 'Khaled Ben Mohamed'
   Objet : RE: 
 
 
 
   I'm using Suns 1.2.2 for Linux 
 
   [mkuz@mkuz ~]$ java -version 
   java version "1.2.2" 
  Classic VM (build 1.2.2_006, green threads, nojit) 
 
 
 
  -Original Message- 
  From: Khaled Ben Mohamed [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 10:17 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: 
  
  
  -Original Message- 
  From: Kitching Simon [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 9:50 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: RE: TOMCAT PROBLEM of disconection 
   
   
  The problem is that the java virtual machine you are using 
  has a bug. There really isn't any work-around for this sort 
  of problem - if the jvm is buggy, the best thing is to change 
  jm. 

  JVM version 1.3 is available for just about every platform 
  now, I suggest you download  install it. 
  
  Isn't 1.3 still 'buggy' on Linux? 
  
  What JVM do you think i have to use ? 
  
 
 


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 





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

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




RE: TOMCAT PROBLEM of disconection

2001-01-12 Thread Khaled Ben Mohamed

What about a comunication failure in a sql execption with JSP files in
tomcat 3.1

-Message d'origine-
De : Khaled Ben Mohamed [mailto:[EMAIL PROTECTED]]
Envoy : vendredi 12 janvier 2001 15:17
 : '[EMAIL PROTECTED]'
Objet : RE: TOMCAT PROBLEM of disconection


No i am using a mandrake 7.1
Someone says to me that it 's because of the apache version ,
another that it 's because of SSL 
can anyone help me ?


-Message d'origine-
De : Andrew Robson [mailto:[EMAIL PROTECTED]]
Envoy : vendredi 12 janvier 2001 15:02
 : [EMAIL PROTECTED]
Objet : Re: TOMCAT PROBLEM of disconection


Are you using Redhat 7.0? This sounds similiar to a known
bug I came across recently. Tomcat dies and spits out
# 
# HotSpot Virtual Machine Error, Unexpected Signal 11 
# Please report this error at 
# http://java.sun.com/cgi-bin/bugreport.cgi 
# 
# Error ID: 4F533F4C494E55580E43505005BC 
# 
# Problematic Thread: prio=1 tid=0x804df78 nid=0x6e3 runnable 
# 
An irrecoverable stack overflow has occurred.

There is info about it in the bug database.  
I am using JDK 1.3 and I'm going to go back to Redhat 6.2 
as problem never occurred there.

Andrew

On Thu, 11 Jan 2001, you wrote:
 
 In fact  i use this JVM :
  
 java version "1.2.2"
 Classic VM (build 1.2.2-L, green threads, nojit)
  
  
  
  
 -Message d'origine-
 De : Khaled Ben Mohamed 
 Envoy : jeudi 11 janvier 2001 18:26
  : '[EMAIL PROTECTED]'
 Objet : TR: 
 
 
 I use the same jvm so i don't understand ?
  
  
   -Message d'origine-
   De : Michael Kuz [mailto:[EMAIL PROTECTED]]
   Envoy : jeudi 11 janvier 2001 18:27
: 'Khaled Ben Mohamed'
   Objet : RE: 
 
 
 
   I'm using Suns 1.2.2 for Linux 
 
   [mkuz@mkuz ~]$ java -version 
   java version "1.2.2" 
  Classic VM (build 1.2.2_006, green threads, nojit) 
 
 
 
  -Original Message- 
  From: Khaled Ben Mohamed [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 10:17 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: 
  
  
  -Original Message- 
  From: Kitching Simon [ mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] ] 
  Sent: Thursday, January 11, 2001 9:50 AM 
  To: '[EMAIL PROTECTED]' 
  Subject: RE: TOMCAT PROBLEM of disconection 
   
   
  The problem is that the java virtual machine you are using 
  has a bug. There really isn't any work-around for this sort 
  of problem - if the jvm is buggy, the best thing is to change 
  jm. 

  JVM version 1.3 is available for just about every platform 
  now, I suggest you download  install it. 
  
  Isn't 1.3 still 'buggy' on Linux? 
  
  What JVM do you think i have to use ? 
  
 
 


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 





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

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

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




RE: TOMCAT PROBLEM of disconection

2001-01-11 Thread Kitching Simon

The problem is that the java virtual machine you are using
has a bug. There really isn't any work-around for this sort
of problem - if the jvm is buggy, the best thing is to change 
jvm.

JVM version 1.3 is available for just about every platform
now, I suggest you download  install it.

Regards,

Simon

 -Original Message-
 From: Khaled Ben Mohamed [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, January 11, 2001 5:36 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  TOMCAT PROBLEM of disconection
 
 After a undetermined disconection I have this message in a linux system
 console
 and tomcat stopped (sometimes the java process take more than 63Mo of
 memory) 
 What's happen ?
 I have also a internel servlet error 500 sometimes 
 please help me 
 SIGSEGV   11*  segmentation violation
 si_signo [11]: SIGSEGV   11*  segmentation violation
 si_errno [0]: Succs
 si_code [0]: SI_USER [pid: 0, uid: 0]
 stackpointer=0x44699dec
 
 Full thread dump Classic VM (1.2.2-L, green threads):
 "Thread-129" (TID:0x40ebf098, sys_thread_t:0x859af18, state:R) prio=5
 at java.lang.StringBuffer.init(StringBuffer.java:116)
 at java.lang.StringBuffer.init(StringBuffer.java:130)
 at
 sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:1
 07
 )
 at
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:868)
 at
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
 at
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
 at
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
 at
 sun.tools.java.ClassDefinition.getVariable(ClassDefinition.java:817)
 at sun.tools.tree.Context.getFieldCommon(Context.java:180)
 at sun.tools.tree.Context.getField(Context.java:274)
 at
 sun.tools.tree.IdentifierExpression.bind(IdentifierExpression.java:117)
 at
 sun.tools.tree.IdentifierExpression.checkValue(IdentifierExpression.java:2
 20
 )
 at
 sun.tools.tree.IdentifierExpression.checkAmbigName(IdentifierExpression.ja
 va
 :281)
 at
 sun.tools.tree.MethodExpression.checkValue(MethodExpression.java:184)
 at sun.tools.tree.Expression.checkCondition(Expression.java:278)
 at sun.tools.tree.Expression.checkCondition(Expression.java:261)
 at sun.tools.tree.WhileStatement.check(WhileStatement.java:44)
 at
 sun.tools.tree.Statement.checkBlockStatement(Statement.java:153)
 at
 sun.tools.tree.CompoundStatement.check(CompoundStatement.java:61)
 at sun.tools.tree.Statement.checkMethod(Statement.java:88)
 at sun.tools.javac.SourceMember.check(SourceMember.java:535)
 at sun.tools.javac.SourceClass.checkMembers(SourceClass.java:998)
 at sun.tools.javac.SourceClass.checkInternal(SourceClass.java:608)
 at sun.tools.javac.SourceClass.check(SourceClass.java:507)
 at sun.tools.javac.Main.compile(Main.java:546)
 at
 org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:13
 8)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
 at
 org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Jsp
 Se
 rvlet.java:14
 9)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.
 ja
 va:161)
 at
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
 at
 org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:50
 3)
 at
 org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl
 .j
 ava:163)
 at
 org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:357
 )
 at
 _0002frecupData_0002ejsprecupData_jsp_15._jspService(_0002frecupData_0002e
 js
 precupData_js
 p_15.java:1402)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.
 ja
 va:174)
 at
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
 at
 org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:50
 3)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
 at
 org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnecti
 on
 (Ajp12Connect
 ionHandler.java:156)
 at
 org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:3
 38
 )
 

RE: TOMCAT PROBLEM of disconection

2001-01-11 Thread Michael Kuz
Title: RE: TOMCAT PROBLEM of disconection





 -Original Message-
 From: Kitching Simon [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 11, 2001 9:50 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: TOMCAT PROBLEM of disconection
 
 
 The problem is that the java virtual machine you are using
 has a bug. There really isn't any work-around for this sort
 of problem - if the jvm is buggy, the best thing is to change 
 jvm.
 
 JVM version 1.3 is available for just about every platform
 now, I suggest you download  install it.


Isn't 1.3 still 'buggy' on Linux?



 
 Regards,
 
 Simon
 
  -Original Message-
  From: Khaled Ben Mohamed [SMTP:[EMAIL PROTECTED]]
  Sent: Thursday, January 11, 2001 5:36 PM
  To: '[EMAIL PROTECTED]'
  Subject: TOMCAT PROBLEM of disconection
  
  After a undetermined disconection I have this message in a 
 linux system
  console
  and tomcat stopped (sometimes the java process take more 
 than 63Mo of
  memory) 
  What's happen ?
  I have also a internel servlet error 500 sometimes 
  please help me 
  SIGSEGV 11* segmentation violation
  si_signo [11]: SIGSEGV 11* segmentation violation
  si_errno [0]: Succès
  si_code [0]: SI_USER [pid: 0, uid: 0]
  stackpointer=0x44699dec
  
  Full thread dump Classic VM (1.2.2-L, green threads):
  Thread-129 (TID:0x40ebf098, sys_thread_t:0x859af18, 
 state:R) prio=5
  at java.lang.StringBuffer.init(StringBuffer.java:116)
  at java.lang.StringBuffer.init(StringBuffer.java:130)
  at
  
 sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclar
 ation.java:1
  07
  )
  at
  
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:868)
  at
  
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
  at
  
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
  at
  
 sun.tools.java.ClassDefinition.getVariable0(ClassDefinition.java:857)
  at
  sun.tools.java.ClassDefinition.getVariable(ClassDefinition.java:817)
  at sun.tools.tree.Context.getFieldCommon(Context.java:180)
  at sun.tools.tree.Context.getField(Context.java:274)
  at
  
 sun.tools.tree.IdentifierExpression.bind(IdentifierExpression.
 java:117)
  at
  
 sun.tools.tree.IdentifierExpression.checkValue(IdentifierExpre
 ssion.java:2
  20
  )
  at
  
 sun.tools.tree.IdentifierExpression.checkAmbigName(IdentifierE
 xpression.ja
  va
  :281)
  at
  
 sun.tools.tree.MethodExpression.checkValue(MethodExpression.java:184)
  at 
 sun.tools.tree.Expression.checkCondition(Expression.java:278)
  at 
 sun.tools.tree.Expression.checkCondition(Expression.java:261)
  at 
 sun.tools.tree.WhileStatement.check(WhileStatement.java:44)
  at
  sun.tools.tree.Statement.checkBlockStatement(Statement.java:153)
  at
  sun.tools.tree.CompoundStatement.check(CompoundStatement.java:61)
  at sun.tools.tree.Statement.checkMethod(Statement.java:88)
  at sun.tools.javac.SourceMember.check(SourceMember.java:535)
  at 
 sun.tools.javac.SourceClass.checkMembers(SourceClass.java:998)
  at 
 sun.tools.javac.SourceClass.checkInternal(SourceClass.java:608)
  at sun.tools.javac.SourceClass.check(SourceClass.java:507)
  at sun.tools.javac.Main.compile(Main.java:546)
  at
  
 org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaComp
 iler.java:13
  8)
  at 
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
  at
  org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
  at
  
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfN
 ecessary(Jsp
  Se
  rvlet.java:14
  9)
  at
  
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
 (JspServlet.
  ja
  va:161)
  at
  
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet
 .java:261)
  at
  org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
  at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
 pper.java:50
  3)
  at
  
 org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDi
 spatcherImpl
  .j
  ava:163)
  at
  
 org.apache.jasper.runtime.PageContextImpl.forward(PageContextI
 mpl.java:357
  )
  at
  
 _0002frecupData_0002ejsprecupData_jsp_15._jspService(_0002frec
 upData_0002e
  js
  precupData_js
  p_15.java:1402)
  at
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
  at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
 (JspServlet.
  ja
  va:174)
  at
  
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet
 .java:261)
  at
  org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
  at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWra
 pper.java:50
  3)
  at
  
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
  at
  
 org.apache.tomcat.service.connector.Ajp12ConnectionHandler.pro
 cessConnecti
  on
  (Ajp12Connect

Re: Tomcat problem. Help!

2000-11-30 Thread Kief Morris

Panagiotis Konstantinidis typed the following on 12:26 30/11/2000 +
   Now, I am using Apache v1.3.12 and Tomcat v3.1 (for Windows).

The first thing I would recommend is upgrading to Apache 1.3.14 and Tomcat 3.2,
since these are the latest stable versions. Tomcat in particular has fixed 
a lot of
bugs since the version you're using.

The thing is that everytime the line Class.for("org.gjt.mm.myswl.Driver"); 
is encountered, Tomcat goes off (and I get the error message "Internal 
Server Error.

Do you mean Class.forName("org.gjt.mm.myswl.Driver")?

Have you checked your logs? You should get more accurate information about
what's going wrong from the stdout and stderr messages that Tomcat puts out:
these may be going to your console window, or they may be going to log files
in Tomcat's log directory.

Without more specific error information, I would make a guess that it has to
do with the classpath. Your JDBC driver must be in the classpath that the
Tomcat server is using, if not Class.forName() will throw an exception, which
would cause the behavior you're seeing. Try putting the JDBC driver .jar file
in the WEB-INF/lib directory.

Kief



---
   bitBull makes the Internet bite: http://www.bitBull.com/demos/




RE: Tomcat problem. Help!

2000-11-30 Thread Panagiotis Konstantinidis
Title: RE: Tomcat problem. Help!







 -Original Message-
 From: Kief Morris [mailto:[EMAIL PROTECTED]]
 Sent: 30 November 2000 12:39
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat problem. Help!
 
 
 Panagiotis Konstantinidis typed the following on 12:26 
 30/11/2000 +
  Now, I am using Apache v1.3.12 and Tomcat v3.1 (for Windows).
 
 The first thing I would recommend is upgrading to Apache 
 1.3.14 and Tomcat 3.2,
 since these are the latest stable versions. Tomcat in 
 particular has fixed 
 a lot of
 bugs since the version you're using.


I will do so.

 The thing is that everytime the line 
 Class.for(org.gjt.mm.myswl.Driver); 
 is encountered, Tomcat goes off (and I get the error message 
 Internal 
 Server Error.
 
 Do you mean Class.forName(org.gjt.mm.myswl.Driver)?


Yes, sorry I meant ClassforName(...);


 Have you checked your logs? You should get more accurate 
 information about
 what's going wrong from the stdout and stderr messages that 
 Tomcat puts out:
 these may be going to your console window, or they may be 
 going to log files
 in Tomcat's log directory.
 
 Without more specific error information, I would make a guess 
 that it has to
 do with the classpath. Your JDBC driver must be in the 
 classpath that the
 Tomcat server is using, if not Class.forName() will throw an 
 exception, which
 would cause the behavior you're seeing. Try putting the JDBC 
 driver .jar file
 in the WEB-INF/lib directory.
 
 Kief
 
 
 ---
 bitBull makes the Internet bite: 
http://www.bitBull.com/demos/


 You are right Kief. Thank you for that. I did not include the mysql.jar file in my classpath. I was using Apache and JRun before on Unix and everything was set up, therefore I completely forgot to add the mysql.jar file into my classpath. I assumed that it would already be there. And the weird thing is that I did not even think that this would be the problem. Thank you one more time for your effort and time.

 Panos