tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
Hi guys,

I'm new to tomcat/jakarta and have just installed it (v4.1.18 -
precompiled binaries from the site) on my Linux server.

I replaced every occurence of localhost with my servername (which is
resolvable) - and I have added a test-user with admin/manager roles.

When I login, I can access the /manager - but when I try /admin - I get
a 404 :(

I hope you can help me with tracking down the problem.

-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

Do you have a file called admin.xml in $CATALINA_HOME/webapps?

John


 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat/manager works - tomcat/admin = 404.
 
 
 Hi guys,
 
 I'm new to tomcat/jakarta and have just installed it (v4.1.18 -
 precompiled binaries from the site) on my Linux server.
 
 I replaced every occurence of localhost with my servername (which is
 resolvable) - and I have added a test-user with admin/manager roles.
 
 When I login, I can access the /manager - but when I try 
 /admin - I get
 a 404 :(
 
 I hope you can help me with tracking down the problem.
 
 -- 
 Regards,
 Klavs Klavsen
 
 --| This mail has been sent to you by: |
   Klavs Klavsen - Open Source Consultant 
 [EMAIL PROTECTED] - http://www.EnableIT.dk
 
 Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
 Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
 
 Open Source Software - Sometimes you get more than you paid for.
  -- unknown
 

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




Re: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Patrick Renan
Yes
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 12:41 PM
Subject: RE: tomcat/manager works - tomcat/admin = 404.



 Do you have a file called admin.xml in $CATALINA_HOME/webapps?

 John


  -Original Message-
  From: klavs klavsen [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 28, 2003 9:07 AM
  To: [EMAIL PROTECTED]
  Subject: tomcat/manager works - tomcat/admin = 404.
 
 
  Hi guys,
 
  I'm new to tomcat/jakarta and have just installed it (v4.1.18 -
  precompiled binaries from the site) on my Linux server.
 
  I replaced every occurence of localhost with my servername (which is
  resolvable) - and I have added a test-user with admin/manager roles.
 
  When I login, I can access the /manager - but when I try
  /admin - I get
  a 404 :(
 
  I hope you can help me with tracking down the problem.
 
  --
  Regards,
  Klavs Klavsen
 
  --| This mail has been sent to you by: |
Klavs Klavsen - Open Source Consultant
  [EMAIL PROTECTED] - http://www.EnableIT.dk
 
  Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA
  Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
  
  Open Source Software - Sometimes you get more than you paid for.
   -- unknown
 

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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003


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




Re: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Patrick Renan
Sorry, its not for you
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 12:41 PM
Subject: RE: tomcat/manager works - tomcat/admin = 404.



 Do you have a file called admin.xml in $CATALINA_HOME/webapps?

 John


  -Original Message-
  From: klavs klavsen [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 28, 2003 9:07 AM
  To: [EMAIL PROTECTED]
  Subject: tomcat/manager works - tomcat/admin = 404.
 
 
  Hi guys,
 
  I'm new to tomcat/jakarta and have just installed it (v4.1.18 -
  precompiled binaries from the site) on my Linux server.
 
  I replaced every occurence of localhost with my servername (which is
  resolvable) - and I have added a test-user with admin/manager roles.
 
  When I login, I can access the /manager - but when I try
  /admin - I get
  a 404 :(
 
  I hope you can help me with tracking down the problem.
 
  --
  Regards,
  Klavs Klavsen
 
  --| This mail has been sent to you by: |
Klavs Klavsen - Open Source Consultant
  [EMAIL PROTECTED] - http://www.EnableIT.dk
 
  Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA
  Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
  
  Open Source Software - Sometimes you get more than you paid for.
   -- unknown
 

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



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003


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




RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 15:41, Turner, John wrote:
 
 Do you have a file called admin.xml in $CATALINA_HOME/webapps?
 
output of ls -l /opt/jakarta/tomcat/webapps/

drwxr-xr-x3 root root  208 Jan 27 15:56 ROOT
-rw-r--r--1 root root  701 Jan 28 14:22 admin.xml
drwxr-xr-x6 root root  144 Jan 27 15:56 examples
-rw-r--r--1 root root  435 Jan 27 15:56 manager.xml
drwxr-xr-x   10 root root  848 Jan 27 15:56 tomcat-docs
drwxr-xr-x3 root root  168 Jan 27 15:56 webdav

so yes :)

[SNIP] 
-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

Check your timestamps.  It's been changed.  What has been changed in that
file?  What are its contents?

John

 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 9:56 AM
 To: Tomcat Users List
 Subject: RE: tomcat/manager works - tomcat/admin = 404.
 
 
 On Tue, 2003-01-28 at 15:41, Turner, John wrote:
  
  Do you have a file called admin.xml in $CATALINA_HOME/webapps?
  
 output of ls -l /opt/jakarta/tomcat/webapps/
 
 drwxr-xr-x3 root root  208 Jan 27 15:56 ROOT
 -rw-r--r--1 root root  701 Jan 28 14:22 admin.xml
 drwxr-xr-x6 root root  144 Jan 27 15:56 examples
 -rw-r--r--1 root root  435 Jan 27 15:56 manager.xml
 drwxr-xr-x   10 root root  848 Jan 27 15:56 tomcat-docs
 drwxr-xr-x3 root root  168 Jan 27 15:56 webdav
 
 so yes :)
 
 [SNIP] 
 -- 
 Regards,
 Klavs Klavsen
 
 --| This mail has been sent to you by: |
   Klavs Klavsen - Open Source Consultant 
 [EMAIL PROTECTED] - http://www.EnableIT.dk
 
 Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
 Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
 
 Open Source Software - Sometimes you get more than you paid for.
  -- unknown
 

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




RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 15:59, Turner, John wrote:
 
 Check your timestamps.  It's been changed.  What has been changed in that
 file?  What are its contents?
 
Sorry. Yes I changed the logfile to log to server.mydomain.dk_log..
instead of localhost. But that should change anything - and the problem
was there before (AFAIK).

!--

Context configuration file for the Tomcat Administration Web App

$Id: admin.xml,v 1.3 2002/07/23 12:12:15 remm Exp $

--


Context path=/admin docBase=../server/webapps/admin
debug=0 privileged=true

  !-- Uncomment this Valve to limit access to the Admin app to
localhost
   for obvious security reasons. Allow may be a comma-separated list of
   hosts (or even regular expressions).
  Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
  --

  Logger className=org.apache.catalina.logger.FileLogger
 prefix=server.mydomain.dk_admin_log. suffix=.txt
  timestamp=true/

/Context

[SNIP]
-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

Does that file get created?  Admin.xml is no different than manager.xml.  If
/manager is working, /admin should work as well.  My guess is there is
something on the filesystem (permissions, etc) that is preventing Tomcat
from deploying the admin app, though I could easily be wrong.

John

 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 10:27 AM
 To: Tomcat Users List
 Subject: RE: tomcat/manager works - tomcat/admin = 404.
 
 
 On Tue, 2003-01-28 at 15:59, Turner, John wrote:
  
  Check your timestamps.  It's been changed.  What has been 
 changed in that
  file?  What are its contents?
  
 Sorry. Yes I changed the logfile to log to server.mydomain.dk_log..
 instead of localhost. But that should change anything - and 
 the problem
 was there before (AFAIK).
 
 !--
 
 Context configuration file for the Tomcat Administration Web App
 
 $Id: admin.xml,v 1.3 2002/07/23 12:12:15 remm Exp $
 
 --
 
 
 Context path=/admin docBase=../server/webapps/admin
 debug=0 privileged=true
 
   !-- Uncomment this Valve to limit access to the Admin app to
 localhost
for obvious security reasons. Allow may be a 
 comma-separated list of
hosts (or even regular expressions).
   Valve className=org.apache.catalina.valves.RemoteAddrValve
 allow=127.0.0.1/
   --
 
   Logger className=org.apache.catalina.logger.FileLogger
  prefix=server.mydomain.dk_admin_log. suffix=.txt
   timestamp=true/
 
 /Context
 
 [SNIP]
 -- 
 Regards,
 Klavs Klavsen
 
 --| This mail has been sent to you by: |
   Klavs Klavsen - Open Source Consultant 
 [EMAIL PROTECTED] - http://www.EnableIT.dk
 
 Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
 Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
 
 Open Source Software - Sometimes you get more than you paid for.
  -- unknown
 

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




RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 16:29, Turner, John wrote:
 
 Does that file get created?  Admin.xml is no different than manager.xml.  If
 /manager is working, /admin should work as well.  My guess is there is
 something on the filesystem (permissions, etc) that is preventing Tomcat
 from deploying the admin app, though I could easily be wrong.
 
This sounds like a logical proposition.

However, as I don't like to just do chmod 777 -R to my webserver
directory :) - I was hoping some of you could give tell me what
directories/files needs to be owned by the user who runs tomcat (or just
runable by all).

