RE: tomcat startup problem

2003-09-26 Thread Shapira, Yoav

Howdy,
Get a JVM that works ;)  I don't know what available for Tru64, but your
FastVM isn't liking the startup arguments.  Are you passing it any
command-line options, especially a too big -Xmx setting?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Tich Mandivenga [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 26, 2003 6:56 AM
>To: [EMAIL PROTECTED]
>Subject: tomcat startup problem
>
>i, i was wondering if you can help me.I am running tomcat on a Tru64
>(v5.1a)
>box.When i atempt to start tomcat i get this message "# ./tomcat start
>Starting Tomcat
>FastVM cannot allocate its internal data.
>Please check process stack size and virtual address space limit.
>Stack size may be too large, or virtual address space too small., file
>/runtime/
>thread.c, line 298
>Starting Tomcat as user 'httpd'
>Waiting for Tomcat..."
>
>Can you tell me where i can find these parameters as well as
recommended
>values. Do i have to add entries to thh /etc/sysconfigtab file
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



tomcat startup problem

2003-09-26 Thread Tich Mandivenga
i, i was wondering if you can help me.I am running tomcat on a Tru64 (v5.1a)
box.When i atempt to start tomcat i get this message "# ./tomcat start
Starting Tomcat
FastVM cannot allocate its internal data.
Please check process stack size and virtual address space limit.
Stack size may be too large, or virtual address space too small., file
/runtime/
thread.c, line 298
Starting Tomcat as user 'httpd'
Waiting for Tomcat..."

Can you tell me where i can find these parameters as well as recommended
values. Do i have to add entries to thh /etc/sysconfigtab file


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



Re: tomcat startup problem

2003-07-24 Thread Tang
Open catalina.log in e:/tomcat4.1/logs directory for detail. I guess some
wrong in server.xml config file.

- Original Message -
From: "Gayathrie Gunawardene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 2:14 AM
Subject: tomcat startup problem


Hi,

I get the following message when I run startup command.
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter how hard I
tried to run, the result is the same all the time. I use tomcat4.1 and
JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]





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



Re: tomcat startup problem

2003-07-24 Thread John Turner
Run "catalina.bat run" instead of "startup.bat".

Have you checked the log files?

John

Gayathrie Gunawardene wrote:

Hi,

I get the following message when I run startup command.  
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter how hard I tried to run, the result is the same all the time. I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]




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


Re: tomcat startup problem - tomcat window disappears

2003-07-24 Thread John Turner
Better yet, don't change anything, and execute "catalina.bat run" 
instead of "startup.bat".

John

Andrew Liles wrote:

Edit 
tomcat/bin/startup.bat

in one of the last lines change the keyword "start" to "run".  Then go into
a DOS box and run startup.bat.  This time any faults will remain on the
screen and you can start debugging from there.

-Original Message-
From: Gayathrie Gunawardene [mailto:[EMAIL PROTECTED]
Sent: 21 July 2003 19:15
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; 
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: tomcat startup problem

Hi,

I get the following message when I run startup command.  
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter 
how hard I tried to run, the result is the same all the time. 
I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.

Pls Help

GG

[EMAIL PROTECTED]



_
This e-mail has been scanned for viruses by MessageLabs.


_
This e-mail has been scanned for viruses by MessageLabs.
-
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]


AW: tomcat startup problem - tomcat window disappears

2003-07-24 Thread Fischer, Ilona
Alternative:
open a cmd-line
go to your Tomcat-Installation-Path ( E:\TomCat4.1)
change to bin ( E:\TomCat4.1\bin)
call "catalina.bat run"

:o)
Ilona


