My application is deployed in the WAS 5.1, has a webservice jar file InSightService-client.jar which has a package com.aigaa.pmw.insightservi
ce.InSight
ServiceStu
b. My application was trying to call webservice which is deployed in tomcat 6.0, while initializing the InSightServiceStub, it throws this following exception. Could you please tell me what is the cause for this exception and how to fix it.
[2/18/09 13:52:49:155 EST] 611f9597 DispatchActio E org.apache.struts.actions.
DispatchAc
tion Dispatch[/Dashboard] to method 'createResultset' returned an exception
[2/18/09 13:52:49:186 EST] 611f9597 DispatchActio E org.apache.struts.actions.
DispatchAc
tion TRAS0014I: The following exception was logged java.lang.reflect.Invocati
onTargetEx
ception
at sun.reflect.NativeMethodAc
cessorImpl
.invoke0(N
ative Method)
at sun.reflect.NativeMethodAc
cessorImpl
.invoke(Na
tiveMethod
AccessorIm
pl.java(Co
mpiled Code))
at sun.reflect.NativeMethodAc
cessorImpl
.invoke(Na
tiveMethod
AccessorIm
pl.java(Co
mpiled Code))
at sun.reflect.DelegatingMeth
odAccessor
Impl.invok
e(Delegati
ngMethodAc
cessorImpl
.java(Comp
iled Code))
at java.lang.reflect.Method.i
nvoke(Meth
od.java(Co
mpiled Code))
at org.apache.struts.actions.
DispatchAc
tion.dispa
tchMethod(
DispatchAc
tion.java:
270)
at org.apache.struts.actions.
DispatchAc
tion.execu
te(Dispatc
hAction.ja
va:187)
at org.apache.struts.action.R
equestProc
essor.proc
essActionP
erform(Req
uestProces
sor.java:4
31)
at org.apache.struts.action.R
equestProc
essor.proc
ess(Reques
tProcessor
.java:236)
at org.apache.struts.action.A
ctionServl
et.process
(ActionSer
vlet.java:
1196)
at org.apache.struts.action.A
ctionServl
et.doPost(
ActionServ
let.java:4
32)
at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java:
760)
at javax.servlet.http.HttpSer
vlet.servi
ce(HttpSer
vlet.java(
Compiled Code))
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctServletI
nstance.do
Service(St
rictServle
tInstance.
java:110)
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctLifecycl
eServlet._
service(St
rictLifecy
cleServlet
.java:174)
at com.ibm.ws.webcontainer.se
rvlet.Idle
ServletSta
te.service
(StrictLif
ecycleServ
let.java:3
13)
at com.ibm.ws.webcontainer.se
rvlet.Stri
ctLifecycl
eServlet.s
ervice(Str
ictLifecyc
leServlet.
java:116)
at com.ibm.ws.webcontainer.se
rvlet.Serv
letInstanc
e.service(
ServletIns
tance.java
:283)
at com.ibm.ws.webcontainer.se
rvlet.Vali
dServletRe
ferenceSta
te.dispatc
h(ValidSer
vletRefere
nceState.j
ava:42)
at com.ibm.ws.webcontainer.se
rvlet.Serv
letInstanc
eReference
.dispatch(
ServletIns
tanceRefer
ence.java:
40)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.h
andleWebAp
pDispatch(
WebAppRequ
estDispatc
her.java:1
019)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.d
ispatch(We
bAppReques
tDispatche
r.java:592
)
at com.ibm.ws.webcontainer.we
bapp.WebAp
pRequestDi
spatcher.f
orward(Web
AppRequest
Dispatcher
.java:204)
at com.ibm.ws.webcontainer.sr
t.WebAppIn
voker.doFo
rward(WebA
ppInvoker.
java:125)
at com.ibm.ws.webcontainer.sr
t.WebAppIn
voker.hand
leInvocati
onHook(Web
AppInvoker
.java:286)
at com.ibm.ws.webcontainer.ca
che.invoca
tion.Cache
dInvocatio
n.handleIn
vocation(C
achedInvoc
ation.java
:71)
at com.ibm.ws.webcontainer.ca
che.invoca
tion.Cache
ableInvoca
tionContex
t.invoke(C
acheableIn
vocationCo
ntext.java
:116)
at com.ibm.ws.webcontainer.sr
p.ServletR
equestProc
essor.disp
atchByURI(
ServletReq
uestProces
sor.java:1
86)
at com.ibm.ws.webcontainer.os
elistener.
OSEListene
rDispatche
r.service(
OSEListene
r.java:334
)
at com.ibm.ws.webcontainer.ht
tp.HttpCon
nection.ha
ndleReques
t(HttpConn
ection.jav
a:56)
at com.ibm.ws.http.HttpConnec
tion.readA
ndHandleRe
quest(Http
Connection
.java(Comp
iled Code))
at com.ibm.ws.http.HttpConnec
tion.run(H
ttpConnect
ion.java(C
ompiled Code))
at com.ibm.ws.util.ThreadPool
$Worker.ru
n(ThreadPo
ol.java(Co
mpiled Code))
Caused by: java.lang.NoSuchMethodErro
r: javax.xml.namespace.QName:
method <init>(Ljava/lang/String;L
java/lang/
String;Lja
va/lang/St
ring;)V not found
at org.apache.axis2.engine.Di
spatchPhas
e.<clinit>
(DispatchP
hase.java:
300)
at sun.reflect.NativeConstruc
torAccesso
rImpl.newI
nstance0(N
ative Method)
at sun.reflect.NativeConstruc
torAccesso
rImpl.newI
nstance(Na
tiveConstr
uctorAcces
sorImpl.ja
va(Compile
d Code))
at sun.reflect.DelegatingCons
tructorAcc
essorImpl.
newInstanc
e(Delegati
ngConstruc
torAccesso
rImpl.java
(Compiled Code))
at java.lang.reflect.Construc
tor.newIns
tance(Cons
tructor.ja
va(Compile
d Code))
at java.lang.Class.newInstanc
e3(Class.j
ava(Compil
ed Code))
at java.lang.Class.newInstanc
e(Class.ja
va(Compile
d Code))
at org.apache.axis2.deploymen
t.AxisConf
igBuilder.
getPhase(A
xisConfigB
uilder.jav
a:749)
at org.apache.axis2.deploymen
t.AxisConf
igBuilder.
processPha
seList(Axi
sConfigBui
lder.java:
497)
at org.apache.axis2.deploymen
t.AxisConf
igBuilder.
processPha
seOrders(A
xisConfigB
uilder.jav
a:544)
at org.apache.axis2.deploymen
t.AxisConf
igBuilder.
populateCo
nfig(AxisC
onfigBuild
er.java:14
5)
at org.apache.axis2.deploymen
t.Deployme
ntEngine.p
opulateAxi
sConfigura
tion(Deplo
ymentEngin
e.java:641
)
at org.apache.axis2.deploymen
t.FileSyst
emConfigur
ator.getAx
isConfigur
ation(File
SystemConf
igurator.j
ava:116)
at org.apache.axis2.context.C
onfigurati
onContextF
actory.cre
ateConfigu
rationCont
ext(Config
urationCon
textFactor
y.java:68)
at org.apache.axis2.context.C
onfigurati
onContextF
actory.cre
ateConfigu
rationCont
extFromFil
eSystem(Co
nfiguratio
nContextFa
ctory.java
:184)
at org.apache.axis2.client.Se
rviceClien
t.configur
eServiceCl
ient(Servi
ceClient.j
ava:150)
at org.apache.axis2.client.Se
rviceClien
t.<init>(S
erviceClie
nt.java:14
3)
at com.aigaa.pmw.insightservi
ce.InSight
ServiceStu
b.<init>(I
nSightServ
iceStub.ja
va:151)
at com.aigaa.pmw.insightservi
ce.InSight
ServiceStu
b.<init>(I
nSightServ
iceStub.ja
va:137)
at com.aigaa.pmw.insightservi
ce.InSight
ServiceStu
b.<init>(I
nSightServ
iceStub.ja
va:185)
at com.aigaa.pmw.DashboardAct
ion.create
Resultset(
DashboardA
ction.java
:3311)
... 33 more