Btw. my tomcat is run by root currently. Can I just run it with as
f.ex.  a tomcat-user?

thank you in advance.
 
-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

Yes, you can run it as a non-root user.  That's what I do.  Tomcat is pretty
self-contained.

Is there anything in the logs about the admin application?  It's very
strange to me that /manager would work, but /admin would not.  They are both
configured for auto-deploy.

What happens if you move the contents of admin.xml into server.xml itself
and restart Tomcat?

John

 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 11:03 AM
 To: Tomcat Users List
 Subject: RE: tomcat/manager works - tomcat/admin = 404.
 
 
 On Tue, 2003-01-28 at 16:29, Turner, John wrote:
  
  Does that file get created?  Admin.xml is no different than 
 manager.xml.  If
  /manager is working, /admin should work as well.  My guess 
 is there is
  something on the filesystem (permissions, etc) that is 
 preventing Tomcat
  from deploying the admin app, though I could easily be wrong.
  
 This sounds like a logical proposition.
 
 However, as I don't like to just do chmod 777 -R to my webserver
 directory :) - I was hoping some of you could give tell me what
 directories/files needs to be owned by the user who runs 
 tomcat (or just
 runable by all).
 
 Btw. my tomcat is run by root currently. Can I just run it with as
 f.ex.  a tomcat-user?
 
 thank you in advance.
  
 -- 
 Regards,
 Klavs Klavsen
 
 --| This mail has been sent to you by: |
   Klavs Klavsen - Open Source Consultant 
 [EMAIL PROTECTED] - http://www.EnableIT.dk
 
 Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
 Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
 
 Open Source Software - Sometimes you get more than you paid for.
  -- unknown
 

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




RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2003-01-28 17:15:57 ContextConfig[/admin]: Marking this application
unavailable due to previous error(s)
2003-01-28 17:15:57 StandardManager[/admin]: Seeding random number
generator class java.security.SecureRandom
2003-01-28 17:15:58 StandardManager[/admin]: Seeding of random number
generator has been completed
2003-01-28 17:15:58 StandardContext[/admin]: Context startup failed due
to previous errors

 What happens if you move the contents of admin.xml into server.xml itself
 and restart Tomcat?
 
same difference.

 John
 
  -Original Message-
  From: klavs klavsen [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 28, 2003 11:03 AM
  To: Tomcat Users List
  Subject: RE: tomcat/manager works - tomcat/admin = 404.
  
  
  On Tue, 2003-01-28 at 16:29, Turner, John wrote:
   
   Does that file get created?  Admin.xml is no different than 
  manager.xml.  If
   /manager is working, /admin should work as well.  My guess 
  is there is
   something on the filesystem (permissions, etc) that is 
  preventing Tomcat
   from deploying the admin app, though I could easily be wrong.
   
  This sounds like a logical proposition.
  
  However, as I don't like to just do chmod 777 -R to my webserver
  directory :) - I was hoping some of you could give tell me what
  directories/files needs to be owned by the user who runs 
  tomcat (or just
  runable by all).
  
  Btw. my tomcat is run by root currently. Can I just run it with as
  f.ex.  a tomcat-user?
  
  thank you in advance.
   
  -- 
  Regards,
  Klavs Klavsen
  
  --| This mail has been sent to you by: |
