Hi,
Another step in the right direction.

1) /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis
The axis directory did not exist. All other directories were present.

r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24/webapps# ls -asl
total 19000
    4 drwxr-xr-x 11 tc tc     4096 2010-03-10 17:43 .
    4 drwxr-xr-x  9 tc tc     4096 2010-03-09 09:56 ..
18932 -rw-r--r--  1 tc tc 19383323 2010-03-10 12:02 axis2.war
    4 drwxr-xr-x 10 tc tc     4096 2010-01-19 14:42 docs
    4 drwxr-xr-x  5 tc tc     4096 2010-01-19 14:42 examples
    4 -rw-r--r--  1 tc tc      376 2007-07-30 16:26 hello.jsp
    4 drwxr-xr-x  5 tc tc     4096 2010-01-19 14:42 host-manager
    4 drwxr-xr-x  2 tc tc     4096 2007-07-30 16:26 images
    4 -rw-r--r--  1 tc tc      636 2007-07-30 16:26 index.html
    4 drwxr-xr-x  5 tc tc     4096 2010-01-19 14:42 manager
    4 drwxr-xr-x  2 tc tc     4096 2010-03-10 11:47 META-INF
    4 drwxr-xr-x  3 tc tc     4096 2010-01-19 14:42 ROOT
    8 -rw-r--r--  1 tc tc     4606 2010-03-08 23:31 sample.war

1st attempt : Tried to start jsvc as user tc. Failure
------------
If I start the tomcat (jmvc) as user tc, I get the PID error

t...@tc-laptop:~/TomCat/apache-tomcat-6.0.24$ more logs/*
::::::::::::::
logs/catalina.err
::::::::::::::
10/03/2010 22:22:25 2878 jsvc.exec error: Cannot open PID file /var/run/jsvc.pid
, PID is 2878
10/03/2010 22:22:25 2877 jsvc.exec error: Service exit with a return value of 
255

2nd attempt as user root but switch to user tc on startup ==> Success
----------------------------------------------
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
10-Mar-2010 22:42:49 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
10-Mar-2010 22:42:52 org.apache.axis2.deployment.util.TempFileManager <clinit>
INFO: TempFileManager::unable to delete /tmp/axis2-tmp-6334442305603549214.tmp
10-Mar-2010 22:42:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample2.war
10-Mar-2010 22:42:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample.war


The command line used was
./bin/jsvc -user tc -cp ./bin/bootstrap.jar         -outfile 
./logs/catalina.out -errfile ./logs/catalina.err         
org.apache.catalina.startup.Bootstrap

I can now also see the congradulation page. If you can see this page you 
successfully configured tomcat. http://localhost:8080/

However the following is not working
http://localhost:8080/axis2/services/   displays
<soapenv:Reason>
−
<soapenv:Text xml:lang="en-US">
The service cannot be found for the endpoint reference (EPR) /axis2/services/
</soapenv:Text>
</soapenv:Reason>

and the sample project
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM
displays
<soapenv:Reason>
−
<soapenv:Text xml:lang="en-US">
The service cannot be found for the endpoint reference (EPR) 
/axis2/services/StockQuoteService/getPrice?symbol=IBM
</soapenv:Text>
</soapenv:Reason>






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

> From: Konstantin Kolinko <knst.koli...@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, 21:42
> 2010/3/11 Terence Coffey <terence_j_cof...@yahoo.co.uk>:
> > INFO: Deploying web application archive axis2.war
> > 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)
> 
> Tomcat tries to unpack axis2.war, but cannot.
> Maybe the target directory (see the message) is not
> writeable. Check
> what user is used to run Tomcat (it must not be "root"),
> and what
> permissions and ownership are on those directories.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 




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

Reply via email to