>>-Ursprüngliche Nachricht-
>>Von: Andrew Liles [mailto:[EMAIL PROTECTED]
>>Gesendet: Donnerstag, 24. Juli 2003 11:05
>>An: 'Tomcat Users List'
>>Betreff: RE: tomcat startup problem - tomcat window disappears
>>
>>
>>Edit 
>>tomcat/bin/startup.bat
>>
>>in one of the last lines change the keyword "start" to "run". 
>> Then go into
>>a DOS box and run startup.bat.  This time any faults will 
>>remain on the
>>screen and you can start debugging from there.
>>
>>> -Original Message-
>>> From: Gayathrie Gunawardene [mailto:[EMAIL PROTECTED]
>>> Sent: 21 July 2003 19:15
>>> To: [EMAIL PROTECTED]
>>> Cc: [EMAIL PROTECTED]; 
>>> [EMAIL PROTECTED];
>>> [EMAIL PROTECTED]
>>> Subject: tomcat startup problem
>>> 
>>> 
>>> Hi,
>>> 
>>> I get the following message when I run startup command.  
>>> Using CATALINA_BASE:   E:\TomCat4.1
>>> 
>>> Using CATALINA_HOME:   E:\TomCat4.1
>>> 
>>> Using CATALINA_TMPDIR: E:\TomCat4.1\temp
>>> 
>>> Using JAVA_HOME:   E:\jdk1.4
>>> 
>>> I see a tomcat window open and suddenly disappear. No matter 
>>> how hard I tried to run, the result is the same all the time. 
>>> I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.
>>> 
>>> Pls Help
>>> 
>>> GG
>>> 
>>> [EMAIL PROTECTED]
>>> 
>>> 
>>> 
>>> 
>>_
>>> This e-mail has been scanned for viruses by MessageLabs.
>>> 
>>
>>_
>>This e-mail has been scanned for viruses by MessageLabs.
>>
>>-
>>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 startup problem - tomcat window disappears

2003-07-24 Thread Andrew Liles
Edit 
tomcat/bin/startup.bat

in one of the last lines change the keyword "start" to "run".  Then go into
a DOS box and run startup.bat.  This time any faults will remain on the
screen and you can start debugging from there.

> -Original Message-
> From: Gayathrie Gunawardene [mailto:[EMAIL PROTECTED]
> Sent: 21 July 2003 19:15
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; 
> [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> Hi,
> 
> I get the following message when I run startup command.  
> Using CATALINA_BASE:   E:\TomCat4.1
> 
> Using CATALINA_HOME:   E:\TomCat4.1
> 
> Using CATALINA_TMPDIR: E:\TomCat4.1\temp
> 
> Using JAVA_HOME:   E:\jdk1.4
> 
> I see a tomcat window open and suddenly disappear. No matter 
> how hard I tried to run, the result is the same all the time. 
> I use tomcat4.1 and JDK1.4 on Windows 2000 adv. server platform.
> 
> Pls Help
> 
> GG
> 
> [EMAIL PROTECTED]
> 
> 
> 
> _
> This e-mail has been scanned for viruses by MessageLabs.
> 

_
This e-mail has been scanned for viruses by MessageLabs.

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



tomcat startup problem

2003-07-24 Thread Gayathrie Gunawardene
Hi,

I get the following message when I run startup command.  
Using CATALINA_BASE:   E:\TomCat4.1

Using CATALINA_HOME:   E:\TomCat4.1

Using CATALINA_TMPDIR: E:\TomCat4.1\temp

Using JAVA_HOME:   E:\jdk1.4

I see a tomcat window open and suddenly disappear. No matter how hard I tried to run, 
the result is the same all the time. I use tomcat4.1 and JDK1.4 on Windows 2000 adv. 
server platform.

Pls Help

GG

[EMAIL PROTECTED]



RE: MySQL/Tomcat startup problem

2003-01-31 Thread Filip Hanik
ok, try this.

1. make sure your database is open and that you can connect to it using mysql
2. make sure the hostname javadev.logic.bm can be resolved
3. Make sure you add in the port number to your URL (I put in the default here)
connectionURL="jdbc:mysql://javadev.logic.bm:3306/steve?user=user&password=password"

4. Try to write a simple java program that connects using these properties, to take 
tomcat out of the equation.

then get back to the list :)

Filip

-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 10:34 AM
To: Tomcat Users List
Subject: RE: MySQL/Tomcat startup problem


I do get a slightly different error:

SEVERE: Parse Fatal Error at line 199 column 69: The entity name must immediatel
y follow the '&' in the entity reference.
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' i
n the entity reference.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
rorHandlerWrapper.java:232)

However moving the & and ; around in every possible different spot does not seem to 
make a difference..

-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 2:21 PM
To: 'Tomcat Users List'
Subject: RE: MySQL/Tomcat startup problem


Try using an & in place of the ; in your connectionURL:

connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa
ssword"

> -Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: MySQL/Tomcat startup problem
> 
> 
> Hello again - I have spent most of the day on this and don't 
> seem to be getting anywhere, searched the archives here and 
> the java.sun.com forums to no avail. Running Tomcat 4.1.18 on 
> my dev box Win2K Server, running MySQL 3.23.49 on the same 
> network on a  Redhat 7.3 install. I am simply trying to make 
> a database connection, have 2 tables created with usernames 
> and roles, usernames and passwords, and set the mysqladmin 
> password to connect through the string. The systems guy sees 
> my packets hitting the box, so it doesn't seem to be a 
> network / firewall problem. 
> 
> Here is the realm tag (commented out the memory realm):
> 
>  driverName="org.gjt.mm.mysql.Driver"
>   
> connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user;p
> assword=password"
>  
>   userTable="tblUsers" userNameCol="user_name" 
> userCredCol="user_pass"
>   userRoleTable="tblUser_Role" roleNameCol="role_name" />
> 
> Here is the output (no matter what I change the username / 
> password to):
> 
> 
> 
> Catalina.start: LifecycleException:  Exception opening 
> database connection:  jav
> a.sql.SQLException: Communication link failure: java.io.IOException
> LifecycleException:  Exception opening database connection:  
> java.sql.SQLExcepti
> on: Communication link failure: java.io.IOException
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:681)
> at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> 
> at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
> )
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 97)
> at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 9)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> - Root Cause -
> java.sql.SQLException: Communication link failure: java.io.IOException
> at com.mysql.jdbc.MysqlIO.init(Unknown Source)
> at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
> at 
> com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
> at com.mysql.jdbc.Driver.connect(Unknown Source)
> at 
> org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:616)
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:679)
> at 
> org.apa

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
I do get a slightly different error:

SEVERE: Parse Fatal Error at line 199 column 69: The entity name must immediatel
y follow the '&' in the entity reference.
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' i
n the entity reference.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
rorHandlerWrapper.java:232)

However moving the & and ; around in every possible different spot does not seem to 
make a difference..

-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 2:21 PM
To: 'Tomcat Users List'
Subject: RE: MySQL/Tomcat startup problem


Try using an & in place of the ; in your connectionURL:

connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa
ssword"

> -Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: MySQL/Tomcat startup problem
> 
> 
> Hello again - I have spent most of the day on this and don't 
> seem to be getting anywhere, searched the archives here and 
> the java.sun.com forums to no avail. Running Tomcat 4.1.18 on 
> my dev box Win2K Server, running MySQL 3.23.49 on the same 
> network on a  Redhat 7.3 install. I am simply trying to make 
> a database connection, have 2 tables created with usernames 
> and roles, usernames and passwords, and set the mysqladmin 
> password to connect through the string. The systems guy sees 
> my packets hitting the box, so it doesn't seem to be a 
> network / firewall problem. 
> 
> Here is the realm tag (commented out the memory realm):
> 
>  driverName="org.gjt.mm.mysql.Driver"
>   
> connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user;p
> assword=password"
>  
>   userTable="tblUsers" userNameCol="user_name" 
> userCredCol="user_pass"
>   userRoleTable="tblUser_Role" roleNameCol="role_name" />
> 
> Here is the output (no matter what I change the username / 
> password to):
> 
> 
> 
> Catalina.start: LifecycleException:  Exception opening 
> database connection:  jav
> a.sql.SQLException: Communication link failure: java.io.IOException
> LifecycleException:  Exception opening database connection:  
> java.sql.SQLExcepti
> on: Communication link failure: java.io.IOException
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:681)
> at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> 
> at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
> )
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 97)
> at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 9)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> - Root Cause -
> java.sql.SQLException: Communication link failure: java.io.IOException
> at com.mysql.jdbc.MysqlIO.init(Unknown Source)
> at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
> at 
> com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
> at com.mysql.jdbc.Driver.connect(Unknown Source)
> at 
> org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:616)
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:679)
> at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> 
> at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
> )
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 97)
> at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 9)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAc

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Raible, Matt
Try using an & in place of the ; in your connectionURL:

connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa
ssword"