Klavs Klavsen - Open Source Consultant 
  [EMAIL PROTECTED] - http://www.EnableIT.dk
  
  Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
  Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
  
  Open Source Software - Sometimes you get more than you paid for.
   -- unknown
  
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

Ah, now we are getting somewhere:

- Root Cause -
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1313)
at java.io.File.createTempFile(File.java:1401)
at java.io.File.createTempFile(File.java:1438)
at

I'm not familiar enough with the admin app to know what it's trying to do
there, but obviously it wants to create a file somewhere, and can't.
Whatever it is, its happening right here:

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)

...and the last thing it was trying to do was:

2003-01-28 17:15:56 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar
to
/opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar

Sowhat's up with that directory path?  Anything?  Permissions, etc.?
Anyone else know exactly what's going on?

John


 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 11:18 AM
 To: Tomcat Users List
 Subject: RE: tomcat/manager works - tomcat/admin = 404.
 
 
 On Tue, 2003-01-28 at 17:06, Turner, John wrote:
  
  Yes, you can run it as a non-root user.  That's what I do.  
 Tomcat is pretty
  self-contained.
  
  Is there anything in the logs about the admin application?  
 It's very
  strange to me that /manager would work, but /admin would 
 not.  They are both
  configured for auto-deploy.
  
 Sorry - I totally forgot that.
 
 output from the admin_log.
 
 2003-01-28 17:15:56 WebappLoader[/admin]: Deploying class repositories
 to work directory
 /opt/jakarta/tomcat/work/Standalone/ofbiz.vsen.dk/admin
 2003-01-28 17:15:56 WebappLoader[/admin]: Deploy class files
 /WEB-INF/classes to
 /opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/classes
 2003-01-28 17:15:56 WebappLoader[/admin]: Deploy JAR
 /WEB-INF/lib/struts.jar to
 /opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/li
 b/struts.jar
 2003-01-28 17:15:57 ContextConfig[/admin] Exception processing JAR at
 resource path /WEB-INF/lib/struts.jar
 javax.servlet.ServletException: Exception processing JAR at resource
 path /WEB-INF/lib/struts.jar
 at
 org.apache.catalina.startup.ContextConfig.tldScanJar(ContextCo
 nfig.java:930)
 at
 org.apache.catalina.startup.ContextConfig.tldScan(ContextConfi
 g.java:868)
 at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.
 java:647)
 at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
 xtConfig.java:243)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
 ifecycleSupport.java:166)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext
 .java:3567)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at
 org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at
 org.apache.catalina.core.StandardService.start(StandardService
 .java:497)
 at
 org.apache.catalina.core.StandardServer.start(StandardServer.j
 ava:2189)
 at 
 org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at
 org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at
 org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
 orImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
 odAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
 org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 - Root Cause -
 java.io.IOException: No such file or directory
 at java.io.UnixFileSystem.createFileExclusively(Native Method)
 at java.io.File.checkAndCreate(File.java:1313)
 at java.io.File.createTempFile(File.java:1401)
 at java.io.File.createTempFile(File.java:1438)
 at
 sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:169)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:164)
 at
 sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:42)
 at
 sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:68)
 at
 sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnec
 tion.java:85)
 at
 sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLCon
 nection.java:69)
 at
 org.apache.catalina.startup.ContextConfig.tldScanJar(ContextCo
 nfig.java:906)
 at
 org.apache.catalina.startup.ContextConfig.tldScan(ContextConfi
 g.java:868

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 17:24, Turner, John wrote:
 
 Ah, now we are getting somewhere:
 
 - Root Cause -
 java.io.IOException: No such file or directory
 at java.io.UnixFileSystem.createFileExclusively(Native Method)
 at java.io.File.checkAndCreate(File.java:1313)
 at java.io.File.createTempFile(File.java:1401)
 at java.io.File.createTempFile(File.java:1438)
 at
 
 I'm not familiar enough with the admin app to know what it's trying to do
 there, but obviously it wants to create a file somewhere, and can't.
 Whatever it is, its happening right here:
 
 org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
 
where can I look for that problem? line 930 - in what file?

 ...and the last thing it was trying to do was:
 
 2003-01-28 17:15:56 WebappLoader[/admin]: Deploy JAR /WEB-INF/lib/struts.jar
 to
 /opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/lib/struts.jar
 
 Sowhat's up with that directory path?  Anything?  Permissions, etc.?
 Anyone else know exactly what's going on?
 
the path is correct. as Root I can cd into it (and tomcat is still
running as root). and struts.jar has 544 permissions, which should be
fine?
 
Thank you for helping me John, I hope we'll find the problem. It's weird
that noone else has this problem, when I just installed tomcat-4.1.18 -
and hasn't changed anything except for the localhost part.

-- 
Regards,
Klavs Klavsen

--| This mail has been sent to you by: |
  Klavs Klavsen - Open Source Consultant 
[EMAIL PROTECTED] - http://www.EnableIT.dk

Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

Open Source Software - Sometimes you get more than you paid for.
 -- unknown



signature.asc
Description: This is a digitally signed message part


RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John

org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)

