Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Result.jsp
Result.jsp [message #78853] Tue, 01 March 2005 17:15 Go to next message
Eclipse UserFriend
Originally posted by: degenaro.us.ibm.com

I get the following message from my Result.jsp:

exception: java.io.IOException: No serializer found for class
java.lang.Object in registry
org.apache.axis.encoding.TypeMappingImpl@4e396e0c

Here's the generated Result.jsp:

<%@page contentType="text/html;charset=UTF-8"%><HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleManagerProxyid" scope="session"
class="com.ibm.distillery.jmn.impl.ManagerProxy" />
<%
if (request.getParameter("endpoint") != null &&
request.getParameter("endpoint").length() > 0)
sampleManagerProxyid.setEndpoint(request.getParameter("endpoint "));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){
case 2:
gotMethod = true;
java.lang.String getEndpoint2mtemp =
sampleManagerProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
String tempResultreturnp3 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEn dpoint2mtemp));
%>
<%= tempResultreturnp3 %>
<%
}
break;
case 5:
gotMethod = true;
String endpoint_0id= request.getParameter("endpoint8");
java.lang.String endpoint_0idTemp = endpoint_0id;
sampleManagerProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
gotMethod = true;
com.ibm.distillery.jmn.impl.Manager getManager10mtemp =
sampleManagerProxyid.getManager();
if(getManager10mtemp == null){
%>
<%=getManager10mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">communicationError:</TD>
<TD>
<%
if(getManager10mtemp != null){
%>
<%=getManager10mtemp.getCommunicationError()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">oK:</TD>
<TD>
<%
if(getManager10mtemp != null){
%>
<%=getManager10mtemp.getOK()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">poorlyFormedJob:</TD>
<TD>
<%
if(getManager10mtemp != null){
%>
<%=getManager10mtemp.getPoorlyFormedJob()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">invalidSession:</TD>
<TD>
<%
if(getManager10mtemp != null){
%>
<%=getManager10mtemp.getInvalidSession()
%><%}%>
</TD>
</TABLE>
<%
}
break;
case 21:
gotMethod = true;
%>
<jsp:useBean id="java1lang_2id" scope="session" class="java.lang"
/>
<%
%>
<jsp:useBean id="java1lang1Object_1id" scope="session"
class="java.lang.Object" />
<%
%>
<jsp:useBean id="java1lang_4id" scope="session" class="java.lang"
/>
<%
%>
<jsp:useBean id="java1lang1Object_3id" scope="session"
class="java.lang.Object" />
<%
%>
<jsp:useBean id="java1lang_6id" scope="session" class="java.lang"
/>
<%
%>
<jsp:useBean id="java1lang1Object_5id" scope="session"
class="java.lang.Object" />
<%
String description_7id= request.getParameter("description36");
java.lang.String description_7idTemp = description_7id;
int submit21mtemp =
sampleManagerProxyid.submit(java1lang1Object_1id,java1lang1O bject_3id,java1lang1Object_5id,description_7idTemp);
String tempResultreturnp22 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t21mtemp));
%>
<%= tempResultreturnp22 %>
<%
break;
case 38:
gotMethod = true;
String code_8id= request.getParameter("code41");
int code_8idTemp = Integer.parseInt(code_8id);
int submit38mtemp = sampleManagerProxyid.submit(code_8idTemp);
String tempResultreturnp39 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t38mtemp));
%>
<%= tempResultreturnp39 %>
<%
break;
case 43:
gotMethod = true;
int getOK43mtemp = sampleManagerProxyid.getOK();
String tempResultreturnp44 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getOK 43mtemp));
%>
<%= tempResultreturnp44 %>
<%
break;
case 46:
gotMethod = true;
int getCommunicationError46mtemp =
sampleManagerProxyid.getCommunicationError();
String tempResultreturnp47 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getCo mmunicationError46mtemp));
%>
<%= tempResultreturnp47 %>
<%
break;
case 49:
gotMethod = true;
int getInvalidSession49mtemp =
sampleManagerProxyid.getInvalidSession();
String tempResultreturnp50 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getIn validSession49mtemp));
%>
<%= tempResultreturnp50 %>
<%
break;
case 52:
gotMethod = true;
int getPoorlyFormedJob52mtemp =
sampleManagerProxyid.getPoorlyFormedJob();
String tempResultreturnp53 =
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getPo orlyFormedJob52mtemp));
%>
<%= tempResultreturnp53 %>
<%
break;
}
} catch (Exception e) {
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>

Here's the "Botton Up" class's method in question:

/**
* submit
*/
public int submit(DstSession session, JmnId id, JmnEventHandler
eventHandler, String description)
{
return ReturnCode.OK;
}

Note that DstSession, JmnId, and JmnEventHandler are all Java interfaces.
How do I get around this problem?

Thanks.

Lou.
Re: Result.jsp [message #79159 is a reply to message #78853] Wed, 02 March 2005 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lou.degenaro.com

As best as I can tell, by specifying a method that has parameters that are
interfaces (ie - not concrete implementations) the test jsp/explorer fails
... for all methods!

I see as status:

There is nothing to be displayed in the form view. Please switch to the
source view for the SOAP request and response.

I see on the console:

- Exception:
java.lang.Exception: The OperationDesc for xsubmit was not synchronized to
a method of com.ibm.distillery.jmn.impl.Distillery.
at org.apache.axis.InternalException.<init>(InternalException.java:103)
at
org.apache.axis.description.ServiceDesc.syncOperationToClass (ServiceDesc.java:724)
at
org.apache.axis.description.ServiceDesc.getSyncedOperationsF orName(ServiceDesc.java:1013)
at
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospectionRecursive(ServiceDesc.java:887)
at
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospection(ServiceDesc.java:821)
at
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospection(ServiceDesc.java:771)
at
org.apache.axis.description.ServiceDesc.initQNameMap(Service Desc.java:502)
at
org.apache.axis.description.ServiceDesc.getOperationsByQName (ServiceDesc.java:455)
at
org.apache.axis.MessageContext.getPossibleOperationsByQName( MessageContext.java:260)
at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder .java:175)
at
org.apache.axis.encoding.DeserializationContextImpl.startEle ment(DeserializationContextImpl.java:963)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unk nown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEle ment(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(De serializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538 )
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:318 )
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:854)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:209)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:144)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2358)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:133)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:116)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:127)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:152)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:568)

