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



tomcat startup error on windows 10

2019-10-01 Thread Barry Kimelman
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 ?


==

Barry Kimelman
Winnipeg, Manitoba, Canada


Re: Tomcat startup error!

2011-05-15 Thread Konstantin Kolinko
2011/5/14 red phoenix rodphoe...@gmail.com:
 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-14 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 Context 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



Tomcat startup error!

2011-05-13 Thread 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)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:127)
at java.util.jar.JarFile.init(JarFile.java:135)
at sun.net.www.protocol.jar.URLJarFile.init(URLJarFile.java:67)
at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:214)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:198)
at
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50)
at
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:80)
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
at
org.apache.catalina.startup.ContextConfig$FragmentJarScannerCallback.scan(ContextConfig.java:2313)
at
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:234)
at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:159)
at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1738)
at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1223)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:882)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5081)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)
at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:324)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.startup.Catalina.start(Catalina.java:620)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
2011-5-14 11:35:00 org.apache.catalina.startup.ContextConfig
processResourceJARs
Warn: Failed to processes JAR found at URL
[jar:jndi:/localhost/examples/WEB-INF/lib/standard.jar!/] for static
resources to be included in context with
name[jar:jndi:/localhost/examples/WEB-INF/lib/standard.jar!/]

I find some files 

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 billwbar...@verizon.netwrote:



 Christopher Schultz ch...@christopherschultz.net 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 ch...@christopherschultz.net 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



Tomcat startup error

2010-04-09 Thread 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

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 ami@gmail.com

 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

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 harry.met...@gmail.comwrote:

 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 ami@gmail.com

  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
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 ami@gmail.com

 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 harry.met...@gmail.com
 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 ami@gmail.com
 
   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 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 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: 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,

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,c0UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROU
PRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN
inet 192.168.12.103 netmask 0xfe00 broadcast 192.168.13.255
 tcp_sendspace 131072 tcp_recvspace 65536
en1:
flags=5e080862,c0BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT
,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN
inet 192.168.12.8 netmask 0xfe00 broadcast 192.168.13.255
 tcp_sendspace 131072 tcp_recvspace 65536
et0:
flags=5e080862,80BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT
,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,CHAIN
inet 192.168.12.103 netmask 0xfe00 broadcast 192.168.13.255
lo0:
flags=e08084bUP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64
BIT
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 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
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



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

2009-10-14 Thread Imad Hachem
Dear all,

 

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 :

 

Oct 14, 2009 2:31:58 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
start

INFO: Cluster is about to start

Oct 14, 2009 2:31:58 PM
org.apache.catalina.cluster.tcp.ReplicationTransmitter start

INFO: Start ClusterSender at cluster
Catalina:type=Cluster,host=localhost with name
Catalina:type=ClusterSender,host=localhost

Oct 14, 2009 2:31:59 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster
start

SEVERE: Unable to start cluster.

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.cluster.mcast.McastServiceImpl.start(McastServiceImp
l.java:174)

at
org.apache.catalina.cluster.mcast.McastService.start(McastService.java:3
13)

at
org.apache.catalina.cluster.mcast.McastService.start(McastService.java:2
60)

at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.
java:765)

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

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

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

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

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

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

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

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

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

Oct 14, 2009 2:31:59 PM org.apache.catalina.startup.Catalina start

SEVERE: Catalina.start: 

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

at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.
java:781)

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

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718) 

 

 

 

 

Any help please.

 

 

 

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 http://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.]

 

 

 



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



Tomcat startup error

2007-08-08 Thread R Y
 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


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

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


Tomcat startup error

2006-09-06 Thread socio_pal

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
-- 
View this message in context: 
http://www.nabble.com/Tomcat-startup-error-tf2229230.html#a6178609
Sent from the Tomcat - User forum at Nabble.com.


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



Tomcat Startup Error

2006-09-01 Thread Zach Calvert
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:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
 PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
 
  !--  Introduction
== --
  !-- This document defines default values for *all* web applications
--
  !-- loaded into this instance of Tomcat.  As each application is
--
  !-- deployed, this file is processed, followed by the
--
  !-- /WEB-INF/web.xml deployment descriptor from your own
--
  !-- applications.
--
  !--
--
  !-- WARNING:  Do not configure application-specific resources here!
--
  !-- They should go in the /WEB-INF/web.xml file in your
application.   --
 

  !-- == Built In Servlet Definitions
 --
 

  !-- The default servlet for all web applications, that serves static
--
  !-- resources.  It processes all requests that are not mapped to
other   --
  !-- servlets with servlet mappings (defined either here or in your
own   --
  !-- web.xml file.  This servlet supports the following initialization
--
  !-- parameters (default values are in square brackets):
--
  !--
--
  !--   debug   Debugging detail level for messages logged
--
  !--   by this servlet.  [0]
--
  !--
--
  !--   input   Input buffer size (in bytes) when reading
--
  !--   resources to be served.  [2048]
--
  !--
--
  !--   listingsShould directory listings be produced if
there --
  !--   is no welcome file in this directory?
[true]  --
  !--
--
  !--   output  Output buffer size (in bytes) when writing
--
  !--   resources to be served.  [2048]
--
  !--
--
  !--   readonlyIs this context read only, so HTTP
--
  !--   commands like PUT and DELETE are
--
  !--   rejected?  [true]
--
  !--
--
  !--   encodeRedirects Call encodeRedirectURL() on welcomefile or
--
  !--   directory redirects. [false]
--
 
servlet
servlet-namedefault/servlet-name
servlet-class
  org.apache.catalina.servlets.DefaultServlet
/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
param-namelistings/param-name
param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
/servlet    ERROR POINTS TO THE END OF THIS TAG