> -Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: MySQL/Tomcat startup problem
> 
> 
> Hello again - I have spent most of the day on this and don't 
> seem to be getting anywhere, searched the archives here and 
> the java.sun.com forums to no avail. Running Tomcat 4.1.18 on 
> my dev box Win2K Server, running MySQL 3.23.49 on the same 
> network on a  Redhat 7.3 install. I am simply trying to make 
> a database connection, have 2 tables created with usernames 
> and roles, usernames and passwords, and set the mysqladmin 
> password to connect through the string. The systems guy sees 
> my packets hitting the box, so it doesn't seem to be a 
> network / firewall problem. 
> 
> Here is the realm tag (commented out the memory realm):
> 
>  driverName="org.gjt.mm.mysql.Driver"
>   
> connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user;p
> assword=password"
>  
>   userTable="tblUsers" userNameCol="user_name" 
> userCredCol="user_pass"
>   userRoleTable="tblUser_Role" roleNameCol="role_name" />
> 
> Here is the output (no matter what I change the username / 
> password to):
> 
> 
> 
> Catalina.start: LifecycleException:  Exception opening 
> database connection:  jav
> a.sql.SQLException: Communication link failure: java.io.IOException
> LifecycleException:  Exception opening database connection:  
> java.sql.SQLExcepti
> on: Communication link failure: java.io.IOException
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:681)
> at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> 
> at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
> )
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 97)
> at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 9)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> - Root Cause -
> java.sql.SQLException: Communication link failure: java.io.IOException
> at com.mysql.jdbc.MysqlIO.init(Unknown Source)
> at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
> at 
> com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
> at com.mysql.jdbc.Driver.connect(Unknown Source)
> at 
> org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:616)
> at 
> org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:679)
> at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
> 
> at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
> )
> at 
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 97)
> at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:218
> 9)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Stopping service Tomcat-Standalone
> Catalina.stop: LifecycleException:  Coyote connector has not 
> been started
> LifecycleException:  Coyote connector has not been started
> at 
> org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1
> 075)
> at 
> org.apache.catalina.core.StandardService.stop(Stand

MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
Hello again - I have spent most of the day on this and don't seem to be getting 
anywhere, searched the archives here and the java.sun.com forums to no avail. Running 
Tomcat 4.1.18 on my dev box Win2K Server, running MySQL 3.23.49 on the same network on 
a  Redhat 7.3 install. I am simply trying to make a database connection, have 2 tables 
created with usernames and roles, usernames and passwords, and set the mysqladmin 
password to connect through the string. The systems guy sees my packets hitting the 
box, so it doesn't seem to be a network / firewall problem. 

Here is the realm tag (commented out the memory realm):

   

Here is the output (no matter what I change the username / password to):



Catalina.start: LifecycleException:  Exception opening database connection:  jav
a.sql.SQLException: Communication link failure: java.io.IOException
LifecycleException:  Exception opening database connection:  java.sql.SQLExcepti
on: Communication link failure: java.io.IOException
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:681)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Root Cause -
java.sql.SQLException: Communication link failure: java.io.IOException
at com.mysql.jdbc.MysqlIO.init(Unknown Source)
at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.Driver.connect(Unknown Source)
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:616)
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:679)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1
075)
at org.apache.catalina.core.StandardService.stop(StandardService.java:54
6)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


Communication link failure seems a little vague, anyone point me in the right 
direction?

Thanks!!!

Geoff


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




RE: Tomcat Startup Problem

2002-10-06 Thread Shortt, Kevin


Here's my server.xml. I should've thought to post first off..

---
BEGIN server.xml
=







  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  































  
  

  
  

  

  
  

  
  

  

  

  

  

  
  


















  
  

  



  
  
  
  
  
  
usernamesa
password
driverClassName
  org.hsql.jdbcDriver
url
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  
  


  



  

  

  



===
END server.xml

-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 10:48 PM
To: Tomcat Users List
Subject: Re: Tomcat Startup Problem


Have you change something in the server.xml file? If yes, double check 
your xml file is well formed. Can you post the xml file you have changed?

-- Jeanfrancois

Shortt, Kevin wrote:

>Hi All...
>
>I am an admin of a tomcat setup.
>I am putting together a new machine and am using all the 
>latest stuff with all the fixins.
>
>In a nutshell, my specs...
>
>Tomcat 4.1.12 (built from source)
>  - used all required commons-* from BUILDING.txt
>  - all commons-* exist in ${tomcat_home}/common/lib.
>Java 1.4
>Solaris 9
>
>
>my compile ran find. 
>my startup did not.
>
>
>After running startup.sh here is my output:
>ANY help or direction pointing (besides going to hell :) would be 
>greatly appreciated. Thanks..
>
>-k
>
>
>-
>Oct 3, 2002 6:39:06 PM org.apache.commons.digester.Digester startElement
>SEVERE: Begin event threw exception
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoade
r
>.java:992)
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoade
r
>.java:857)
>at
>org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:25
2
>)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1237)
>at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>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.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Catalina.start: java.lang.ClassNotFoundException:
>org.apache.catalina.core.StandardServer
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1240)
>at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>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.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met

Re: Tomcat Startup Problem

2002-10-03 Thread Jean-Francois Arcand

Have you change something in the server.xml file? If yes, double check 
your xml file is well formed. Can you post the xml file you have changed?

-- Jeanfrancois

Shortt, Kevin wrote:

>Hi All...
>
>I am an admin of a tomcat setup.
>I am putting together a new machine and am using all the 
>latest stuff with all the fixins.
>
>In a nutshell, my specs...
>
>Tomcat 4.1.12 (built from source)
>  - used all required commons-* from BUILDING.txt
>  - all commons-* exist in ${tomcat_home}/common/lib.
>Java 1.4
>Solaris 9
>
>
>my compile ran find. 
>my startup did not.
>
>
>After running startup.sh here is my output:
>ANY help or direction pointing (besides going to hell :) would be 
>greatly appreciated. Thanks..
>
>-k
>
>
>-
>Oct 3, 2002 6:39:06 PM org.apache.commons.digester.Digester startElement
>SEVERE: Begin event threw exception
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:992)
>at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
>.java:857)
>at
>org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252
>)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1237)
>at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>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.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Catalina.start: java.lang.ClassNotFoundException:
>org.apache.catalina.core.StandardServer
>java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
>at
>org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
>at
>org.apache.commons.digester.Digester.startElement(Digester.java:1240)
>at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
>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.apache.commons.digester.Digester.parse(Digester.java:1495)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
>at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>  
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat Startup Problem

