Re: Error starting tomcat 5

2004-08-26 Thread QM
On Thu, Aug 26, 2004 at 09:12:13AM +0200, angel cabello wrote:
: Last month I installed sucesfully tomcat 5.0.24, but this tuesday I 
: tried to upgrate it to tomcat 5.027.
: I didn't stop the old tomcat, I just killed him (signal 15, I am running 
: linux SUSE 9.1).
: 
: Now I am not able to start tomcat (nor 5.027 nor 5.0.24, nor 4.1), in 
: catalina.out I get this message:
: 
: Bootstrap: Class loader creation threw exception
: java.lang.NoClassDefFoundError: org/apache/tomcat/util/compat/JdkCompat

What's important here is how you installed Tomcat: did you just
overwrite the old install, or did you put the new install in its own
directory? NoClassDefFoundError is indicative of a missing class.

Also, did you recompile your app against the new Tomcat JARs?

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: error starting tomcat

2004-06-09 Thread Ben Souther
You need to be root when you start tomcat in order to bind to port 80 (or any 
port  1024).  The jsvc will then lower it's user status to tomcat_user ( or 
whatever user you have configured).




On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
 Hi,

 I have the following error starting tomcat and don't know how to solve
 it.

 Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 80
 Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 3461 ms
 Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
 WARNING: Unexpected exception resolving reference
 java.io.FileNotFoundException:
 /usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)


 I have the standard server.xml file. But then removed lots of the
 comments.
 User authentication is defined as :

 Resource name=UserDatabase auth=Container
type=org.apache.catalina.UserDatabase
 description=User database that can be updated and saved
  /Resource
  ResourceParams name=UserDatabase
parameter
  namefactory/name

 valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
/parameter
parameter
  namepathname/name
  valueconf/tomcat-users.xml/value
/parameter
  /ResourceParams

   Realm className=org.apache.catalina.realm.UserDatabaseRealm
   debug=0 resourceName=UserDatabase/


 I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is
 defined.

 I'm using redhat fedore core 1,  java 1.4.2_04

 the tomcat-users.xml file is owned by root : root

 Tomcat is started at boot time by using jsvc where the tomcat user is
 tomcat5.

 Can one of you tell me what's wrong?


 Kind regards,
 Werner van Mook
 Java Lead Developer / Trainer
 Connecties Voor Internet BV i.o.


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

-- 
Ben Souther
F.W. Davison  Company, Inc.


This e-mail message, and any accompanying documents, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.

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



Re: error starting tomcat

2004-06-09 Thread Werner van Mook
It is not complaining about the port number.
I've seen the error if your not root. It's not the same.
Starting tomcat manual as root gives me the same error.
Sorry wrong answer ;-)
On Jun 9, 2004, at 2:08 PM, Ben Souther wrote:
You need to be root when you start tomcat in order to bind to port 80 
(or any
port  1024).  The jsvc will then lower it's user status to 
tomcat_user ( or
whatever user you have configured).


On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
Hi,
I have the following error starting tomcat and don't know how to solve
it.
Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3461 ms
Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.io.FileNotFoundException:
/usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)
I have the standard server.xml file. But then removed lots of the
comments.
User authentication is defined as :
Resource name=UserDatabase auth=Container
   type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
 /Resource
 ResourceParams name=UserDatabase
   parameter
 namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
   /parameter
   parameter
 namepathname/name
 valueconf/tomcat-users.xml/value
   /parameter
 /ResourceParams
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
  debug=0 resourceName=UserDatabase/
I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is
defined.
I'm using redhat fedore core 1,  java 1.4.2_04
the tomcat-users.xml file is owned by root : root
Tomcat is started at boot time by using jsvc where the tomcat user is
tomcat5.
Can one of you tell me what's wrong?
Kind regards,
Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Ben Souther
F.W. Davison  Company, Inc.
This e-mail message, and any accompanying documents, is for the sole 
use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.

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

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: error starting tomcat

2004-06-09 Thread David Smith
There's probably a reference to it or a reference to a symlink in your 
server.xml's GlobalNamingResources.../GlobalNamingResources 
section.  Tomcat5 should own this file or be a member of a group that 
owns it and has read access to it.

