Internal server error - processLoanApp of loanGateway1 example
I am receiving an Internal Server Error while attempting to call the processLoanApp operation on the sample service bus example loanGateway1 proxy service. I generated some code from the wsdl definition. The wsdl for LoanStruct defines NumOfYear as an int while the underlying class defines it as a string. This causes a request to fail when the request includes the type of each attribute as part of the request. For example, the following request will fail:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:processLoanApp soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://example.org">
<loanRequest href="#id0"/>
</ns1:processLoanApp>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:LoanStruct" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="java:normal.client">
<Name xsi:type="xsd:string">Tyler Durden</Name>
<SSN xsi:type="xsd:string">111-11-1111</SSN>
<Rate href="#id1"/>
<Amount href="#id2"/>
<NumOfYear xsi:type="xsd:int">45</NumOfYear>
<Notes xsi:type="xsd:string">My Note</Notes>
</multiRef>
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">900000</multiRef>
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">5.0</multiRef>
</soapenv:Body>
</soapenv:Envelope>
But if I remove the types from the attributes the request completes succesfully (you can also change the type of the NumOfYears attribute to string and it will work):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:processLoanApp soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://example.org">
<loanRequest href="#id0"/>
</ns1:processLoanApp>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:LoanStruct" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="java:normal.client">
<Name>Tyler Durden</Name>
<SSN>111-11-1111</SSN>
<Rate href="#id1"/>
<Amount href="#id2"/>
<NumOfYear>TEST</NumOfYear>
<Notes>My Note</Notes>
</multiRef>
<multiRef id="id2">900000</multiRef>
<multiRef id="id1">5.0</multiRef>
</soapenv:Body>
</soapenv:Envelope>
I receive an internal server error. Below is the stack trace I received running this through the service bus test console:
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>
[Server CodecHandler] Failed to decode Failed to decode message
</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/>
weblogic.wsee.codec.CodecException: Failed to decode message
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:142)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: com.bea.xml.XmlException: java.lang.IllegalArgumentException: argument type mismatch
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:52)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.fill(ByNameRuntimeBindingType.java:351)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.basicExtractAndFill(SoapUnmarshalResult.java:244)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.extractAndFillElementProp(SoapUnmarshalResult.java:174)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.umarshalComplexElementWithId(SoapUnmarshalResult.java:395)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.unmarshalBindingType(SoapUnmarshalResult.java:114)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.fill(ByNameRuntimeBindingType.java:351)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.basicExtractAndFill(SoapUnmarshalResult.java:244)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.extractAndFillElementProp(SoapUnmarshalResult.java:174)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.umarshalComplexElementWithId(SoapUnmarshalResult.java:395)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.unmarshalBindingType(SoapUnmarshalResult.java:114)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Caused by: com.bea.xml.XmlException: java.lang.IllegalArgumentException: argument type mismatch
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:52)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.fill(ByNameRuntimeBindingType.java:351)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.basicExtractAndFill(SoapUnmarshalResult.java:244)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.extractAndFillElementProp(SoapUnmarshalResult.java:174)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.umarshalComplexElementWithId(SoapUnmarshalResult.java:395)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.unmarshalBindingType(SoapUnmarshalResult.java:114)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.fill(ByNameRuntimeBindingType.java:351)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.basicExtractAndFill(SoapUnmarshalResult.java:244)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.extractAndFillElementProp(SoapUnmarshalResult.java:174)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.umarshalComplexElementWithId(SoapUnmarshalResult.java:395)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.unmarshalBindingType(SoapUnmarshalResult.java:114)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.fill(ByNameRuntimeBindingType.java:351)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.basicExtractAndFill(SoapUnmarshalResult.java:244)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.extractAndFillElementProp(SoapUnmarshalResult.java:174)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.umarshalComplexElementWithId(SoapUnmarshalResult.java:395)
at com.bea.staxb.runtime.internal.SoapUnmarshalResult.unmarshalBindingType(SoapUnmarshalResult.java:114)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalType(UnmarshalResult.java:212)
at com.bea.staxb.runtime.internal.SoapUnmarshallerImpl.unmarshalType(SoapUnmarshallerImpl.java:93)
at weblogic.wsee.bind.runtime.internal.EncodedDeserializerContext.unmarshalType(EncodedDeserializerContext.java:66)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.internalDeserializeType(BaseDeserializerContext.java:170)
at weblogic.wsee.bind.runtime.internal.BaseDeserializerContext.deserializeType(BaseDeserializerContext.java:87)
at weblogic.wsee.codec.soap11.SoapDecoder.decodePart(SoapDecoder.java:401)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:236)
at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:163)
at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:116)
at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:136)
at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:138)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:39)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
</detail>
</soapenv:Fault>
</soapenv:Body>
I was wondering if this was a known issue, a bug, or something I am doing wrong?
Edited by jay.perkins at 12/27/2006 7:14 AM
This is a know issue with the sample application. The message sent contains an incorrect namespace and by removing the attribute types you fixed the sample message :)
Similar Messages
-
Tomcat 4.0.4 Internal Server Error with JWSDP 1.0.01 examples
Hi,
I am trying to run the JWSDP 1.0.01 tutorial examples with
Apache Tomcat 4.0.4. I have j2sdk 1.4.0.01 installed on
Windows 2000.
I have successfully built and installed the 'date' example
jwsdp-1_0_01\docs\tutorial\examples\web\date. When I point my browser at http://localhost:8080/date/ I get the following:
Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
Any ideas ?
Thanks,
Mike.Check if you've the latest servlet.jar file
-Dieter -
500 Internal Server Error in EP 7.0
Hello SDN Gurus,
I've a question about viewing detailed errors. I've got two NW04s Ent. Portal (Test and production).
I get detailed error (Error summary) in my test portal, but in the production server i couldn't get details, only "500 Internal Server Error" message. Support package levels and domains are same. Only difference is production server has two application servers.
I've tried with FQDN and with IP only, nothing changed. How can i fix that and see detailed error in production server.
For example in the test portal ;
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.ulker.ApproveView.RequiredControl(ApproveView.java:1073)
at com.ulker.ApproveView.wdDoInit(ApproveView.java:984)
at com.ulker.wdp.InternalApproveView.wdDoInit(InternalApproveView.java:561)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
... 33 more
See full exception chain for details.
In the production portal;
500 Internal Server Error
Failed to process request. Please contact your system administrator.
Thanks in advance
Kind Regards
A.K.Hi,
I think you are accessing the portal via one of the dialog instance and not using the Central instance.So you are not getting the error displayed in iview. If you want to activate navigate to system administration-system configuration-services and in portal runtime central configuration open the object and in portal .runtime .print cause .exception make it to true and restart the service. This may be for print but some where here in the services you can activate that.
For productive environment detailed exception is not recommended.Administrator can see the error log in
log files.
Thanks and regards,
gopal.sattiraju -
New Apache sites return 500 Internal Server Error for all CFML requests
This is an ugly one. I think it is an Apache2 - ColdFusion 9 web server connector problem.
I have two Solaris Unix web servers. Each of these servers have a dozen and a half Apache web sites each one connected to one of five ColdFusion instances.
All, but TWO of them are working properly. We created two new Apache web sites and connected them to a new ColdFusion instance. This worked fine on one of our boxes, the development one, but not on the other, production of course.
Whenever we try to request a cfm url from one of these sites on the production server we get a 500 Internal Server Error. HTML pages serve up just fine, and the new instance's Administrator runs fine on its 8305 port. So both Apache and ColdFusion seem to be working independently, but they are not talking to each other. All the other Apache sites connected to the other four ColdFusion instances also work properly.
This has led me to investigate the web server connectors. They have always been tricky and problematic to set up on these boxes. The built in tools have never worked for us on these boxes and we have always had to manually compile the connectors and configure the connections in the web sites..
But, as far as I can tell, all the connection setups are the same between working examples and these non-working sites.
Any insights into what else I should be checking and|or how web server connectors actually work (they have alwasy been mysterious black boxes to me) would be greatly appreciated.
TIA
IanSome more information.
I took a closer look at the logs (I wasn't looking
in the Apache logs before). I found this block for the last attempt to
request a cfm page.
[Tue Nov 23 15:17:17 2010] [notice] jrApache[18177: 60758] could not
open serverstore "/opt/jrun4/lib/wsconfig/www/jrunserver.store": No such
file or directory[Tue Nov 23 15:17:17 2010] [notice] jrApache[18177:
60758] Couldn't initialize from remote server, JRun server(s) probably
down.
What I don't understand is why could it not open that file, it is there
and it has the same permissions as all the other web server connectors.
/opt/jrun4/lib/wsconfig/www
$ ls -al
total 166
drwxr-xr-x 2 root root 512 May 29 13:51 .
drwxr-xr-x 8 root root 512 May 29 13:51 ..
-rw-r--r-- 1 root root 14 May 29 13:51 jrunservers.store
-rwxr-xr-x 1 root root 81528 May 29 13:51 mod_jrun20.so
The following is the 'calpip' connector folder that is working just fine.
/opt/jrun4/lib/wsconfig/calpip
$ ls -al
total 166
drwxr-xr-x 2 root root 512 May 29 13:51 .
drwxr-xr-x 8 root root 512 May 29 13:51 ..
-rw-r--r-- 1 root root 14 May 29 13:51 jrunservers.store
-rwxr-xr-x 1 root root 81528 May 29 13:51 mod_jrun20.so -
Error 500--Internal Server Error.PLEASE HELP .
hi,
I am using BEA weblogic server 9.0.i created a new domain named myproject.I have created directory mywebapp under applications dir.
i.e C:\bea\user_projects\domains\myproject\applications\mywebapp
I have placed my servlet class in :
C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes\Mypackage
I deployed my apllication mywebapp using admin console.
when i run the program in the browser,i get this error:
Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@17e5fde - name: 'mywebapp', context-path: '/mywebapp']: Servlet class HelloServlet for servlet myHello could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\domains\myproject\applications\mywebapp\WEB-INF\classes.
java.lang.ClassNotFoundException: HelloServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:497)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:234)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:2970)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1888)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1810)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1274)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:167)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:139)
what should i do?please help me.
byeyou are reason our error is slightly different is
Error 500--Internal Server Error
javax.servlet.ServletException: [HTTP:101249][ServletContext(id=21255917,name=BonusRoot,context-path=/BonusRoot)]: Servlet class Beans.BonusServlet for servlet BonusServlet could not be loaded because the requested class was not found in the classpath C:\bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\essai\war-ic.war.
java.lang.ClassNotFoundException: Beans.BonusServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:799)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
We have try with your proposition but we find the same error
we must request servlet??? because i've one
package Beans;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
public class BonusServlet extends HttpServlet {
CalcHome homecalc;
public void init(ServletConfig config) throws ServletException{
//Look up home interface
try {
InitialContext ctx = new InitialContext();
Object objref = ctx.lookup("calcs");
homecalc = (CalcHome)PortableRemoteObject.narrow(objref, CalcHome.class);
} catch (Exception NamingException) {
NamingException.printStackTrace();
public void doGet (HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
String socsec = null;
int multiplier = 0;
double calc = 0.0;
PrintWriter out;
response.setContentType("text/html");
String title = "EJB Example";
out = response.getWriter();
out.println("<HTML><HEAD><TITLE>");
out.println(title);
out.println("</TITLE></HEAD><BODY>");
try{
Calc theCalculation;
//Retrieve Bonus and Social Security Information
String strMult =
request.getParameter("MULTIPLIER");
Integer integerMult = new Integer(strMult);
multiplier = integerMult.intValue();
socsec = request.getParameter("SOCSEC");
//Calculate bonus
double bonus = 100.00;
theCalculation = homecalc.create();
calc = theCalculation.calcBonus(multiplier, bonus);
}catch(Exception CreateException){
CreateException.printStackTrace();
//Display Data
out.println("<H1>Bonus Calculation</H1>");
out.println("<P>Soc Sec: " + socsec + "<P>");
out.println("<P>Multiplier: " + multiplier + "<P>");
out.println("<P>Bonus Amount: " + calc + "<P>");
out.println("</BODY></HTML>");
out.close();
public void destroy() {
System.out.println("Destroy");
}Help us please
Thanks -
500 Internal Server Error invoking web service
I assembled and deployed a (PL/SQL package based) web service to OC4J 9.0.4 like documented in a number of FAQs and tutorials. All went well until I try to invoke a function: I already had to add jasper.zip to the WEB-INF\lib folder to resolve a ClassDefNotFound (and succeeded), but now I receive the following error:
With Mozilla and internet Explorer 6, requesting the address
http://localhost:8888/samplews/sampleWS?invoke=getproperty
results in the error
500 Internal Server Error
java.lang.NoClassDefFoundError: sun/tools/java/RuntimeConstants
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
Ok, sun/tools/java/RuntimeConstants can be found in tools.jar (I use JDK 1.5.0_06, Oracle 10.1.0.3 and OC4J 9.0.4), so I copied %java_home%\lib\tools.jar to WEB-INF\lib of the deployed web application, restarted OC4J and verified using ProcessExplorer, which JARs and ZIPs had been loaded by "java -jar oc4j.jar". Among many others, I found all extension libraries, including the two I placed in WEB-INF\lib. But alas, still the Servlet Engine seems unable to resolve the package sun/tools/java/RuntimeConstants, despite tools.jar being obviously loaded by java.exe: the error decribed above persists.
%J2EE_HOME%\log\http-web-site.log contains
http://localhost:8888/samplews/sampleWS?invoke=getproperty HTTP/1.1" 500 3413
The other log files seem to contain no helpful info.
I'm at my wits end - what can I do? Do I miss something obvious?
Any comment or advice is welcome.Hello,
This class is part of the JDK, so could you clarify which JDK you are using and be sure that when starting OC4J you are using a JDK environment (contains for example javac command) and not a JRE (no javac).
Could you check that and post the result in the forum.
Regards
Tugdual Grall -
Invoking BPEL Process from a JSP Page 500 Internal Server Error
Hi,
I try to invoke a BPEL Process from a JSP Page and receive the following error. I just pasted the example from the Oracle PM Developer's Guide tutorial. Previously I deployed the CreditRatingService BPEL Process.
Can anyone help me, please?
D.
Here is a sequence from my JSP / and the error I get:
String ssn = request.getParameter("ssn");
if(ssn == null)
ssn = "123-12-1234";
String xml = "<ssn xmlns=\"http://services.otn.com\">"
+ ssn + "</ssn>";
Locator locator = new Locator("default","welcome1");
IDeliveryService deliveryService =
(IDeliveryService)locator.lookupService
(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to oracle bpel process manager
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload", xml );
NormalizedMessage res =
deliveryService.request("CreditRatingService", "process", nm);
Map payload = res.getPayload();
out.println( "BPELProcess CreditRatingService executed!<br>" );
out.println( "Credit Rating is " + payload.get("payload") );
500 Internal Server Error
java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookup(ApplicationContext.java:197)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at _InvokeBP._jspService(_InvokeBP.java:65)
[InvokeBP.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180
Message was edited by:
user603180Here is the solution:
Properties props = new Properties();
props.setProperty("orabpel.platform", "oc4j_10g");
props.setProperty("java.naming.factory.initial",
"com.evermind.server.rmi.RMIInitialContextFactory");
props.setProperty("java.naming.provider.url", "ormi://localhost/orabpel");
props.setProperty("java.naming.security.principal", "oc4jadmin");
props.setProperty("java.naming.security.credentials", "welcome1");
and several jars have to be added to the project:
Orabpel.jar , Orabpel-common.jar, oc4j*.jar,
%ANT_HOME%\lib\ant.jar;
%ANT_HOME%\lib\xercesImpl.jar;
%ANT_HOME%\lib\xml-apis.jar;
%AXIS_HOME%\lib\axis.jar;
%AXIS_HOME%\lib\axis-ant.jar;
%AXIS_HOME%\lib\commons-discovery.jar;
%AXIS_HOME%\lib\commons-logging.jar;
%AXIS_HOME%\lib\jaxrpc.jar;
%AXIS_HOME%\lib\log4j-1.2.8.jar;
%AXIS_HOME%\lib\saaj.jar;
%AXIS_HOME%\lib\wsdl4j.jar; -
Who Can help me? About "Error 500--Internal Server Error"
Dear,brothers,
I can run AdminMain in "http://192.9.100.3:7001/AdminMain". But when I run
pooltest in
"http://192.9.100.3:7001/pooltest". It cannot work.It displays:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
When I see the weblogic.log,there are some information about it:
Wed Jun 28 20:03:51 MDT 2000:<E> <IIOPSocket> failed to configure user for
iiop protocol
Wed Jun 28 20:03:56 MDT 2000:<E> <ServletContext-General> Error casting
servlet: examples.jdbc.oracle.simpleselect
java.lang.ClassCastException:
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:382)
at weblogic.servlet.internal.ServletStubImpl.createInstances(Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
4)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:99)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Wed Jun 28 20:03:56 MDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
javax.servlet.ServletException: Servlet class:
examples.jdbc.oracle.simpleselect does not implement javax.servlet.Servlet
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:385)
at weblogic.servlet.internal.ServletStubImpl.createInstances(Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
4)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:99)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Get the TNSNAMES.ORA file of your database and copy it in Discoverer Home (i.e., home where you installed Discoverer Administrator, usually BIToolsHome_1/network/admin). Then login to Discoverer Administrator using a new database user (usually EUL_US) which you might have created as part of installation. Once logged in, it will prompt you to create an EUL. Please follow Discoverer Installation Document.
-
HTTP 500 - Internal server error when trying to run simple HelloWorld.jsp
Hello,
I've searched the forum for a related issue and have not been able to resolve this error.
I have created a simple HelloWorld.jsp and continue to receive the Internal server error. I have tried using the host as well as the ip address to access the jsp but neither of them solve the issue.
JDev 10.1.3.2.0
These are the settings that I have configured for the embedded oc4j server:
HTTP: 8988
RMI: 23891
RMI-SSL: 24043
IIOP: 5655
IIOP-SSL: 5656
JMS: 9227
I also modified the proxy settings to use 8988 as well as the full host name.
If I click on the IP home page it takes me to the OAS overview page but I get the same error if I try to launch the App server control or example jsp's.
There are no messages in the log files.
Any ideas?Hi,
does the problem show when running thr JSP in the embedded OC4J in JDeveloper, or after deploying it to a stand alone OC4J or OracleAs?
Frank -
500 - Internal Server Error - Table or View does not Exist
When trying to use the sample restful service oracle.example.hr I get a 500 - Internal Server Error.
I have no clue what to do next. I've even tried granting public to the emp table. Nottin.
Any insight you could give would be awesome.
Here is the error:
Request Path passes syntax validation
Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
Applied database connection info
Attempting to process with PL/SQL Gateway
Not processed as PL/SQL Gateway request
Attempting to process as a RESTful Service
Determining if request can be dispatched as a Tenanted RESTful Service
Request path has one path segment, continuing processing
No Tenant Principal established yet, continuing processing
APEX_LISTENER pool exists, continuing processing
WebException [statusCode=500]
at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
at oracle.dbtools.rt.web.WebErrorResponse.internalError(WebErrorResponse.java:101)
at oracle.dbtools.rt.web.WebErrorResponse.error(WebErrorResponse.java:75)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: JDBCException [kind=NO_DATA]
at oracle.dbtools.common.jdbc.JDBCException.wrap(JDBCException.java:88)
at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:41)
at oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher.tenant(JDBCTenantDispatcher.java:104)
at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:71)
at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:37)
at oracle.dbtools.rt.web.ReTargetingDispatcher.canDispatch(ReTargetingDispatcher.java:45)
at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:160)
at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:75)
at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:53)
at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
... 14 more
Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3656)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:111)
at $Proxy104.executeQuery(Unknown Source)
at oracle.dbtools.common.jdbc.JDBCQueryImpl.resultSet(JDBCQueryImpl.java:93)
at oracle.dbtools.common.jdbc.JDBCResultRowIterator.<init>(JDBCResultRowIterator.java:28)
at oracle.dbtools.common.jdbc.JDBCQueryImpl.execute(JDBCQueryImpl.java:53)
at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:38)
... 23 moreMay be the default parsing schema in your Apex workspace cannot access table EMP. Try and qualify table EMP and grant access from containing schema to Apex parsing schema. Hope being helpful, regards.
-
HTTP Error Code 500 Internal Server Error creating connection
Hi, i have an error when i try to create a database connection
i have windows 7
php 5
mysql 5
if i try to connect to mysql with a icode i gererate it connects perfect.
if i use for example ems mysql manager it connects perfect to the databases
but when i try to create a connection in dreamweaver it appears:
HTTP Error Code 500 Internal Server Error
i dont know what to do.
i have done a lot of steps for solve other errors:
- chance mysql passwords for old_password
- remove cache file
any idea ??
thanks.I would look at your log files on your server to see what is the issue.
You most likely will have a php error log and a server error log. That will point you in the right direction. -
Restful webservice Internal Server Error PUT POST DELETE
Hi ,
When I make a RESTful webservice on the Oracle Cloud with a PUT,POST or DELETE method, the test results is always the same error: "500 - Internal Server Error".
The GET method causes no problems and gives me the value in JSON format.
Can anyone help me because I can't find an Oracle example with one of these methods?Java Cloud Service does support RESTful WebServices based on JAX-RS 1.1 specification & Jersey 1.9 implementation.
Please follow the documentation for http://docs.oracle.com/cd/E23943_01/web.1111/e13734/rest.htm#CHDCGFCH (Section Using the Jersey JAX-RS Reference Implementation)
The required Jersey 1.9 shared library is pre-deployed in all the Java Cloud Service instances , you only need to add the reference of this shared lib in your weblogic.xml.
The following example shows how to update the weblogic.xml file to use the Jersey JAX-RS RI Version 1.9.
<library-ref>
<library-name>jax-rs</library-name>
<specification-version>1.1</specification-version>
<implementation-version>1.9</implementation-version>
<exact-match>false</exact-match>
</library-ref> -
HTTP 500 internal Server ERROR, Application error occurred ...
Hello Friends,<br/>
i'm facing a suspictious problem and hope, one of you can help me. When i try to connect to J2EE-Startpage http://<server>:50000 or http://<server>:8000 i get the following Error<br/><br/>
500 internal Server Error<br/>
Application error occurred during the request procession.<br/>
Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:<br/>
Error compiling [/main.jsp] of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].<br/>
Exception id: 005056906BAB0255000A676D00000F800004855341DFB776<br/>
<br/>
What happened before:<br/>
I applied the J2EE-Part of EHP4 Upgrade with JSPM to the Java-Stack. Deployment has finished without any errors.<br/>
<br/>
Situation:<br/>
Java-Stack is running and connected per SAPJSF to ABAP-Stack. Processes in SAPMMC are green. Java-Stack is allocating it's memory (about 1.5 GB) as i can see in Taskmanager and sysinternal`s processxplorer. I set Java-Parameter corresponding to note 723909 (696410, 716604) and upgraded JDK to latest version (1.4.2_26). Starting and stopping the Java-Stack with transaction SMICM works as it should. Even the Webservices for 3'rd Party-Applications supplied by the java-stack are working. Deployed Components in Service "Deploy" in VisualAdmin -> Server_0 are OK and connection to DB is up. Reboot of server doesn't help in this case. Anything seem's to be fine except i'm not able to access J2EE-Applications per Webbrowser, not on the werver itself by using localhost, nor by using fqdn on my client workstation. System: w2K3 x32Bit, MaxDB 7.7.07 Build 16, SUN JDK 1.4.2_26<br/>
<br/>
access the portal http://<server>:50000/irj/portal throws the following Error:<br/>
Portal-Laufzeitfehler<br/>
Ausnahme bei der Verarbeitung des Requests; senden Sie die ID der Ausnahme an Ihren Portaladministrator<br/>
Ausnahme-ID 01:24_29/04/10_0001_2133850<br/>
Weitere Details zu dieser Ausnahme finden Sie in der entsprechenden Protokolldatei <br/>
<br/>
http://<server>:50000/sld<br/>
500 Internal server Error<br/>
Application error occurred during the request procession. <br/>
Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:<br/>
Error compiling [/index.jsp] of alias [sld] of J2EE application [sap.com/com.sap.lcr].<br/>
Exception id: [005056906BAB00C3000085210000096C0004855448A9FAC3]<br/>
<br/>
http://<server>:50000/useradmin<br/>
500 Internal server Error<br/>
Application error occurred during the request procession. <br/>
Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:<br/>
Error compiling [/index.jsp] of alias [useradmin] of J2EE application [sap.com/com.sap.security.core.admin].<br/>
Exception id: [005056906BAB00280000A0A50000096C00048554574171DB]<br/>
<br/>
but connecting to "Hello World" Example http://<server>:50000/Hello works pretty good (don't know why)<br/>
<br/>
Many many thanks for your ideas, suggestions ...
Regards
MatthiasHi Shitij,
thank you very much for your advice and sorry for beeing so late.<br/>
You're absolutely right. there are some error's i've to look for. <br/>
The confusing thing is, that the tracefiles DefaultTrace.<NO>.trc are filled up in about 5 seconds with 10 MB Stuff. In our productive Environment, this is not the case. Below, i attached the last lines from DefaultTrace.1.trc where i tried to connect to the webaccess. By the Way, there's an DB-connect error, even though there are some SAPEC6DB sessions in DBM-Gui. Probably i've to raise up the numbers of maximum connections in VisualAdmin.DB-session usage in DMB-gui is 53%. I will post DM-Connection error from DefaultTrace.<NO> in next Post.
<br/><br/>
<pre>
part 1:
#1.5 #005056906BAB016C000010C700002A380004855B94F9FD87#1272528294816#com.sap.engine.compilation#sap.com/com.sap.engine.docs.examples#com.sap.engine.compilation.DirObject.deleteDir(true)#J2EE_GUEST#0##n/a##e54700ce536511dfb80c005056906bab#SAPEngine_Application_Thread[impl:3]_33##0#0#Debug##Plain###The directory [D:
usr
sap
EC6
DVEBMGS00
j2ee
cluster
server0
compilerTempDir
compiler_Apr_29_at_10.4] was successfully deleted.#
#1.5 #005056906BAB016C000010C800002A380004855B94FA0015#1272528294816#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##e54700ce536511dfb80c005056906bab#SAPEngine_Application_Thread[impl:3]_33##0#0#Error##Plain###application [] Error in compiling the jsp file D:/usr/sap/EC6/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/main.jsp. The error is: java.lang.NullPointerException
at com.sap.engine.compilation.ExternalCompiler.getErrorMessage(ExternalCompiler.java:188)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compileExternalWithCompilationLib(JavaCompiler.java:109)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compile(JavaCompiler.java:319)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:369)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:107)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:242)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.reCompileAndGetClassName(JSPServlet.java:532)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
#1.5 #005056906BAB016C000010CA00002A380004855B94FA00EC#1272528294816#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.server.jsp.JSPParser#J2EE_GUEST#0##n/a##e54700ce536511dfb80c005056906bab#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server/WebRequests#Plain###application [] Error in compiling the jsp file D:/usr/sap/EC6/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/main.jsp.
The error is: java.lang.NullPointerException: null
Exception id: [005056906BAB016C000010C800002A380004855B94FA0015]#
#1.5 #005056906BAB016C000010CB00002A380004855B94FA041F#1272528294816#com.sap.engine.services.WebContainer#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.WebContainer#J2EE_GUEST#0##n/a##e54700ce536511dfb80c005056906bab#SAPEngine_Application_Thread[impl:3]_33##0#0#Path##Java###Exception #1#: Error while compiling JSP file [D:/usr/sap/EC6/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/main.jsp].
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1175)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:263)
at com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException.<init>(WebServletException.java:57)
at com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException.<init>(CompilingException.java:67)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:384)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:107)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:242)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.reCompileAndGetClassName(JSPServlet.java:532)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: java.lang.NullPointerException
at com.sap.engine.compilation.ExternalCompiler.getErrorMessage(ExternalCompiler.java:188)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compileExternalWithCompilationLib(JavaCompiler.java:109)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compile(JavaCompiler.java:319)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:369)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:107)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:242)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.reCompileAndGetClassName(JSPServlet.java:532)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
#1.5 #005056906BAB016C000010CC00002A380004855B94FA06F2#1272528294816#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/com.sap.engine.docs.examples#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#0##n/a##e54700ce536511dfb80c005056906bab#SAPEngine_Application_Thread[impl:3]_33##0#0#Error##Plain###application [/] Processing HTTP request to servlet [jsp] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while compiling JSP file [D:/usr/sap/EC6/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/main.jsp].
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:384)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:107)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:242)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.reCompileAndGetClassName(JSPServlet.java:532)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: java.lang.NullPointerException
at com.sap.engine.compilation.ExternalCompiler.getErrorMessage(ExternalCompiler.java:188)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compileExternalWithCompilationLib(JavaCompiler.java:109)
at com.sap.engine.services.servlets_jsp.server.jsp.JavaCompiler.compile(JavaCompiler.java:319)
at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.generateJavaFile(JSPParser.java:369)
... 19 more
</pre> -
HTTP 500 INTERNAL SERVER ERROR ixml mini renderer_rec: invalid arg
Hi...
this days we installed sap netweaver 7.0, and now I begin to try, execute service examples ( the folder samples of bc/sap/gui/its, I try with example_flow_M, iac_flight ... but i have always the same problem: http error 500, internal server error, and i can't inicializate anything,
the services are published, and if I debug the service, the pbo of asociate transactions runs, without problems, and after the error appear,
I try to trace the service and I found:
ERROR => ixml mini renderer_rec: invalid arg [xmxxr_id1323 ]
ERROR => ixml mini renderer_rec: invalid arg [xmxxr_id1323 ]
ERROR => ixml mini renderer_rec: invalid arg [xmxxr_id1316 ]
ERROR => julep: PpioCreateParseTree: IRepRetrieve(templates\system\header.html) failed. [w3xxppio.cpp 1184]
ERROR => julep: PpioCreateHtmlPP: PpioCreateParseTree(templates\system\header.html) failed, rc=0x10c [w3xxppio.cpp 985]
ERROR => julep: XIntInterpret: PpioCreateHtmlPP(templates\system\header.html) failed, rc=0x10c [w3xxjuce.cpp 528]
ERROR => xgdk: MsgtBuildHtmlBlock: IntpDoInterpret (templates\system\header.html) failed, rc=0x2101 [w3xxmsgt.c 220]
ERROR => plugin: XKrnHandleResponse failed rc= -52 [itspxkrn.cpp 764]
ERROR => plugin: ItspXKrn_HandleResponse failed. 000007FF51325C70 rc: 0 [itspxkrn.cpp 391]
ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c 1526]
ERROR => ipl_ConvertOut returns 1(ITSPE_FAILURE) [itsplxx.c 1529]
ERROR => Raise Last error:[1 from: itspxx.cpp :817] [itsplxx.c 1216]
ERROR => RaiseError(sapdext) ITS_P:01 [itspxx.cpp 817]
HTTP> [1] ab_HttpCleanUpExt: Error interno
REST: </p> <br/> <p> HTTP 500 - Internal Server Error <br/> <p> Su equipo Internet Communication Framework SAP </p> </td>
00000000278B7E50 000096 72766572 20457272 6f720d0a 436f6e74 rver Error..Cont
any suggestion?
PD: sorry for my poor English level,Thanks !!
But any question, when you say refresh you refer to disactivate service and activate service once, or refresh is a specific functionality, in this case, where I can find refresh service??
:S -
500 Internal Server Error with fileaccess:httpuploadform
Hi,
I'm trying out file upload examples as shown in JSP tag libraries and utilities reference. It turns out that using file-access javabean method works OK. However, when I use fileaccess taglib, 500 Internal Server Error is found. For both methds, I use the same destination and same basedir. Belows are the jsp I wrote for use in fileaccess taglib testing.
1) fileaccess.jsp
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld" prefix="fileaccess"%>
<%@ page contentType="text/html;charset=Big5-HKSCS"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=x-MS950-HKSCS">
<title>File Access</title>
</head>
<body>
<fileaccess:httpUploadForm formsAction="fileUp.jsp"
maxFileNameSize="100"
maxFiles="15"
submitButtonText="Upload">
</fileaccess:httpUploadForm>
</body>
</html>
2) fileUp.jsp
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld" prefix="fileaccess"%>
<%@ page contentType="text/html;charset=Big5-HKSCS"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=x-MS950-HKSCS">
<title>untitled</title>
</head>
<body>
<fileaccess:httpUpload destination="uploads"
destinationType="filesystem"
overwrite="true">
</fileaccess:httpUpload>
</body>
</html>
3) fileaccess.properties
fileaccess.basedir=c:/temp
Here is the stack trace:
500 Internal Server Error
javax.servlet.jsp.JspTagException
at oracle.jsp.webutil.fileaccess.tagext.HttpUploadTag.doStartTag(HttpUploadTag.java:130)
at fileUp.jspService(fileUp.jsp:9)
[fileUp.jsp]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Note: I'm using Jdeveloper 10.1.2 with stand-alone OC4J on Window2000
Does anyone have any idea of why the tag method didn't work ?Do not know what is going wrong with your situation. The exactly same setup, thanks to your complete test case, on my Windows XP works right away. By the way, you do have "C:\temp\uploads" directory that is writable, right?
Maybe you are looking for
-
DB Recovery takes a long time even after checkpointing
We observe that DB recovery takes a long time after application recovery even if we keep doing checkpoints at frequent(30 secs) intervals. These are the parameters that we use to open the environment: env_flags = DB_CREATE | /* Create the environment
-
GR non valuated ticker in account assignment category
Dear Experts, A customer have set up their own account assignment category. In this they have both the "GR non valuated" and "GR non valuated firm" ticker set. I cannot see that this makes any difference to having only the GR non valuated firm ticker
-
I have tried saving a file as .gif in fireworks, but it did not give me a transpartent background. it does in photoshop. why doesnt it do the same here? thanks.
-
Have mac mini with thunderbolt monitor 1yr old, recently updated with new 10.0.2 from apple, now iMovie doesn't seem to support my Sony HDR-XR500 camera. Is there any help on this?
-
I made an alv report and i am trying to refresh the data that i changed. I use the "FUNCTION 'REUSE_ALV_GRID_DISPLAY" . I don't know where and to use the proper function. I believe at the "At user command" events i must use it but i don't know how .