axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <david.zie...@thomson.com>
Subject RE: Axis 2 in WebSphere6
Date Thu, 17 Aug 2006 19:34:44 GMT
The attachment was not permitted so here is the file contents:
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <axisconfig name="AxisJava2.0">
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Parameters 
  --> 
- <!-- 
 ================================================= 
  --> 
  <parameter name="hotdeployment" locked="false">true</parameter> 
  <parameter name="hotupdate" locked="false">false</parameter> 
  <parameter name="enableMTOM" locked="false">false</parameter> 
- <!-- 
During a fault, stacktrace can be sent with the fault message. The
following flag will control 
  --> 
- <!-- 
that behaviour.
  --> 
  <parameter name="sendStacktraceDetailsWithFaults"
locked="false">true</parameter> 
- <!-- 
If there aren't any information available to find out the fault reason,
we set the message of the expcetion
  --> 
- <!-- 
as the faultreason/Reason. But when a fault is thrown from a service or
some where, it will be 
  --> 
- <!-- 
wrapped by different levels. Due to this the initial exception message
can be lost. If this flag
  --> 
- <!-- 
is set then, Axis2 tries to get the first exception and set its message
as the faultreason/Reason.
  --> 
  <parameter name="DrillDownToRootCauseForFaultReason"
locked="false">false</parameter> 
  <parameter name="userName" locked="false">admin</parameter> 
  <parameter name="password" locked="false">axis2</parameter> 
- <!-- 
 If you have a frontend host which exposes this webservice using a
different public URL  
  --> 
- <!-- 
 use this parameter to override autodetected url 
  --> 
- <!-- 
<parameter name="httpFrontendHostUrl"
locked="false">https://someotherhost/context</parameter>
  --> 
- <!-- 
    The way of adding listener to the system
  --> 
- <!-- 
    <listener class="org.apache.axis2.ObserverIMPL">
  --> 
- <!-- 
        <parameter name="RSS_URL"
locked="false">http://127.0.0.1/rss</parameter>
  --> 
- <!-- 
    </listener>
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Message Receivers 
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
This is the Deafult Message Receiver for the system , if you want to
have MessageReceivers for 
  --> 
- <!-- 
all the other MEP implement it and add the correct entry to here , so
that you can refer from
  --> 
- <!-- 
any operation 
  --> 
- <!-- 
Note : You can ovride this for particular service by adding the same
element with your requirement
  --> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <messageReceivers>
  <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver" /> 
  <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver" /> 
  </messageReceivers>
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Transport Ins 
  --> 
- <!-- 
 ================================================= 
  --> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <transportReceiver name="http"
class="org.apache.axis2.transport.http.SimpleHTTPServer">
  <parameter name="port" locked="false">6060</parameter> 
- <!-- 
If you want to give your own host address for EPR generation
  --> 
- <!-- 
uncommet following paramter , and set as you required.
  --> 
- <!-- 
<parameter name="hostname"
locked="false">http://myApp.com/ws</parameter>
  --> 
  </transportReceiver>
- <!-- 
Uncomment if you want to have SMTP transport support
  --> 
- <!-- 
<transportReceiver name="mail"
class="org.apache.axis2.transport.mail.SimpleMailListener">
  --> 
- <!-- 
<parameter name="transport.mail.pop3.host"
locked="false">127.0.0.1</parameter>
  --> 
- <!-- 
<parameter name="transport.mail.pop3.user"
locked="false">axis2</parameter>
  --> 
- <!-- 
<parameter name="transport.mail.pop3.password"
locked="false">axis2</parameter>
  --> 
- <!-- 
<parameter name="transport.mail.pop3.port"
locked="false">110</parameter>
  --> 
- <!-- 
<parameter name="transport.mail.replyToAddress"
locked="false">axis2@127.0.0.1</parameter>
  --> 
- <!-- 
</transportReceiver>
  --> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <transportReceiver name="tcp"
class="org.apache.axis2.transport.tcp.TCPServer">
  <parameter name="port" locked="false">6060</parameter> 
- <!-- 
If you want to give your own host address for EPR generation
  --> 
- <!-- 
uncommet following paramter , and set as you required.
  --> 
