axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saibun Toe <s_toe_15...@yahoo.com>
Subject Re: Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration Issue
Date Thu, 22 Apr 2010 10:16:20 GMT
Huh, finally found some temp solution which is to user Axis 1.3 instead of Axis 1.4.1. Even
though have to modify my response object (somehow can return 2 layer object only -object contain
1 object-, the latter object cannot contain another object, otherwise it will return blank
object). 

Anyway, whoever can make Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration happens, it is
good if can share it over here for future use.

Thanks 



________________________________
From: Saibun Toe <s_toe_15385@yahoo.com>
To: java-user@axis.apache.org
Sent: Mon, April 19, 2010 10:49:25 AM
Subject: Re: Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration Issue


Hi,

I read the article given by you, http://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker2/1001_thaker2.html

Problem is, I am using WebSphere 5.1, the article is for WebSphere 6, I already tried several
solutions from this article, but so far still not working. 

Does anyone ever successful integrate Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1?

Thanks.



________________________________
From: Saibun Toe <s_toe_15385@yahoo.com>
To: java-user@axis.apache.org
Sent: Fri, April 16, 2010 6:12:32 PM
Subject: Re: Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration Issue


Hi Sidath,

Thanks for the response, I am sorry since I am inexperience Java programmer, I don't quite
understand, may I know which Jar file (Servlet) are you referring? Will read the link provided
by you, meanwhile waiting for someone who has experiences on this issues.

Regards,
Bun



________________________________
From: Sidath Dissanayake <sidathd@gmail.com>
To: java-user@axis.apache.org
Sent: Fri, April 16, 2010 5:29:20 PM
Subject: Re: Axis2 1.4.1 + JDK 1.4 + WebSphere 5.1 Integration Issue

Hi,
Try getting rid of the servlet jar in WEB-INF/libs in your war if one exists.
For deploying axis2 in websphere, the following article provides some useful tips.
http://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker2/1001_thaker2.html
Cheers
Sidath.


On Fri, Apr 16, 2010 at 9:58 AM, Saibun Toe <s_toe_15385@yahoo.com> wrote:

Regards,
>
>
>I started Java 2 months ago, and I am
> directly assigned to create and hosting web services. I am kind of stuck now for a few
days, browsing around for solution which get me no where. Finally, I sending my first email
to Apache Axis Team, hope can get some
> help.
>
>
>I am currently working on a Web Services based on this tutorial  http://wso2.org/library/1719
, my environment
> as follow:
>	* JDK: 1.4.2.18 
>	* Axis2 1.4.1
>	* Eclipse Dynamic Web 2.3
>	* IBM WebSphere Application Server, 5.1.1.13
>Everything tested okay in Tomcat Server 5.5, even tried successfully to create Client
project to call the web
> services.
>
>
>After that, I used Eclipse to export my whole project to WAR file. Problem arises when
I tried to host the WAR file in WAS 5.1. 
>
>
>I used the config for the installation based on the following source http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21315686&loc=en_US&cs=utf-8&cc=us〈=en
and http://www-01.ibm.com/support/docview.wss?rs=0&q1=axis2&q2=technote&uid=swg21264548&loc=en_US&cs=utf-8&cc=us〈=en
, I
> came to
> conclusion to
> modify the
> config of the "CLASS
> LOADER MODE" mode to "PARENT_LAST" and "WAR CLASSLOADER POLICY" to "APPLICATION". I also
moved all the .mar file to "lib" and rename to .jar-> hope I did not misinterpret the sources.
>
>
>After finished installation and started the application, the Runtime Events logs show
2 logs: 
>1. Message Originator: com.ibm.ws.webcontainer.webapp.WebAppServletManager. Message: Servlet
[AxisAdminServlet]: could not be loadedMessage.
>2. Message Originator: com.ibm.ws.webcontainer.srt.WebGroup. Message: SRVE0020E: [Servlet
Error]-[AxisAdminServlet]: Failed to load servlet: 
>java.lang.ExceptionInInitializerError at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java(Compiled

>Code)) at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled

>Code)) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled 
>Code)) at java.lang.Class.newInstance3(Class.java(Compiled Code)) at 
>java.lang.Class.newInstance(Class.java(Compiled Code)) at 
>java.beans.Beans.instantiate(Beans.java:219) at 
>java.beans.Beans.instantiate(Beans.java:63) at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)

>at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)

>at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1394) at 
>com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:299) at com.ibm.ws.w -- 
><truncated> --
>
>
>But somehow I can opened the link to that application and It succeed fully load the Axis2
Welcome Page. When I click the "Service" link, it directed to "Internal Server Error" page,
and the Runtime Events logs show 2 logs:
>1. Message Originator: com.ibm.ws.webcontainer.srt.WebGroup. Message: SRVE0020E: [Servlet
Error]-[AxisServlet]: Failed to load servlet: 
>java.lang.NoClassDefFoundError: org/apache/axis2/transport/http/AxisServlet at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java(Compiled

>Code)) at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled

>Code)) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled 
>Code)) at java.lang.Class.newInstance3(Class.java(Compiled Code)) at 
>java.lang.Class.newInstance(Class.java(Compiled Code)) at 
>java.beans.Beans.instantiate(Beans.java:219) at 
>java.beans.Beans.instantiate(Beans.java:63) at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)

>at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)

>at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:733) at 
>com.ibm.ws.webcontainer.webapp.WebAppRe -- <truncated> --
>2. Message Originator: com.ibm.ws.webcontainer.srt.WebGroup. Message: SRVE0026E: [Servlet
Error]-[AxisServlet]: java.lang.NoClassDefFoundError: 
>org/apache/axis2/transport/http/AxisServlet at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java(Compiled

>Code)) at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled

>Code)) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled 
>Code)) at java.lang.Class.newInstance3(Class.java(Compiled Code)) at 
>java.lang.Class.newInstance(Class.java(Compiled Code)) at 
>java.beans.Beans.instantiate(Beans.java:219) at 
>java.beans.Beans.instantiate(Beans.java:63) at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)

>at 
>com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)

>at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:733) at 
>com.ibm.ws.webcontainer.webapp.WebAppRe -- <truncated> --
>
>
>I tried different combination of "CLASS LOADER MODE" and "WAR CLASSLOADER POLICY", none
of these works. May I know what's wrong and what should I do?
>
>
>Thanks in advance.
>
>
>
>
>
>


      
Mime
View raw message