tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: java.io.IOException - whats up?
Date Wed, 29 Jan 2003 11:41:41 GMT
Just a thought. Have you set your CATALINA_TMPDIR environment variable? 
Its default value is $CATALINA_BASE/temp which doesn't exist by default ;)

klavs klavsen wrote:
> Hi guys,
> 
> I've gotten help from John Turner on this problem of mine (where
> /manager works, and /admin gives me a 404.
> 
> The error logs have this output:
> 
> 
>>----- 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
>>
>>So....what's up with that directory path?  Anything?  Permissions, etc.?
>>Anyone else know exactly what's going on?
>>
> 
> the server process is run by root - and root can access the directory.
> 
> Does anyone have an idea what's up ? it's tomcat-4.1.18(binaries package) on a Gentoo
Linux server.
>  





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message