Hi,


In the case of WAR distribution, if you set 
<prefer-web-inf-classes>
in weblogic.xml to true[1] then you shouldn't need to override default 
CLASSPATH. Otherwise, I could manage to handle it by adding stax-api-1.0.jar 
and xbean-2.1.0.jar to the CLASSPATH[2].

Actually, if you don't use WAR distribution and rather prepare your own EAR 
package by embedding Axis2, then, AFAIK, it's not going to work.

Regards,

Ali Sadik Kumlali


[1] http://www.mail-archive.com/[email protected]/msg21989.html

[2] http://www.mail-archive.com/[email protected]/msg13720.html



----- Original Message ----

From: zze-Basic DRISS S ext RD-MAPS-ISS <[EMAIL PROTECTED]>

To: [email protected]

Sent: Friday, December 15, 2006 11:16:14 AM

Subject: RE: module.xml not found on Axis2 / Weblogic 8.1



    DIV { MARGIN:0px;}    Hi,

  

 Could you please specify which Axis2's library should I put  before the 
weblogic8 webservices jar in the classpath?

  

 Thanks,

 Driss



   De : Ali Sadik Kumlali  [mailto:[EMAIL PROTECTED] 

Envoyé : jeudi 14 décembre 2006  19:21

À : [email protected]

Objet : Re:  module.xml not found on Axis2 / Weblogic 8.1





 

  Hi  Slim,



You should use exploded WAR. Please, look at here[1] for more  information.



Regards,



Ali Sadik Kumlali



[1]  http://www.mail-archive.com/[email protected]/msg13935.html



 -----  Original Message ----

From: Slim Driss <[EMAIL PROTECTED]>

To:  [email protected]

Sent: Thursday, December 14, 2006 4:06:44  PM

Subject: module.xml not found on Axis2 / Weblogic 8.1



Hi,



I'm trying to use Axis2 with Weblogic 8.1  (jrockit 1.4.2_08). After deploying 
the axis2.war and I've got the error listed  below.

I found this link http://ws.apache.org/axis/java/install.html#WebLogic8.1 but 
is  treating Axis1 with Weblogic. So I've tried without succeeding to apply 
those  suggestions on Axis2 with Weblogic8.1.



Could you please point me to a  solution to resolve this issue.  



-------------------------------------------------------------------------------------------------------

.

CLASSPATH=C:\apps\axis2-  
1.1\lib\wstx-asl-3.0.1.jar;C:\apps\axis2-1.1\lib\stax-api-1.0.1.jar;C:\apps\axis2-1.1\lib\axis2-saaj-1.1.jar;;C:\bea_SIP2.2\JROCKI~1\lib\tools.jar;C:\bea_SIP2.2\wlss220\server\lib\weblogic_sp.jar;C:\bea_SIP2.2\wlss220\telco\lib\wcp_sip_core.jar;C:\bea_SIP2.2\wlss220\telco\auxlib\sipservlet.jar;C:\bea_SIP2.2\wlss220\server\lib\weblogic.jar;C:\bea_SIP2.2\wlss220\server\lib\jsafeFIPS.jar;C:\bea_SIP2.2\wlss220\common\eval\pointbase\lib\pbserver44.jar;C:\bea_SIP2.2\wlss220\com
  

mon\eval\pointbase\lib\pbclient44.jar;C:\bea_SIP2.2\JROCKI~1\jre\lib\rt.jar;C:\bea_SIP2.2\wlss220\server\lib\webservices.jar;C:\apps\axis2-1.1\lib\wstx-asl-3.0.1.jar;C:\apps\axis2-1.1\lib\stax-api-1.0.1.jar;C:\apps\axis2-
  1.1\lib\axis2-saaj-1.1.jar;

.

PATH=C:\bea_SIP2.2\wlss220\server\bin;C:\bea_SIP2.2\JROCKI~1\jre\bin;C:\bea_SIP2.2\JROCKI~1\bin;C:\apps\apache-ant-1.6.5\bin;C:\apps\jdk1.5.0_09\bin;C:\apps\axis2-1.1\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\ora92\bin;C:\Program
  
Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program
  Files\Microsoft SQL  
Server\90\Tools\binn\;C:\bea_SIP2.2\wlss220\server\bin\oci920_8  

.

***************************************************

*  To start  WebLogic Server, use a username and   *

*  password assigned  to an admin-level user.  For *

*  server administration, use the  WebLogic Server * 

*  console at  http:\\[hostname]:[port]\console     *

***************************************************

<14 dÚc. 2006 14  h 45 CET> <Info> <WebLogicServer> <BEA-000377> <Starting  
WebLogic Server with BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 Version  
ari-49095-20050826-1856-win-ia32 from BEA Systems, Inc.>

<14 dÚc. 2006  14 h 45 CET> <Info> <Configuration Management> <BEA-150016>  
<This server is being started as the administration server.> 

<14  dÚc. 2006 14 h 45 CET> <Info> <Management> <BEA-141107>  <Version: 
WebLogic SIP Server 2.2 at 654445 built on 2006/05/05

WebLogic  Server 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358

WebLogic XMLX Module  8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 >

<14 dÚc. 2006 14 h  45 CET> <Notice> <Management> <BEA-140005> <Loading  domain 
configuration from configuration repository at  
C:\bea_SIP2.2\user_projects\domains\diameter\.\config.xml.> 

<14 dÚc.  2006 14 h 45 CET> <Notice> <Log Management> <BEA-170019>  <The server 
log file  C:\bea_SIP2.2\user_projects\domains\diameter\myserver\myserver.log is 
opened.  All server side log events will be written to this file.> 

<14 dÚc.  2006 14 h 45 CET> <Notice> <Security> <BEA-090082>  <Security 
initializing using security realm myrealm.>

<14 dÚc. 2006  14 h 45 CET> <Notice> <WebLogicServer> <BEA-000327>  <Starting 
WebLogic Admin Server "myserver" for domain "diameter">  

<14 dÚc. 2006 14 h 46 CET> <Notice> <WLSS.Engine>  <BEA-330076> <WebLogic Sip 
Server "myserver" does not have any patches  installed>

14 dÚc. 2006 14:46:02  org.apache.axis2.deployment.WarBasedAxisConfigurator  
getAxisConfiguration

GRAVE:  org.apache.axis2.deployment.DeploymentException: module.xml not found  
for  the module :    
zip:C:/bea_SIP2.2/user_projects/domains/diameter/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
  1.1.mar; nested exception is:

         org.apache.axis2.deployment.DeploymentException: module.xml not found  
for  the module :    
zip:C:/bea_SIP2.2/user_projects/domains/diameter/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
  1.1.mar; nested exception is:

         org.apache.axis2.deployment.DeploymentException: module.xml not found  
for  the module :    
zip:C:/bea_SIP2.2/user_projects/domains/diameter/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
  1.1.mar; nested exception is:

         org.apache.axis2.deployment.DeploymentException: module.xml not found  
for  the module :    
zip:C:/bea_SIP2.2/user_projects/domains/diameter/myserver/upload/axis2.war!/WEB-INF/modules/addressing-
  1.1.mar: loading repository from classpath

14 dÚc. 2006 14:46:02  org.apache.axis2.deployment.DeploymentEngine 
loadFromClassPath

INFO: Module  validation failed  Trying to engage a module which is not 
available :  addressing

<14 dÚc. 2006 14 h 46 CET> <Error>  <HTTP> <BEA-101216> <Servlet: "AxisServlet" 
failed to preload on  startup in Web application: "axis2". 

javax.servlet.ServletException: Trying to engage a  module which is not 
available : addressing; nested exception is:

         org.apache.axis2.AxisFault: Trying to engage a module which is not 
available :  addressing

        at  org.apache.axis2.transport.http.AxisServlet.init  
(Ljavax/servlet/ServletConfig;)V(AxisServlet.java:334)

        at  
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava/lang/Object;(
  ServletStubImpl.java :1094)

        at  
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(
  AuthenticatedSubject.java:321)

        at  
weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(
  SecurityManager.java:121)

        at  
weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax/servlet/Servlet;(ServletStubImpl.java:970)
  

        at  
weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubImpl.java:949)

        at  weblogic.servlet.internal.ServletStubImpl.prepareServlet  