--David
Werner van Mook wrote:
It is not complaining about the port number.
I've seen the error if your not root. It's not the same.
Starting tomcat manual as root gives me the same error.
Sorry wrong answer ;-)
On Jun 9, 2004, at 2:08 PM, Ben Souther wrote:
You need to be root when you start tomcat in order to bind to port 80 
(or any
port  1024).  The jsvc will then lower it's user status to 
tomcat_user ( or
whatever user you have configured).


On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
Hi,
I have the following error starting tomcat and don't know how to solve
it.
Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3461 ms
Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.io.FileNotFoundException:
/usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)
I have the standard server.xml file. But then removed lots of the
comments.
User authentication is defined as :
Resource name=UserDatabase auth=Container
   type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
 /Resource
 ResourceParams name=UserDatabase
   parameter
 namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
   /parameter
   parameter
 namepathname/name
 valueconf/tomcat-users.xml/value
   /parameter
 /ResourceParams
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
  debug=0 resourceName=UserDatabase/
I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is
defined.
I'm using redhat fedore core 1,  java 1.4.2_04
the tomcat-users.xml file is owned by root : root
Tomcat is started at boot time by using jsvc where the tomcat user is
tomcat5.
Can one of you tell me what's wrong?
Kind regards,
Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Ben Souther
F.W. Davison  Company, Inc.
This e-mail message, and any accompanying documents, is for the sole 
use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.

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

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
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: error starting tomcat

2004-06-09 Thread Benjamin Armintor
Have you tried copying conf/tomcat-users.xml to
conf/tomcat-users.xml.new to see if that fixes the problem?  The log
seems pretty straightforward. If creating the desired file fixes things,
then you can just grep for conf/tomcat-users.xml.new to find the
configuration issue.

Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Werner van Mook [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 09, 2004 8:36 AM
To: Tomcat Users List
Subject: Re: error starting tomcat


It is not complaining about the port number.
I've seen the error if your not root. It's not the same. Starting tomcat
manual as root gives me the same error.

Sorry wrong answer ;-)


On Jun 9, 2004, at 2:08 PM, Ben Souther wrote:

 You need to be root when you start tomcat in order to bind to port 80
 (or any
 port  1024).  The jsvc will then lower it's user status to 
 tomcat_user ( or
 whatever user you have configured).




 On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
 Hi,

 I have the following error starting tomcat and don't know how to 
 solve it.

 Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 80
 Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 3461 ms
 Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
 WARNING: Unexpected exception resolving reference
 java.io.FileNotFoundException: 
 /usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)


 I have the standard server.xml file. But then removed lots of the 
 comments. User authentication is defined as :

 Resource name=UserDatabase auth=Container
type=org.apache.catalina.UserDatabase
 description=User database that can be updated and saved
  /Resource
  ResourceParams name=UserDatabase
parameter
  namefactory/name

 valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
/parameter
parameter
  namepathname/name
  valueconf/tomcat-users.xml/value
/parameter
  /ResourceParams

   Realm className=org.apache.catalina.realm.UserDatabaseRealm
   debug=0 resourceName=UserDatabase/


 I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is

 defined.

 I'm using redhat fedore core 1,  java 1.4.2_04

 the tomcat-users.xml file is owned by root : root

 Tomcat is started at boot time by using jsvc where the tomcat user is

 tomcat5.

 Can one of you tell me what's wrong?


 Kind regards,
 Werner van Mook
 Java Lead Developer / Trainer
 Connecties Voor Internet BV i.o.


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

 --
 Ben Souther
 F.W. Davison  Company, Inc.


 This e-mail message, and any accompanying documents, is for the sole
 use of
 the intended recipient(s) and may contain confidential and privileged
 information.  Any unauthorized review, use, disclosure, distribution
or
 copying is prohibited.  If you are not the intended recipient, please
 contact our office by email or by telephone at (508) 747-7261 and
 immediately destroy all copies of the original message.

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


Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.


-
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: error starting tomcat

2004-06-09 Thread Werner van Mook
Nope does not work.
Somehow it seems to delete the newly created file.
I've also tried to make the normal tomcat-user.xml file tomcat5 
accessable.
It changes it back to root : root Don't when, dont' know why

On Jun 9, 2004, at 3:41 PM, Benjamin Armintor wrote:
Have you tried copying conf/tomcat-users.xml to
conf/tomcat-users.xml.new to see if that fixes the problem?  The log
seems pretty straightforward. If creating the desired file fixes 
things,
then you can just grep for conf/tomcat-users.xml.new to find the
configuration issue.

Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]

