Re: tomcat startup error, IBM DB2 related (database) [SPAM]

2024-09-27 Thread Shekhar Dhotre
Ok 👍 sorry about that, I thought it would help him. It was for free advice, not 
selling any service.

SD

From: Christopher Schultz 
Sent: Friday, September 27, 2024 8:36:36 PM
To: users@tomcat.apache.org 
Subject: Re: tomcat startup error, IBM DB2 related (database) [SPAM]

Shekhar,

On 9/24/24 04:51, Shekhar Dhotre wrote:
> Contact Neel at neel.dho...@contractor.tatacommunications.com  , He
> recently restored our important financial app which is running same
> setup. Tomcat, Db2 , IBM ldap, Redhat, oracle, etc. There is a
> endorsement  on the same at LinkedIn.
Please don't post service advertisements to this list.

-chris

> -Original Message-
> From: Michael Lau 
> Sent: 24 September 2024 13:28
> To: users@tomcat.apache.org
> Cc: reggie.v.gokot...@accenture.com; neil.james.perdi...@accenture.com
> Subject: tomcat startup error, IBM DB2 related (database)
>
> Good afternoon,
>
> we've been having trouble trying to start-up our server for a while, tried 
> restarting again and again and error still persists we can't run our website. 
> It's been ok for the past few weeks it's just we failed to shut down the 
> server properly and may have messed things up with residue processes/threads 
> that wasn't closed (my friend just clicked the x button on the cmd window of 
> the server running). Trying to find solutions to get the server up and 
> running again. I downloaded the driver pack for IBM DB2 and may try to put it 
> in the lib folder of apache, or install the entire software (1.3GB) from the 
> IBM download I got too. not sure if it's the .jar file that's the problem, 
> but the error does indicate the .properties file of db2 configuration. not 
> sure if this should be auto-generated in the web app or it's just plain 
> missing. My colleague suggested to revert to the default settings of apache 
> but this would create problems with the web app since I think it uses db2 by 
> default as it's database, plus I'm kind of new to tomcat so I don't know 
> which xml file to pick to set the database or library/software used. Would 
> like to get this resolved as it's a minor roadblock to finishing our task. 
> currently I think it's just a .jar library problem or just a configuration 
> problem, could also be an improper shutdown problem. I can't access apache 
> manager to see if the program really shutdown entirely since we can't run the 
> server.. I read there might be a detailed log of the error.
>
> here's a clip of the error from the cmd window of my friend:
>
> 0-Sep-2024 13:51:51.584 INFO [Timer-0]
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
> Illegal access: this web application instance has been stopped already.
> Could not load [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The 
> following stack trace is thrown for debugging purposes as well as to attempt 
> to terminate the thread which caused the illegal access.
>
>  java.lang.IllegalStateException: Illegal access: this web 
> application instance has been stopped already. Could not load 
> [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following stack trace 
> is thrown for debugging purposes as well as to attempt to terminate the 
> thread which caused the illegal access.
>
>  at
> org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)
>
>  at
> org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034)
>
>  at com.ibm.db2.jcc.am.vd.run(vd.java:70)
>
>  at java.security.AccessController.doPrivileged(Native
> Method)
>
>  at
> com.ibm.db2.jcc.am.GlobalProperties.a(GlobalProperties.java:152)
>
>  at
> com.ibm.db2.jcc.am.GlobalProperties.d(GlobalProperties.java:100)
>
>  at com.ibm.db2.jcc.am.ar.run(ar.java:124)
>
>  at java.util.TimerThread.mainLoop(Timer.java:555)
>
>  at java.util.TimerThread.run(Timer.java:505)
>
>
> THANK YOU
>
>
> best regards,
>
> Mike
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>



Re: tomcat startup error, IBM DB2 related (database) [SPAM]

2024-09-27 Thread Christopher Schultz

Shekhar,

On 9/24/24 04:51, Shekhar Dhotre wrote:

Contact Neel at neel.dho...@contractor.tatacommunications.com  , He
recently restored our important financial app which is running same
setup. Tomcat, Db2 , IBM ldap, Redhat, oracle, etc. There is a
endorsement  on the same at LinkedIn.

Please don't post service advertisements to this list.

-chris


-Original Message-
From: Michael Lau 
Sent: 24 September 2024 13:28
To: users@tomcat.apache.org
Cc: reggie.v.gokot...@accenture.com; neil.james.perdi...@accenture.com
Subject: tomcat startup error, IBM DB2 related (database)

Good afternoon,

