Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 02:18, Ivon Gonzalez wrote:
  I have moved the servlet.jar file to the java sdk home/jre/lib/ext.

Why did you do that? That is probably causing your problem...

Try:

startup.bat -- startup_error.log

to capture the errors and then see what the problem is by reviewing the file.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread Lee W
Ivon Gonzalez wrote:
I have set up a few computers with Tomcat on a network and local machines.  I am having problems running Tomcat on this particular machine which is on a network.  I have moved the servlet.jar file to the java sdk home/jre/lib/ext.  I have set up JAVA_HOME to point to my sdk location and the TOMCAT_HOME to the tomcat location.  when I run Tomcat by typing tomcat startup or tomcat start it opens a new dos window and closes it immediately.  I type in tomcat run and it gives me this error:  Exception in thread main java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger

What could be causing this error?  How do I fix it so that I can run Tomcat on this machine.  Could the current network setup interfere?

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


.

Ivon,

I don't think this is the reason for the problem but why are you moving 
the servlet.jar file.

All the instructions I have ready so far (yes I am still a newbie) say 
to simply set the classpath to point to where the servlet.jar file is, 
on a windows machine(and I think unix/linux as well) it should be in 
%CATALINA_HOME%\common\lib\servlet.jar.

Have you set the environment variables (JAVA_HOME, CATLINA_HOME, CLASSPATH)?

Just though I would add my 2 pennies worth.

Regards

Lee

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


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
The servlet.jar file needs to exist in both Tomcat and the JDK


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



Re: Help Running Tomcat

2003-06-11 Thread Michael Duffy

It should just be in TOMCAT_HOME/common/lib, and
nowhere else, IMHO. - MOD


--- Ivon Gonzalez [EMAIL PROTECTED] wrote:
 The servlet.jar file needs to exist in both Tomcat
 and the JDK
 
 

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


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 02:40, Ivon Gonzalez wrote:
 The servlet.jar file needs to exist in both Tomcat and the JDK

No it doesn't, I have never copied or moved the servlet.jar to within the JDK, 
as long as you build your classpath properly when compiling there is no need 
what so ever to do that.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread Lee W
Ivon Gonzalez wrote:

The servlet.jar file needs to exist in both Tomcat and the JDK

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



That is why you setup your CLASSPATH environment. For example mine 
is(Excuse the line wrapping):

C:\Program Files\Apache Group\Tomcat 
4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 
4.1\common\lib;c:\JMF\lib\jmf.jar;.

By having this setup both tomcat and your Java development enviroment 
have access to the servlet (and whatever other item you have it in, such 
as Java Media Framework, jmf.jar) classes.

Regards

Lee

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


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
Thanks everyone for your responses!!