-Original Message-
From: Werner van Mook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 8:36 AM
To: Tomcat Users List
Subject: Re: error starting tomcat
It is not complaining about the port number.
I've seen the error if your not root. It's not the same. Starting 
tomcat
manual as root gives me the same error.

Sorry wrong answer ;-)
On Jun 9, 2004, at 2:08 PM, Ben Souther wrote:
You need to be root when you start tomcat in order to bind to port 80
(or any
port  1024).  The jsvc will then lower it's user status to
tomcat_user ( or
whatever user you have configured).

On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
Hi,
I have the following error starting tomcat and don't know how to
solve it.
Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3461 ms
Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.io.FileNotFoundException:
/usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)
I have the standard server.xml file. But then removed lots of the
comments. User authentication is defined as :
Resource name=UserDatabase auth=Container
   type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
 /Resource
 ResourceParams name=UserDatabase
   parameter
 namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
   /parameter
   parameter
 namepathname/name
 valueconf/tomcat-users.xml/value
   /parameter
 /ResourceParams
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
  debug=0 resourceName=UserDatabase/
I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is

defined.
I'm using redhat fedore core 1,  java 1.4.2_04
the tomcat-users.xml file is owned by root : root
Tomcat is started at boot time by using jsvc where the tomcat user is

tomcat5.
Can one of you tell me what's wrong?
Kind regards,
Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Ben Souther
F.W. Davison  Company, Inc.
This e-mail message, and any accompanying documents, is for the sole
use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution
or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
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]

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: error starting tomcat

2004-06-09 Thread David Smith
Check your system log files.  I'll bet Fedora's doing this via some sort 
of security cron job.

--David
Werner van Mook wrote:
Nope does not work.
Somehow it seems to delete the newly created file.
I've also tried to make the normal tomcat-user.xml file tomcat5 
accessable.
It changes it back to root : root Don't when, dont' know why

On Jun 9, 2004, at 3:41 PM, Benjamin Armintor wrote:
Have you tried copying conf/tomcat-users.xml to
conf/tomcat-users.xml.new to see if that fixes the problem?  The log
seems pretty straightforward. If creating the desired file fixes things,
then you can just grep for conf/tomcat-users.xml.new to find the
configuration issue.
Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]

-Original Message-
From: Werner van Mook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 8:36 AM
To: Tomcat Users List
Subject: Re: error starting tomcat
It is not complaining about the port number.
I've seen the error if your not root. It's not the same. Starting tomcat
manual as root gives me the same error.
Sorry wrong answer ;-)
On Jun 9, 2004, at 2:08 PM, Ben Souther wrote:
You need to be root when you start tomcat in order to bind to port 80
(or any
port  1024).  The jsvc will then lower it's user status to
tomcat_user ( or
whatever user you have configured).

On Wednesday 09 June 2004 08:10 am, Werner van Mook wrote:
Hi,
I have the following error starting tomcat and don't know how to
solve it.
Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3461 ms
Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.io.FileNotFoundException:
/usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)
I have the standard server.xml file. But then removed lots of the
comments. User authentication is defined as :
Resource name=UserDatabase auth=Container
   type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
 /Resource
 ResourceParams name=UserDatabase
   parameter
 namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
   /parameter
   parameter
 namepathname/name
 valueconf/tomcat-users.xml/value
   /parameter
 /ResourceParams
  Realm className=org.apache.catalina.realm.UserDatabaseRealm
  debug=0 resourceName=UserDatabase/
I don't know where :  /usr/local/tomcat/conf/tomcat-users.xml.new  is


defined.
I'm using redhat fedore core 1,  java 1.4.2_04
the tomcat-users.xml file is owned by root : root
Tomcat is started at boot time by using jsvc where the tomcat user is


tomcat5.
Can one of you tell me what's wrong?
Kind regards,
Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Ben Souther
F.W. Davison  Company, Inc.
This e-mail message, and any accompanying documents, is for the sole
use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution
or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
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]

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
-
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: error starting Tomcat 4.1.24 without Internet connection

2003-06-25 Thread Lindgren Swanthe
You could try to add your computer to your host file
C:\WINDOWS\system32\drivers\etc\hosts

Add the following rows:
127.0.0.1   localhost
127.0.0.1   [your_computers_name]

This might do the trick

//Swanthe