- <!-- 
<parameter name="hostname" locked="false">tcp://myApp.com/ws</parameter>
  --> 
  </transportReceiver>
- <!-- 
Uncomment this if you want JMS transport support
  --> 
- <!-- 
<transportReceiver name="jms"
class="org.apache.axis2.transport.jms.SimpleJMSListener">
  --> 
- <!-- 
<parameter name="transport.jms.Destination"
locked="false">dynamicQueues/FOO</parameter>
  --> 
- <!-- 
<parameter name="java.naming.factory.initial" locked="false">
  --> 
- <!-- 
org.activemq.jndi.ActiveMQInitialContextFactory</parameter>
  --> 
- <!-- 
<parameter name="java.naming.provider.url"
locked="false">tcp://localhost:61616</parameter>
  --> 
- <!-- 
</transportReceiver>
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Transport Outs 
  --> 
- <!-- 
 ================================================= 
  --> 
  <transportSender name="tcp"
class="org.apache.axis2.transport.tcp.TCPTransportSender" /> 
  <transportSender name="local"
class="org.apache.axis2.transport.local.LocalTransportSender" /> 
  <transportSender name="jms"
class="org.apache.axis2.transport.jms.JMSSender" /> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <transportSender name="http"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
  <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> 
  <parameter name="Transfer-Encoding" locked="false">chunked</parameter>

  </transportSender>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <transportSender name="https"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
  <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter> 
  <parameter name="Transfer-Encoding" locked="false">chunked</parameter>

  </transportSender>
- <!-- 
 Uncomment this one with the appropriate papameters to enable the SMTP
transport Receiver
   <transportSender name="mailto"
class="org.apache.axis2.transport.mail.MailTransportSender">
       <parameter name="transport.mail.smtp.host"
locked="false">127.0.0.1</parameter>
       <parameter name="transport.mail.smtp.user"
locked="false">axis2</parameter>
       <parameter name="transport.mail.smtp.password"
locked="false">axis2</parameter>
       <parameter name="transport.mail.smtp.port"
locked="false">25</parameter>
   </transportSender>
   
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Global Modules  
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Comment this to disable Addressing 
  --> 
  <module ref="addressing" /> 
- <!-- 
Configuring module , providing parameters for modules whether they refer
or not
  --> 
- <!-- 
<moduleConfig name="addressing">
  --> 
- <!-- 
<parameter name="addressingPara" locked="false">N/A</parameter>
  --> 
- <!-- 
</moduleConfig>
  --> 
- <!-- 
 ================================================= 
  --> 
- <!-- 
 Phases  
  --> 
- <!-- 
 ================================================= 
  --> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phaseOrder type="inflow">
- <!-- 
  System pre defined phases       
  --> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phase name="Transport">
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="RequestURIBasedDispatcher"
class="org.apache.axis2.engine.RequestURIBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="SOAPActionBasedDispatcher"
class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
  </phase>
  <phase name="Security" /> 
  <phase name="PreDispatch" /> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phase name="Dispatch"
class="org.apache.axis2.engine.DispatchPhase">
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="AddressingBasedDispatcher"
class="org.apache.axis2.engine.AddressingBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="InstanceDispatcher"
class="org.apache.axis2.engine.InstanceDispatcher">
  <order phase="PostDispatch" /> 
  </handler>
  </phase>
- <!-- 
  System pre defined phases       
  --> 
- <!-- 
   After Postdispatch phase module author or or service author can add
any phase he want      
  --> 
  <phase name="OperationInPhase" /> 
  </phaseOrder>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phaseOrder type="outflow">
- <!-- 
      user can add his own phases to this area  
  --> 
  <phase name="OperationOutPhase" /> 
- <!-- 
system predefined phase
  --> 
- <!-- 
these phase will run irrespective of the service
  --> 
  <phase name="PolicyDetermination" /> 
  <phase name="MessageOut" /> 
  </phaseOrder>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phaseOrder type="INfaultflow">
  <phase name="PreDispatch" /> 
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phase name="Dispatch"
class="org.apache.axis2.engine.DispatchPhase">
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="RequestURIBasedDispatcher"
class="org.apache.axis2.engine.RequestURIBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="SOAPActionBasedDispatcher"
class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="AddressingBasedDispatcher"
class="org.apache.axis2.engine.AddressingBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
  <order phase="Dispatch" /> 
  </handler>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <handler