2002-10-03 Thread Shortt, Kevin



Hi All...

I am an admin of a tomcat setup.
I am putting together a new machine and am using all the 
latest stuff with all the fixins.

In a nutshell, my specs...

Tomcat 4.1.12 (built from source)
  - used all required commons-* from BUILDING.txt
  - all commons-* exist in ${tomcat_home}/common/lib.
Java 1.4
Solaris 9


my compile ran find. 
my startup did not.


After running startup.sh here is my output:
ANY help or direction pointing (besides going to hell :) would be 
greatly appreciated. Thanks..

-k


-
Oct 3, 2002 6:39:06 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:992)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:857)
at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252
)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1237)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
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.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.core.StandardServer
java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2312)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2332)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1240)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
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.apache.commons.digester.Digester.parse(Digester.java:1495)
at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat startup problem

2002-09-04 Thread Turner, John


I've never seen that error before, but unless you have a specific need for
4.0.3 and JDK 1.2.2, my advice would be to upgrade both Tomcat and your JDK,
and don't use the RPMs (all due respect to the creator of the RPM).

tomcat: 4.0.4, binary not RPM
JDK: 1.3.1 or 1.4.0

The binary install of Tomcat is absolutely painless, there's really no need
at all for an RPM.

John

> -Original Message-
> From: Sujoy Ghosh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 04, 2002 5:44 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> Hi ,
> 
> I can't start Tomcat 4.0.3 ; while starting using "service tomcat4 
> start " its showing Started [OK] but actually it isn't.Under 
> logs/catalina.out I found following error;
> 
> Exception during startup processing
> java.lang.reflect.InvocationTargetException: 
> java.lang.NoClassDefFoundError: 
> javax/naming/directory/DirContext
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java, Compiled Code)
>  at 
> org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java, 
> Compiled Code)
>  at 
> org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java, 
> Compiled Code)
>  at 
> org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java, 
> Compiled Code)
>  at 
> org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAda
> pter.java, 
> Compiled Code)...
> 
> FYI: I have installed RPM version of Tomcat 4.0.3 .Also using 
> JDK1.2.2 on RH Linux 7.1 .
> 
> Any help will be appreciated.
> 
> Thanks in advance.
> 
> -best
> 
> Sujoy
> 
> 
> --
> 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]>




Tomcat startup problem

2002-09-04 Thread Sujoy Ghosh

Hi ,

I can't start Tomcat 4.0.3 ; while starting using "service tomcat4 
start " its showing Started [OK] but actually it isn't.Under 
logs/catalina.out I found following error;

Exception during startup processing
java.lang.reflect.InvocationTargetException: 
java.lang.NoClassDefFoundError: 
javax/naming/directory/DirContext
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java, Compiled Code)
 at 
org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java, 
Compiled Code)
 at 
org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java, 
Compiled Code)
 at 
org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java, 
Compiled Code)
 at 
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java, 
Compiled Code)...

FYI: I have installed RPM version of Tomcat 4.0.3 .Also using 
JDK1.2.2 on RH Linux 7.1 .

Any help will be appreciated.

Thanks in advance.

-best

Sujoy


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat startup problem

2001-09-18 Thread Steve Heller

 I discovered that the environmental variable %OS% is set to 'WINNT' on my
Win2000 PC.  The Tomcat.bat script is looking for %OS% ='windows_NT' so it
bypassed any NT specific settings.  I still have other errors to deal with but
at least I am past this problem.

Thanks for everyone's help.
Steve

pero wrote:

> the error I thought of would appear if both %_STARTJAVA% AND %TOMCAT_OPTS%
> were empty.
> One thing that came into my mind: Does the path you installed your JDK to
> contain spaces? (i.e. c:/program files/javasoft...)
> What does your JAVA_HOME say?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 11:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Tomcat startup problem
> >
> >
> > pero,
> >
> > I need to try a few things but %TOMCAT_OPTS% appears to be empty
> > although I
> > think that it is the same under the Win95 version.  I am using
> > the Startup.bat
> > file which calls tomcat.bat.  startup.bat is the same under Win95
> > and Win2000.
> >
> > Thanks,
> >
> > Steve
> >
> > pero wrote:
> >
> > > are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
> > >
> > > > -Original Message-
> > > > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, September 17, 2001 10:56 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Tomcat startup problem
> > > >
> > > >
> > > > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > > > server and an application were working on the Win95 PC.
> > After upgrading
> > > > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > > > directories and files to the PC and set up environmental variables.  I
> > > > am getting this error message when trying to start Tomcat
> > under Win2000.
> > > >
> > > > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1'
> > (or one of
> > > > its components). Make sure the path and filename are correct and that
> > > > all required libraries are available."
> > > >
> > > > The line being executed at error time is in Tomcat.bat in section
> > > > :startServer.
> > > > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > > > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> > > >
> > > > I looked through the Tomcat user and developer mail lists and
> > could not
> > > > find a similar problem.  I've also checked the environmental variables
> > > > for classpath, tomcat_home, java_home and they all seem to be fine.
> > > >
> > > > Does anyone know what is causing this error and/or a solution?
> > > >
> > > > Thanks for your help.
> > > >
> > > > Steve
> > > >
> > > >
> > > >
> >



RE: Tomcat startup problem

2001-09-17 Thread pero

