axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: [Axis2] NPE during load in DeploymentFileData.getName
Date Fri, 02 Sep 2011 15:56:40 GMT
Josef:
 
> deploy axis2.war to your tomcat/webapps directory and see in the tomcat
log 
> files if axis2 got deployed correctly.

I removed my webapp and put the axis2.war file in the webapps directory.
When I restart Tomcat, I see these logs:

INFO: Deploying web application archive axis2.war
Sep 2, 2011 9:54:35 AM org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/axis2]
java.io.FileNotFoundException:
/usr/local/tomcat/webapps/axis2/META-INF/MANIFEST.MF (No such file or
directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:403)
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:138)
        at
org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:735)
        at
org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:861)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
340)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java
:90)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:3
89)
        at
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
12)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:932)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:723)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java
:90)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:3
89)
        at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:334)
        at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041
)
        at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
        at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033
)
        at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:29
1)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
        at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:
443)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
        at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:72
7)
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:621)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
[INFO] Clustering has been disabled
[INFO] Deploying module: script-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/scripting-1.6.0.mar
[INFO] Deploying module: soapmonitor-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/soapmonitor-1.6.0.mar
[INFO] Deploying module: ping-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/ping-1.6.0.mar
[INFO] Deploying module: mtompolicy-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/mtompolicy-1.6.0.mar
[INFO] Deploying module: metadataExchange-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/mex-1.6.0.mar
[INFO] Deploying module: jaxws-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/axis2-jaxws-mar-1.6.0.mar
[INFO] Deploying module: addressing-1.6.0 -
jndi:/localhost/axis2/WEB-INF/modules/addressing-1.6.0.mar
[ERROR] AxisConfiguration getRepository returns null, cannot deploy scripts
[INFO] Deploying Web service: version-1.6.0 -
[INFO] Deploying Web service: version-1.6.0 -
jndi:/localhost/axis2/WEB-INF/services/version-1.6.0.aar
[INFO] jndi:/localhost/axis2/WEB-INF/transports/transports.list -  as per
axis2.repository.url, the URL is
jndi:/localhost/axis2/WEB-INF/transports/transports.list that will be used
relative to /.
[INFO] jndi:/localhost/axis2/WEB-INF/pojo/pojo.list -  as per
axis2.repository.url, the URL is
jndi:/localhost/axis2/WEB-INF/pojo/pojo.list that will be used relative to
/.
[INFO] jndi:/localhost/axis2/WEB-INF/servicejars/servicejars.list -  as per
axis2.repository.url, the URL is
jndi:/localhost/axis2/WEB-INF/servicejars/servicejars.list that will be used
relative to /.

Have you seen that error before?

> Then use the axis2 happiness page to see basic operations of axis2.

The happiness page has this info:

There was a problem in Axis2 version service , may be the service not
available or some thing has gone wrong. But this does not mean system is not
working ! Try to upload some other service and check to see whether it is
working.

Does that denote a problem?

Thanks,
  Neil


--
Neil Aggarwal, (972)834-1565, http://UnmeteredVPS.net/centos
Virtual private server with CentOS 5.5 preinstalled
Unmetered bandwidth = no overage charges 


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


Mime
View raw message