You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by cfrankland <cf...@gmail.com> on 2008/08/12 03:22:37 UTC

Tomcat v4.1 - Resource not found 500 Error - Help!

Hi,

I am a bit new to Tomcat, but have a really quick question. I am trying to
deploy a new single class file to an existing Tomcat 4.1 web application,
however, I am using Rational Application Developer 7.0 to create and compile
the class. When I deploy the new class to the Tomcat 4.1 web application,
the page crashes with a 500 error "Resource not found".

What could be causing this error? When I put the old class back in
everything works ok. I have even tried using identical code, so I know it
isn't a coding issue. Could it be the JRE being used to compile the class is
the wrong type?

Any help would be much appreciated!

Thanks :) 
-- 
View this message in context: http://www.nabble.com/Tomcat-v4.1---Resource-not-found-500-Error---Help%21-tp18936624p18936624.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Tomcat v4.1 - Resource not found 500 Error - Help!

Posted by "Propes, Barry L " <ba...@citi.com>.
YES, it very much could be...I'd updated my JRE from it's current level
and then stuff did not compile afterward either.

And I'm also using 4.1.

I'm at the point where I badly need to update my JDK, Tomcat version and
JRE to get in the 21st century, but unfortunately, I've got some
opposition at other levels making it impossible currently.

If you updated the JRE, you might want to consider reverting back.
 

-----Original Message-----
From: cfrankland [mailto:cfrankland@gmail.com] 
Sent: Monday, August 11, 2008 8:23 PM
To: users@tomcat.apache.org
Subject: Tomcat v4.1 - Resource not found 500 Error - Help!


Hi,

I am a bit new to Tomcat, but have a really quick question. I am trying
to deploy a new single class file to an existing Tomcat 4.1 web
application, however, I am using Rational Application Developer 7.0 to
create and compile the class. When I deploy the new class to the Tomcat
4.1 web application, the page crashes with a 500 error "Resource not
found".

What could be causing this error? When I put the old class back in
everything works ok. I have even tried using identical code, so I know
it isn't a coding issue. Could it be the JRE being used to compile the
class is the wrong type?

Any help would be much appreciated!

Thanks :)
--
View this message in context:
http://www.nabble.com/Tomcat-v4.1---Resource-not-found-500-Error---Help%
21-tp18936624p18936624.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



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


Re: Tomcat v4.1 - Resource not found 500 Error - Help!

Posted by David Smith <dn...@cornell.edu>.
It shouldn't be a problem as long as:

1. The Java version in your Eclipse environment matches the Java version 
of your tomcat server
2. The classes of your webapp stay in sync between Eclipse and Tomcat.

The second of those two is harder than the first.  I would personally 
recommend you start getting things into some sort of version control and 
avoid piecemeal compiles.

--David

cfrankland wrote:
> Alright, I will take a look. This may seem like a daft question, but I am
> compiling the class using Eclipse and it utilizes two other classes with
> import statements. I have those classes in my same Eclipse work environment,
> but I am only compiling and deploying the single class that I need. I simply
> copy it from the "build" folder of my Eclipse environment into the
> appropriate "classes" folder on Tomcat.
>
> Is that the correct way to deploy?
>   


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


Re: Tomcat v4.1 - Resource not found 500 Error - Help!

Posted by cfrankland <cf...@gmail.com>.
Alright, I will take a look. This may seem like a daft question, but I am
compiling the class using Eclipse and it utilizes two other classes with
import statements. I have those classes in my same Eclipse work environment,
but I am only compiling and deploying the single class that I need. I simply
copy it from the "build" folder of my Eclipse environment into the
appropriate "classes" folder on Tomcat.

Is that the correct way to deploy?
-- 
View this message in context: http://www.nabble.com/Tomcat-v4.1---Resource-not-found-500-Error---Help%21-tp18936624p18944184.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: Tomcat v4.1 - Resource not found 500 Error - Help!

Posted by David Smith <dn...@cornell.edu>.
You should take a look at your logs for the source of the error.  It may 
be a difference between the JVM tomcat runs on and the JVM used to build 
the new class, but that will be indicated in the logs.

--David

cfrankland wrote:
> Hi,
>
> I am a bit new to Tomcat, but have a really quick question. I am trying to
> deploy a new single class file to an existing Tomcat 4.1 web application,
> however, I am using Rational Application Developer 7.0 to create and compile
> the class. When I deploy the new class to the Tomcat 4.1 web application,
> the page crashes with a 500 error "Resource not found".
>
> What could be causing this error? When I put the old class back in
> everything works ok. I have even tried using identical code, so I know it
> isn't a coding issue. Could it be the JRE being used to compile the class is
> the wrong type?
>
> Any help would be much appreciated!
>
> Thanks :) 
>   


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