-Original Message-
From: Flo [mailto:[EMAIL PROTECTED] 
Sent: den 24 juni 2003 21:15
To: Tomcat Users List
Subject: error starting Tomcat 4.1.24 without Internet connection


Hi

i installed Tomcat 4.1.24
My internet connection was down and when i restart Tomcat i got on
starting this error :
java.net.UnknownHostException: jakarta.apache.org
...

And i was unable to test my work

How can i fix this problem ?




-
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: error starting Tomcat

2003-04-05 Thread WIPRO Anil Gandhi
Seems to be like that, Do u have any idea, how it can be configured or how can I check 
whether I have permission. I am currently trying as root.

Thanks
Anil

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 6:09 PM
To: Tomcat Users List
Subject: RE: error starting Tomcat



Howdy,
It might be that you don't have permission to bind to that socket on
your server.  

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: WIPRO Anil Gandhi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 7:12 AM
To: Tomcat Users List
Subject: error starting Tomcat

Hi,
I am unable to start tomcat. Whenever I start it gives me the error
StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
requested address.
I thought initially that there is some process already running on port
8005
but when I checked that found that there is no process running on this
port.

(i used netstat -an | grep 8005 to check that, later tried telnet 0
8005
and got negative response).

I even change this address to 9005 still the same error.

Interstingly when i do ps -ef | grep tomcatthe process is
up but when
I try to access

tomcat from the browser using http://localhost:8080 then nothing comes
up.
when I do netstat -an | grep 8080  , I get LISTEN as the status.

Interestingly tomcat stops automatically after some time.  I am using
tomcat 4.1.18 with JDK 1.4


here is the error message.

StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
requested address
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
at java.net.ServerSocket.bind(ServerSocket.java:308)
at java.net.ServerSocket.bind(ServerSocket.java:266)
at java.net.ServerSocket.init(ServerSocket.java:182)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:521)
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.ja
va:3
9)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone


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


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



RE: error starting Tomcat

2003-04-02 Thread Shapira, Yoav

Howdy,
It might be that you don't have permission to bind to that socket on
your server.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: WIPRO Anil Gandhi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 7:12 AM
To: Tomcat Users List
Subject: error starting Tomcat

Hi,
I am unable to start tomcat. Whenever I start it gives me the error
StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
requested address.
I thought initially that there is some process already running on port
8005
but when I checked that found that there is no process running on this
port.

(i used netstat -an | grep 8005 to check that, later tried telnet 0
8005
and got negative response).

I even change this address to 9005 still the same error.

Interstingly when i do ps -ef | grep tomcatthe process is
up but when
I try to access

tomcat from the browser using http://localhost:8080 then nothing comes
up.
when I do netstat -an | grep 8080  , I get LISTEN as the status.

Interestingly tomcat stops automatically after some time.  I am using
tomcat 4.1.18 with JDK 1.4


here is the error message.

StandardServer.await: create[8005]: java.net.BindException: Cannot
assign
requested address
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
at java.net.ServerSocket.bind(ServerSocket.java:308)
at java.net.ServerSocket.bind(ServerSocket.java:266)
at java.net.ServerSocket.init(ServerSocket.java:182)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:509)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:521)
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.ja
va:3
9)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone


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



RE: error starting tomcat

2003-01-17 Thread [EMAIL PROTECTED]
Have you an XML error in your web.xml ? a Tag

chistophe CLN


 Hi,
  
 I just installed Tomcat 4.1.18 on my Window 2000. When I start to run
 the Tomcat, I got the following error:
  
 Jan 16, 2003 5:13:09 PM org.apache.commons.digester.Digester error
 SEVERE: Parse Error at line 233 column 45: Element type TR must be
 declared.
 org.xml.sax.SAXParseException: Element type TR must be declared.
 at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
 rorHandlerWrapper.java:232)
 at
 org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
 java:173)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:371)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:305)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDV
 alidator.java:1833)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
 or.java:724)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
 t(XMLDocumentFragmentScannerImpl.java:759)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
 Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
 LDocumentFragmentScannerImpl.java:329)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:525)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:581)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
 ava:1175)
 at
 org.apache.commons.digester.Digester.parse(Digester.java:1514)
 at
 org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig
 .java:977)
 at
 org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.ja
 va:1006)
 at
 org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:
 870)
 at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64
 7)
 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
 g.java:243)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
 eSupport.java:166)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3
 567)
 at
 org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
 .java:821)
 at
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
 7)
 at
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
  
 at
 org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
 loyer.java:257)
 at
 org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
 at
 org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
 ava:569)
 at
 org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411
 )
 at
 org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
 at
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
 :368)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
 eSupport.java:166)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
  
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
  
 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(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:203)
 Jan 16, 2003 5:13:09 PM org.apache.commons.digester.Digester error
 SEVERE: Parse Error at line 234 column 16: The content of element type
 info mu
 st match null.
 org.xml.sax.SAXParseException: The content of element type info must
 match nu
 ll.
 at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
 