we've been having trouble trying to start-up our server for a while, tried 
restarting again and again and error still persists we can't run our website. 
It's been ok for the past few weeks it's just we failed to shut down the server 
properly and may have messed things up with residue processes/threads that 
wasn't closed (my friend just clicked the x button on the cmd window of the 
server running). Trying to find solutions to get the server up and running 
again. I downloaded the driver pack for IBM DB2 and may try to put it in the 
lib folder of apache, or install the entire software (1.3GB) from the IBM 
download I got too. not sure if it's the .jar file that's the problem, but the 
error does indicate the .properties file of db2 configuration. not sure if this 
should be auto-generated in the web app or it's just plain missing. My 
colleague suggested to revert to the default settings of apache but this would 
create problems with the web app since I think it uses db2 by default as it's 
database, plus I'm kind of new to tomcat so I don't know which xml file to pick 
to set the database or library/software used. Would like to get this resolved 
as it's a minor roadblock to finishing our task. currently I think it's just a 
.jar library problem or just a configuration problem, could also be an improper 
shutdown problem. I can't access apache manager to see if the program really 
shutdown entirely since we can't run the server.. I read there might be a 
detailed log of the error.

here's a clip of the error from the cmd window of my friend:

0-Sep-2024 13:51:51.584 INFO [Timer-0]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
Illegal access: this web application instance has been stopped already.
Could not load [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.

 java.lang.IllegalStateException: Illegal access: this web application 
instance has been stopped already. Could not load 
[com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following stack trace is 
thrown for debugging purposes as well as to attempt to terminate the thread 
which caused the illegal access.

 at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)

 at
org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034)

 at com.ibm.db2.jcc.am.vd.run(vd.java:70)

 at java.security.AccessController.doPrivileged(Native
Method)

 at
com.ibm.db2.jcc.am.GlobalProperties.a(GlobalProperties.java:152)

 at
com.ibm.db2.jcc.am.GlobalProperties.d(GlobalProperties.java:100)

 at com.ibm.db2.jcc.am.ar.run(ar.java:124)

 at java.util.TimerThread.mainLoop(Timer.java:555)

 at java.util.TimerThread.run(Timer.java:505)


THANK YOU


best regards,

Mike

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





RE: tomcat startup error, IBM DB2 related (database)

2024-09-24 Thread Shekhar Dhotre
Contact Neel at neel.dho...@contractor.tatacommunications.com  , He recently 
restored our important financial app which is running same setup. Tomcat, Db2 , 
IBM ldap, Redhat, oracle, etc. There is a endorsement  on the same at LinkedIn. 

https://www.linkedin.com/search/results/all/?heroEntityKey=urn%3Ali%3Afsd_profile%3AACoAACADWwIBThx_g07SfFQUZas66XuOTn6xQNU&keywords=Neel%20D&origin=ENTITY_SEARCH_HOME_HISTORY&sid=~UW

SD

-Original Message-
From: Michael Lau  
Sent: 24 September 2024 13:28
To: users@tomcat.apache.org
Cc: reggie.v.gokot...@accenture.com; neil.james.perdi...@accenture.com
Subject: tomcat startup error, IBM DB2 related (database)

Good afternoon,

we've been having trouble trying to start-up our server for a while, tried 
restarting again and again and error still persists we can't run our website. 
It's been ok for the past few weeks it's just we failed to shut down the server 
properly and may have messed things up with residue processes/threads that 
wasn't closed (my friend just clicked the x button on the cmd window of the 
server running). Trying to find solutions to get the server up and running 
again. I downloaded the driver pack for IBM DB2 and may try to put it in the 
lib folder of apache, or install the entire software (1.3GB) from the IBM 
download I got too. not sure if it's the .jar file that's the problem, but the 
error does indicate the .properties file of db2 configuration. not sure if this 
should be auto-generated in the web app or it's just plain missing. My 
colleague suggested to revert to the default settings of apache but this would 
create problems with the web app since I think it uses db2 by default as it's 
database, plus I'm kind of new to tomcat so I don't know which xml file to pick 
to set the database or library/software used. Would like to get this resolved 
as it's a minor roadblock to finishing our task. currently I think it's just a 
.jar library problem or just a configuration problem, could also be an improper 
shutdown problem. I can't access apache manager to see if the program really 
shutdown entirely since we can't run the server.. I read there might be a 
detailed log of the error.

here's a clip of the error from the cmd window of my friend:

0-Sep-2024 13:51:51.584 INFO [Timer-0]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
Illegal access: this web application instance has been stopped already.
Could not load [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.

java.lang.IllegalStateException: Illegal access: this web application 
instance has been stopped already. Could not load 
[com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following stack trace is 
thrown for debugging purposes as well as to attempt to terminate the thread 
which caused the illegal access.

at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)

at
org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034)

at com.ibm.db2.jcc.am.vd.run(vd.java:70)

at java.security.AccessController.doPrivileged(Native
Method)

at
com.ibm.db2.jcc.am.GlobalProperties.a(GlobalProperties.java:152)

at
com.ibm.db2.jcc.am.GlobalProperties.d(GlobalProperties.java:100)

at com.ibm.db2.jcc.am.ar.run(ar.java:124)