the error I thought of would appear if both %_STARTJAVA% AND %TOMCAT_OPTS%
were empty.
One thing that came into my mind: Does the path you installed your JDK to
contain spaces? (i.e. c:/program files/javasoft...)
What does your JAVA_HOME say?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 11:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat startup problem
>
>
> pero,
>
> I need to try a few things but %TOMCAT_OPTS% appears to be empty
> although I
> think that it is the same under the Win95 version.  I am using
> the Startup.bat
> file which calls tomcat.bat.  startup.bat is the same under Win95
> and Win2000.
>
> Thanks,
>
> Steve
>
> pero wrote:
>
> > are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
> >
> > > -Original Message-
> > > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 17, 2001 10:56 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat startup problem
> > >
> > >
> > > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > > server and an application were working on the Win95 PC.
> After upgrading
> > > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > > directories and files to the PC and set up environmental variables.  I
> > > am getting this error message when trying to start Tomcat
> under Win2000.
> > >
> > > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1'
> (or one of
> > > its components). Make sure the path and filename are correct and that
> > > all required libraries are available."
> > >
> > > The line being executed at error time is in Tomcat.bat in section
> > > :startServer.
> > > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> > >
> > > I looked through the Tomcat user and developer mail lists and
> could not
> > > find a similar problem.  I've also checked the environmental variables
> > > for classpath, tomcat_home, java_home and they all seem to be fine.
> > >
> > > Does anyone know what is causing this error and/or a solution?
> > >
> > > Thanks for your help.
> > >
> > > Steve
> > >
> > >
> > >
>




RE: Tomcat startup problem

2001-09-17 Thread Hoggatt Matt - mahogg

My %TOMCAT_OPTS% is empty, but %_STARTJAVA% is the following. . .

set _STARTJAVA=start "%JAVA_HOME%\bin\java"

-Matt

-Original Message-
From: Steve Heller [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat startup problem


pero,

I need to try a few things but %TOMCAT_OPTS% appears to be empty although I
think that it is the same under the Win95 version.  I am using the
Startup.bat
file which calls tomcat.bat.  startup.bat is the same under Win95 and
Win2000.

Thanks,

Steve

pero wrote:

> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



Re: Tomcat startup problem

2001-09-17 Thread Steve Heller

pero,

I need to try a few things but %TOMCAT_OPTS% appears to be empty although I
think that it is the same under the Win95 version.  I am using the Startup.bat
file which calls tomcat.bat.  startup.bat is the same under Win95 and Win2000.

Thanks,

Steve

pero wrote:

> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



Re: Tomcat startup problem

2001-09-17 Thread Steve Heller

Matt,

Yes, I can cd %TOMCAT_HOME%

Steve

Hoggatt Matt - mahogg wrote:

> Can you "cd %TOMCAT_HOME%"?
>
> -Original Message-
> From: pero [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Tomcat startup problem
>
> are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?
>
> > -Original Message-
> > From: Steve Heller [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 17, 2001 10:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat startup problem
> >
> >
> > I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> > server and an application were working on the Win95 PC.  After upgrading
> > to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> > directories and files to the PC and set up environmental variables.  I
> > am getting this error message when trying to start Tomcat under Win2000.
> >
> > "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> > its components). Make sure the path and filename are correct and that
> > all required libraries are available."
> >
> > The line being executed at error time is in Tomcat.bat in section
> > :startServer.
> > %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> > org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> >
> > I looked through the Tomcat user and developer mail lists and could not
> > find a similar problem.  I've also checked the environmental variables
> > for classpath, tomcat_home, java_home and they all seem to be fine.
> >
> > Does anyone know what is causing this error and/or a solution?
> >
> > Thanks for your help.
> >
> > Steve
> >
> >
> >



RE: Tomcat startup problem

2001-09-17 Thread Hoggatt Matt - mahogg

Can you "cd %TOMCAT_HOME%"?

-Original Message-
From: pero [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 4:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat startup problem


are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> server and an application were working on the Win95 PC.  After upgrading
> to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> directories and files to the PC and set up environmental variables.  I
> am getting this error message when trying to start Tomcat under Win2000.
> 
> "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> its components). Make sure the path and filename are correct and that
> all required libraries are available."
> 
> The line being executed at error time is in Tomcat.bat in section
> :startServer.
> %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> 
> I looked through the Tomcat user and developer mail lists and could not
> find a similar problem.  I've also checked the environmental variables
> for classpath, tomcat_home, java_home and they all seem to be fine.
> 
> Does anyone know what is causing this error and/or a solution?
> 
> Thanks for your help.
> 
> Steve
> 
> 
> 



RE: Tomcat startup problem

2001-09-17 Thread pero

are you sure that %_STARTJAVA% and %TOMCAT_OPTS% are filled?

> -Original Message-
> From: Steve Heller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat startup problem
> 
> 
> I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
> server and an application were working on the Win95 PC.  After upgrading
> to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
> directories and files to the PC and set up environmental variables.  I
> am getting this error message when trying to start Tomcat under Win2000.
> 
> "Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
> its components). Make sure the path and filename are correct and that
> all required libraries are available."
> 
> The line being executed at error time is in Tomcat.bat in section
> :startServer.
> %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
> org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
> 
> I looked through the Tomcat user and developer mail lists and could not
> find a similar problem.  I've also checked the environmental variables
> for classpath, tomcat_home, java_home and they all seem to be fine.
> 
> Does anyone know what is causing this error and/or a solution?
> 
> Thanks for your help.
> 
> Steve
> 
> 
> 



Tomcat startup problem

2001-09-17 Thread Steve Heller

I recently upgraded my PC from Windows 95 to Windows 2000.  A Tomcat
server and an application were working on the Win95 PC.  After upgrading
to Win2000, I installed the jdk, copied the jakarta-tomcat-3.2.1
directories and files to the PC and set up environmental variables.  I
am getting this error message when trying to start Tomcat under Win2000.

"Cannot find the file '-Dtomcat.home=c:\jakarta-tomcat-3.2.1' (or one of
its components). Make sure the path and filename are correct and that
all required libraries are available."

The line being executed at error time is in Tomcat.bat in section
:startServer.
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9

I looked through the Tomcat user and developer mail lists and could not
find a similar problem.  I've also checked the environmental variables
for classpath, tomcat_home, java_home and they all seem to be fine.

Does anyone know what is causing this error and/or a solution?

Thanks for your help.

Steve





RE: tomcat startup problem

2001-04-16 Thread Wong, Connie

Try to stop tomcat and start it again.
Something when you create a new class (or recompile), you need to stop and
start tomcat.

Connie


> -Original Message-
> From: Craig Pfeifer [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:23 PM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: tomcat startup problem
> 
> This should be in an FAQ somewhere..
> 
> If I'm not mistaken, this error :
> 
> > FATAL:java.net.BindException: Address already in use
> >  at java.net.PlainSocketImpl.socketBind(Native Method)
> 
> means that there's already another application that has bound to the
> socket
> that you are trying to use.
> 
> So, chances are another instance of Tomcat is running on this machine
> already.
> 
> Craig Pfeifer
> Software Engineer
> Aether Systems, Software Products Division
> 703.847.3303 x2053
> [EMAIL PROTECTED]
> 
>   
> 
> 
> > -Original Message-
> > From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 1:18 PM
> > To: [EMAIL PROTECTED]
> > Subject: tomcat startup problem
> > 
> > 
> > 
> > redhat 7
> > sun jdk 1.3
> > 
> > when I try to run tomcat I get
> > 
> > #./startup.sh
> > 
> > Using classpath: 
> > /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> > :/usr/local/
> > tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> > l/tomcat/lib/
> > servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> > ebserver.jar:
> > /usr/java/jdk1.3.0_02/lib/tools.jar
> > 
> > # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> > /examples )
> > 
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> > 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> > FATAL:java.net.BindException: Address already in use
> > java.net.BindException: Address already in use
> >  at java.net.PlainSocketImpl.socketBind(Native Method)
> >  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
> >  at java.net.ServerSocket.(ServerSocket.java:170)
> >  at java.net.ServerSocket.(ServerSocket.java:121)
> >  at 
> > org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> > (DefaultServerSocketFactory.java:97)
> >  at 
> > org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> > pEndpoint.java:
> > 239)
> >  at 
> > org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> > tor.java:188)
> >  at 
> > org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> >  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> >  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > 



Re: tomcat startup problem

2001-04-16 Thread Chad Harrison


thanks all.

ps awx | grep tom revealed a lingering process... strange.


On Monday, April 16, 2001, at 01:24  PM, Jeff Kilbride wrote:

> Looks like Tomcat may already be running or may not have shut down 
> properly
> from a previous run.
>
> Try typing 'ps awx' from the command line and looking for java 
> processes. If
> java is running, first try stopping Tomcat again with the shutdown 
> script.
> If that doesn't get rid of all your java processes, run 'killall java' 
> from
> the command line -- assuming you don't have anything else important 
> running
> java on your machine! I've had to do this a few times, if Tomcat doesn't
> shutdown properly on it's own.
>
> Thanks,
> --jeff
>
> - Original Message -
> From: "Chad Harrison" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, April 16, 2001 10:17 AM
> Subject: tomcat startup problem
>
>
>>
>> redhat 7
>> sun jdk 1.3
>>
>> when I try to run tomcat I get
>>
>> #./startup.sh
>>
>> Using classpath:
>> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
>>
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
>>
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
>> /usr/java/jdk1.3.0_02/lib/tools.jar
>>
>> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )
>>
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
>> Starting tomcat. Check logs/tomcat.log for error messages
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
>> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
>> FATAL:java.net.BindException: Address already in use
>> java.net.BindException: Address already in use
>>  at java.net.PlainSocketImpl.socketBind(Native Method)
>>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>>  at java.net.ServerSocket.(ServerSocket.java:170)
>>  at java.net.ServerSocket.(ServerSocket.java:121)
>>  at
>> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
>> (DefaultServerSocketFactory.java:97)
>>  at
>>
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
> :
>> 239)
>>  at
>>
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
>>  at
>> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>>
>
>



