Re: Cannot access certian jar files in common/lib

2004-05-10 Thread Parsons Technical Services
Running Tomcat as tomcat started with jsrv. All directories and files belong
to tomcat and tomcat group.

Deleted /work and renamed the upload jar. Manager app will fails on upload.
Renamed jar back to jar and manager upload works fine.

Doug


- Original Message - 
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, May 10, 2004 3:30 PM
Subject: RE: Cannot access certian jar files in common/lib


Are you running tomcat as root?
Is those jar's accessible under the group that Tomcat runs?

Also delete upload.jar, and the /work dir and see if your manager app still
works without the upload.jar.

-Yan


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: May 9, 2004 11:47
To: Tomcat Users List
Subject: Cannot access certian jar files in common/lib


TAO Linux (Redhat clone)
Tomcat 5.0.19
JDK 1.4.2

I have a problem that bugging me to death. I have 4 applications that are
loaded along with some static files in ROOT. In each of my applications I
use a globalresource to do database connections. The jar is in common/lib. I
also use iText in several of the apps and the jar for it is also in
common/lib . Now for the weird part. I wanted to use the file upload to push
some files to the server. I looked into the code for the manager to get some
ideas as well as the api. After writing the class I found that the
upload.jar was in server/lib. So I moved it to common/lib and made sure
there were no other copies. Really strange is that the manager app still
works fine but none of my apps can find the classes from the upload
jar.(Yes, many many restarts) For now I have a copy of the jar in the app
and all is working fine but why would my app not be able to find the classes
when the manager app can?

Just another question for the twilight zone.

Doug


-
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: Cannot access certian jar files in common/lib

2004-05-10 Thread Yansheng Lin
Are you running tomcat as root?
Is those jar's accessible under the group that Tomcat runs?

Also delete upload.jar, and the /work dir and see if your manager app still
works without the upload.jar.

-Yan


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED] 
Sent: May 9, 2004 11:47
To: Tomcat Users List
Subject: Cannot access certian jar files in common/lib


TAO Linux (Redhat clone)
Tomcat 5.0.19
JDK 1.4.2

I have a problem that bugging me to death. I have 4 applications that are
loaded along with some static files in ROOT. In each of my applications I
use a globalresource to do database connections. The jar is in common/lib. I
also use iText in several of the apps and the jar for it is also in
common/lib . Now for the weird part. I wanted to use the file upload to push
some files to the server. I looked into the code for the manager to get some
ideas as well as the api. After writing the class I found that the
upload.jar was in server/lib. So I moved it to common/lib and made sure
there were no other copies. Really strange is that the manager app still
works fine but none of my apps can find the classes from the upload
jar.(Yes, many many restarts) For now I have a copy of the jar in the app
and all is working fine but why would my app not be able to find the classes
when the manager app can?

Just another question for the twilight zone.

Doug


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



Cannot access certian jar files in common/lib

2004-05-09 Thread Parsons Technical Services
TAO Linux (Redhat clone)
Tomcat 5.0.19
JDK 1.4.2

I have a problem that bugging me to death. I have 4 applications that are loaded along 
with some static files in ROOT. In each of my applications I use a globalresource to 
do database connections. The jar is in common/lib. I also use iText in several of the 
apps and the jar for it is also in common/lib . Now for the weird part. I wanted to 
use the file upload to push some files to the server. I looked into the code for the 
manager to get some ideas as well as the api. After writing the class I found that the 
upload.jar was in server/lib. So I moved it to common/lib and made sure there were no 
other copies. Really strange is that the manager app still works fine but none of my 
apps can find the classes from the upload jar.(Yes, many many restarts) For now I have 
a copy of the jar in the app and all is working fine but why would my app not be able 
to find the classes when the manager app can?

Just another question for the twilight zone.

Doug