at java.util.TimerThread.mainLoop(Timer.java:555)

at java.util.TimerThread.run(Timer.java:505)


THANK YOU


best regards,

Mike

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat startup error, IBM DB2 related (database)

2024-09-24 Thread Mark Thomas

On 24/09/2024 08:58, Michael Lau wrote:


here's a clip of the error from the cmd window of my friend:

0-Sep-2024 13:51:51.584 INFO [Timer-0]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
Illegal access: this web application instance has been stopped already.
Could not load [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The
following stack trace is thrown for debugging purposes as well as to
attempt to terminate the thread which caused the illegal access.

 java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following stack trace
is thrown for debugging purposes as well as to attempt to terminate the
thread which caused the illegal access.


That is an error triggered when stopping the web application.

I suggest the following.

Stop the Tomcat instance.
Clear the logs directory (move the files somewhere else so you have a 
copy if you need them).

Start the Tomcat instance.
Look for errors in the logs. Start at the beginning. Fix the first error 
that occurs and then repeat this process.


The first error usually triggers multiple further errors. If you don't 
fix the first error first you will waste a huge amount of time fixing 
symptoms rather than the root cause.


Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat startup error on windows 10

2019-10-01 Thread Mark Thomas
On 01/10/2019 22:12, Barry Kimelman wrote:
> my laptop is windows 10 , 64 bit
> 
> I am running tomcat 9.0.14. it has been running fine since I installed it,
> until today. Today for the first time in a long while I could not start
> tomcat.
> 
> I found the following logfile
> ***
> * C:\Tomcat_9_0_14\logs\commons-daemon.2019-10-01.log *
> ***
> 
> [2019-10-01 13:57:19] [info]  [10036] Commons Daemon procrun (1.1.0.0
> 64-bit) started
> [2019-10-01 13:57:20] [info]  [10036] Running 'Tomcat9' Service...
> [2019-10-01 13:57:20] [info]  [ 9728] Starting service...
> [2019-10-01 13:57:20] [error] [ 9728] Failed creating Java C:\Program
> Files\Java\jre1.8.0_201\bin\server\jvm.dll
> [2019-10-01 13:57:20] [error] [ 9728] The system cannot find the path
> specified.
> [2019-10-01 13:57:21] [error] [ 9728] ServiceStart returned 1
> [2019-10-01 13:57:21] [error] [ 9728] The system cannot find the path
> specified.
> [2019-10-01 13:57:21] [info]  [10036] Run service finished.
> [2019-10-01 13:57:21] [info]  [10036] Commons Daemon procrun finished
> 
> My JAVA_HOME environment variable = C:\Program Files\Java\jdk1.8.0_191
> 
>  Directory of C:\Program Files\Java
> 
> 07/24/2019  02:47 PM  .
> 07/24/2019  02:47 PM  ..
> 01/01/2019  03:47 PM  jdk1.8.0_191
> 07/24/2019  06:29 AM  jre1.8.0_221
>0 File(s)  0 bytes
>4 Dir(s)  561,688,457,216 bytes free
> Under here I found 2 jvm.dll files
>88369521/1/20193:42:28 PM  C:\Program
> Files\Java\jdk1.8.0_191\jre\bin\server\jvm.dll
>8841712   7/24/20196:28:25 AM  C:\Program
> Files\Java\jre1.8.0_221\bin\server\jvm.dll
> 
> I did a recursive search under the tomcat directory looking at text files
> for "jrel1" and did not find anything.
> 
> So far google searches have not turned up anything.
> 
> Any ideas as to why I am having this issue ?

You've upgraded Java since you last ran Tomcat and the service can no
longer find your Java installation.

Run tomcat9w.exe, and update the Java config to point to your preferred JRE.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error!

2011-05-15 Thread Konstantin Kolinko
2011/5/14 red phoenix :
> I use tomcat 7.0.12 with hibernate 3,when I startup first,it can work well
> and no errors.then I shutdown tomcat,and startup again,it raise following
> warning information:
> Warn: Failed to scan JAR [jndi:/localhost/examples/WEB-INF/lib/standard.jar]
> from WEB-INF/lib
> java.io.FileNotFoundException:
> c:\apache-tomcat-7.0.12\temp\jar_cache1803949900871975219.tmp (Another
> program is using this file, process can't visit)

Those jar_cache files look like the feature that was fixed in r1095367
http://markmail.org/thread/e75lywynlxgaakqr

I don't know what holds the file and whether its filename is actually
random or not.

Anyway, 7.0.14 is released and you may upgrade.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat startup error!

2011-05-13 Thread Caldarale, Charles R
> From: red phoenix [mailto:rodphoe...@gmail.com] 
> Subject: Tomcat startup error!

> Warn: Failed to scan JAR [jndi:/localhost/examples/WEB-INF/lib/standard.jar]
> from WEB-INF/lib
> java.io.FileNotFoundException:
> c:\apache-tomcat-7.0.12\temp\jar_cache1803949900871975219.tmp (Another
> program is using this file, process can't visit)

> But when I shutdown tomcat again,and startup tomcat,it raise above warning
> information again! Why? How to get rid of above warning?

Since you're on Windows, you may want to set the antiJARLocking attribute in 
the  element of your webapp.  Read about it here:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error

2010-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill,

On 4/10/2010 5:33 PM, Bill Barker wrote:
>> Another thing to note is that the Tomcat folks have made an unstable
>> change, here, by changing a public API. It would have been better to
>> create a method with a new signature and deprecated the old one, while
>> leaving it there.
> 
> The Tomcat developers have always considered this to be part of the
> internal API, not the public API.  This is true of most of the classes
> under the org.apache.tomcat package.

Apologies for the public vs. internal API confusion. On the other hand,
it does seem reasonable that the classes and methods used for embedding
Tomcat should remain stable. Is the use of IntrospectionUtils pretty
standard when it comes to using Tomcat in an embedded environment? Or,
is this a case of a user using a Tomcat internal class for their own
convenience when it isn't really appropriate to do so?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvDauUACgkQ9CaO5/Lv0PA8UQCfWgbjiMCh/r5RXC2ZZAp45KY9
Py8An2xcNULQ/z2WFrlZfAEYPNXFPDRb
=vGBI
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error

2010-04-11 Thread Amit Agarwal
Thanks all -- I could resolve this after compiling with the latest jars.

On Sun, Apr 11, 2010 at 3:03 AM, Bill Barker wrote:

>
>
> "Christopher Schultz"  wrote in message
> news:4bbf945e.4050...@christopherschultz.net...
>
>  -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Harry,
>>
>> On 4/9/2010 2:01 PM, Harry Metske wrote:
>>
>>> you are using some piece of software (com.mypkg.packaging.*) that is
>>> calling
>>> tomcat code.
>>> It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
>>> that is no longer there in 6.0.26, which causes the NoSuchMethodError.
>>> Basically your embedder does not support this version of Tomcat, you
>>> should
>>> contact the vendor, they should do the recompile .
>>>
>>
>> It's interesting that the Java Runtime throws a NoSuchMethodError since
>> the return type is not technically part of the method signature. I've
>> never considered this before, and it totally makes sense because the
>> return type really is an important part of the method. Just interesting
>> to note that the effective method signature is not the same as the
>> official one.
>>
>> Another thing to note is that the Tomcat folks have made an unstable
>> change, here, by changing a public API. It would have been better to
>> create a method with a new signature and deprecated the old one, while
>> leaving it there.
>>
>>
> The Tomcat developers have always considered this to be part of the
> internal API, not the public API.  This is true of most of the classes under
> the org.apache.tomcat package.
>
>
>  - -chris
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.10 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAku/lF4ACgkQ9CaO5/Lv0PCHaQCguLBWWaK6kp+md88Hxo3dGZ4z
>> itEAnjsMKVr6fWyJG44nbNJGFUKLDsU1
>> =ER++
>> -END PGP SIGNATURE-
>>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Be Happy. Always.


Re: Tomcat startup error

2010-04-10 Thread Bill Barker



"Christopher Schultz"  wrote in message 
news:4bbf945e.4050...@christopherschultz.net...

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harry,

On 4/9/2010 2:01 PM, Harry Metske wrote:
you are using some piece of software (com.mypkg.packaging.*) that is 
calling

tomcat code.
It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
that is no longer there in 6.0.26, which causes the NoSuchMethodError.
Basically your embedder does not support this version of Tomcat, you 
should

contact the vendor, they should do the recompile .


It's interesting that the Java Runtime throws a NoSuchMethodError since
the return type is not technically part of the method signature. I've
never considered this before, and it totally makes sense because the
return type really is an important part of the method. Just interesting
to note that the effective method signature is not the same as the
official one.

Another thing to note is that the Tomcat folks have made an unstable
change, here, by changing a public API. It would have been better to
create a method with a new signature and deprecated the old one, while
leaving it there.



The Tomcat developers have always considered this to be part of the internal 
API, not the public API.  This is true of most of the classes under the 
org.apache.tomcat package.



- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/lF4ACgkQ9CaO5/Lv0PCHaQCguLBWWaK6kp+md88Hxo3dGZ4z
itEAnjsMKVr6fWyJG44nbNJGFUKLDsU1
=ER++
-END PGP SIGNATURE-  




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harry,

On 4/9/2010 2:01 PM, Harry Metske wrote:
> you are using some piece of software (com.mypkg.packaging.*) that is calling
> tomcat code.
> It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
> that is no longer there in 6.0.26, which causes the NoSuchMethodError.
> Basically your embedder does not support this version of Tomcat, you should
> contact the vendor, they should do the recompile .

It's interesting that the Java Runtime throws a NoSuchMethodError since
the return type is not technically part of the method signature. I've
never considered this before, and it totally makes sense because the
return type really is an important part of the method. Just interesting
to note that the effective method signature is not the same as the
official one.

Another thing to note is that the Tomcat folks have made an unstable
change, here, by changing a public API. It would have been better to
create a method with a new signature and deprecated the old one, while
leaving it there.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku/lF4ACgkQ9CaO5/Lv0PCHaQCguLBWWaK6kp+md88Hxo3dGZ4z
itEAnjsMKVr6fWyJG44nbNJGFUKLDsU1
=ER++
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error

2010-04-09 Thread Harry Metske
you are using some piece of software (com.mypkg.packaging.*) that is calling
tomcat code.
It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
that is no longer there in 6.0.26, which causes the NoSuchMethodError.
Basically your embedder does not support this version of Tomcat, you should
contact the vendor, they should do the recompile .

regards,
Harry

2010/4/9 Amit Agarwal 

> Hi Harry,
> Thanks for the tip. Here is the full stack trace.
>
> I am not sure what did you mean by compile with embedding package. Could
> you
> put some more light on it.
>
>
> WrapperSimpleApp: Encountered an error running main:
> java.lang.NoSuchMethodError:
>
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
>
> java.lang.NoSuchMethodError:
>
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
>
>  at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)
>
>   at com.mypkg.packaging.HMMain.runMain(Unknown Source)
>
>  at com.mypkg.packaging.HMMain.main(Unknown Source)
>
>  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:597)
>
>  at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)
>
>  at java.lang.Thread.run(Thread.java:619)
>
> On Fri, Apr 9, 2010 at 11:09 PM, Harry Metske  >wrote:
>
> > Amit,
> >
> > you should post the full stacktrace, but it looks like your embedding
> > package was compiled against an older version of Tomcat than the one you
> > are
> > running.
> > The method signature
> > of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed
> > (return
> > type void => boolean) in revision  467222 (24-10-2006)
> >
> > It should be recompiled with the current version.
> >
> > regards,
> > Harry
> >
> >
> > 2010/4/9 Amit Agarwal 
> >
> > > After upgrading to the  latest 6.0.26 ver from 6.0.13, I see the
> > following
> > > error while starting embedded Tomcat.
> > > Any ideas how to get around this?
> > >
> > > WrapperSimpleApp: Encountered an error running main:
> > > java.lang.NoSuchMethodError:
> > >
> > >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> > >
> > > java.lang.NoSuchMethodError:
> > >
> > >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> > >
> > >  at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)
> > >
> > >
> > > Amit
> > > --
> > > Be Happy. Always.
> > >
> >
>
>
>
> --
> Be Happy. Always.
>