RE: tomcat startup problem

2001-04-16 Thread Randy Layman


Something else is trying to use one of the ports Tomcat is trying to
use (by default its 8080 and 8007).  I would suggest you use netstat to
determine what ports are available and reconfigure Tomcat, or stop the other
process.

Randy


> -Original Message-
> From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> 
> redhat 7
> sun jdk 1.3
> 
> when I try to run tomcat I get
> 
> #./startup.sh
> 
> Using classpath: 
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> :/usr/local/
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> l/tomcat/lib/
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> ebserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
> 
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> /examples )
> 
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at 
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at 
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java:
> 239)
>  at 
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
>  at 
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 



Re: tomcat startup problem

2001-04-16 Thread Jeff Kilbride

Looks like Tomcat may already be running or may not have shut down properly
from a previous run.

Try typing 'ps awx' from the command line and looking for java processes. If
java is running, first try stopping Tomcat again with the shutdown script.
If that doesn't get rid of all your java processes, run 'killall java' from
the command line -- assuming you don't have anything else important running
java on your machine! I've had to do this a few times, if Tomcat doesn't
shutdown properly on it's own.

Thanks,
--jeff

- Original Message -
From: "Chad Harrison" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:17 AM
Subject: tomcat startup problem


>
> redhat 7
> sun jdk 1.3
>
> when I try to run tomcat I get
>
> #./startup.sh
>
> Using classpath:
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
>
tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
>
servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
>
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )
>
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at
>
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:
> 239)
>  at
>
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
>  at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>




RE: tomcat startup problem

2001-04-16 Thread Craig Pfeifer

This should be in an FAQ somewhere..

If I'm not mistaken, this error :

> FATAL:java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)

means that there's already another application that has bound to the socket
that you are trying to use.

So, chances are another instance of Tomcat is running on this machine
already.

Craig Pfeifer
Software Engineer
Aether Systems, Software Products Division
703.847.3303 x2053
[EMAIL PROTECTED]

  


> -Original Message-
> From: Chad Harrison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat startup problem
> 
> 
> 
> redhat 7
> sun jdk 1.3
> 
> when I try to run tomcat I get
> 
> #./startup.sh
> 
> Using classpath: 
> /usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar
> :/usr/local/
> tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/loca
> l/tomcat/lib/
> servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/w
> ebserver.jar:
> /usr/java/jdk1.3.0_02/lib/tools.jar
> 
> # 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( 
> /examples )
> 
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
> 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>  at java.net.ServerSocket.(ServerSocket.java:170)
>  at java.net.ServerSocket.(ServerSocket.java:121)
>  at 
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
> (DefaultServerSocketFactory.java:97)
>  at 
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
> pEndpoint.java:
> 239)
>  at 
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
> tor.java:188)
>  at 
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 



tomcat startup problem

2001-04-16 Thread Chad Harrison


redhat 7
sun jdk 1.3

when I try to run tomcat I get

#./startup.sh

Using classpath: 
/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/
tomcat/lib/jaxp.jar:/usr/local/tomcat/lib/parser.jar:/usr/local/tomcat/lib/
servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webserver.jar:
/usr/java/jdk1.3.0_02/lib/tools.jar