is equal to:

org/apache/catalina/startup/ContextConfig/tldScanJar(ContextConfig.java:930)

...but that class is probably in struts.jar...you'd probably need to
download the source distro and look there.

I'm hoping someone else can reply...I honestly don't know how to fix this, I
would think the manager app is trying to do the same thing, which makes the
fact that the admin app not working very strange.

John


 -Original Message-
 From: klavs klavsen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 28, 2003 11:46 AM
 To: Tomcat Users List
 Subject: RE: tomcat/manager works - tomcat/admin = 404.
 
 
 On Tue, 2003-01-28 at 17:24, Turner, John wrote:
  
  Ah, now we are getting somewhere:
  
  - Root Cause -
  java.io.IOException: No such file or directory
  at 
 java.io.UnixFileSystem.createFileExclusively(Native Method)
  at java.io.File.checkAndCreate(File.java:1313)
  at java.io.File.createTempFile(File.java:1401)
  at java.io.File.createTempFile(File.java:1438)
  at
  
  I'm not familiar enough with the admin app to know what 
 it's trying to do
  there, but obviously it wants to create a file somewhere, and can't.
  Whatever it is, its happening right here:
  
  
 org.apache.catalina.startup.ContextConfig.tldScanJar(ContextCo
 nfig.java:930)
  
 where can I look for that problem? line 930 - in what file?
 
  ...and the last thing it was trying to do was:
  
  2003-01-28 17:15:56 WebappLoader[/admin]: Deploy JAR 
 /WEB-INF/lib/struts.jar
  to
  
 /opt/jakarta/tomcat/webapps/../server/webapps/admin/WEB-INF/li
 b/struts.jar
  
  Sowhat's up with that directory path?  Anything?  
 Permissions, etc.?
  Anyone else know exactly what's going on?
  
 the path is correct. as Root I can cd into it (and tomcat is still
 running as root). and struts.jar has 544 permissions, which should be
 fine?
  
 Thank you for helping me John, I hope we'll find the problem. 
 It's weird
 that noone else has this problem, when I just installed 
 tomcat-4.1.18 -
 and hasn't changed anything except for the localhost part.
 
 -- 
 Regards,
 Klavs Klavsen
 
 --| This mail has been sent to you by: |
   Klavs Klavsen - Open Source Consultant 
 [EMAIL PROTECTED] - http://www.EnableIT.dk
 
 Get PGP key from www.keyserver.net - Key ID: 0x586D5BCA 
 Fingerprint = 2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
 
 Open Source Software - Sometimes you get more than you paid for.
  -- unknown
 

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