You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Cyril Furtado <cy...@skire.com> on 2006/06/06 20:22:44 UTC
Axis2 Startup does not work
I am using Tomcat 4.1( will move to Tomcat 5) and JDK 1.5, We do not use
a Web-Apps directory in Tomcat, Instead use the shared/lib directory to
load the jar files. I have sucessfully used Axis1.2 for over 18 months
in this config, now I am trying to switch to Axis2 but it has been very
difficult, I cannot get the Admin Servlet started. What files are
required under the WEB-INF and where does one put the services.xml file
under the default Root directory of Tomcat?
When typing http://localhost:8081/axis2-admin in the browser I get
Error
Root Cause
java.lang.NullPointerException
at
org.apache.axis2.transport.http.AdminAgent.(AdminAgent.java:76)
at
org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.j
ava:52)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:935)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
68)
Thanks
Cyril
Re: Axis2 Startup does not work
Posted by Eran Chinthaka <ch...@opensource.lk>.
Cyril Furtado wrote:
> I am using Tomcat 4.1( will move to Tomcat 5) and JDK 1.5, We do not use
> a Web-Apps directory in Tomcat, Instead use the shared/lib directory to
> load the jar files. I have sucessfully used Axis1.2 for over 18 months
> in this config, now I am trying to switch to Axis2 but it has been very
> difficult, I cannot get the Admin Servlet started. What files are
> required under the WEB-INF
You need to put an axis2.xml file in conf folder. Need to have modules
and service folder.
So far we have not tested this type of scenario. But if you can help
re-create the problems, we might be able to help.
> and where does one put the services.xml file
> under the default Root directory of Tomcat?
services.xml comes only with a service archive. Better read the user guide.
>
> When typing http://localhost:8081/axis2-admin in the browser I get
> Error
>
> Root Cause
>
> java.lang.NullPointerException
> at org.apache.axis2.transport.http.AdminAgent.(AdminAgent.java:76)
I can not find a cause for this error in 52nd line of AdminAgent :(.
-- Chinthaka
Re: Axis2 Startup does not work
Posted by Deepal Jayasinghe <de...@opensource.lk>.
What is the Axis2 version that you use , anyway I will try with Tomcat
4.1 , the problem is we did not test in Tomcat 4.1
Cyril Furtado wrote:
> I am using Tomcat 4.1( will move to Tomcat 5) and JDK 1.5, We do not
> use a Web-Apps directory in Tomcat, Instead use the shared/lib
> directory to load the jar files. I have sucessfully used Axis1.2 for
> over 18 months in this config, now I am trying to switch to Axis2 but
> it has been very difficult, I cannot get the Admin Servlet started.
> What files are required under the WEB-INF and where does one put the
> services.xml file under the default Root directory of Tomcat?
>
> When typing http://localhost:8081/axis2-admin in the browser I get
> Error
>
>Root Cause
>
>java.lang.NullPointerException
> at org.apache.axis2.transport.http.AdminAgent.(AdminAgent.java:76)
> at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:52)
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
>
>Thanks
>
>Cyril
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org