axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: Error when deploying in to web-inf directory
Date Wed, 21 Nov 2007 04:32:03 GMT
Hi Iyengar,

I think someone else has also noticed this issue and has created a jira.
I think we are having this issue in Axis2 1.3 release and will try to
fix the issue soon.So that you can test with the nightly builds.

Thanks
Deepal
>
>  
>
> Has anyone seen this error? I am deploying all the axis2 jar files
> into WEB-INF\lib directory and my axis2.xml and services.xml files are
> in WEB-INF directory. After starting Tomcat I get a crash (stack is
> below). I checked out DeploymentEngine.java and it calls ‘new
> DeploymentFileData(null, null);’ which causes the crash as the
> constructor is not expecting ‘file’ ( the first parameter for
> DeploymentFileData()) to be null. I also tried setting
> axis.repository.path and that gives the same error as below.
>
>  
>
> Does anyone know if there is a fix? If not is there a workaround that
> I can use? I am curious how this works for anyone else if they deploy
> in the WEB-INF directory
>
>  
>
> java.lang.IllegalArgumentException: Filename must not be null
>
>             at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.<init>(DeploymentFileData.java:43)
>
>             at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.<init>(DeploymentFileData.java:48)
>
>             at
> org.apache.axis2.deployment.DeploymentEngine.buildServiceGroup(DeploymentEngine.java:1015)
>
>             at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServicesFromWebInf(WarBasedAxisConfigurator.java:309)
>
>             at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270)
>
>             at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:78)
>
>             at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:500)
>
>             at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:420)
>
>             at
> org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:54)
>
>             at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>
>             at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>
>             at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
>
>             at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
>
>             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:608)
>
>             at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
>
>             at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
>
>             at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>
>             at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>
>             at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>
>             at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>
>             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:709)
>
>             at
> org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>
>             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:585)
>
>             at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>
>             at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>
>  
>
> Thanks,
>
>  
>
> --kumar
>
>  
>


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


Mime
View raw message