# 2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /examples )

2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-04-16 10:14:56 - ContextManager: Adding context Ctx(  )
2001-04-16 10:14:56 - ContextManager: Adding context Ctx( /test )
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
 at java.net.PlainSocketImpl.socketBind(Native Method)
 at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
 at java.net.ServerSocket.(ServerSocket.java:170)
 at java.net.ServerSocket.(ServerSocket.java:121)
 at 
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket
(DefaultServerSocketFactory.java:97)
 at 
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:
239)
 at 
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
 at 
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)



Tomcat startup problem on NT

2001-04-06 Thread gpjkumar

Hi,

I Installed Tomcat on WindowsNT4.0 .It was working fine and suddenly I got a message 
as follows .I sthere any body who can help me?

Please e-mail it to [EMAIL PROTECTED]

Jay
ERROR: The requested URL could not be retrieved



While trying to retrieve the URL: http://localhost:8080/ 

The following error was encountered: 

ERROR 207 -- Cannot access the proxy-cache server through the URL that you entered. 
This means that: 

You may not use this proxy to connect to that url. 




__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/



RE: tomcat startup problem

2001-04-06 Thread Michael Wentzel

Run 'tomcat.bat run' at command prompt instead of startup.bat.

This will allow you to see stack trace.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com



RE: tomcat startup problem

2001-04-06 Thread Benoît Jacquemont

You sould try to open a command line window, got to the tomcat/bin directory
and try tomcat run. You'll see what's exactly the problem since the window
won't close.

Benoît
> Hi,
>
> I have tomcat 3.2.1 running on win 2k with jdk 1.3
>
> Everything was running perfectly until a while ago. Suddenly
> when I see,
> tomcat is shutdown and all the windows are closed. I tried to restart.
> Tomcat starts opening in the new window. I think it loads the
> loadon startup
> servlet and then when it comes to  PoolTcpConnector, the
> window is closed
> and tomcat is shut down. I'm not sure, if the problem is at
> PoolTcpConnector
> or not. I can't see that. It just closes down.
>
> I can't see any tomcat.log files.
>
> Can someone please answer this asap. I'm kinda in a big fix.
>
> thanks a bunch,
> Lakshmi




tomcat startup problem

2001-04-06 Thread Adilakshmi Lingam

Hi,

I have tomcat 3.2.1 running on win 2k with jdk 1.3

Everything was running perfectly until a while ago. Suddenly when I see,
tomcat is shutdown and all the windows are closed. I tried to restart.
Tomcat starts opening in the new window. I think it loads the loadon startup
servlet and then when it comes to  PoolTcpConnector, the window is closed
and tomcat is shut down. I'm not sure, if the problem is at PoolTcpConnector
or not. I can't see that. It just closes down.

I can't see any tomcat.log files.

Can someone please answer this asap. I'm kinda in a big fix.

thanks a bunch,
Lakshmi




Re: Tomcat startup problem

2001-03-26 Thread Jon Small

For sake of brevity, I did not include the entire init script. I did set the
TOMCAT_HOME, JAVA_HOME, and CLASSPATH environment variables in the init
script.

TOMCAT_HOME=/usr/local/tomcat
export TOMCAT_HOME
JAVA_HOME=/opt/java1.2
export JAVA_HOME
PATH=$TOMCAT_HOME/bin:/usr/sbin:/usr/bin:/sbin
export PATH
CLASSPATH=${CLASSPATH}:/apps/InformixJdbcDriver/lib/ifxjdbc.jar
export CLASSPATH

I also placed a sleep statement at the end of the tomcat init script and can
verify that the "java" process runs successfully, just as it does manually.
It is just when then "rc" process completes executing the init scripts that
the "java" process seems to die. There are no error messages at all.

I am assuming that someone out there has gotten Tomcat to startup with an
init script on HP-UX, Solaris, or SUN-OS. Some system that doesn't use the
"daemon" command like Linux does.

Any assistance is sincerely appreciated.


- Original Message -
From: "Vladimir Grishchenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 23, 2001 4:47 PM
Subject: Re: Tomcat startup problem


> It might be that you don't set $TOMCAT_HOME.
> The following script works on Linux, set vars to your values:
>
> #!/bin/sh
>
> TOMCAT_HOME=/usr/local/tomcat
> export TOMCAT_HOME
>
> JAVA_HOME=/opt/IBMJava2-13
> export JAVA_HOME
>
> case "$1" in
>   start)
> echo -n "Starting Tomcat: "
> $TOMCAT_HOME/bin/startup.sh
> echo
> ;;
>   stop)
> echo -n "Shutting down Tomcat: "
> $TOMCAT_HOME/bin/shutdown.sh
> echo
> ;;
>   *)
> echo "Usage: $0 {start|stop}"
> exit 1
> esac
>
> exit 0
>
>
> > Jon Small wrote:
> >
> > O/S: HP-UX 11.0
> > Apache: 1.3.12
> > Tomcat: 3.1
> >
> > Anyone have/had the same problem? I can start Tomcat manually just fine,
but
> > not successfully with an init script. It seems that the "java" process
> > starts initially, but at some point dies. I think that it dies when the
init
> > script exits. We have it running fine with Linux, but it uses a "daemon"
> > command to make the "java" process a daemon. Any clues?
> >
> > I use the standard SystemV init script:
> >
> > case "$1" in
> >start)
> >  echo -n "Starting tomcat: "
> >  /usr/local/tomcat/bin/startup.sh
> >  ;;
> >stop)
> >  echo -n "Shutting down tomcat: "
> >  /usr/local/tomcat/bin/shutdown.sh
> >  ;;
> >*)
> >  echo "Usage: $0 {start|stop}"
> >  exit 1
> > esac
> >
> > exit 0
>



Re: Tomcat startup problem

2001-03-23 Thread Vladimir Grishchenko

It might be that you don't set $TOMCAT_HOME.
The following script works on Linux, set vars to your values:

#!/bin/sh

TOMCAT_HOME=/usr/local/tomcat
export TOMCAT_HOME

JAVA_HOME=/opt/IBMJava2-13
export JAVA_HOME

case "$1" in
  start)
echo -n "Starting Tomcat: "
$TOMCAT_HOME/bin/startup.sh
echo
;;
  stop)
echo -n "Shutting down Tomcat: "
$TOMCAT_HOME/bin/shutdown.sh
echo
;;
  *)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0


> Jon Small wrote:
> 
> O/S: HP-UX 11.0
> Apache: 1.3.12
> Tomcat: 3.1
> 
> Anyone have/had the same problem? I can start Tomcat manually just fine, but
> not successfully with an init script. It seems that the "java" process
> starts initially, but at some point dies. I think that it dies when the init
> script exits. We have it running fine with Linux, but it uses a "daemon"
> command to make the "java" process a daemon. Any clues?
> 
> I use the standard SystemV init script:
> 
> case "$1" in
>start)
>  echo -n "Starting tomcat: "
>  /usr/local/tomcat/bin/startup.sh
>  ;;
>stop)
>  echo -n "Shutting down tomcat: "
>  /usr/local/tomcat/bin/shutdown.sh
>  ;;
>*)
>  echo "Usage: $0 {start|stop}"
>  exit 1
> esac
> 
> exit 0



Tomcat startup problem

2001-03-23 Thread Jon Small



O/S: HP-UX 11.0Apache: 1.3.12Tomcat: 
3.1Anyone have/had the same problem? I can start Tomcat manually just 
fine, butnot successfully with an init script. It seems that the "java" 
processstarts initially, but at some point dies. I think that it dies when 
the initscript exits. We have it running fine with Linux, but it uses a 
"daemon"command to make the "java" process a daemon. Any clues?I use 
the standard SystemV init script:case "$1" in   
start) echo -n "Starting 
tomcat: " 
/usr/local/tomcat/bin/startup.sh 
;;   stop) 
echo -n "Shutting down tomcat: 
" 
/usr/local/tomcat/bin/shutdown.sh 
;;   *) echo 
"Usage: $0 {start|stop}" 
exit 1esacexit 0


Re: Tomcat Startup Problem

2001-03-23 Thread tomcat

You might have to edit the workers.properties file and set the path to the
tomcat and jdk directories in it.

-Thos

On Fri, 23 Mar 2001, Muniraja Balaji wrote:

> Hi,
>  I am new to Tomcat, i have downloaded the Tomcat Zip file and unzipped to the 
>local drive. After that i have configured the JAVA_HOME,TOMCAT_HOME and CLASSPATH 
>variables also. When i startup Tomcat i get an error message
>
> Can't find class org/apache/tomcat/startup/Tomcat and closes the opened window which 
>is used to startup the tomcat server.
>
>  Any idea why it is happening.
>
>  Thanks in Advance for any help..
>
> Take Care..Have a Good Day
> Patience .has it's own rewards.
> M.Balaji
> Phone: (065) - 423-6563
>
>
> --
>
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
>
>




Tomcat Startup Problem

2001-03-22 Thread Muniraja Balaji

Hi,
 I am new to Tomcat, i have downloaded the Tomcat Zip file and unzipped to the 
local drive. After that i have configured the JAVA_HOME,TOMCAT_HOME and CLASSPATH 
variables also. When i startup Tomcat i get an error message

Can't find class org/apache/tomcat/startup/Tomcat and closes the opened window which 
is used to startup the tomcat server.

 Any idea why it is happening.

 Thanks in Advance for any help..

Take Care..Have a Good Day
Patience .has it's own rewards.
M.Balaji
Phone: (065) - 423-6563


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.




Re: Tomcat StartUp Problem

2000-11-21 Thread Chetna Bhatt

Hi,
Have u set the classpath for the Jre which should be 1.3 version.
the classpath:
:\Program Files\JavaSoft\Jre\1.3\bin;

Regards
Chetna

Kumar Shailendra wrote:

> Hi,
> Can somebody please help me solve the error I am getting  I try to start
>
> Tomcat on my machine.
> "Java.lang.ClassNot  FoundException:
> org/apache/tomcat/service/http/HttpConnectionHandler" .
> In short I get Class not found exception for HttpConnectionHandler.
> I have set the TOMCAT_HOME and JAVA_HOME variable.My OS is Windows NT
> workstation 4.2 .
>
> Thanks & Regards,
> Shailendra




Tomcat Startup Problem

2000-11-21 Thread Olivier Baillard

Hi,

I have installed Tomcat 3.2 beta8 in a Linux machine an made all my 
configuration as usual. But when I execute "startup.sh", I receive the 
following error:

XmlMapper: Calling 
org.apache.tomcat.request.SimpleMapper1.setContextManager org
.apache.tomcat.core.ContextManager
XmlMapper: Calling 
org.apache.tomcat.core.ContextManager.addRequestInterceptor o
rg.apache.tomcat.request.SimpleMapper1@422ede
XmlMapper: pop RequestInterceptor org.apache.tomcat.request.SimpleMapper1: 
org.a
pache.tomcat.request.SimpleMapper1@422ede
Exception in thread "main" java.lang.VerifyError: (class: 
org/apache/tomcat/requ
est/InvokerInterceptor, method: requestMap signature: 
(Lorg/apache/tomcat/core/R
equest;)I) Incompatible object argument for function call
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:120)
 at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:453)
 at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:314)
 at 
org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:68)
 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1390)
 at com.sun.xml.parser.Parser.content(Parser.java:1498)
 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
 at com.sun.xml.parser.Parser.content(Parser.java:1498)
 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
 at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
 at com.sun.xml.parser.Parser.parse(Parser.java:283)
 at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)


Do you have an idea?

Olivier Baillard




Re: Tomcat StartUp Problem

2000-11-20 Thread Jim Rudnicki

> Can somebody please help me solve the error I am getting  I try to start

> "Java.lang.ClassNot  FoundException:
... snip ...

Try this Tomcat loader.  Works 99.44% of the time.  Take a look:
http://www.geocities.com/jdrudnicki/

Jim





Tomcat StartUp Problem

2000-11-20 Thread Kumar Shailendra

Hi,
Can somebody please help me solve the error I am getting  I try to start

Tomcat on my machine.
"Java.lang.ClassNot  FoundException:
org/apache/tomcat/service/http/HttpConnectionHandler" .
In short I get Class not found exception for HttpConnectionHandler.
I have set the TOMCAT_HOME and JAVA_HOME variable.My OS is Windows NT
workstation 4.2 .

Thanks & Regards,
Shailendra