Lou Degenaro wrote:

> I get the following message from my Result.jsp:

> exception: java.io.IOException: No serializer found for class
> java.lang.Object in registry
> org.apache.axis.encoding.TypeMappingImpl@4e396e0c

> Here's the generated Result.jsp:

> <%@page contentType="text/html;charset=UTF-8"%><HTML>
> <HEAD>
> <TITLE>Result</TITLE>
> </HEAD>
> <BODY>
> <H1>Result</H1>

> <jsp:useBean id="sampleManagerProxyid" scope="session"
> class="com.ibm.distillery.jmn.impl.ManagerProxy" />
> <%
> if (request.getParameter("endpoint") != null &&
> request.getParameter("endpoint").length() > 0)
> sampleManagerProxyid.setEndpoint(request.getParameter("endpoint "));
> %>

> <%
> String method = request.getParameter("method");
> int methodID = 0;
> if (method == null) methodID = -1;

> if(methodID != -1) methodID = Integer.parseInt(method);
> boolean gotMethod = false;

> try {
> switch (methodID){
> case 2:
> gotMethod = true;
> java.lang.String getEndpoint2mtemp =
> sampleManagerProxyid.getEndpoint();
> if(getEndpoint2mtemp == null){
> %>
> <%=getEndpoint2mtemp %>
> <%
> }else{
> String tempResultreturnp3 =
> org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEn dpoint2mtemp));
> %>
> <%= tempResultreturnp3 %>
> <%
> }
> break;
> case 5:
> gotMethod = true;
> String endpoint_0id= request.getParameter("endpoint8");
> java.lang.String endpoint_0idTemp = endpoint_0id;
> sampleManagerProxyid.setEndpoint(endpoint_0idTemp);
> break;
> case 10:
> gotMethod = true;
> com.ibm.distillery.jmn.impl.Manager getManager10mtemp =
> sampleManagerProxyid.getManager();
> if(getManager10mtemp == null){
> %>
> <%=getManager10mtemp %>
> <%
> }else{
> %>
> <TABLE>
> <TR>
> <TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
> <TR>
> <TD WIDTH="5%"></TD>
> <TD COLSPAN="2" ALIGN="LEFT">communicationError:</TD>
> <TD>
> <%
> if(getManager10mtemp != null){
> %>
> <%=getManager10mtemp.getCommunicationError()
> %><%}%>
> </TD>
> <TR>
> <TD WIDTH="5%"></TD>
> <TD COLSPAN="2" ALIGN="LEFT">oK:</TD>
> <TD>
> <%
> if(getManager10mtemp != null){
> %>
> <%=getManager10mtemp.getOK()
> %><%}%>
> </TD>
> <TR>
> <TD WIDTH="5%"></TD>
> <TD COLSPAN="2" ALIGN="LEFT">poorlyFormedJob:</TD>
> <TD>
> <%
> if(getManager10mtemp != null){
> %>
> <%=getManager10mtemp.getPoorlyFormedJob()
> %><%}%>
> </TD>
> <TR>
> <TD WIDTH="5%"></TD>
> <TD COLSPAN="2" ALIGN="LEFT">invalidSession:</TD>
> <TD>
> <%
> if(getManager10mtemp != null){
> %>
> <%=getManager10mtemp.getInvalidSession()
> %><%}%>
> </TD>
> </TABLE>
> <%
> }
> break;
> case 21:
> gotMethod = true;
> %>
> <jsp:useBean id="java1lang_2id" scope="session" class="java.lang"
> />
> <%
> %>
> <jsp:useBean id="java1lang1Object_1id" scope="session"
> class="java.lang.Object" />
> <%
> %>
> <jsp:useBean id="java1lang_4id" scope="session" class="java.lang"
> />
> <%
> %>
> <jsp:useBean id="java1lang1Object_3id" scope="session"
> class="java.lang.Object" />
> <%
> %>
> <jsp:useBean id="java1lang_6id" scope="session" class="java.lang"
> />
> <%
> %>
> <jsp:useBean id="java1lang1Object_5id" scope="session"
> class="java.lang.Object" />
> <%
> String description_7id= request.getParameter("description36");
> java.lang.String description_7idTemp = description_7id;
> int submit21mtemp =
>
sampleManagerProxyid.submit(java1lang1Object_1id,java1lang1O bject_3id,java1lang1Object_5id,description_7idTemp);
> String tempResultreturnp22 =
> org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t21mtemp));
> %>
> <%= tempResultreturnp22 %>
> <%
> break;
> case 38:
> gotMethod = true;
> String code_8id= request.getParameter("code41");
> int code_8idTemp = Integer.parseInt(code_8id);
> int submit38mtemp = sampleManagerProxyid.submit(code_8idTemp);
> String tempResultreturnp39 =
> org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t38mtemp));
> %>
> <%= tempResultreturnp39 %>
> <%
> break;
> case 43:
> gotMethod = true;
> int getOK43mtemp = sampleManagerProxyid.getOK();
> String tempResultreturnp44 =
> org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getOK 43mtemp));
> %>
> <%= tempResultreturnp44 %>
> <%
> break;
> case 46:
> gotMethod = true;
> int getCommunicationError46mtemp =
> sampleManagerProxyid.getCommunicationError();
> String tempResultreturnp47 =
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getCo mmunicationError46mtemp));
> %>
> <%= tempResultreturnp47 %>
> <%
> break;
> case 49:
> gotMethod = true;
> int getInvalidSession49mtemp =
> sampleManagerProxyid.getInvalidSession();
> String tempResultreturnp50 =
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getIn validSession49mtemp));
> %>
> <%= tempResultreturnp50 %>
> <%
> break;
> case 52:
> gotMethod = true;
> int getPoorlyFormedJob52mtemp =
> sampleManagerProxyid.getPoorlyFormedJob();
> String tempResultreturnp53 =
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getPo orlyFormedJob52mtemp));
> %>
> <%= tempResultreturnp53 %>
> <%
> break;
> }
> } catch (Exception e) {
> %>
> exception: <%= e %>
> <%
> return;
> }
> if(!gotMethod){
> %>
> result: N/A
> <%
> }
> %>
> </BODY>
> </HTML>