Re: Tomcat startup error

2010-04-09 Thread Amit Agarwal
Hi Harry,
Thanks for the tip. Here is the full stack trace.

I am not sure what did you mean by compile with embedding package. Could you
put some more light on it.


WrapperSimpleApp: Encountered an error running main:
java.lang.NoSuchMethodError:
org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V

java.lang.NoSuchMethodError:
org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V

  at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)

  at com.mypkg.packaging.HMMain.runMain(Unknown Source)

  at com.mypkg.packaging.HMMain.main(Unknown Source)

  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:597)

  at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)

  at java.lang.Thread.run(Thread.java:619)

On Fri, Apr 9, 2010 at 11:09 PM, Harry Metske wrote:

> Amit,
>
> you should post the full stacktrace, but it looks like your embedding
> package was compiled against an older version of Tomcat than the one you
> are
> running.
> The method signature
> of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed
> (return
> type void => boolean) in revision  467222 (24-10-2006)
>
> It should be recompiled with the current version.
>
> regards,
> Harry
>
>
> 2010/4/9 Amit Agarwal 
>
> > After upgrading to the  latest 6.0.26 ver from 6.0.13, I see the
> following
> > error while starting embedded Tomcat.
> > Any ideas how to get around this?
> >
> > WrapperSimpleApp: Encountered an error running main:
> > java.lang.NoSuchMethodError:
> >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> >
> > java.lang.NoSuchMethodError:
> >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> >
> >  at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)
> >
> >
> > Amit
> > --
> > Be Happy. Always.
> >
>



