Re: 5.0.19 - working at last!

2004-04-06 Thread Alistair Young
hey hey hey! I'm an idiot - always a nice way to introduce  yourself to 
a list :))
I have a USB stick drive which I use to copy JAVA_HOME/lib/ext files 
around between  machines and guess what? I'd only gone and copied an 
old catalina.jar to lib/ext, you know, the one without setAwait 
defined!
All works now!
thanks for listening to a moron!
Alistair

On 6 Apr 2004, at 10:56, Alistair Young wrote:

OK, I think I'm getting somewhere:
org.apache.catalina.startup.Bootstrap in /bin calls
org.apache.catalina.startup.Catalina.setAwait(boolean) in /server/lib
which inherits setAwait from
org.apache.catalina.startup.Embedded
I checked the jars and setAwait is defined in both Catalina.class and 
Embedded.class so why is the class loader failing to load those files 
correctly?
catalina.out:
java.lang.NoSuchMethodException: 
org.apache.catalina.startup.Catalina.setAwait(boolean)
at java.lang.Class.getMethod(Class.java:978)
at 
org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:337)
at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
I've looked for another catalina.jar in the CLASSPATH but there isn't 
one.
Can anyone shed some light?
thanks,
Alistair

On 6 Apr 2004, at 10:28, Alistair Young wrote:

Thanks for that - I've never had problems with Tomcat before!
It's seems to be something to do with Embedded - whatever that is. 
bootstrap.jar is using catalina.jar and trying to call setAwait - 
which doesn't exist.
Can anyone say why setAwait is being called when it clearly doesn't 
exist in catalina.jar?
Is there something in catalina.sh that's making Tomcat think it 
should run in Embedded mode - is embedded mode a bad thing?
thanks,
Alistair

On 6 Apr 2004, at 10:01, Anand Ravi wrote:

Hi!

I'm using Tomcat 5.0.19 on Win 98,NT,XP and 2K. Seems to be working 
fine.

Regards,
Anand Ravi
-Original Message-
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 1:57 PM
To: Tomcat Users List
Subject: 5.0.19 - won't start on anything other thatn *nix
Hi folks,
I've now tried Tomcat 5.0.19 on 3 different machines and 2 OSes:
On Windows XP and MAC OS X 10.3.3, running bin/startup.bat/sh or
bin/catalina.bat/sh start produces the error:
java.lang.NoSuchMethodException:
org.apache.catalina.startup.Catalina.setAwait(boolean)
 at java.lang.Class.getMethod(Class.java:978)
 at
org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:337)
 at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
JAVA_HOME and CATALINE_HOME are set OK. No errors are produced by
catalina.bat regarding environment variables.
I'm using JDK 1.4.2_03
Can anyone please help as Tomcat is now unusable outside *nix!
cheers,
Alistair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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




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



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


RE: 5.0.19 - working at last!

2004-04-06 Thread Shapira, Yoav

Hi,
Not a problem, our pleasure ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 6:05 AM
To: Tomcat Users List
Subject: Re: 5.0.19 - working at last!

hey hey hey! I'm an idiot - always a nice way to introduce  yourself to
a list :))
I have a USB stick drive which I use to copy JAVA_HOME/lib/ext files
around between  machines and guess what? I'd only gone and copied an
old catalina.jar to lib/ext, you know, the one without setAwait
defined!
All works now!
thanks for listening to a moron!
Alistair

On 6 Apr 2004, at 10:56, Alistair Young wrote:

 OK, I think I'm getting somewhere:
 org.apache.catalina.startup.Bootstrap in /bin calls
 org.apache.catalina.startup.Catalina.setAwait(boolean) in /server/lib
 which inherits setAwait from
 org.apache.catalina.startup.Embedded
 I checked the jars and setAwait is defined in both Catalina.class and
 Embedded.class so why is the class loader failing to load those files
 correctly?
 catalina.out:
 java.lang.NoSuchMethodException:
 org.apache.catalina.startup.Catalina.setAwait(boolean)
 at java.lang.Class.getMethod(Class.java:978)
 at
 org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:337)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
 I've looked for another catalina.jar in the CLASSPATH but there isn't
 one.
 Can anyone shed some light?
 thanks,
 Alistair


 On 6 Apr 2004, at 10:28, Alistair Young wrote:

 Thanks for that - I've never had problems with Tomcat before!
 It's seems to be something to do with Embedded - whatever that is.
 bootstrap.jar is using catalina.jar and trying to call setAwait -
 which doesn't exist.
 Can anyone say why setAwait is being called when it clearly doesn't
 exist in catalina.jar?
 Is there something in catalina.sh that's making Tomcat think it
 should run in Embedded mode - is embedded mode a bad thing?
 thanks,
 Alistair

 On 6 Apr 2004, at 10:01, Anand Ravi wrote:

 Hi!

 I'm using Tomcat 5.0.19 on Win 98,NT,XP and 2K. Seems to be working
 fine.

 Regards,
 Anand Ravi

 -Original Message-
 From: Alistair Young [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 1:57 PM
 To: Tomcat Users List
 Subject: 5.0.19 - won't start on anything other thatn *nix


 Hi folks,
 I've now tried Tomcat 5.0.19 on 3 different machines and 2 OSes:
 On Windows XP and MAC OS X 10.3.3, running bin/startup.bat/sh or
 bin/catalina.bat/sh start produces the error:
 java.lang.NoSuchMethodException:
 org.apache.catalina.startup.Catalina.setAwait(boolean)
  at java.lang.Class.getMethod(Class.java:978)
  at
 org.apache.catalina.startup.Bootstrap.setAwait(Bootstrap.java:337)
  at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
 JAVA_HOME and CATALINE_HOME are set OK. No errors are produced by
 catalina.bat regarding environment variables.
 I'm using JDK 1.4.2_03
 Can anyone please help as Tomcat is now unusable outside *nix!
 cheers,
 Alistair



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





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





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




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




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


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