aspose file tools
The moose likes Web Services and the fly likes Whats wrong with my axis2 in my wls 8.1? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Whats wrong with my axis2 in my wls 8.1? " Watch "Whats wrong with my axis2 in my wls 8.1? " New topic
Author

Whats wrong with my axis2 in my wls 8.1?

Fredrik Andersson
Ranch Hand

Joined: May 03, 2005
Posts: 35
Hello!

I have downloaded axis2:
1.4.1
1.4
1.3

Inside each one of these dist there is a lib and webapp folder. I have copied the the lib folder into the webapp/WEB-INF.

Then I have tried to deploy the webapp inside my wls 8.1.5.

But I jus get:

<2008-okt-15 kl 21:23 CEST> <Error> <HTTP> <BEA-101125> <[ServletContext(id=34204313,name=webapp,context-path=/webapp)] Error occurred while instantiating servlet: "AxisServlet".
java.lang.NoSuchMethodError: <init>
at org.apache.axis2.engine.DispatchPhase.<clinit>()V(DispatchPhase.java:270)
at jrockit.vm.Reflect$IClass.runClinit(I)V(Unknown Source)
at jrockit.vm.Reflect$IClass.ensureInitialized(Ljava/lang/Class V(Unknown Source)

....followed by....

<2008-okt-15 kl 21:23 CEST> <Error> <HTTP> <BEA-101216> <Servlet: "AxisServlet" failed to preload on startup in Web application: "webapp".
javax.servlet.ServletException: Servlet class: 'org.apache.axis2.transport.http.AxisServlet' doesn't have a default constructor
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava/lang/Object;(ServletStubImpl.java:1098)

Do you guys see what I'm missing?

Best regards
Fredrik


Best regards<br />Fredrik
Fredrik Andersson
Ranch Hand

Joined: May 03, 2005
Posts: 35
Solution seems to be a weblogic.xml:
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>

Then build the axis2.war and deploy that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Whats wrong with my axis2 in my wls 8.1?
 
Similar Threads
JVM crash with weblogic 9.2 and jdk1.5 on a Sun machine
Out of memory exception
problem deploying my application with weblogic after adding a new form bean
Struts application. Environment variables Problem it seems!
Getting error when starting WLS 10.0