> Here's the "Botton Up" class's method in question:

> /**
> * submit
> */
> public int submit(DstSession session, JmnId id, JmnEventHandler
> eventHandler, String description)
> {
> return ReturnCode.OK;
> }

> Note that DstSession, JmnId, and JmnEventHandler are all Java interfaces.
> How do I get around this problem?

> Thanks.

> Lou.
Re: Result.jsp [message #80227 is a reply to message #79159] Fri, 04 March 2005 11:06 Go to previous message
Eclipse UserFriend
Hi Lou,

For the explorer:

If you switch to the source view, you should see the SOAP request message
and SOAP response message in their raw XML format. Can you post these
messages?

For the JSPs:

I believe there are two issues here. #1, the generated JSPs do not support
interfaces params. Meaning the JSPs do not allow you to browse your
workspace/modules for a concrete Java class. Please open an enhancement in
bugzilla, thanks. #2, even if JSPs allow you to browse for a concrete class,
this probably won't work because in order to serialize a Java object into
XML, you need to register a data mapping for that Java type. AFAIK, this
happens during code gen. So what this means is that the wizards (which is
responsible for driving the Axis emitters for code gen) needs to tell the
Axis emitter what "other" concrete Java classes should be registered with a
data mapping. Currently, I don't think there's such option in the wizard
that allows you to do that. Again, I would say open an enhancement in
bugzilla. Hope this helps.

Thanks,

Jeff

"Lou Degenaro" <lou@degenaro.com> wrote in message
news:d04noh$flq$1@www.eclipse.org...
> As best as I can tell, by specifying a method that has parameters that are
> interfaces (ie - not concrete implementations) the test jsp/explorer fails
> .. for all methods!
>
> I see as status:
>
> There is nothing to be displayed in the form view. Please switch to the
> source view for the SOAP request and response.
>
> I see on the console:
>
> - Exception:
> java.lang.Exception: The OperationDesc for xsubmit was not synchronized to
> a method of com.ibm.distillery.jmn.impl.Distillery.
> at org.apache.axis.InternalException.<init>(InternalException.java:103)
> at
>
org.apache.axis.description.ServiceDesc.syncOperationToClass (ServiceDesc.jav
a:724)
> at
>
org.apache.axis.description.ServiceDesc.getSyncedOperationsF orName(ServiceDe
sc.java:1013)
> at
>
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospectionRecurs
ive(ServiceDesc.java:887)
> at
>
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospection(Servi
ceDesc.java:821)
> at
>
org.apache.axis.description.ServiceDesc.loadServiceDescByInt rospection(Servi
ceDesc.java:771)
> at
> org.apache.axis.description.ServiceDesc.initQNameMap(Service Desc.java:502)
> at
>
org.apache.axis.description.ServiceDesc.getOperationsByQName (ServiceDesc.jav
a:455)
> at
>
org.apache.axis.MessageContext.getPossibleOperationsByQName( MessageContext.j
ava:260)
> at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder .java:175)
> at
>
org.apache.axis.encoding.DeserializationContextImpl.startEle ment(Deserializa
tionContextImpl.java:963)
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unk nown
> Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEle ment(Unknown
> Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme ntContentDispatc
her.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at javax.xml.parsers.SAXParser.parse(Unknown Source)
> at
>
org.apache.axis.encoding.DeserializationContextImpl.parse(De serializationCon
textImpl.java:242)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538 )
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:318 )
> at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:854)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
> at
>
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:
339)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:200)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:146)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:209)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:596)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:144)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:596)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2358)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:133
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:596)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
java:118)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:594)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:116
)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:594)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:127)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invok
eNext(StandardPipeline.java:596)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:433)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:948)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:152)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:799)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConne
ction(Http11Protocol.java:705)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:577)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.jav
a:683)
> at java.lang.Thread.run(Thread.java:568)
>
> Lou Degenaro wrote:
>
> > I get the following message from my Result.jsp:
>
> > exception: java.io.IOException: No serializer found for class
> > java.lang.Object in registry
> > org.apache.axis.encoding.TypeMappingImpl@4e396e0c
>
> > Here's the generated Result.jsp:
>
> > <%@page contentType="text/html;charset=UTF-8"%><HTML>
> > <HEAD>
> > <TITLE>Result</TITLE>
> > </HEAD>
> > <BODY>
> > <H1>Result</H1>
>
> > <jsp:useBean id="sampleManagerProxyid" scope="session"
> > class="com.ibm.distillery.jmn.impl.ManagerProxy" />
> > <%
> > if (request.getParameter("endpoint") != null &&
> > request.getParameter("endpoint").length() > 0)
> > sampleManagerProxyid.setEndpoint(request.getParameter("endpoint "));
> > %>
>
> > <%
> > String method = request.getParameter("method");
> > int methodID = 0;
> > if (method == null) methodID = -1;
>
> > if(methodID != -1) methodID = Integer.parseInt(method);
> > boolean gotMethod = false;
>
> > try {
> > switch (methodID){
> > case 2:
> > gotMethod = true;
> > java.lang.String getEndpoint2mtemp =
> > sampleManagerProxyid.getEndpoint();
> > if(getEndpoint2mtemp == null){
> > %>
> > <%=getEndpoint2mtemp %>
> > <%
> > }else{
> > String tempResultreturnp3 =
> >
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEn dpoint2mtemp));
> > %>
> > <%= tempResultreturnp3 %>
> > <%
> > }
> > break;
> > case 5:
> > gotMethod = true;
> > String endpoint_0id= request.getParameter("endpoint8");
> > java.lang.String endpoint_0idTemp = endpoint_0id;
> > sampleManagerProxyid.setEndpoint(endpoint_0idTemp);
> > break;
> > case 10:
> > gotMethod = true;
> > com.ibm.distillery.jmn.impl.Manager getManager10mtemp =
> > sampleManagerProxyid.getManager();
> > if(getManager10mtemp == null){
> > %>
> > <%=getManager10mtemp %>
> > <%
> > }else{
> > %>
> > <TABLE>
> > <TR>
> > <TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
> > <TR>
> > <TD WIDTH="5%"></TD>
> > <TD COLSPAN="2" ALIGN="LEFT">communicationError:</TD>
> > <TD>
> > <%
> > if(getManager10mtemp != null){
> > %>
> > <%=getManager10mtemp.getCommunicationError()
> > %><%}%>
> > </TD>
> > <TR>
> > <TD WIDTH="5%"></TD>
> > <TD COLSPAN="2" ALIGN="LEFT">oK:</TD>
> > <TD>
> > <%
> > if(getManager10mtemp != null){
> > %>
> > <%=getManager10mtemp.getOK()
> > %><%}%>
> > </TD>
> > <TR>
> > <TD WIDTH="5%"></TD>
> > <TD COLSPAN="2" ALIGN="LEFT">poorlyFormedJob:</TD>
> > <TD>
> > <%
> > if(getManager10mtemp != null){
> > %>
> > <%=getManager10mtemp.getPoorlyFormedJob()
> > %><%}%>
> > </TD>
> > <TR>
> > <TD WIDTH="5%"></TD>
> > <TD COLSPAN="2" ALIGN="LEFT">invalidSession:</TD>
> > <TD>
> > <%
> > if(getManager10mtemp != null){
> > %>
> > <%=getManager10mtemp.getInvalidSession()
> > %><%}%>
> > </TD>
> > </TABLE>
> > <%
> > }
> > break;
> > case 21:
> > gotMethod = true;
> > %>
> > <jsp:useBean id="java1lang_2id" scope="session"
class="java.lang"
> > />
> > <%
> > %>
> > <jsp:useBean id="java1lang1Object_1id" scope="session"
> > class="java.lang.Object" />
> > <%
> > %>
> > <jsp:useBean id="java1lang_4id" scope="session"
class="java.lang"
> > />
> > <%
> > %>
> > <jsp:useBean id="java1lang1Object_3id" scope="session"
> > class="java.lang.Object" />
> > <%
> > %>
> > <jsp:useBean id="java1lang_6id" scope="session"
class="java.lang"
> > />
> > <%
> > %>
> > <jsp:useBean id="java1lang1Object_5id" scope="session"
> > class="java.lang.Object" />
> > <%
> > String description_7id= request.getParameter("description36");
> > java.lang.String description_7idTemp = description_7id;
> > int submit21mtemp =
> >
>
sampleManagerProxyid.submit(java1lang1Object_1id,java1lang1O bject_3id,java1l
ang1Object_5id,description_7idTemp);
> > String tempResultreturnp22 =
> > org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t21mtemp));
> > %>
> > <%= tempResultreturnp22 %>
> > <%
> > break;
> > case 38:
> > gotMethod = true;
> > String code_8id= request.getParameter("code41");
> > int code_8idTemp = Integer.parseInt(code_8id);
> > int submit38mtemp = sampleManagerProxyid.submit(code_8idTemp);
> > String tempResultreturnp39 =
> > org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(submi t38mtemp));
> > %>
> > <%= tempResultreturnp39 %>
> > <%
> > break;
> > case 43:
> > gotMethod = true;
> > int getOK43mtemp = sampleManagerProxyid.getOK();
> > String tempResultreturnp44 =
> > org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getOK 43mtemp));
> > %>
> > <%= tempResultreturnp44 %>
> > <%
> > break;
> > case 46:
> > gotMethod = true;
> > int getCommunicationError46mtemp =
> > sampleManagerProxyid.getCommunicationError();
> > String tempResultreturnp47 =
> >
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getCo mmunicationError
46mtemp));
> > %>
> > <%= tempResultreturnp47 %>
> > <%
> > break;
> > case 49:
> > gotMethod = true;
> > int getInvalidSession49mtemp =
> > sampleManagerProxyid.getInvalidSession();
> > String tempResultreturnp50 =
> >
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getIn validSession49mt
emp));
> > %>
> > <%= tempResultreturnp50 %>
> > <%
> > break;
> > case 52:
> > gotMethod = true;
> > int getPoorlyFormedJob52mtemp =
> > sampleManagerProxyid.getPoorlyFormedJob();
> > String tempResultreturnp53 =
> >
>
org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getPo orlyFormedJob52m
temp));
> > %>
> > <%= tempResultreturnp53 %>
> > <%
> > break;
> > }
> > } catch (Exception e) {
> > %>
> > exception: <%= e %>
> > <%
> > return;
> > }
> > if(!gotMethod){
> > %>
> > result: N/A
> > <%
> > }
> > %>
> > </BODY>
> > </HTML>
>
> > Here's the "Botton Up" class's method in question:
>
> > /**
> > * submit
> > */
> > public int submit(DstSession session, JmnId id, JmnEventHandler
> > eventHandler, String description)
> > {
> > return ReturnCode.OK;
> > }
>
> > Note that DstSession, JmnId, and JmnEventHandler are all Java
interfaces.
> > How do I get around this problem?
>
> > Thanks.
>
> > Lou.
>
>
Previous Topic:Unable to launch Weblogic 8.1 server
Next Topic:Eclipse help system in own website - infocenter
Goto Forum:
  


Current Time: Wed Jun 18 12:12:25 EDT 2025

Powered by FUDForum. Page generated in 0.05031 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top