JTidy in weblogic 10.3 throws AbstractMethodError
Hi all,
Last year a developed a portlet application that makes the transformation of a jTidy-DOM-SDK5 to an string as in the next snippet, this year I'm being asked to migrate that application to weblogic portal 10.3 with SDK6 and I'm getting an error as shown below.
Please assist. Thank you!
//reading HTML
Document htmlDoc = tidy.parseDOM(in, null);
//more code processing the document above
//Printing out our doc
TransformerFactory tf = TransformerFactory.newInstance();
Transformer trans = tf.newTransformer();
StringWriter sw = new StringWriter();
trans.transform(new DOMSource(htmlDoc), new StreamResult(sw));
wl_page java.lang.AbstractMethodError
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
instead of import weblogic.security.SubjectUtils; use import weblogic.security.spi.WLSUser; and get the username as below
Set users = subject.getPrincipals(WLSUser.class);
Iterator iter = users.iterator();
while (iter.hasNext()){
userName = ((WLSUser)iter.next()).getName();
System.out.println(userName);
this returns you the username
Similar Messages
-
WebLogic Test Client, throws java.lang.NoSuchMethodException
In weblogic server 10.3, the WebLogic Test Client, throws java.lang.NoSuchMethodException for “any” soap fault message from the web service.
In Detail:
Our web services uses JAX-WS spec and are deployed in WebLogic server 10.3.The web service ear file is generated using standard ant utility. We are using “WebLogic Test Client” available through WebLogic server administration console .The issue is, for “any” soap fault message from the web service, the test client generates “java.lang.NoSuchMethodException:” . The key point is we are creating this class. We are not using our own client. WebLogic Test Client 's service response section has the following stack trace.
S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Server</faultcode>
<faultstring>java.lang.NoSuchMethodException: our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</faultstring>
<detail>
<ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="com.sun.xml.ws.encoding.soap.SerializationException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
<message>java.lang.NoSuchMethodException: our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</message>
<ns2:stackTrace>
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="328" method="createDetailFromUserDefinedException" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="306" method="getFaultDetail" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="170" method="createSOAPFaultMessage" />
<ns2:frame class="com.sun.xml.ws.server.sei.EndpointMethodHandler" file="EndpointMethodHandler.java" line="265" method="invoke" />
<ns2:frame class="com.sun.xml.ws.server.sei.SEIInvokerTube" file="SEIInvokerTube.java" line="93" method="processRequest" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="598" method="__doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="557" method="_doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="542" method="doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="439" method="runSync" />
<ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="134" method="handle" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" file="HttpServletAdapter.java" line="272" method="run" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter" file="HttpServletAdapter.java" line="185" method="post" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="180" method="doPost" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="727" method="service" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="64" method="service" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="820" method="service" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" file="StubSecurityHelper.java" line="227" method="run" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper" file="StubSecurityHelper.java" line="125" method="invokeServlet" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="292" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="175" method="execute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3498" method="run" />
<ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="321" method="doAs" />
<ns2:frame class="weblogic.security.service.SecurityManager" line="unknown" method="runAs" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2180" method="securedExecute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2086" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletRequestImpl" file="ServletRequestImpl.java" line="1406" method="run" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="201" method="execute" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="173" method="run" />
</ns2:stackTrace>
<ns2:cause class="java.lang.NoSuchMethodException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
<message>our.custom.package.name.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)</message>
<ns2:stackTrace>
<ns2:frame class="java.lang.Class" file="Class.java" line="1605" method="getMethod" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="323" method="createDetailFromUserDefinedException" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="306" method="getFaultDetail" />
<ns2:frame class="com.sun.xml.ws.fault.SOAPFaultBuilder" file="SOAPFaultBuilder.java" line="170" method="createSOAPFaultMessage" />
<ns2:frame class="com.sun.xml.ws.server.sei.EndpointMethodHandler" file="EndpointMethodHandler.java" line="265" method="invoke" />
<ns2:frame class="com.sun.xml.ws.server.sei.SEIInvokerTube" file="SEIInvokerTube.java" line="93" method="processRequest" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="598" method="__doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="557" method="_doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="542" method="doRun" />
<ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="439" method="runSync" />
<ns2:frame class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle" />
<ns2:frame class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="134" method="handle" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke" file="HttpServletAdapter.java" line="272" method="run" />
<ns2:frame class="weblogic.wsee.jaxws.HttpServletAdapter" file="HttpServletAdapter.java" line="185" method="post" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="180" method="doPost" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="727" method="service" />
<ns2:frame class="weblogic.wsee.jaxws.JAXWSServlet" file="JAXWSServlet.java" line="64" method="service" />
<ns2:frame class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="820" method="service" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction" file="StubSecurityHelper.java" line="227" method="run" />
<ns2:frame class="weblogic.servlet.internal.StubSecurityHelper" file="StubSecurityHelper.java" line="125" method="invokeServlet" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="292" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletStubImpl" file="ServletStubImpl.java" line="175" method="execute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction" file="WebAppServletContext.java" line="3498" method="run" />
<ns2:frame class="weblogic.security.acl.internal.AuthenticatedSubject" file="AuthenticatedSubject.java" line="321" method="doAs" />
<ns2:frame class="weblogic.security.service.SecurityManager" line="unknown" method="runAs" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2180" method="securedExecute" />
<ns2:frame class="weblogic.servlet.internal.WebAppServletContext" file="WebAppServletContext.java" line="2086" method="execute" />
<ns2:frame class="weblogic.servlet.internal.ServletRequestImpl" file="ServletRequestImpl.java" line="1406" method="run" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="201" method="execute" />
<ns2:frame class="weblogic.work.ExecuteThread" file="ExecuteThread.java" line="173" method="run" />
</ns2:stackTrace>
</ns2:cause>
</ns2:exception>
</detail>
</S:Fault>
</S:Body>
</S:Envelope>Thanks for your assistance. Here is the log from weblogic. You may find "xxx" and "yyy" terms. these are given to our specific project oriented names. If you need any further info please let me know. Again a brief about the issue. when the service returns a fault soap message, the server trying to set the error code in a class generated by it's own where the method is not avilable. this happens for all fault soap message. In case of right response from the service no issues. all are working fine.
Note: Max 3000 characters are allowed to post. so truncating initial stack trace.
Thanks, ganesh.
<xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@2e0bd8e
Bound datums[Lxxx.sql.STRUCT;@1b2d059
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@1aa0f36
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@191d9ba
Bound datums[Lxxx.sql.STRUCT;@1dc70ec
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@1def11c
xxx JDBC connection is xxx.jdbc.driver.LogicalConnection@2683f76
Bound datums[Lxxx.sql.STRUCT;@197400e
Caused by: our.package.name.integration.services.exception.IllegalStateWSFaultException: Service Provider API did not return any object back.
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:576)
at sun.xxxlect.GeneratedMethodAccessor763.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingxxxlection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.invokeJoinpoint(xxxlectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy188.findxxxxxx(Unknown Source)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService_n3bi9u_WSOImpl.__WL_findxxxxxx_WS(xxxService_n3bi9u_WSOImpl.java:75)
at sun.xxxlect.GeneratedMethodAccessor762.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:50)
at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
... 30 more
Caused by: java.lang.IllegalStateException: Service Provider API did not return any object back.
at our.package.name.soa.enabler.service.provider.engine.ServiceInvoker.invoke(ServiceInvoker.java:156)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:545)
... 56 more
Nov 21, 2008 9:38:27 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke
INFO: Service Provider API did not return any object back.
our.package.name.integration.services.exception.IllegalStateWSFaultException: Service Provider API did not return any object back.
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:576)
at sun.xxxlect.GeneratedMethodAccessor763.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingxxxlection(AopUtils.java:281)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.invokeJoinpoint(xxxlectiveMethodInvocation.java:187)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:154)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
at com.bea.core.repackaged.springframework.aop.framework.xxxlectiveMethodInvocation.proceed(xxxlectiveMethodInvocation.java:176)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy188.findxxxxxx(Unknown Source)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService_n3bi9u_WSOImpl.__WL_findxxxxxx_WS(xxxService_n3bi9u_WSOImpl.java:75)
at sun.xxxlect.GeneratedMethodAccessor762.invoke(Unknown Source)
at sun.xxxlect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.xxxlect.Method.invoke(Method.java:597)
at weblogic.wsee.server.ejb.WsEjb.invoke(WsEjb.java:50)
at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke(WLSEjbInstanceResolver.java:187)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:71)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
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:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.IllegalStateException: Service Provider API did not return any object back.
at our.package.name.soa.enabler.service.provider.engine.ServiceInvoker.invoke(ServiceInvoker.java:156)
at xxx.xxx.yyy.integration.services.xxxservice.xxxService.findxxxxxx(xxxService.java:545)
... 56 more
com.sun.xml.ws.encoding.soap.SerializationException: java.lang.NoSuchMethodException: xxx.xxx.yyy.integration.services.xxxservice.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createDetailFromUserDefinedException(SOAPFaultBuilder.java:328)
at com.sun.xml.ws.fault.SOAPFaultBuilder.getFaultDetail(SOAPFaultBuilder.java:306)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:170)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:265)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
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:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoSuchMethodException: xxx.xxx.yyy.integration.services.xxxservice.jaxws.IllegalStateWSFaultExceptionBean.setErrorCode(java.lang.String)
at java.lang.Class.getMethod(Class.java:1605)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createDetailFromUserDefinedException(SOAPFaultBuilder.java:323)
... 30 more -
Weblogic 8.1SP2 throws noclassdeffounderror for ActionServlet
Hi All,
My application(struts based) works fine in weblogic7 and the same is deployed sucesfully in weblogic8.1 SP2 but on starting the weblogic server the following error is thrown
******************error starts here*******************
<Jul 9, 2004 3:45:43 PM GMT+05:30> <Error> <HTTP> <BEA-101250> <[ServletContext(id=18734604,name=gsrs_admin,context-path
=/gsrs_admin)]: Servlet class com.jpmorgan.grc.gsr.admin.AdminToolActionServlet for servlet admintool could not be loade
d because a class on which it depends was not found in the classpath C:\bea8.2\weblogic81\server\bin\myserver\.wlnotdele
te\gsrs\gsrs_admin.war;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_admin\jarfiles
\WEB-INF\lib\jstl31232.jar;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_admin\jarf
iles\WEB-INF\lib\standard31233.jar;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_ad
min\jarfiles\WEB-INF\lib\struts31234.jar.
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet.>
<Jul 9, 2004 3:45:43 PM GMT+05:30> <Error> <HTTP> <BEA-101216> <Servlet: "admintool" failed to preload on startup in Web
application: "gsrs_admin".
javax.servlet.ServletException: [HTTP:101250][ServletContext(id=18734604,name=gsrs_admin,context-path=/gsrs_admin)]: Ser
vlet class com.jpmorgan.grc.gsr.admin.AdminToolActionServlet for servlet admintool could not be loaded because a class o
n which it depends was not found in the classpath C:\bea8.2\weblogic81\server\bin\myserver\.wlnotdelete\gsrs\gsrs_admin.
war;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_admin\jarfiles\WEB-INF\lib\jstl31
232.jar;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_admin\jarfiles\WEB-INF\lib\st
andard31233.jar;C:\bea8.2\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_gsrs_gsrs_admin\jarfiles\WEB-IN
F\lib\struts31234.jar.
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionServlet.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:805)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3209)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3195)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
>
***************error ends here*********************
any help is appreciated
rgrds and thx
gnanaHi All,
<br>
<br>
My application was working fine on weblogic7. Recently i have installed weblogic8.1 SP4. We are using managed weblogic servers. I got noclassdeffounderror for a class on the deployment of the application or on the start one of the servers.
<br>
<br>
<b>Strange thing is that the class it is complaining is there in the jar and the jar is there in the classpath which it displays along with the error.</b>
<br>
<br>
I dont know why its not picking up that class. I verifed the classpath by setting it on command line and then tried to use that particular class and it was working.
<br>
<br>
I also tried to put the particular class in web-inf/classes directory and to my surprise it is also not working. still it is giving the same error. Then I tried to put the jar in the web-inf/lib but even in this case also i got the same error.
<br>
<br>
Is there something wrong in the setup/configuration of the server?? or is it anyway related to the environment(like xp,2000,environment variables etc) where the server is installed?? or is weblogic8.1 has some problem in picking classes form classpath or web-inf/classes/ for some particular cases??
<br>
<br>
Anybody has any idea why weblogic8.1 is behaving this way??
<br> -
Hi All,
We are using executeBatch() in PreparedStatement to persist the data.
This is working fine in Weblogic 8.1 with large data
The same source code is failing in Weblogic 10.3
The following Error is thrown
11/02/2009 17:30:48 EST ERROR [[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'] - error persist data
java.sql.SQLException: executeBatch, Exception = -32643
at weblogic.jdbc.wrapper.JDBCWrapperImpl.invocationExceptionHandler(JDBCWrapperImpl.java:141)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:201)
at com.abc.db.DataHandler.processInserts(DataHandler.java:406)
Your help to solve this issue is much appreciated.
Thanks,
RameshTo use JSF 2.0, all you need to do is deploy the MW_HOME/wlserver/common/deployable-libraries/jsf-2.0.war as an application library, then reference it in the relevant weblogic descriptor. It looks like you have done both those two steps.
I wonder if the ADF domain extension is not having some effect here -- IIRC an ADF domain is a pretty customized environment which loads libraries directly from the CLASSPATH, in which case, perhaps there is a conflict arising from that in terms of classloader visibility.
Can you try your app on a standard WLS domain, or are you specifically needing to use an ADF domain?
-steve- -
Hi
I am using weblogic 11gse trying to connect Oracle database EE 11g...Since its cloud here telent and ping wont work..
Comments please..and at host:port:sid....am giving as follows oacle11g:1521:35.............
The error am getting is ....
Connection test failed.
IO Error: Unknown host specified <br/>oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)<br/>oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)<br/>oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)<br/>oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)<br/>oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:469)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)<br/>weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/>java.lang.reflect.Method.invoke(Method.java:606)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>...I tried in hostname giving
oracle.jdbc.xa.client.OracleXADataSource
hostname : port : SID .......jdbc:oracle:thin:@ash1orclwlee11g:1521:test...any suggestions..
Listener is running successfully....
IO Error: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)<br/>oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)<br/>oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)<br/>oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)<br/>oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:469)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)<br/>oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)<br/>weblogic.jdbc.common.internal.DataSourceUtil.testConnection(DataSourceUtil.java:314)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:734)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:474)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/>java.lang.reflect.Method.invoke(Method.java:606)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>... -
Weblogic throwing "null SOAP element Exception" in multi-part SOAP response
Hi All,
I'm using weblogic 10. My application is a webservice client generated using '*clientgen*', which is running on weblogic, and
is invoking a remotely hosted webservice ( Remotely hoseted webservice may not be running on weblogic).
I've the wsdl file of remotely hosted webservice.
Now the problem is with WSDL file (I suppose), have a look at this.
*<message name="m1">*
*<part name="body" element="tns:GetCompanyInfo"/>*
*</message>*
*<message name="m2">*
*<part name="body" element="tns:GetCompanyInfoResult"/>*
*<part name="docs" type="xsd:AnyComplexType"/> ------> assume all elements inside this complex type can be nil or minOccurs set to '0'*
*<part name="logo" type="xsd:AnyOtherComplexType"/> ------> assume all elements inside this complex type can be nil or minOccurs set to '0'*
*</message>*
<portType name="pt1">
<operation name="GetCompanyInfo">
<input message="m1"/>
*<output message="m2"/> -----> multi part message.*
</operation>
</portType>
Now here is sample message for the request(I've composed this message for this question):
<soap:Envelope> MESSAGE1
<soap:header/>
<soap:body>
<tns:m2>
<tns:GetCompanyInfoResult>
Blah Blah....
</tns:GetCompanyInfoResult>
<tns:docs>
Blah Blah....
</tns:docs> Assume no data for 'logo', so it's not returned. Since all its elements can be nillable.
<tns:m2>
</soap:body>
</soap:Envelope>
First of all, is this SOAP response is valid? I'm not sure about *'message' and 'parts' in SOAP*, but according to XML schema standards it's invalid.
Because, according to *'message' m2, 'logo' is missing*, eventhough all it's elements are nillable in such case there should be *<logo/>* at the end.
I mean valid message should be like below
<soap:Envelope> '*MESSAGE2*'
<soap:header/>
<soap:body>
<tns:m2>
<tns:GetCompanyInfoResult>
Blah Blah....
</tns:GetCompanyInfoResult>
<tns:docs>
Blah Blah....
</tns:docs>
*<tns:logo/> ------------------> here is the change compared to above message. empty element.*
<tns:m2>
</soap:body>
</soap:Envelope>
Now the concerns are :
(1) Which is a valid response? Message1 or Message2
(2) If message1 is valid then why is weblogic throwing an exception 'null SOAP element', I suppose this is due to missing 'logo' element.
(To confirm this I've used tcpmonitor and found message1 as response but weblogic is still throwing 'null SOAP Element' exception,
which confirms it needs 'logo' as well, I suppose <logo/> at least). Is there any workaround for this in weblogic for multi-part messages?
(3) If message1 is invalid according to SOAP standards then You've answered my question. ---> I need to talk to the webservice provider in this case.....
Thanks in advance...Message 1 is not Basic Profile 1.1 compliant. It is specified by BP1.1 in section 4.4.1(http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts) that when a wsdl:part element is defined using the type attribute, the serialization of that part in a message is equivalent to an implicit (XML Schema) qualification of a minOccurs attribute with the value "1", a maxOccurs attribute with the value "1" and a nillable attribute with the value "false".
-
Weblogic throws NullPointerException when using ServiceControl.setTimeout
We are invoking a SOAP service via a com.bea.control.ServiceControl that was generated from a WSDL (right click WSDL, Generate Service Control) using Weblogic 8.1.6.
SOAP service execution is successful using an http and https endpoint. However, when setting a timeout via ServiceControl.setTimeout(int millisecods) method, the Weblogic API is throwing a NullPointerException when using an https endpoint. When using an http endpoint with the setTimeout method execution is successful.
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: opening connection to https://[... edit removed ...]
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Response generation exception
Throwable: java.lang.NullPointerException
Stack Trace:
java.lang.NullPointerException
at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:455)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:235)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:389)
at weblogic.net.http.HttpsClient.<init>(HttpsClient.java:209)
at weblogic.net.http.HttpClient.New(HttpClient.java:228)
at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:246)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:217)
at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:189)
at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:179)
at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:80)
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1288)
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1155)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
DEBUG com.bea.wlw.runtime.jws.call.SoapFault [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: SoapFault exception throwable e
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: response code=0, responseMsg=null
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: closed connection to https://[... edit removed ...]
WARN WLW.INVOKE.[... edit removed ...] [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Id=[... edit removed id ...] Method=[... edit removed method ...]; Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.NullPointerException
String:null
Detail:
END SERVICE FAULT
ERROR [... edit removed ...]
[ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: ServiceControlException
com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.NullPointerException
String:null
Detail:
END SERVICE FAULT
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)Thanks for the suggestion. But with -DUseSunHttpHandler=true the Weblogic API is throwing a ClassCastException with or without the timeout value set.
Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.ClassCastException
String:null
Detail:
END SERVICE FAULT
ERROR: ServiceControlException
com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.ClassCastException
String:null
Detail:
END SERVICE FAULT
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388) -
AbstractMethodError in JDBC calls
I am using weblogic.jdbc.mssqlserver4.Driver for MSSQLServer7.0.JavaTM 2 Platform
Std. Ed. v1.3.While i am trying to run my code it throws AbstractMethodError where ever i used JDBC API. For example in some place i have called result.next()(result is ResultSet). In other place i have called result.getFectchSize(). Can somebody help to get rid of this problem. Atleast i want know why this is happening.
Thanks in advance
SivaSiva wrote:
>
I am using weblogic.jdbc.mssqlserver4.Driver for MSSQLServer7.0.JavaTM 2 Platform
Std. Ed. v1.3.While i am trying to run my code it throws AbstractMethodError where ever i used JDBC API. For example in some place i have called result.next()(result is ResultSet). In other place i have called result.getFectchSize(). Can somebody help to get rid of this problem. Atleast i want know why this is happening.
Thanks in advance
Siva
Our driver is only at the JDBC 1.0 level in functionality. There is a way to call it so you
don't get AbstractMethodError exceptions, but you will then get SQLExceptions saying
'this jdbc 2.0 method is unimplemented'. For jdbc 2.0 compliance, I recommend using either
MS's new free type-4 driver or the good driver from www.inetsoftware.de.
Joe -
Application Migration from JBOSS to Weblogic Server
Hi,
I am facing lots of issues while deploying an .ear file on Weblogic server. In the JBOSS server the application is working properly but whenever I am trying to deploy it on Weblogic server its throwing me an error stating :
"ERROR: No j2ee modules detected in EAR archive. Deployment aborted. "
I tried to convert the things to .war file and tried to deploy the application, the application got deployed but its throwing 'exception'.
Please revert me back with some solution.
Thanks
TrishulIs this forum about Jboss?
Is it about Weblogic?
If so, why do you put a question about a non-Oracle non-database product in a forum on Oracle Database?
Sybrand Bakker
Senior Oracle DBA -
Configuring file realm in weblogic server 9.2
Hi,
I am trying to upgrade my application from weblogic 6.1 to weblogic 9.2 and I am using compatibility security.
I have configured a RDBMS realm and then configured the caching realm giving that RDBMS realm as its Base realm.
Now since caching realm works with file realm. I have to configure this also. Now on click of file realm tab in weblogic 9.2 throws the following error.
java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: equals
Caused by: java.lang.NoSuchMethodException: equals(java.lang.Object,) for com.bea:Name=CachingRealm-0,Type=CachingRealm
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:369)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:141)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:426)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
... 91 more
Can anyone help me out?
Thank you
Njoy
:-)You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
Jeff -
Problem in starting Managed weblogic server
Hi,
I have Weblogic 8.1 with SP4 in production mode with admin server(port :7001) & managed server(port:7004) configured as a Windows services.
so when ever i Restarted the windows service of the managed server. The ear previously got deployed is not getting Redeployed once the service is up again
My requirement is if i stop and start the service for the Managed server the ear which is ther in that should be deployed so can this happen with weblogic
it is throwing an exception as
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://10.1.134.117:7004: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:636)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:306)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
can any one help me out
regards
SudhakarAny solutions for this?
-
Problems migrating from weblogic 8.1 to 9.2
Hello All,
I am in the process of migrating a J2EE/EJB application from weblogic 8.1 to 9.2. I am able to deploy the application but could not run it. The application was working fine in 8.1.
weblogic 9.2 throws the following error...
<Error> <HTTP> <AQ1647> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257288283875> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1e5d16d - appName: 'portal', name: '/', context-path: ''] Root cause of ServletException.
javax.servlet.jsp.JspException: ServletException in '/common/layouts/column.jsp': Can't insert page '/phonebook/favouritePeople.do' : null
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:921)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
at jsp_servlet._common._layouts.__portal._jsp__tag11(__portal.java:663)
at jsp_servlet._common._layouts.__portal._jspService(__portal.java:205)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:283)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:530)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
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:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:191)
at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
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:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
I understand 9.2 is strict with standards, does this have to do something with the standards?
Thank you in advance.This was an issue with flushing in tiles. I set flush="false" and all is working fine.
Thank you. -
Connection Reset by peer errors in Weblogic
Hi,
The weblogic server is throwing the following error , Any inputs to solve this will be highly appreciated.
####<Feb 2, 2006 3:43:11 PM CST> <Error> <HTTP> <xdaawsf001> <AWSServer> <ExecuteThread: '21' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=20362550,name=eboq,context-path=/eboq)] Root cause of ServletException.
javax.servlet.jsp.JspException: Input/output error: java.net.SocketException: Connection aborted by peer
at org.apache.struts.taglib.logic.IterateTag.doAfterBody()I(Optimized Method)
at jsp_servlet._nse.__nse_edit_boq._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__nse_edit_boq.java:2343)
at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:328)
at org.apache.struts.action.RequestProcessor.doForward(Ljava.lang.String;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Lorg.apache.struts.config.ForwardConfig;)V(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Optimized Method)
at org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(Optimized Method)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(Optimized Method)
at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Optimized Method)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
at com.nokia.ebom.auth.LoginFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(LoginFilter.java:64)
at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(Optimized Method)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(Optimized Method)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
>
can someone help?
Thanks
Zia.hi,I meet the same problem now . My Weblogic edtion is 8.1.4. Have you solved this problem?
Can you tell me how ot solve this problem.
I from China. My EMAIL is : [email protected]
Thank you very much! -
Weblogic portal 10.3.4 Domain creation issue
Hi All,
I have created the weblogic portal 10.3.4 domain with Oracle Data Base for the following connection pools (cgDataSource-jdbc.xml, cgDataSource-nonXA-jdbc.xml, p13nDataSource-jdbc.xml, p13nProfileDataSource-jdbc.xml, portalDataSourceAlwaysXA-jdbc.xml, portalDataSource-jdbc.xml, portalDataSourceNeverXA-jdbc.xml).
After creating the domain ran the create_db.cmd in windows, It created a folder weblogic_eval. I have started the service startDerby.cmd.
When i am trying to start the weblogic server its throwing me below exception.
FYI My apache Derby DB is running on port 1527
<Jun 6, 2012 1:39:27 PM PDT> <Error> <Security> <BEA-090870> <The realm "myrealm
" failed to be loaded: weblogic.security.service.SecurityServiceException: com.b
ea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266
:965591 fatal internal error> org.apache.openjpa.util.InternalException: There w
as an error when invoking the static getInstance method on the named factory cla
ss "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for detai
ls..
weblogic.security.service.SecurityServiceException: com.bea.common.engine.Servic
eInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal
error> org.apache.openjpa.util.InternalException: There was an error when invoki
ng the static getInstance method on the named factory class "kodo.jdbc.kernel.Ko
doJDBCBrokerFactory". See the nested exception for details.
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(
CSSWLSDelegateImpl.java:341)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegat
eImpl.java:220)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.In
itializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.lo
adRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
Truncated. see log file for complete stacktrace
Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-
SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalEx
ception: There was an error when invoking the static getInstance method on the n
amed factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exc
eption for details.
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
erviceEngineImpl.java:365)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(S
erviceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(Servic
eEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.j
ava:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(
WLSIdentityServiceImpl.java:46)
Truncated. see log file for complete stacktrace
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apac
he.openjpa.util.InternalException: There was an error when invoking the static g
etInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFac
tory". See the nested exception for details.
at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:9
5)
at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreS
erivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJD
O(StoreServiceDelegate.java:145)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>
(StoreServiceDelegate.java:99)
at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreS
erviceImpl.java:76)
Truncated. see log file for complete stacktrace
Caused By: java.lang.RuntimeException: There were errors initializing your confi
guration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.o
penjpa.util.StoreException: The connection was refused because the database webl
ogic_eval was not found.
at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(
DataSourceFactory.java:235)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFacto
ry(JDBCConfigurationImpl.java:684)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(Configur
ationImpl.java:288)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJ
PAConfigurationImpl.java:1409)
at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(Abstract
BrokerFactory.java:646)
at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFa
ctory.java:131)
at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFact
ory.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Any help is really appreciated.
Thanks,
Ram.Are you intending to use Oracle DB or Derby DB? If you intend to use Oracle, then you need to modify the connection information for the RDBMS Security Store. This is another step in the Domain Configuration Wizard, per release note 13371687.
http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#CJAEGAGD
If you follow this, you don't need to configure or start Derby DB.
Brad -
JMX with apache plugin and weblogic
Hy every body
I use weblogic 9.1, throw apache plugin
I try to get mbean with JMX,
i have this error on the log of the server when I try to acces to a server by passing apache url into jmxConnector:
java.lang.AssertionError: Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.iiop.MuxableSocketIIOP.getMessageLength(MuxableSocketIIOP.java:315)
at weblogic.socket.AbstractMuxableSocket.isMessageComplete(AbstractMuxableSocket.java:336)
at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:166)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
the log:
================New Request: [GIOP] =================
Tue May 31 14:25:36 2011 <35921306844736112> INFO: SSL is not configured
Tue May 31 14:25:36 2011 <35921306844736112> Using Uri /
Tue May 31 14:25:36 2011 <35921306844736112> After trimming path: '/'
Tue May 31 14:25:36 2011 <35921306844736112> The final request string is '/'
Tue May 31 14:25:36 2011 <35921306844736112> SEARCHING id=[192.168.2.83:7001] from current ID=[192.168.2.83:7001]
Tue May 31 14:25:36 2011 <35921306844736112> The two ids matched
Tue May 31 14:25:36 2011 <35921306844736112> @@@FOUND...id=[192.168.2.83:7001], server_name=[AdminServer], server_port=[80]
Tue May 31 14:25:36 2011 <35921306844736112> attempt #0 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> Trying a pooled connection for '192.168.2.83/7001/7001'
Tue May 31 14:25:36 2011 <35921306844736112> getPooledConn: No more connections in the pool for Host[192.168.2.83] Port[7001] SecurePort[7001]
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2039
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2039
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2039, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #1 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2040
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2040
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2040, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #2 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2041
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2041
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2041, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #3 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2042
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2042
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2042, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #4 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2043
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2043
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2043, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #5 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2044
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2044
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2044, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> request [] did NOT process successfully..................
the httpd.conf:
<IfModule mod_weblogic.c>
WebLogicHost 192.168.2.83
WebLogicPort 7001
#WebLogicCluster t3://192.168.2.83:7003, t3://192.168.2.83: 7005, t3://192.168.2.83:7013
Idempotent on
Debug HFC,HTW,HFW
WLLogFile c:/wlproxy.log
WLTempDir c:/TEMP
DebugConfigInfo On
KeepAliveEnabled ON
KeepAliveSecs 14
MatchExpression *
</IfModule>
<Location /HTTPClnt>
SetHandler weblogic-handler
</Location>
I don't use ssl.
I can access to the jsp of the server with the url of apach , but i cannot use jmx throught apache. I can use jmx with the server if I don't use apache, but i need apache for the next step of the project.
please, help me !I think the plug-in is intended for serves static pages, and another part of the document like MIME types.
I assume you are using the http protocol in your client to establish a jmx connection. Try enabling HTTP tunneling in weblogic server.
Can you post the code used to establish connetion?
Maybe you are looking for
-
Calling a mime object in the WebDynPro ABAP code dynamically
Hi , Can anyone let me know the API to access the mime objects dynamically in the WD ABAP code. I have a text file in the WD ABAP component as a text file. I would like to pick the file with the help of API's and read the content of the file using Mi
-
Sql 8i or 9i can be intstalled in window7
Hi Guys, Please let me know that sql 8i or 9i can be intstalled in window7 but i am worry about this thread Install Oracle 9i(9.2.0.1) on Windows 7(Prof.) where mention denied to.
-
Distinct boxes for chief position in Org Chart
Hi, Is it possible to change the icons and the colours of the org chart boxes for line managers only (i.e. chief position or A012)? What config is needed to make this change? Thanks, Vibhu
-
HTTP Sender with EOIO leads to HTTP Response 500
Hello everybody, since we are using SP12 we have problems with the HTTP sender when using EOIO. If I use the two parameters ....qos=EOIO&queueid=myQueue... I got a HTTP Reponse Code 500: Internal Server Error in the sender system (for the test I use
-
Hello all. Brand new phone. Old sim card. Sim card number has a lot of strange numbers after my phone number. when i select "edit sim card number" nothing happens. All of the posts i read seem to end here. Any suggestions when the "nothing" ha