You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Charak, Vikas" <vi...@cns-inc.com> on 2006/09/12 15:41:35 UTC

[Axis2] Calling service on Websphere-Urgent

Hi ,

We are in the process of approving Axis2 to be used on a large scale
project. In order to get approval we should be able to call web services
deployed in Axis2 on WebSphere.

I have been successful in deploying and calling services on JBoss but
not on WebSphere.

I am using Websphere Version 6 on XP box. 

Axis2 deployment works fine and when you go to list service web page of
Axis2 you can see the version service deployed also.

But when I invoke it I get the following message where as same call
works for Jboss (by changing port to Jboss server port).

Please suggest.

Is there anyone who has successfully deployed on WebSphere?

 

 

Service not found operation terminated !!

<Exception>org.apache.axis2.AxisFault: Service not found operation
terminated !!&#xd;

      at
org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContex
t(InstanceDispatcher.java:113)&#xd;

      at
org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.jav
a:64)&#xd;

      at org.apache.axis2.engine.Phase.invoke(Phase.java:377)&#xd;

      at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:517)&#xd;

      at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:488)&#xd;

      at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
t(HTTPTransportUtils.java:309)&#xd;

      at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:201)
&#xd;

      at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)&#xd;

      at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&#xd;

      at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1212)&#xd;

      at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:629)&#xd;

      at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:80)&#xd;

      at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:165
7)&#xd;

      at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:7
7)&#xd;

      at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:421)&#xd;

      at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:367)&#xd;

      at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLi
nk.java:276)&#xd;

      at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscr
iminaters(NewConnectionInitialReadCallback.java:201)&#xd;

      at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(Ne
wConnectionInitialReadCallback.java:103)&#xd;

      at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:548)&#xd;

      at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:601)&#xd;

      at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:934)&#xd;

      at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
.java:1021)&#xd;

      at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)&#xd;

</Exception>

 

 

 

 

Another thing which I noticed on Axis2 happiness page is following 


Examining Version Service


There was a problem of examine Version service , may be the service not
available or some thing has gone wrong. But this does not mean system
does not working ! Try to upload a some other service and check to see
whether it is working. 

 

 

Web Sphere trace.log

 

[9/11/06 17:45:11:990 EDT] 00000016 WebGroup      A   SRVE0169I: Loading
Web Module: Apache-Axis2.

[9/11/06 17:45:12:000 EDT] 00000018 ApplicationMg A   WSVR0221I:
Application started: filetransfer

[9/11/06 17:45:13:092 EDT] 00000016 DeploymentEng I   Deploying module :
addressing

[9/11/06 17:45:13:122 EDT] 00000016 DeploymentEng I   Deploying module :
soapmonitor

[9/11/06 17:45:13:382 EDT] 00000016 SystemOut     O   [JAM] Warning: You
are running under a pre-1.5 JDK.  JSR175-style source annotations will
not be available

 

 

[9/11/06 17:45:13:452 EDT] 00000016 DeploymentEng I   Deploying Web
service  version.aar

[9/11/06 17:45:13:673 EDT] 00000016 ServletWrappe A   SRVE0242I:
[AxisServlet]: Initialization successful.

[9/11/06 17:45:13:723 EDT] 00000016 VirtualHost   I   SRVE0250I: Web
Module Apache-Axis2 has been bound to default_host[*:9080,*:80,*:9443].

[9/11/06 17:45:13:803 EDT] 00000019 WebGroup      A   SRVE0169I: Loading
Web Module: adminconsole redirector.

[9/11/06 17:45:13:863 EDT] 00000016 ApplicationMg A   WSVR0221I:
Application started: axis2

[9/11/06 17:45:13:873 EDT] 00000019 VirtualHost   I   SRVE0250I: Web
Module adminconsole redirector has been bound to
admin_host[*:9060,*:9043].

 

 


Axis2 Happiness Page


Examining webapp configuration


Essential Components


Found Apache-Axis (org.apache.axis2.transport.http.AxisServlet) at
C:\Program
Files\IBM\WebSphere\AppServer\profiles\default\installedApps\charakvltxp
Node01Cell\axis2.ear\axis2.war\WEB-INF\lib\axis2-kernel-SNAPSHOT.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log) at
C:\Program Files\IBM\WebSphere\AppServer\lib\commons-logging-api.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader) at
C:\Program
Files\IBM\WebSphere\AppServer\profiles\default\installedApps\charakvltxp
Node01Cell\axis2.ear\axis2.war\WEB-INF\lib\stax-api-1.0.1.jar
Found Streaming Impl for XML implementation
(org.codehaus.stax2.XMLStreamWriter2) at C:\Program
Files\IBM\WebSphere\AppServer\profiles\default\installedApps\charakvltxp
Node01Cell\axis2.ear\axis2.war\WEB-INF\lib\wstx-asl-3.0.0.jar


The core axis2 libraries are present. 


Note: Even if everything this page probes for is present, there is no
guarantee your web axisService will work, because there are many
configuration options that we do not check for. These tests are
necessary but not sufficient 


Examining Version Service


There was a problem of examine Version service , may be the service not
available or some thing has gone wrong. But this does not mean system
does not working ! Try to upload a some other service and check to see
whether it is working. 


Examining Application Server

Servlet version

2.4

Platform

IBM WebSphere Application Server/6.0


Examining System Properties