I have received a few messages re: the servlet.jar file.  I have tried removing it.  
From the documentation I have reviewed, even on apache's site, it suggests moving the 
file.  I am running Tomcat 3.2.3.  I have my JAVA_HOME and TOMCAT_HOME environment 
variables set, along with my CLASSPATH (which isn't necessary because the .bat files 
point it to the proper location.

Any other suggestions?  I appreciate the help!


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



Re: Help Running Tomcat

2003-06-11 Thread John Turner
Don't move anything.  NoClassDefFoundError is thrown when you mess with 
servlet.jar.  It means that the servlet.jar file that Tomcat needs is NOT 
the servlet.jar file it is finding.  You probably have more than one on 
that computer, and the one Tomcat needs is not being found first.

Don't move anything.  Unpack Tomcat, set your environment variables, and be 
done.

If you need to compile something, put servlet.jar on your PATH, but do it 
so that the addition to PATH is the location of the servlet.jar file 
installed with Tomcat.  Don't move the file, there's no need to do so.

Also, it would help us if you would tell us what version of Tomcat, and 
what operating system.

John

On Wed, 11 Jun 2003 13:40:43 -0500, Ivon Gonzalez [EMAIL PROTECTED] wrote:

The servlet.jar file needs to exist in both Tomcat and the JDK

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I didn't move the servlet.jar file, I copied it.  But I did what you have suggested.  
I have removed all versions of Tomcat.  I have installed Tomcat3.2.3 on a Windows XP 
machine and set the Environmet variables.  I have even attempted to set PATH to the 
servlet.jar file.  The error isn't with the servlet.jar file.  It is:

Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/tomcat/logging/Logger

Does this make a big difference?


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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 03:15, Ivon Gonzalez wrote:
 Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/tomcat/logging/Logger

That means you have classpath problems with a conflict of that class, I 
haven't got Tomcat 3 or ever used it so I can't tell you which JAR in 
particular.

Just make sure you have cleared our your CLASSPATH and you don't have any old 
JAR's hanging around or any newer ones even...

-- 
Jason Bainbridge
http://jblinux.org

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



Re: Help Running Tomcat

2003-06-11 Thread John Turner
Well, the error message is still the same.

NoClassDefFoundError is not the same as ClassNotFound.

As I understand it, NoClassDefFound means that the class Tomcat is finding 
is not the class it should find.  Typically this means that there is more 
than one version of Tomcat or more than one version of a JAR file on a 
machine, and the incorrect version is being found instead of the correct 
version.

Other than that, I will have to defer to the gurus...you've mentioned that 
you have removed all versions of Tomcat, so I don't see any reason why the 
3.2.3 you are now trying to install would be confused, but someone more 
experienced than I might have a suggestion.

John

On Wed, 11 Jun 2003 14:15:52 -0500, Ivon Gonzalez [EMAIL PROTECTED] wrote:

I didn't move the servlet.jar file, I copied it.  But I did what you have 
suggested.  I have removed all versions of Tomcat.  I have installed 
Tomcat3.2.3 on a Windows XP machine and set the Environmet variables.  I 
have even attempted to set PATH to the servlet.jar file.  The error isn't 
with the servlet.jar file.  It is:

Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/tomcat/logging/Logger

Does this make a big difference?

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help Running Tomcat

2003-06-11 Thread Michael Duffy

Can you find a class named
org.apache.tomcat.logging.Logger in any of the JARS in
TOMCAT_HOME/common/lib?  Maybe you're missing a JAR
that you have to add.

Also, if I search for that class with Google it turns
this up:

http://www.caucho.com/support/resin-interest/0009/0126.html

The guy who wrote it had the same kind of problem, and
he had Resin and Tomcat installed.  Do you have any
other apps installed (e.g., J2EE reference
implementations, etc.) that might be hanging around
and causing this?  Could be worth a check. - MOD


--- John Turner [EMAIL PROTECTED] wrote:
 
 Well, the error message is still the same.
 
 NoClassDefFoundError is not the same as
 ClassNotFound.
 
 As I understand it, NoClassDefFound means that the
 class Tomcat is finding 
 is not the class it should find.  Typically this
 means that there is more 
 than one version of Tomcat or more than one version
 of a JAR file on a 
 machine, and the incorrect version is being found
 instead of the correct 
 version.
 
 Other than that, I will have to defer to the
 gurus...you've mentioned that 
 you have removed all versions of Tomcat, so I don't
 see any reason why the 
 3.2.3 you are now trying to install would be
 confused, but someone more 
 experienced than I might have a suggestion.
 
 John
 
 On Wed, 11 Jun 2003 14:15:52 -0500, Ivon Gonzalez
 [EMAIL PROTECTED] wrote:
 
  I didn't move the servlet.jar file, I copied it. 
 But I did what you have 
  suggested.  I have removed all versions of Tomcat.
  I have installed 
  Tomcat3.2.3 on a Windows XP machine and set the
 Environmet variables.  I 
  have even attempted to set PATH to the servlet.jar
 file.  The error isn't 
  with the servlet.jar file.  It is:
 
  Exception in thread main
 java.lang.NoClassDefFoundError: 
  org/apache/tomcat/logging/Logger
 
  Does this make a big difference?
 
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 Using M2, Opera's revolutionary e-mail client:
 http://www.opera.com/m2/
 

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


__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I did find the Logger.java file

I do not have any local servers running which may conflict with Tomcat  I have the 
basic Tomcat and JDK setup.  I have ONE version of the servlet.jar file in Tomcat.  I 
am using the same Tomcat setup that I used on other machines



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



Re: Help Running Tomcat

2003-06-11 Thread Ivon Gonzalez
I have solved my problem.  JDK had some jar files that were conflicting with running 
Tomcat.  I did, however, (FOR THE RECORD) require the servlet.jar file to be placed in 
the JDK1.3.1\jre\lib\ext   folder.  Perhaps the newer versions do not require this but 
I Tomcat 3.2.3 does.

THANK YOU! to all of those who tried all this time to give me advice.  You 
certainly helped me find the right path to my solution.  YOU ALL ROCK!!!

Ivon


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



Re: Help Running Tomcat

2003-06-11 Thread Jason Bainbridge
On Thu, 12 Jun 2003 03:55, Ivon Gonzalez wrote:
 I did find the Logger.java file

 I do not have any local servers running which may conflict with Tomcat  I
 have the basic Tomcat and JDK setup.  I have ONE version of the servlet.jar
 file in Tomcat.  I am using the same Tomcat setup that I used on other
 machines

Maybe try a reboot? Windows can be a bit funny when it comes to changing 
environment variables...

Have you got both TOMCAT_HOME and CATALINA_HOME pointing to your Tomcat 
install directory? Is your CLASSPATH empty or non existent?

It's a bit hard to remotely debug this sort of problem, you just have to 
experiment and find what is causing the conflict with your classes. :)

What JDK are you using by the way? That could be the culprit...

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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