Solved

Whats wrong with my axis2 in my wls 8.1?

Posted on 2008-10-15
1
465 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumDigits  challenge 7 61
@SBGen Method 3 25
JUnit 4 @Before and @BeforeClass differences 3 22
Java DateChooser? 2 13
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now