java.vendor=IBM Corporation
com.ibm.SOAP.requestTimeout=600
com.ibm.ejs.jts.processType=server
os.name=Windows XP
sun.boot.class.path=C:\Program
Files\IBM\WebSphere\AppServer/java/jre/lib/ext/ibmorb.jar;C:\Program
Files\IBM\WebSphere\AppServer/java/jre/lib/ext/ibmext.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\core.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\graphics.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\security.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\server.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\xml.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\charsets.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmcertpathprovider.jar;C:\Pr
ogram
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjaasactivelm.jar;C:\Progra
m Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjaaslm.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjcefw.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjgssprovider.jar;C:\Progra
m Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjssefips.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmjsseprovider.jar;C:\Progra
m Files\IBM\WebSphere\AppServer\java\jre\lib\ibmorb.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmorbapi.jar;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\ibmpkcs.jar
sun.java2d.fontpath=
java.vm.specification.vendor=Sun Microsystems Inc.
java.runtime.version=1.4.2
user.name=SYSTEM
java.compiler=jitc
was.install.root=C:\Program Files\IBM\WebSphere\AppServer
db2j.system.home=C:\Program Files\IBM\WebSphere\AppServer/cloudscape
user.language=en
was.repository.temp=C:\Program
Files\IBM\WebSphere\AppServer\profiles\default\config\temp\
sun.boot.library.path=C:\Program
Files\IBM\WebSphere\AppServer\java\jre\bin
java.version=1.4.2
java.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager
user.timezone=America/New_York
server.root=C:\Program Files\IBM\WebSphere\AppServer/profiles/default
sun.arch.data.model=32
javax.rmi.CORBA.UtilClass=com.ibm.ws.orb.WSUtilDelegateImpl
java.endorsed.dirs=C:\Program
Files\IBM\WebSphere\AppServer\java\jre\lib\endorsed
file.encoding.pkg=sun.io
file.separator=\
java.specification.name=Java Platform API Specification
java.class.version=48.0
user.country=US
was.status.socket=1446
java.home=C:\Program Files\IBM\WebSphere\AppServer\java\jre
java.vm.info=J2RE 1.4.2 IBM Windows 32 build cn142sr1w-20041028 (JIT
enabled: jitc)
os.version=5.1
java.awt.fonts=
path.separator=;
java.vm.version=1.4.2
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFac
tory
user.variant=
console.encoding=Cp850
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.security.policy=C:\Program
Files\IBM\WebSphere\AppServer/profiles/default/properties/server.policy
sun.io.unicode.encoding=UnicodeLittle
awt.toolkit=sun.awt.windows.WToolkit
was.repository.root=C:\Program
Files\IBM\WebSphere\AppServer/profiles/default\config
java.assistive=ON
java.naming.factory.url.pkgs=com.ibm.ws.runtime
user.home=C:\
java.specification.vendor=Sun Microsystems Inc.
invokedviajava=
java.library.path=C:\Program
Files\IBM\WebSphere\AppServer\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;
C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program
Files\IBM\WebSphere\AppServer\java\bin;C:\Program
Files\IBM\WebSphere\AppServer\java\jre\bin;c:\ruby\bin;C:\oracle\product
\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\o
racle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C
:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control
Panel;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program
Files\Java\jdk1.5.0_04\bin;C:\Program Files\Sybase\Adaptive Server
Anywhere
6.0\win32;C:\SilverStream37\bin;C:\SilverStream35\bin;C:\Program
Files\QuickTime\QTSystem\; ;C:\Program Files\apache-ant-1.6.5\bin
java.vendor.url=http://www.ibm.com/
java.vm.vendor=IBM Corporation
java.fullversion=J2RE 1.4.2 IBM Windows 32 build cn142sr1w-20041028 (JIT
enabled: jitc)
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.class.path=C:\Program
Files\IBM\WebSphere\AppServer/profiles/default/properties;C:\Program
Files\IBM\WebSphere\AppServer/properties;C:\Program
Files\IBM\WebSphere\AppServer/lib/bootstrap.jar;C:\Program
Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program
Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program
Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar
ws.ext.dirs=C:\Program Files\IBM\WebSphere\AppServer/java/lib;C:\Program
Files\IBM\WebSphere\AppServer/profiles/default/classes;C:\Program
Files\IBM\WebSphere\AppServer/classes;C:\Program
Files\IBM\WebSphere\AppServer/lib;C:\Program
Files\IBM\WebSphere\AppServer/installedChannels;C:\Program
Files\IBM\WebSphere\AppServer/lib/ext;C:\Program
Files\IBM\WebSphere\AppServer/web/help;C:\Program
Files\IBM\WebSphere\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbd
eploy/runtime
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.version=1.0
java.util.logging.configureByServer=true
sun.os.patch.level=Service Pack 2
user.install.root=C:\Program
Files\IBM\WebSphere\AppServer/profiles/default
java.io.tmpdir=C:\WINDOWS\TEMP\
java.vendor.url.bug=
ibm.system.encoding=Cp1252
os.arch=x86
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
ibm.websphere.preload.classes=true
java.ext.dirs=C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\ext
user.dir=C:\Program Files\IBM\WebSphere\AppServer\profiles\default
com.ibm.itp.location=C:\Program Files\IBM\WebSphere\AppServer/bin
line.separator=
 
java.vm.name=Classic VM
java.security.auth.login.config=C:\Program
Files\IBM\WebSphere\AppServer/profiles/default/properties/wsjaas.conf
com.ibm.vm.bitmode=32
java.naming.provider.url=corbaloc:rir:/NameServiceServerRoot
file.encoding=Cp1252
java.specification.version=1.4