Sorry to answer late;

 

 

Tomcat attempts to deploy your axis2.war, a war file, is like any other's  web 
application archive i.e. one that contains a servlet

 

Can you contact http://yourhost:8080

Do you get the tomcat greeting page?

Can you use the tomcat manager page?

Can you use all the servlets and all the java server pages examples?

 

Maybe you can make a very simple web application using i.e. NetBeans IDE, and 
deploy this helloworld.war to tomcat? 

NetBeans 6.9.1 (the one I have) does it in a sniff, just creating a web 
application and you get all generated and you only 

need to feed a Hello World string into it. 

 

If this does not properly work then reinstall tomcat from scratch.

 

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)

 

While tomcat intends to setup a Context for this axis2 servlet, it needs a bit 
of information. This info is coming from the axis2/META-INF/MANIFEST.MF File 
which tomcat cannot find. 

 

Maybe Tomcat has insufficient privileges on the axis2.war file, OR on the file 
system as such. 

 

Or your axis2.war does not have that file in it for whatever reason. So check 
at least axis2.war with i.e. TUGZip to if this file is there.

 

BUT - I strongly recommend to get a new axis2 binary kit for your platform, 
because something is very bad with either your tomcat installation or your 
axis2.war itself. 

 

 

All remaining errors you are seeing are a consequence because axis2 is not 
correctly deployed ! 

Even - I wonder myself - axis2 can deploy the module files (*.mar) but not the 
version services. 

And hence using the version service from the happiness page shows one more time 
that axis2.war has to be deployed correctly.

 

My recommendation: 

Install Tomcat from scratch (get a new kit for your platform) (maybe you can 
install NetBeans and use this tomcat, deploy axis2.war to this running 
instance, slightly different.

Install Axis2 from scratch (get a new kit from your platform)

 

Josef

 

 

Josef

 

-----Ursprüngliche Nachricht-----
Von: Neil Aggarwal [mailto:n...@jammconsulting.com] 
Gesendet: Freitag, 2. September 2011 17:57
An: java-user@axis.apache.org
Betreff: RE: [Axis2] NPE during load in DeploymentFileData.getName

 

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-unsubscr...@axis.apache.org

For additional commands, e-mail: java-user-h...@axis.apache.org

 

Reply via email to