|
From: Gerry S. <smi...@gm...> - 2010-08-10 13:54:05
|
Ok great, I'd assumed it was using a working dir under jboss somewhere. Thanks all for the help. Gerry On Tue, Aug 10, 2010 at 3:00 AM, Christian Mueller < chr...@ta...> wrote: > Garry, > > What is the value for java.io.tmpdir when you run as service? > I guess that you are using the default value, which means that in case > when running the service under the Local User account the temp dir > will be %WINDOWS%\system32. However because of stricter access rules > introduced in Windows 7 the Local User can not write to there. > > In 3.5.0 we have added a workaround for this issue with the > wrapper.java.tmpdir.* properties: > http://wrapper.tanukisoftware.com/doc/english/prop-java-tmpdir-x.html > > In order to print out the temp dir in the log file please set: > wrapper.java.tmpdir.warn_silently=FALSE > > Hope this helps you. > > Cheers, > Christian > > > On Tue, Aug 10, 2010 at 2:31 AM, Gerry Smith <smi...@gm...> > wrote: > > I think the exception is being thrown when the static class > > org.apache.axis2.deployment.util.TempFileManager > > is trying to initialize and clean up old or create a new tempfile. > > Any ideas why this would only happen when running as a service, and how > to > > fix it ? > > I am running it using local system account, Win 7. > > > > Thanks, > > > > Gerry > > > > On Mon, Aug 9, 2010 at 9:00 AM, Gerry Smith <smi...@gm...> > wrote: > >> > >> Hi, > >> > >> We are testing using the wrapper with jboss 421. > >> We have an ear file which contains among other things an Axis2 1.5.1 web > >> app in a war file to provide soap services. > >> This works fine when we run the wrapper from the console, but when we > run > >> it as a windows service, Axis2 fails to run. > >> I've pasted the stack trace of the error, which occurs when jboss is > >> starting and also when you try to access an axis2 web service. > >> Anyone have any ideas ? > >> > >> Many thanks, > >> > >> Gerry > >> > >> 2010-08-09 08:40:25,049 ERROR > >> [org.apache.axis2.deployment.ModuleDeployer] The addressing-1.5.mar > module, > >> which is not valid, caused Could not initialize class > >> org.apache.axis2.deployment.util.TempFileManager > >> java.lang.NoClassDefFoundError: Could not initialize class > >> org.apache.axis2.deployment.util.TempFileManager > >> at > >> org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:224) > >> at > >> org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:165) > >> at > >> org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:899) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115) > >> at > >> > org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147) > >> at > >> > org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229) > >> at > >> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > >> at > >> > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > >> at > >> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > >> at > >> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > >> at > >> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806) > >> at > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) > >> at > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > >> at > >> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) > >> at > >> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) > >> at > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > >> at > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > >> at > >> > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) > >> at > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > >> at > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) > >> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) > >> at > >> > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381) > >> at > >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > >> at java.lang.Thread.run(Thread.java:619) > >> 2010-08-09 08:40:25,073 ERROR > [org.apache.axis2.deployment.ModuleDeployer] > >> The axis2-jaxws-mar-1.5.mar module, which is not valid, caused Could not > >> initialize class org.apache.axis2.deployment.util.TempFileManager > >> java.lang.NoClassDefFoundError: Could not initialize class > >> org.apache.axis2.deployment.util.TempFileManager > >> at > >> org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:224) > >> at > >> org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:165) > >> at > >> org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:899) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115) > >> at > >> > org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147) > >> at > >> > org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229) > >> at > >> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > >> at > >> > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > >> at > >> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > >> at > >> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > >> at > >> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806) > >> at > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) > >> at > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > >> at > >> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) > >> at > >> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) > >> at > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > >> at > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > >> at > >> > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) > >> at > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > >> at > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) > >> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) > >> at > >> > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381) > >> at > >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > >> at java.lang.Thread.run(Thread.java:619) > >> 2010-08-09 08:40:25,158 ERROR > [org.apache.axis2.deployment.ModuleDeployer] > >> The axis2-scripting-1.5.mar module, which is not valid, caused Could not > >> initialize class org.apache.axis2.deployment.util.TempFileManager > >> java.lang.NoClassDefFoundError: Could not initialize class > >> org.apache.axis2.deployment.util.TempFileManager > >> at > >> org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:224) > >> at > >> org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:165) > >> at > >> org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:899) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115) > >> at > >> > org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65) > >> at > >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68) > >> at > >> > org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63) > >> at > >> > org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147) > >> at > >> > org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229) > >> at > >> > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > >> at > >> > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > >> at > >> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > >> at > >> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > >> at > >> > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806) > >> at > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129) > >> at > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > >> at > >> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) > >> at > >> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) > >> at > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > >> at > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > >> at > >> > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) > >> at > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > >> at > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) > >> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) > >> at > >> > org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381) > >> at > >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > >> at java.lang.Thread.run(Thread.java:619) > >> > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by > > > > Make an app they can't live without > > Enter the BlackBerry Developer Challenge > > http://p.sf.net/sfu/RIM-dev2dev > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |