You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Sinha, Madhukar [IT]" <ma...@citigroup.com> on 2002/08/23 17:43:40 UTC

Problem with APACHE SOAP 2.2 config with JRUN3.0.1.


Hello everone.

I am not being able to setup apache soap 2.2 with jrun 301

I copied the soap.jar to my jrun-lib folder. currently i am not worrying
about setting up the rpcrouter and messagerouter , as we need it for client
access only.

currently i am using apache soap based servlet only as client to SOAP::Lite
based webservice. The service is very much accessible by a external client
(java or perl application).

but when i try to access it from a servlet. i get the following error --

What could be causing this NoSuchMethodError??  The method i am try to
execute exists and works from a standalone java appliacition using apache
2.2 . But when access by servlet (JRUN based) , it fails.
Please help with some insights.?


#######################################################

/risklimits/servlet/MuniRiskLimitServlet:

javax.servlet.ServletException: null
java.lang.NoSuchMethodError
	at org.apache.soap.util.xml.QName.(QName.java:80)
	at org.apache.soap.util.xml.QName.matches(QName.java:146)
	at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
	at org.apache.soap.rpc.Call.invoke(Call.java:230)
	at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.QueryGenaratorSoapClient.genera
te_query(QueryGenaratorSoapClient.java:117)
	at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.getMuniExposureBeanForDate(MuniRiskLimitExposureAccessBean.java:297)
	at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.load_exposures(MuniRiskLimitExposureAccessBean.java:164)
	at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.(MuniRiskLimitExposureAccessBean.java:34)
	at
com.ssmb.fid.ny.riskmaster.munirisklimit.web.MuniRiskLimitServlet.service(Mu
niRiskLimitServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
	at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
	at allaire.jrun.servlet.Invoker.service(Invoker.java:84)
	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
	at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
	at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
	at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
	at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
	at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

Re: Problem with APACHE SOAP 2.2 config with JRUN3.0.1.

Posted by Scott Nichol <sn...@scottnichol.com>.
JRun has loaded an XML parser that is not namespace-aware.  You must replace
the parser's jar file or change the classpath being used by JRun so that it
loads a different parser.

Scott Nichol

----- Original Message -----
From: "Sinha, Madhukar [IT]" <ma...@citigroup.com>
To: <so...@xml.apache.org>
Cc: <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:43 AM
Subject: Problem with APACHE SOAP 2.2 config with JRUN3.0.1.




Hello everone.

I am not being able to setup apache soap 2.2 with jrun 301

I copied the soap.jar to my jrun-lib folder. currently i am not worrying
about setting up the rpcrouter and messagerouter , as we need it for client
access only.

currently i am using apache soap based servlet only as client to SOAP::Lite
based webservice. The service is very much accessible by a external client
(java or perl application).

but when i try to access it from a servlet. i get the following error --

What could be causing this NoSuchMethodError??  The method i am try to
execute exists and works from a standalone java appliacition using apache
2.2 . But when access by servlet (JRUN based) , it fails.
Please help with some insights.?


#######################################################

/risklimits/servlet/MuniRiskLimitServlet:

javax.servlet.ServletException: null
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
at org.apache.soap.rpc.Call.invoke(Call.java:230)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.QueryGenaratorSoapClient.genera
te_query(QueryGenaratorSoapClient.java:117)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.getMuniExposureBeanForDate(MuniRiskLimitExposureAccessBean.java:297)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.load_exposures(MuniRiskLimitExposureAccessBean.java:164)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.(MuniRiskLimitExposureAccessBean.java:34)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.web.MuniRiskLimitServlet.service(Mu
niRiskLimitServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
at allaire.jrun.servlet.Invoker.service(Invoker.java:84)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>




Re: Problem with APACHE SOAP 2.2 config with JRUN3.0.1.

Posted by Scott Nichol <sn...@scottnichol.com>.
JRun has loaded an XML parser that is not namespace-aware.  You must replace
the parser's jar file or change the classpath being used by JRun so that it
loads a different parser.

Scott Nichol

----- Original Message -----
From: "Sinha, Madhukar [IT]" <ma...@citigroup.com>
To: <so...@xml.apache.org>
Cc: <so...@xml.apache.org>
Sent: Friday, August 23, 2002 11:43 AM
Subject: Problem with APACHE SOAP 2.2 config with JRUN3.0.1.




Hello everone.

I am not being able to setup apache soap 2.2 with jrun 301

I copied the soap.jar to my jrun-lib folder. currently i am not worrying
about setting up the rpcrouter and messagerouter , as we need it for client
access only.

currently i am using apache soap based servlet only as client to SOAP::Lite
based webservice. The service is very much accessible by a external client
(java or perl application).

but when i try to access it from a servlet. i get the following error --

What could be causing this NoSuchMethodError??  The method i am try to
execute exists and works from a standalone java appliacition using apache
2.2 . But when access by servlet (JRUN based) , it fails.
Please help with some insights.?


#######################################################

/risklimits/servlet/MuniRiskLimitServlet:

javax.servlet.ServletException: null
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
at org.apache.soap.rpc.Call.invoke(Call.java:230)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.QueryGenaratorSoapClient.genera
te_query(QueryGenaratorSoapClient.java:117)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.getMuniExposureBeanForDate(MuniRiskLimitExposureAccessBean.java:297)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.load_exposures(MuniRiskLimitExposureAccessBean.java:164)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.dao.MuniRiskLimitExposureAccessBean
.(MuniRiskLimitExposureAccessBean.java:34)
at
com.ssmb.fid.ny.riskmaster.munirisklimit.web.MuniRiskLimitServlet.service(Mu
niRiskLimitServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
at allaire.jrun.servlet.Invoker.service(Invoker.java:84)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>