name="InstanceDispatcher"
class="org.apache.axis2.engine.InstanceDispatcher">
  <order phase="PostDispatch" /> 
  </handler>
  </phase>
- <!-- 
      user can add his own phases to this area  
  --> 
  <phase name="OperationInFaultPhase" /> 
  </phaseOrder>
-
<file:///C:/Program%20Files/IBM/Rational/SDP/6.0/runtimes/base_v6/profil
es/default/installedApps/U0014135-XPANode01Cell/axis2ReleaseEAR.ear/axis
2Release.war/WEB-INF/conf/axis2.xml#>  <phaseOrder type="Outfaultflow">
- <!-- 
      user can add his own phases to this area  
  --> 
  <phase name="OperationOutFaultPhase" /> 
  <phase name="PolicyDetermination" /> 
  <phase name="MessageOut" /> 
  </phaseOrder>
  </axisconfig>

________________________________

From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Thursday, August 17, 2006 2:24 PM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 in WebSphere6


Do you have security enabled in your app?
Send us the axis2.xml
 
Regards
M-
*********************************************************************
This email message and any files transmitted with it contain
confidential
information intended only for the person(s) to whom this email message
is
addressed.  If you have received this email message in error, please
notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 

	----- Original Message ----- 
	From: david.ziebol@thomson.com 
	To: axis-user@ws.apache.org ; mgainty@hotmail.com 
	Sent: Thursday, August 17, 2006 1:34 PM
	Subject: RE: Axis 2 in WebSphere6

	Security wasn't it.
	 
	Seems to have to do with WebSphere using the aar file without
unpacking it and class path issues.  I have (in the last hour) it
working, but haven't done much testing to insure it is all really
working.  
	 
	Thanks for the suggestion!
	 
	Dave Ziebol

________________________________

	From: Martin Gainty [mailto:mgainty@hotmail.com] 
	Sent: Thursday, August 17, 2006 11:32 AM
	To: axis-user@ws.apache.org
	Cc: david_ziebol@hotmail.com
	Subject: Re: Axis 2 in WebSphere6
	
	
	David-
	
	From what I read there is a bug implementing security modules
(rampart etc) in axis2.xml
	I would comment out everything relating to security in axis2.xml
and retry
	Ask Dims how to put in a JIRA to correct
	 
	HTH,
	Martin -
	
*********************************************************************
	This email message and any files transmitted with it contain
confidential
	information intended only for the person(s) to whom this email
message is
	addressed.  If you have received this email message in error,
please notify
	the sender immediately by telephone or email and destroy the
original
	message without making a copy.  Thank you.
	 
	
	
	 

		Hi 
		 
		I have Axis 2 running inside Websphere 6 and I can bring
up the Admin page.  The same service which I have running in Tomcat, I
am attempting to put into the instance of Axis2 running in Websphere.
But it seems that the WEB-INF\services.xml which is so readily found in
Tomcat is not locatable within Websphere 6.  The error is as follows
		Error: org.apache.axis2.deployment.DeploymentException:
services.xml not found for service 'C:\Program
Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\installedAp
ps\U0014135-XPANode01Cell\axis2ReleaseEAR.ear\axis2Release.war\WEB-INF\s
ervices\FoundationServicesServerService.aar'; nested exception is:
org.apache.axis2.deployment.DeploymentException: services.xml not found
for service 'C:\Program
Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\installedAp
ps\U0014135-XPANode01Cell\axis2ReleaseEAR.ear\axis2Release.war\WEB-INF\s
ervices\FoundationServicesServerService.aar' at
org.apache.axis2.deployment.repository.util.ArchiveReader.processService
Group(ArchiveReader.java:124) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:620) at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList
.java:195) at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener
.java:207) at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL
istener.java:155) at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngi
ne.java:91) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBas
edAxisConfigurator.java:142) at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:42) at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
tjava:213) at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:182)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:
274) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper
.java:1398) at
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServlet
Wrapper(WebExtensionProcessor
		 
		 
		Any assistence would be greatly appreciated.
		 
		Thanks
		 
		Dave Ziebol


Mime
View raw message