RE: error starting tomcat

2003-01-17 Thread Turner, John

What file did you edit when you did the install?  If you didn't edit any
files, one of your files is probably corrupt:

SEVERE: Parse Error at line 233 column 45: Element type TR must be
declared.
SEVERE: Parse Error at line 234 column 16:

Probably server.xml or web.xml has a syntax error in it.  It almost looks
like someone tried to put HTML into one of the XML files.

John


 -Original Message-
 From: Dongmei Zuo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 5:15 PM
 To: [EMAIL PROTECTED]
 Subject: error starting tomcat
 
 
 Hi,
  
 I just installed Tomcat 4.1.18 on my Window 2000. When I start to run
 the Tomcat, I got the following error:
  
 Jan 16, 2003 5:13:09 PM org.apache.commons.digester.Digester error
 SEVERE: Parse Error at line 233 column 45: Element type TR must be
 declared.
 org.xml.sax.SAXParseException: Element type TR must be declared.
 at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
 rorHandlerWrapper.java:232)
 at
 org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
 java:173)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:371)
 at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.
 java:305)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDV
 alidator.java:1833)
 at
 org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidat
 or.java:724)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
 t(XMLDocumentFragmentScannerImpl.java:759)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
 Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
 at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
 LDocumentFragmentScannerImpl.java:329)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:525)
 at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
 a:581)
 at 
 org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
 ava:1175)
 at
 org.apache.commons.digester.Digester.parse(Digester.java:1514)
 at
 org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig
 .java:977)
 at
 org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.ja
 va:1006)
 at
 org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:
 870)
 at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64
at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
  
 I would really appreciate it if you could give me some help.
  
 Thanks very much!
  
 Dongmei Zuo
 

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




RE: Error starting Tomcat 3.3 under NT4, class..

2001-12-18 Thread Larry Isaacs

This implies your conf/jk/wrapper.properties is not configured
properly.  The wrapper.cmd_line command at the end of the
file should create a java command that includes tomcat.jar
on the classpath.  This isn't succeeding since the startup
class in this jar is not being found.  Most likely there is
something wrong with your wrapper.tomcat_home setting.

Cheers,
Larry

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 18, 2001 4:49 AM
 To: [EMAIL PROTECTED]
 Subject: Error starting Tomcat 3.3 under NT4, class..
 
 
 Hi all!
 
 I receive this error in jvm.err when I start the service.
 
 Exception in thread main java.lang.NoClassDefFoundError: 
 org/apache/tomcat/startup/Tomcat
 
 Immediatly the service shutdowns with error 1067.
 In Micosoft site I didn't found any solution.
 
 Can someone help me?
 
 Thanks.
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: error starting tomcat

2001-01-17 Thread Jose Ferrer

Manuel,

We were getting the same problem with Win98. Fixed it by downloading the latest 
service pack

Jose

On Wednesday, January 17, 2001 5:25 AM, Manuel Alzola [SMTP:[EMAIL PROTECTED]] 
wrote:
 Hello.
 
 My tomcat 3.2.1 installed on a machine with win95 with internet explorer 5.5 sp1 
crashes on start dumping the following stack trace
 
 FATAL:java.net.SocketException: Option unsupported by protocol: create
 java.net.SocketException: Option unsupported by protocol: create
 at java.net.PlainSocketImpl.socketCreate(Native Method)
 at java.net.PlainSocketImpl.create(PlainSocketImpl.java:70)
 at java.net.ServerSocket.init(ServerSocket.java:166)
 at java.net.ServerSocket.init(ServerSocket.java:121)
 at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
 ServerSocketFactory.java:97)
 at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
 nt.java:239)
 at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
 a: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)
 
 Any suggestions?
 
 Thanks in advance
 
 Manuel
 
   File: ATT00019.htm  

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