tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MC Moisei" <mcmoi...@hotmail.com>
Subject RE: 5.5.9 on Ubuntu/Debian
Date Mon, 22 Aug 2005 02:50:17 GMT
Hi,

I planning to start using Linux for a new site but a war file that deploys 
wondeful on Windows won't start on Linux. Here's the first error(see track). 
I'm using JDK 1.4.2.
I'm pretty sure is a rights thing. I'm using the jsvc daemon loaded that 
switches to tomcat user.

Another error is that the postgress driver won't load. (Cannot load JDBC 
driver class 'org.postgresql.Driver' java.lang.ClassNotFoundException: 
org.postgresql.Driver at 
java.net.URLClassLoader$1.run(URLClassLoader.java:199)


Here is the error

Aug 21, 2005 7:01:19 PM org.apache.catalina.startup.ExpandWar copy
SEVERE: Error copying 
/usr/local/tomcat/tomcat_home/webapps/webfolio/META-INF/MANIFEST.MF to 
/var/tmp/0-webfolio/META-INF/MANIFEST.MF
java.io.IOException: Invalid argument
	at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
	at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:392)
	at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:487)
	at org.apache.catalina.startup.ExpandWar.copy(ExpandWar.java:228)
	at org.apache.catalina.startup.ExpandWar.copy(ExpandWar.java:221)
	at 
org.apache.catalina.startup.ContextConfig.antiLocking(ContextConfig.java:954)
	at 
org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:991)
	at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3904)
	at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
	at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218)


Thanks,
Constantin
http://www.goodstockimages.com



---------------------------------------------------------------------
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