[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Whats wrong with my axis2 in my wls 8.1?

Posted on 2008-10-15
1
Medium Priority
?
489 Views
Last Modified: 2013-11-24
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
0
Comment
Question by:fredand44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
fredand44 earned 0 total points
ID: 22725319
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question