-- 
Be Happy. Always.


Re: Tomcat startup error

2010-04-09 Thread Harry Metske
Amit,

you should post the full stacktrace, but it looks like your embedding
package was compiled against an older version of Tomcat than the one you are
running.
The method signature
of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed (return
type void => boolean) in revision  467222 (24-10-2006)

It should be recompiled with the current version.

regards,
Harry


2010/4/9 Amit Agarwal 

> After upgrading to the  latest 6.0.26 ver from 6.0.13, I see the following
> error while starting embedded Tomcat.
> Any ideas how to get around this?
>
> WrapperSimpleApp: Encountered an error running main:
> java.lang.NoSuchMethodError:
>
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
>
> java.lang.NoSuchMethodError:
>
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
>
>  at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)
>
>
> Amit
> --
> Be Happy. Always.
>


RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-15 Thread Imad Hachem
I solved the issue Christopher,

It was a configuration on IBM AIX to bind the multicast address
(228.0.0.4) to the IP of network interface using smitty Admin Console.

Thanks for your reply.





Imad Hachem | Asst.Product Development Manager
e-Banking Department
Path Solutions
Tel: +961 1 697444 ext. 222
Fax: +961 1 696744
www.path-solutions.com



Disclaimer
[The information contained in this e-mail message and any attached files
are confidential information and intended solely for the use of the
individual or entity to whom they are addressed. This transmission may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If you have received this e-mail in
error, please notify the sender immediately and delete all copies. If
you are not the intended recipient, any disclosure, copying,
distribution, or use of the information contained herein is STRICTLY
PROHIBITED. Path Solutions accepts no responsibility for any errors,
omissions, computer viruses and other defects.]
 
 
 

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, October 15, 2009 7:20 PM
To: Tomcat Users List
Subject: Re: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable
in server.xml

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Imad,

