tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terence Coffey <terence_j_cof...@yahoo.co.uk>
Subject Re: axis2: not seeing validation or administrator links from axis2
Date Wed, 10 Mar 2010 21:28:37 GMT
Ok. One step in the right direction.
I've stopped axis2server.sh and restarted jsvc (Tomcat) I see two errors.
They seem to be related to setting the context. does this mean they
did not deploy correctly ?

SEVERE: Exception fixing docBase for context [/axis2] 
SEVERE: Exception fixing docBase for context [/sample2] 

I think the following error follow on as a result of the above errors
on:  start: :  java.io.IOException: Failed to copy resources


10-Mar-2010 21:16:01 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 21:16:02 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/axis2] 
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
2/META-INF/MANIFEST.MF (No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)
	at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:173)
	at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.ja
va:882)
	at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:101
7)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:279)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:54
39)


-------

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.jav
a:177)
10-Mar-2010 21:16:02 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive axis2.war
java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleExcepti
on:  start: :  java.io.IOException: Failed to copy resources
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:795)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)

---

10-Mar-2010 21:16:02 org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/sample2] 
java.io.FileNotFoundException: /home/tc/TomCat/apache-tomcat-6.0.24/webapps/samp
le2/META-INF/MANIFEST.MF (No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:457)
	at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:173)
	at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.ja

---
10-Mar-2010 21:16:02 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive sample2.war
java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleExcepti
on:  start: :  java.io.IOException: Failed to copy resources
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:795)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)

--- On Wed, 10/3/10, Konstantin Kolinko <knst.kolinko@gmail.com> wrote:

> From: Konstantin Kolinko <knst.kolinko@gmail.com>
> Subject: Re: axis2: not seeing validation or administrator links from axis2
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Wednesday, 10 March, 2010, 20:59
> 2010/3/10 Terence Coffey <terence_j_coffey@yahoo.co.uk>:
> > Hi,
> > when i enter http://localhost:8080/axis2/axis2-web/ my browser
> redirects
> > it to http://localhost:8080/axis2/services/
> 
> > In the terminal in which i started axis2server.sh the
> follow error message
> > is shown
> 
> I missed that you have axis2server.sh running.
> So .. you are running Axis standalone,  and not in
> Tomcat.
> 
> You cannot start Tomcat unless you stop that, because they
> are
> configured to use the same port number (8080). That is the
> cause of
> the startup error that you mentioned in your first
> message.
> 
> >  ./bin/jsvc -cp ./bin/bootstrap.jar   
>      -outfile ./logs/catalina.out
> -errfile ./logs>/catalina.err     
>    org.apache.catalina.startup.Bootstrap
> 
> See RUNNING.txt in the root directory of Tomcat
> distributive.
> It is easier to use *.sh files that are in the bin folder,
> than jsvc.
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message