On Fri, Sep 2, 2011 at 9:44 PM, Neil Aggarwal <n...@jammconsulting.com>wrote:
> Amila: > > > do you have the full stack trance? > > Here it is: > > INFO: Deploying web application directory myapp > Sep 2, 2011 11:13:01 AM org.apache.catalina.core.StandardContext > loadOnStartup > SEVERE: Servlet /myapp threw load() exception > java.lang.NullPointerException > at > > org.apache.axis2.deployment.repository.util.DeploymentFileData.getName(Deplo > ymentFileData.java:69) > at > > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup( > ArchiveReader.java:81) > at > > org.apache.axis2.deployment.DeploymentEngine.buildServiceGroup(DeploymentEng > ine.java:1287) > at > > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServicesFromWebInf( > WarBasedAxisConfigurator.java:320) > at > > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAx > isConfigurator.java:280) > at > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationCont > ext(ConfigurationContextFactory.java:95) > at > > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.ja > va:584) > at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454) > at > > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:12 > 28) > at > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 > 47) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: > 4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11 > 10) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6 > 03) > at java.lang.Thread.run(Thread.java:636) > > > have you created the services and modules folders like in Axis2.war and > > add all the web.xml entries to your web app xml? > > I tried using the structure I saw in the axis web app, but it did not seem > to work. Here is what I have right now: > tomcat/webapps/myapp > WEB-INF > axis2.xml > services.xml > web.xml > classes (Class files are in here) > lib (Jars are in here) > modules (Copied from axis2) > What is the axis2 version you use? did you try with 1.6.0? please check with the .war file format. But if you can not get deployed axis2.war as downloaded then that should be a problem with your OS or tomcat. thanks, Amila. > > I am attaching the axis2.xml, services.xml, and web.xml in case it helps. > > 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 > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/