On 10/15/2009 12:03 PM, Imad Hachem wrote:
> As per the ifconfig command, it seems BROADCAST and MULTICAST are
> enabled on my AIX 5.3 Network interface:

Yes, it appears that all of your interfaces have MULTICAST enabled.

> Is there another place to check if MULTICAST is enabled or to be
> configured somewhere ?

You'd have to ask an AIX admin about that; I have no such experience.

You should post your cluster configuration, too. Have you permanently
moved-up to Tomcat 6.0.20, or are you still trying to get Tomcat 5.5.12
working?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrXS7UACgkQ9CaO5/Lv0PALMgCfaTq4sZjwosF3KorZR2T68npQ
f+4AoKpKSspH90rn96mGj9IVipHSatAc
=KaCy
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Imad,

On 10/15/2009 12:03 PM, Imad Hachem wrote:
> As per the ifconfig command, it seems BROADCAST and MULTICAST are
> enabled on my AIX 5.3 Network interface:

Yes, it appears that all of your interfaces have MULTICAST enabled.

> Is there another place to check if MULTICAST is enabled or to be
> configured somewhere ?

You'd have to ask an AIX admin about that; I have no such experience.

You should post your cluster configuration, too. Have you permanently
moved-up to Tomcat 6.0.20, or are you still trying to get Tomcat 5.5.12
working?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrXS7UACgkQ9CaO5/Lv0PALMgCfaTq4sZjwosF3KorZR2T68npQ
f+4AoKpKSspH90rn96mGj9IVipHSatAc
=KaCy
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-15 Thread Imad Hachem
Dear Caldarale,

As per the ifconfig command, it seems BROADCAST and MULTICAST are
enabled on my AIX 5.3 Network interface:

bash-3.00# ifconfig -a
en0:
flags=5e080863,c0
inet 192.168.12.103 netmask 0xfe00 broadcast 192.168.13.255
 tcp_sendspace 131072 tcp_recvspace 65536
en1:
flags=5e080862,c0
inet 192.168.12.8 netmask 0xfe00 broadcast 192.168.13.255
 tcp_sendspace 131072 tcp_recvspace 65536
et0:
flags=5e080862,80
inet 192.168.12.103 netmask 0xfe00 broadcast 192.168.13.255
lo0:
flags=e08084b
inet 127.0.0.1 netmask 0xff00 broadcast 127.255.255.255
inet6 ::1/0
 tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1


Is there another place to check if MULTICAST is enabled or to be
configured somewhere ?



Imad Hachem | Asst.Product Development Manager
e-Banking Department
Path Solutions
Tel: +961 1 697444 ext. 222
Fax: +961 1 696744
www.path-solutions.com



Disclaimer
[The information contained in this e-mail message and any attached files
are confidential information and intended solely for the use of the
individual or entity to whom they are addressed. This transmission may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If you have received this e-mail in
error, please notify the sender immediately and delete all copies. If
you are not the intended recipient, any disclosure, copying,
distribution, or use of the information contained herein is STRICTLY
PROHIBITED. Path Solutions accepts no responsibility for any errors,
omissions, computer viruses and other defects.]
 
 
 
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Wednesday, October 14, 2009 7:54 PM
To: Tomcat Users List
Subject: RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable
in server.xml 

> From: Imad Hachem [mailto:ihac...@lb.path-solutions.com]
> Subject: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in
> server.xml
> 
> I am getting the below error during Tomcat-5.5.12 Startup on "IBM AIX
> 5.3" after enabling the Cluster configuration in "server.xml" :