(Lweblogic/servlet/internal/RequestCallback;)V(ServletStubImpl.java:888)

        at  
weblogic.servlet.internal.WebAppServletContext.preloadServlet(Ljava/lang/String;)V(
  WebAppServletContext.java:3430)

        at  
weblogic.servlet.internal.WebAppServletContext.preloadServlets()V(WebAppServletContext.java:3375)

        at  
weblogic.servlet.internal.WebAppServletContext.preloadResources()V(WebAppServletContext.java:3356)

        at  
weblogic.servlet.internal.WebAppServletContext.setStarted(Z)V(WebAppServletContext.java:6208)

        at  weblogic.servlet.internal.WebAppModule.start()V(  
WebAppModule.java:864)

        at  
weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic/j2ee/J2EEApplicationContainer$Component;)V(J2EEApplicationContainer.java
  :2134)

        at  
weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic/management/configuration/ComponentMBean;)V(J2EEApplicationContainer.java:2175)
  

        at  
weblogic.j2ee.J2EEApplicationContainer.activate()V(J2EEApplicationContainer.java:2122)

        at  
weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(Z)V(SlaveDeployer.java:3099)

        at  
weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications
  (ZZ)V(SlaveDeployer.java:1768)

        at  
weblogic.management.deploy.slave.SlaveDeployer.resume()V(SlaveDeployer.java:351)

        at  
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume()V(DeploymentManagerServerLifeCycleImpl.java:229)

        at  
weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:136)

        at  weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:966) 

        at  weblogic.t3.srvr.T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:361)

        at  weblogic.Server.main([Ljava/lang/String;)V( Server.java:32)

Caused by:  javax.servlet.ServletException: Trying to engage a module which is 
not available  : addressing; nested exception is:

         org.apache.axis2.AxisFault: Trying to engage a module which is not 
available :  addressing

        at  org.apache.axis2.transport.http.AxisServlet.initConfigContext  
(Ljavax/servlet/ServletConfig;)Lorg/apache/axis2/context/ConfigurationContext;(AxisServlet.java:378)

        at  org.apache.axis2.transport.http.AxisServlet.init  
(Ljavax/servlet/ServletConfig;)V(AxisServlet.java:317)

        ... 22  more

> 

<14 dÚc. 2006 14 h 46 CET> <Notice>  <Management> <BEA-141030> <Starting 
discovery of the managed  server. This feature is on by default. You can turn 
this off by passing -  Dweblogic.management.discover=false.>

<14 dÚc. 2006 14 h  46 CET> <Notice> <WebLogicServer> <BEA-000355> <Thread  
"ListenThread.Default " listening on port 7001, ip address *.*>

<14 dÚc. 2006 14 h  46 CET> <Notice> <WebLogicServer> <BEA-000331> <Started  
WebLogic Admin Server "myserver" for domain "diameter" running in Development  
Mode> 

<14 dÚc. 2006 14 h 46 CET> <Notice>  <WebLogicServer> <BEA-000360> <Server 
started in RUNNING  mode>

--------------------------------------------------------------------------------------------------------------------------------------
  





Thanks,

Slim





--  

Cordialement,

Slim DRISS  









__________________________________________________

Do  You Yahoo!?

Tired of spam? Yahoo! Mail has the best spam protection around  

http://mail.yahoo.com 

 ------Translated  Message------












__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to