You might want to try with a version of Tomcat that's a bit newer than
your four-year-old one.

Is multicasting enabled on your platform?  (I have no idea how that's
done on AIX.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Imad,

On 10/15/2009 9:43 AM, Imad Hachem wrote:
> I have installed the latest Tomcat version "Tomcat-6.0.20" and I am
> still getting the same Error.
> 
> Is there anything to do on the IBM AIX level or at the level of Tomcat
> Settings or Startup scripts?

Did you try Chuck's second suggestion of looking for multicasting
support in your OS's TCP/IP stack?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrXMOIACgkQ9CaO5/Lv0PDwvgCgkng5QUmy9rtOpY76LjmXi5nr
LAEAnRu+pdRXna7vimdIa1m6ZNzwkGUn
=gTyL
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-15 Thread Imad Hachem
Dear Caldarale,

 

I have installed the latest Tomcat version "Tomcat-6.0.20" and I am
still getting the same Error.

 

Is there anything to do on the IBM AIX level or at the level of Tomcat
Settings or Startup scripts?

 

Thanks for your help.

 

 

Error faced:

 

SEVERE: Unable to start cluster.

org.apache.catalina.tribes.ChannelException: java.net.SocketException:
The socket name is not available on this system.; No faulty members
identified.

at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(Channe
lCoordinator.java:169)

at
org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordin
ator.java:97)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInt
erceptorBase.java:149)

at
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor
.start(MessageDispatchInterceptor.java:147)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInt
erceptorBase.java:149)

at
org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInt
erceptorBase.java:149)

at
org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:40
7)

at
org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:
671)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1035)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:516)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

at
org.apache.catalina.startup.Catalina.start(Catalina.java:583)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)

at java.lang.reflect.Method.invoke(Method.java:618)

at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: java.net.SocketException: The socket name is not available on
this system.

at java.net.PlainDatagramSocketImpl.join(Native Method)

at
java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:280)

at
java.net.MulticastSocket.joinGroup(MulticastSocket.java:299)

at
org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServic
eImpl.java:233)

at
org.apache.catalina.tribes.membership.McastService.start(McastService.ja
va:373)

at org.apache




Imad Hachem | Asst.Product Development Manager
e-Banking Department
Path Solutions
Tel: +961 1 697444 ext. 222
Fax: +961 1 696744
www.path-solutions.com



Disclaimer
[The information contained in this e-mail message and any attached files
are confidential information and intended solely for the use of the
individual or entity to whom they are addressed. This transmission may
contain information that is privileged, confidential or exempt from
disclosure under applicable law. If you have received this e-mail in
error, please notify the sender immediately and delete all copies. If
you are not the intended recipient, any disclosure, copying,
distribution, or use of the information contained herein is STRICTLY
PROHIBITED. Path Solutions accepts no responsibility for any errors,
omissions, computer viruses and other defects.]
 
 
 

-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Wednesday, October 14, 2009 7:54 PM
To: Tomcat Users List
Subject: RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable
in server.xml 

> From: Imad Hachem [mailto:ihac...@lb.path-solutions.com]
> Subject: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in
> server.xml
> 
> I am getting the below error during Tomcat-5.5.12 Startup on "IBM AIX
> 5.3" after enabling the Cluster configuration in "server.xml" :

You might want to try with a version of Tomcat that's a bit newer than
your four-year-old one.

Is multicasting enabled on your platform?  (I have no idea how that's
done on AIX.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail

RE: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in server.xml

2009-10-14 Thread Caldarale, Charles R
> From: Imad Hachem [mailto:ihac...@lb.path-solutions.com]
> Subject: Tomcat Startup Error on "IBM AIX 5.3" after Cluster enable in
> server.xml
> 
> I am getting the below error during Tomcat-5.5.12 Startup on "IBM AIX
> 5.3" after enabling the Cluster configuration in "server.xml" :

You might want to try with a version of Tomcat that's a bit newer than your 
four-year-old one.

Is multicasting enabled on your platform?  (I have no idea how that's done on 
AIX.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat startup error

2007-08-08 Thread Manivannan Palanichamy
Proabably, you have wronly edited server.xml or tomcat-users.xml. Revert the
changes or get fresh files & then try again.

On 8/8/07, R Y <[EMAIL PROTECTED]> wrote:
>
> I install tomcat 5.5 package on Ubuntu, it run server on port 8180 by
> default.
>
> I start Tomcat 5.5 by running /etc/init.d/tomcat script, it responses:
> * Starting Tomcat servlet engine tomcat5.5  [
> OK
> ]
>
> but when check its running status, it is:
>
> * Tomcat servlet engine is not running.
>
> I have read all tomcat document , still can't find the reason why tomcat
> can't boot successfully, could anyone kindly give me a hint
> about that.
>
> thanks
>
>
> my server.xml
>
> http://pastebin.com/m411d5f59 <[EMAIL PROTECTED]>
>
>
> Here is my tomcat log:
>
> http://pastebin.com/m4177eae4
>



-- 
Manivannan.Palanichamy (@) Oracle.com
http://mani.gw.googlepages.com/index.html


Re: Tomcat startup error

2007-08-08 Thread David Delbecq
According to your log, i fails to parse the tomcat xml password file. It
is malformed from xml point of view. Perhaps you have characters not
allowed in xml like < or " or > in a password field? or maybe you forgot
to close a xml tag?

hints on reading the log:
Error at line 11 column 2: The markup in the document following the root
element must be well-formed. <-- tells you wher in document

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1580)
at
org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.
java:401) <-- Tell you error comes from a memory user base related
operation (so probably the xml user/password/group file)



En l'instant précis du 08/08/07 09:49, R Y s'exprimait en ces termes:
>  I install tomcat 5.5 package on Ubuntu, it run server on port 8180 by
> default.
>
> I start Tomcat 5.5 by running /etc/init.d/tomcat script, it responses:
> * Starting Tomcat servlet engine tomcat5.5  [ OK
> ]
>
> but when check its running status, it is:
>
>  * Tomcat servlet engine is not running.
>
> I have read all tomcat document , still can't find the reason why tomcat
> can't boot successfully, could anyone kindly give me a hint
> about that.
>
> thanks
>
>
> my server.xml
>
> http://pastebin.com/m411d5f59 <[EMAIL PROTECTED]>
>
>
> Here is my tomcat log:
>
> http://pastebin.com/m4177eae4
>
>   


-- 
http://www.noooxml.org/


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error

2006-09-06 Thread Mark Thomas
socio_pal wrote:
> I am new to tomcat and I am using tomcat version 5.5.16. After deplying the
> tar files in tomcat, I tried to start it using startup.sh and it throws me
> the following error:

Have you read
http://apache.mirrors.tds.net/tomcat/tomcat-5/v5.5.17/README.html ?

Did you use an appropriate tool to untar the downloaded files?

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat startup error

2006-09-06 Thread Steve R Burrus
"Socio_pal" I might suggest that you maybe see that all of your env. 
variables are set correctly especially the classpath since you are 
getting the 


"java.lang.ClassNotFoundException" Java exception.



socio_pal wrote:


I am new to tomcat and I am using tomcat version 5.5.16. After deplying the
tar files in tomcat, I tried to start it using startup.sh and it throws me
the following error:

SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:204)
   at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
   at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)
   at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
   at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
   at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImp
Could anyone please tell me where the problem would be. I need an answer
ASAP, please.

Thanks,
socio
 





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Startup Error

2006-09-01 Thread Filip Hanik - Dev Lists

Class not found problem

java.lang.ClassNotFoundException: org.apache.catalina.Container

you're probably missing some environment variable that is used to setup class 
loaders, such as CATALINA_BASE or CATALINA_HOME etc

Filip




Zach Calvert wrote:

I have a problem with Tomcat and I cannot figure out what is going on.
I am using Tomcat 4.1.31.  When running bootstrap.jar's main, I get 


Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Catalina.start: LifecycleException:  Context startup failed due to
previous errors
LifecycleException:  Context startup failed due to previous errors
   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3578
)
   at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
...
 
In reviewing the logs, I have 
 
2006-09-01 09:33:58 WebappLoader[]: Deploying class repositories to work

directory U:\...\work\Standalone\localhost\_
2006-09-01 09:33:58 ContextConfig[] Parse error in default web.xml
java.lang.ClassNotFoundException: org.apache.catalina.Container
   at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
40)
...
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
 
2006-09-01 09:33:58 ContextConfig[]: Occurred at line 58 column 15

2006-09-01 09:33:58 ContextConfig[]: Missing application web.xml, using
defaults only
2006-09-01 09:33:58 ContextConfig[]: Marking this application
unavailable due to previous error(s)
2006-09-01 09:33:58 StandardManager[]: Seeding random number generator
class java.security.SecureRandom
2006-09-01 09:33:58 StandardManager[]: Seeding of random number
generator has been completed
2006-09-01 09:33:58 StandardContext[]: Context startup failed due to
previous errors
 
I reviewed the web.xml and it passed a validator.  Does anyone have any

suggestions?  This web used to run just fine, so I'm wondering if maybe
a dtd is out of place or if I'm missing something simple.  
 
The error in the web.xml is:


http://java.sun.com/dtd/web-app_2_3.dtd";>

 
  
  
  
  
  
  
  
  
  
 


  
 


  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 


default

  org.apache.catalina.servlets.DefaultServlet


debug
0


listings
true

1
   < ERROR POINTS TO THE END OF THIS TAG

  



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 8/31/2006
  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]