Unmarshalling error when invoking a remote call in weblogic 9.1/jdk 1.5.
Hi,
We are trying to upgrade the weblogic from 7.1 to 9.1. I am getting the following error "java.lang.ClassNotFoundException: Failed to load class <b>void</b> ", when a remote method whose return type is void is invoked. Also I am using jdk 1.5.0_04. Any hints on what might be wrong here is appreciated. I have attached the stack trace below.
thanks
Sridhar Sidda
;;---------Stack Trace ----------------------------
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: Failed to load class void at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:176) at com.sabre.fltsked.util.security.ScheduleSecurityValidator3_910_WLStub.hasPermision(Unknown Source) at com.sabre.fltsked.util.security.FSSecurityInterceptor.invoke(FSSecurityInterceptor.java:48) ... 5 more Caused by: java.lang.ClassNotFoundException: Failed to load class void at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203) at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128) at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308) at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:344) at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:395) at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:255) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1427) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1282) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195) at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:555) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191) at com.sabre.fltsked.util.security.ScheduleSecurityValidator3_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403) at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56) at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)<pre></pre>
hi,
I am also getting the same exception when making call to the server.
If u get the solution for this problem.can u please tell me why this is happening.
Thanks.
Similar Messages
-
I'm getting a strange serialization issue with flex blazeds Spring.
I can search, add and alter entities but when trying to delete i'm getting this error:
flex.messaging.MessageException: Argument is not an array
However when i try the debug mode on server everything is OK.
here the stack trace for BlazeDs:
[BlazeDS]Exception when invoking service 'remoting-service': flex.messaging.MessageException: Argument is not an array
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = supprimer
clientId = EA1F8D9C-BD0C-941A-F168-02A08E454F43
destination = ClientService
messageId = F8D2B72B-C1D3-E4C5-CB06-11AA332A95B8
timestamp = 1301671457890
timeToLive = 0
body = null
hdr(DSId) = EA1E7EDA-C60E-F245-CF47-35D38F0ED6FB
hdr(DSEndpoint) = my-amf
Exception: flex.messaging.MessageException: Argument is not an array
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
at org.springframework.flex.messaging.servlet.MessageBrokerHandlerAdapter.handle(MessageBrok erHandlerAdapter.java:79)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647 )
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Argument is not an array
at java.lang.reflect.Array.getLength(Native Method)
at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeCollection(CollectionDec oder.java:155)
at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeObject(CollectionDecoder .java:139)
at flex.messaging.io.amf.translator.decoder.ActionScriptDecoder.decodeObject(ActionScriptDec oder.java:70)
at flex.messaging.io.amf.translator.ASTranslator.convert(ASTranslator.java:77)
at flex.messaging.io.Java15TypeMarshaller.convert(Java15TypeMarshaller.java:71)
at flex.messaging.util.MethodMatcher.convertParams(MethodMatcher.java:211)
at flex.messaging.util.MethodMatcher.getMethod(MethodMatcher.java:132)
at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:420)
at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
... 27 more
Thanks.Found the issue. There was a difference between the target service and the web service object that I was invoking. Even though I have changed the method signature and changed it back, the web service object that I was invoking needed to be recreated. This fixed the issue.
-
Errors when processing web service call
Hello Experts,
Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
I created a Logical Port in SOA Manager with type selected as 'WSDL'.
When I'm trying to execute the proxy class to call the webservice using the logical port through SE80 it is throwing an error log as stated below.
1) SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
2)Error when processing Web service call
3)Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
Kindly help me out.
Thanks,
VamshiHi,
Check Anton's reply in this thread: External WS Consumption Issue
Also refer the below doc which may help you: Consume an External Web Service in a Nutshell with Good Old ABAP
Calling WebServices from ABAP via HTTPS
Regards,
Kiran -
Getting a 1809 error when trying to remote control PC from the Console.
This is message i get when trying to remote view or remote control PC.....
1809: An error has occurred while generating a session key for
encryption.The remote session cannot be initiated. Contact Novell
Techical Services and specify this code.This is for a 1807 error. My error is and 1809 error. Is there somewhere
else to research on a 1809 error when trying to remote control PC from
the Console?
> Perhaps.................
>
> http://support.novell.com/techcenter/search/search.do?
cmd=displayKC&docType=kc&externalId=10094808html&s liceId=&dialogID=2356487
>
> --
> Craig Wilson
> Novell Product Support Forum Sysop
> Master CNE, MCSE 2003, CCNA
>
> Editor - http://www.ithowto.com
>
> (Seeking Full-Time Expert? Drop me a note :> )
> <[email protected]> wrote in message
> news:09i_e.2044$[email protected]..
> > This is message i get when trying to remote view or remote control
PC.....
> >
> >
> > 1809: An error has occurred while generating a session key for
> > encryption.The remote session cannot be initiated. Contact Novell
> > Techical Services and specify this code.
>
> -
Error when invoking pl/sql web service from bpel
Hi!
I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
<remoteFault>
<part name="code" >
<code>Server.userException</code>
</part>
<part name="summary" >
<summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
</part>
<part name="detail" >
<detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
</part>
</remoteFault>
Can anybody please tell what could be the problem,
Thanking in advance,
Deepika.www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file
-
RFC Error While Invoking A Remote Function Module.
I am invoking A remote function module while invoking it get an exception when i see the error logs
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Screen output without connection to user. , error key: RFC_ERROR_SYSTEM_FAILURE at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101) at... [see details]
can anyone pls tell me what the error is..
regards
Nilesh Taunk.Hi Nilesh Taunk,
You can go through the following steps
-o JCO Exceptions 1. http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
-o JCO Exceptions 2. http://help.sap.com/saphelp_nw04/helpdata/en/f6/e002416225f023e10000000a155106/frameset.htm
-o Restart of the J2EE instance and try re-importing the RFC model. Sometimes it helps.
-o Logon into WebDynpro Content Administrator as a J2EE Admin and check if the JCO Connections and User /pwd of your application is correct. You can <b>ping </b>or <b>test your JCO connections</b>. if something is wrong, enter the values again for JCO n retest them.
-o Try undeploying or removing the complete application and redeploy it.
Tu undeploy please go to
Go to <b>Visual Admin -> Server -> Services -> Deploy ->
</b>
Under Runtime Tab
select the server, open the tree , you would find the webdypro list there.
Now select an application, first stop it, remove it and redeploy if necessary.
Let us know if you could solve the problem or not, gud luck!
Rgds,
Sreenivas. -
Error when invoking request from BPEL to SAP
Hi
I have problem when invoking request from BPEL project to SAP R/3.
I use Oracle SOA Suite 10.1.3.1 and Oracle AS Adapter 10.1.3.1. I created BPEL project that call SAP service that I have created from Application Explorer. When I run The BPEL project, there is an error shown as below:
<messages><input><Invoke_1_GetGLAccountBalance_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="input_GetGLAccountBalance"><GeneralLedger.GetGLAccountBalance xmlns="urn:sap-com:document:sap:business:Request">
<COMPANYCODE>10</COMPANYCODE>
<CURRENCYTYPE>10</CURRENCYTYPE>
<FISCALYEAR>2007</FISCALYEAR>
<GLACCT>61001010</GLACCT>
</GeneralLedger.GetGLAccountBalance>
</part></Invoke_1_GetGLAccountBalance_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>http://127.0.0.1:7777/orainfra/wsil/adapters/applications/GetGLAccountBalance.wsdl?wsdl [ GetGLAccountBalancePortType::GetGLAccountBalance(input_GetGLAccountBalance,output_GetGLAccountBalance) ] - WSIF JCA Execute of operation 'GetGLAccountBalance' failed due to: Error in processing the input document.; nested exception is:
javax.resource.ResourceException: Error in processing the input document.</summary>
</part><part name="detail"><detail>javax.resource.ResourceException: Error in processing the input document.</detail>
</part></bindingFault></fault></messages>
Anyone who know the reason, please give me some advice.
Thank you in advanceHi,
Please check the Logical system,Business system, configurations ,please see the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
Regards
Chilla.. -
Error when invoking Rule Engine using Java API
Hi,
I have implemented a Java class which calls the Rule Engine to execute the rules. If I test by setting the value of the input inside a main method and get the output, it is working fine. The ruleset is also invoked and there is no problem. However, when I expose this java class as a web service and invoke the web service, I get the below error. I dont get the error if the .rules file is not present in the loaction mentioned. I get the error when the .rules file is present in the location. Not sure if this is an issue with the java call outs or loading the dictionary.
Error:_
<faultcode>S:Server</faultcode>
<faultstring>oracle/rules/sdk2/exception/SDKException</faultstring>
<ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" class="java.lang.NoClassDefFoundError">
<message>oracle/rules/sdk2/exception/SDKException</message>
<ns2:stackTrace>
<ns2:frame line="38" file="ImplementRules.java" method="Query" class="oracle.rules.querystudentcriteria.ImplementRules"/>
<ns2:frame line="native" file="NativeMethodAccessorImpl.java" method="invoke0" class="sun.reflect.NativeMethodAccessorImpl"/>
<ns2:frame line="39" file="NativeMethodAccessorImpl.java" method="invoke" class="sun.reflect.NativeMethodAccessorImpl"/>
<ns2:frame line="25" file="DelegatingMethodAccessorImpl.java" method="invoke" class="sun.reflect.DelegatingMethodAccessorImpl"/>
<ns2:frame line="597" file="Method.java" method="invoke" class="java.lang.reflect.Method"/>
<ns2:frame line="101" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
<ns2:frame line="83" file="WLSInstanceResolver.java" method="invoke" class="weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker"/>
<ns2:frame line="152" file="InvokerTube.java" method="invoke" class="com.sun.xml.ws.server.InvokerTube$2"/>
<ns2:frame line="264" file="EndpointMethodHandler.java" method="invoke" class="com.sun.xml.ws.server.sei.EndpointMethodHandler"/>
<ns2:frame line="93" file="SEIInvokerTube.java" method="processRequest" class="com.sun.xml.ws.server.sei.SEIInvokerTube"/>
<ns2:frame line="604" file="Fiber.java" method="__doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="563" file="Fiber.java" method="_doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="548" file="Fiber.java" method="doRun" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="445" file="Fiber.java" method="runSync" class="com.sun.xml.ws.api.pipe.Fiber"/>
<ns2:frame line="275" file="WSEndpointImpl.java" method="process" class="com.sun.xml.ws.server.WSEndpointImpl$2"/>
<ns2:frame line="454" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit"/>
<ns2:frame line="250" file="HttpAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.HttpAdapter"/>
<ns2:frame line="140" file="ServletAdapter.java" method="handle" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter"/>
<ns2:frame line="319" file="HttpServletAdapter.java" method="run" class="weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke"/>
<ns2:frame line="232" file="HttpServletAdapter.java" method="post" class="weblogic.wsee.jaxws.HttpServletAdapter"/>
<ns2:frame line="310" file="JAXWSServlet.java" method="doPost" class="weblogic.wsee.jaxws.JAXWSServlet"/>
<ns2:frame line="727" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
<ns2:frame line="87" file="JAXWSServlet.java" method="service" class="weblogic.wsee.jaxws.JAXWSServlet"/>
<ns2:frame line="820" file="HttpServlet.java" method="service" class="javax.servlet.http.HttpServlet"/>
<ns2:frame line="227" file="StubSecurityHelper.java" method="run" class="weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction"/>
<ns2:frame line="125" file="StubSecurityHelper.java" method="invokeServlet" class="weblogic.servlet.internal.StubSecurityHelper"/>
<ns2:frame line="292" file="ServletStubImpl.java" method="execute" class="weblogic.servlet.internal.ServletStubImpl"/>
<ns2:frame line="26" file="TailFilter.java" method="doFilter" class="weblogic.servlet.internal.TailFilter"/>
<ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
<ns2:frame line="326" file="DMSServletFilter.java" method="doFilter" class="oracle.dms.wls.DMSServletFilter"/>
<ns2:frame line="56" file="FilterChainImpl.java" method="doFilter" class="weblogic.servlet.internal.FilterChainImpl"/>
<ns2:frame line="3592" file="WebAppServletContext.java" method="run" class="weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction"/>
<ns2:frame line="321" file="AuthenticatedSubject.java" method="doAs" class="weblogic.security.acl.internal.AuthenticatedSubject"/>
<ns2:frame line="121" file="SecurityManager.java" method="runAs" class="weblogic.security.service.SecurityManager"/>
<ns2:frame line="2202" file="WebAppServletContext.java" method="securedExecute" class="weblogic.servlet.internal.WebAppServletContext"/>
<ns2:frame line="2108" file="WebAppServletContext.java" method="execute" class="weblogic.servlet.internal.WebAppServletContext"/>
<ns2:frame line="1432" file="ServletRequestImpl.java" method="run" class="weblogic.servlet.internal.ServletRequestImpl"/>
<ns2:frame line="201" file="ExecuteThread.java" method="execute" class="weblogic.work.ExecuteThread"/>
<ns2:frame line="173" file="ExecuteThread.java" method="run" class="weblogic.work.ExecuteThread"/>
</ns2:stackTrace>
The Java class looks like:
public PersonType Query (PersonType p)
try {
//FileReader reader = new FileReader("/home/orasoa/223345/STRS1.rules");
//FileReader reader = new FileReader("D:\\Arun\\NGCE_WS\\POC1\\UHG\\QueryStudentCriteria\\oracle\\rules\\querystudentcriteria\\STRS1.rules");
InputStream stream=ImplementRules.class.getResourceAsStream("/STRS1.rules");
Reader reader=new InputStreamReader(stream);
RuleDictionary dict = RuleDictionary.readDictionary(reader, new DecisionPointDictionaryFinder(null));
List<SDKWarning> warnings = new ArrayList<SDKWarning>();
dict.update(warnings);
DecisionPoint decisionPoint = new DecisionPointBuilder().with("STRS1_DecisionService_1").with(dict).build();
DecisionPointInstance point = decisionPoint.getInstance();
ArrayList input=new ArrayList();
input.add(p);
point.setInputs(input);
List<Object> output=point.invoke();
catch (Exception e) {}
return p;
Cheers,
- ARHi, I am getting a similar error when I deploy my application on the weblogic server.
Could you detail how this was resolved?
Thanks,
SB -
Read timeout error when invoking webservice
When I test one of our RPC style webservices from my Java
client, I get this error at random intervals :
org.xml.sax.SAXParseException: Unbalanced ELEMENT got:detail expected:init at
weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:67)
at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:136)
at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.java:46)
at weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48) at weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.java:38)
at weblogicx.xml.stream.SubEventStream.parseSome(SubEventStream.java:48) at weblogicx.xml.stream.SubElementEventStream.parseSome(SubElementEventStream.java:38)
at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
at weblogicx.xml.stream.helpers.TextBuilder.process(TextBuilder.java:23) at weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:194)
at weblogic.soap.codec.SoapEncodingCodec.decode(SoapEncodingCodec.java:145) at
weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:66) at weblogic.soap.codec.Operation.read(Operation.java:97)
at weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200) at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:480) at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
it seems to be caused by a read time out :
Server side error: java.io.InterruptedIOException:
Read timed out at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124) at
weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
at java.io.FilterInputStream.read(FilterInputStream.java:114) at java.io.PushbackInputStream.read(PushbackInputStream.java:164)
at java.io.FilterInputStream.read(FilterInputStream.java:93) at weblogic.xml.babel.reader.XmlReader.(XmlReader.java:247)
at weblogic.xml.babel.reader.XmlReader.createReader(XmlReader.java:124) at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:98)
at weblogic.xml.babel.parsers.StreamParser.(StreamParser.java:42) at weblogic.xml.babel.parsers.BabelXMLEventStream.startDocument(BabelXMLEventStream.java:28)
at weblogic.soap.server.servlet.StatelessBeanAdapter.getXMLStream(StatelessBeanAdapter.java:216)
at weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(StatelessBeanAdapter.java:151)
at weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBeanAdapter.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Does anybody have som hints for this situation?
Regards,
Per MengshoelHi all,
as many developers I have encountered the famous "java.rmi.MarshallException:(1)Missing end tag for Body or Envelope" during the development of my WS app for J2ME (JSR 172).
It is correct that is the empty tag <soapenv:Header /> causing this error.
To fix this error, it is necessary to stop the server to generate this empty header in the response stream.
I have fixed this error for Axis2: unfortunaly it is necessary to modify a class in Axiom library. This library is used in Axis2 to produce the SOAP response, you can download the source code at http://ws.apache.org/commons/axiom/source-repository.html.
Here the class to modify:
axiom\modules\axiom-impl\src\main\java\org\apache\axiom\soap\impl\llom\soap11\SOAP11Factory.java
by commenting the line 273 in the method called getDefaultEnvelope() to prevent the empty header insertion in SOAP response:
public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
OMNamespace ns =
new OMNamespaceImpl(
SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns, this);
//createSOAPHeader(env); the line to be commented
createSOAPBody(env);
return env;
}Finally you have to recompile Axiom using Maven to obtain the fixed package axiom-impl.jar and to replace this package on the lib repository of your Axis2 server.
A little tricky to fix this bug but now my app runs perfectly ;)
Enjoy!
Romain Pellerin
http://www.gasp-mobilegaming.org -
Error when invoking WebService from WTK 2.5 client
hi all,
i have developend an EJB3 webservice using JBoss4.0.5.GA...
i wrote a java client using wstools and it worked fine
Then i used StubGenerator from WTK , it generated stubs....
i then tried tocall the jbossws.. the jbossws received the call, but in i got a disaster error when i received back the response from the webservice.
this was the response from the webservice (as i checked in the WTK network monitor)
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body><ns1:loginResponse xmlns:ns1='http://org.jboss.ws/ejb3ws' xmlns:xsi='http://www.w3.org/2001/XMLSchema
-instance'/>
</env:Body>
</env:Envelope>and this was the exception that i was able to see in the WTK
javax.xml.rpc.JAXRPCException: java.rmi.MarshalException: (1)Missing end tag for Body or Envelope
at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(+243)
at com.sun.j2mews.xml.rpc.OperationImpl.invoke(+90)
at com.mm.j2me.ws.WSRemoteSEI_Stub.login(+48)
at com.mm.j2me.midp.model.HTTPCommunicationHandler.createAccount(+36)
at com.mm.j2me.midp.model.RemoteModelRequestHandler.createAccount(+16)
at com.mm.j2me.midp.model.RemoteModelProxy.createAccount(+16)
at com.mm.j2me.midp.model.ModelFacade.createAccount(+16)
at com.mm.j2me.midp.ui.UIController$EventDispatcher.run(+277)Well, i can see both Body and Envelopen in the message that has been sent back, so can anyone tell me what's wrong with WTK??
thanks in advance and regards
marcoHi all,
as many developers I have encountered the famous "java.rmi.MarshallException:(1)Missing end tag for Body or Envelope" during the development of my WS app for J2ME (JSR 172).
It is correct that is the empty tag <soapenv:Header /> causing this error.
To fix this error, it is necessary to stop the server to generate this empty header in the response stream.
I have fixed this error for Axis2: unfortunaly it is necessary to modify a class in Axiom library. This library is used in Axis2 to produce the SOAP response, you can download the source code at http://ws.apache.org/commons/axiom/source-repository.html.
Here the class to modify:
axiom\modules\axiom-impl\src\main\java\org\apache\axiom\soap\impl\llom\soap11\SOAP11Factory.java
by commenting the line 273 in the method called getDefaultEnvelope() to prevent the empty header insertion in SOAP response:
public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
OMNamespace ns =
new OMNamespaceImpl(
SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns, this);
//createSOAPHeader(env); the line to be commented
createSOAPBody(env);
return env;
}Finally you have to recompile Axiom using Maven to obtain the fixed package axiom-impl.jar and to replace this package on the lib repository of your Axis2 server.
A little tricky to fix this bug but now my app runs perfectly ;)
Enjoy!
Romain Pellerin
http://www.gasp-mobilegaming.org -
Register failk error when invoking ActiveX control for a JavaBean from VB6
J2RE v1.4.2_09
Visual Basic 6.0 SP5/Visual C++ 6.0 SP5
Windows 2000 SP4
We have our existing production applications written using VB6 and VC++6. We are in the process of moving them incrementally to J2EE. Before everything is totally re-written in J2EE, we need to do something for interoperability between existing VB6/VC++6 and J2EE. ActiveX Bridge seems to be the solution we need, if only it works.
Problem that I am facing....
Register failk error when I try to insert a java bean activex control on a VB6.0 or VC++6.0 form or create an instance of the activex "Person.Bean.1" using CreateObject function, it throws the following error. I am able to create an instance of Person Bean ActiveX Control using ActiveX Control Test Container that comes with Visual Studio 6.0 and invoke the methods in the bean successfully though which means that the ActiveX control is registered properly and working.
Error Message Box Title: asdas
Error Message: register failk
And then another error message pops up.
Error Message Box Title: Java(TM) Plug-in Fatal Error
Error Message: Cannot load class sun/plugin/JavaRunTime
The Bridge was installed at <D:\PROGRA~1\Java\J2RE14~2.2_0> but the class is not there. Modify the registry key to reflect the new bridge location. The key is HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in or Change your CLASSPATH to include the new directory.
I have this sample java bean class.
a) Person.java
import java.io.*;
public class Person implements Serializable{
private String fName,lName;
public Person(){
fName = new String();
lName = new String();
public void setFirstName(String firstName){
fName = firstName;
public void setLastName(String lastName){
lName = lastName;
public String getName(){
return fName+" "+lName;
b) person_manifest
Name: Person.class
Java-Bean: True
Steps followed:
call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
set path=D:\j2sdk1.4.2_09\bin;%path%
javac Person.java
jar -cvfm Person.jar person_manifest Person.class
mkdir "d:\Program Files\Java\j2re1.4.2_09\axbridge\bin"
D:\j2sdk1.4.2_09\bin\packager -out "d:\Program Files\Java\j2re1.4.2_09\axbridge\bin" -reg Person.jar Person
Person.dll file created under d:\Program Files\Java\j2re1.4.2_09\axbridge\bin and Person.jar copied under d:\Program Files\Java\j2re1.4.2_09\axbridge\lib.
I am able to create an instance of this Person Bean ActiveX Control using ActiveX Control Test Container that comes with Visual Studio 6.0 and invoke the methods in the bean successfully. But, when I try to insert the activex control on a VB6 or VC++6 form or create an instance of "Person.Bean.1" using CreateObject function, it throws the above mentioned errors.
I checked the registry and it shows J2RE1.4.2_09 version properly under that key and the Person.dll file exists under d:\Program Files\Java\j2re1.4.2_09\axbridge\bin. I also explicitly added the plugin.jar, person.jar to the classpath. Still it gives the error.
Any ideas? Any fix or workaround for this problem? Thanks.Sometimes solutions are simpler than expose the problem.
Did you add the dll to the project references?
Sometimes also it is usefull to use the regsvr32 program to register the DLL.
Pedro -
Error when making a database call froman ejb
Hello,
I am getting the following error when accessing the database from an ejb -
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
at com.servlets.login.EUClsLoginServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Caused by: java.rmi.RemoteException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:451)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:545)
at com.ejb.EUClsLookupBean_EJBObjectImpl.fetchAllLookups(EUClsLookupBean_EJBObjectImpl.java:101)
at com.ejb._EUClsLookupBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:237)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:97)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
... 16 more
Any help?Please look in those 16 other stack traces for more details, there should be an actual SQLException if
it's a database problem, and/or the actual bean method that caused the problem.
Regards,
Marina -
Error when invoking worklist api from adf 11g
Hi,
I am using ADF 11g. This application invokes Worklist Application APIs. When I try to login it throws this error. Basically it throws error at worklist application authentication. Am I missing any jar files? These are the jar files I included in the project.
Bpm-services.jar
Bpm-workflow-datacontrol.jar
Oracle.soa.workflow.jar
Wsclient.jar
javax.servlet.ServletException: oracle/tip/pc/infra/exception/PCException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
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.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
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:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoClassDefFoundError: oracle/tip/pc/infra/exception/PCException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:204)
at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:306)
at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:399)
at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:257)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:190)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:232)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_1031_WLStub.authenticate(Unknown Source)
at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:121)
at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:67)
at $Proxy133.authenticate(Unknown Source)
at task.TaskBacking.getWorkflowContext(TaskBacking.java:103)
at task.TaskBacking.updateTaskStatus(TaskBacking.java:125)
at task.TaskBacking.approveInvoiceTask(TaskBacking.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 34 more
Caused by: java.lang.ClassNotFoundException: oracle.tip.pc.infra.exception.PCException
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:36)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 127 more
Thanks
SaruI added the jar files and I don;t get the exception anymore. I am able to login in as weblogic and the application works fine. When I login in as anyother user I get this error. Where is this pc.properties?
Warning: Could not locate file pc.properties in classpath
ORABPEL-30501
Error in authenticating user.
Error in authenticating and creating a workflow context for user jazn.com/pat.
Verify that the user credentials and identity service configurations are correct.
Thanks
Saru -
Proxy Error When Invoking Web Service
Hi all,
i created a web service from a session bean,
when i invoke the web service from my web browser it works great,
but when i try to invoke it from a bpel process, i get the following error in the Invoke Activity:
when invoking endpointAddress 'http://10.0.1.159:8989/EJB-Application2-Model-context-root/updatePayloadServiceSoapHttpPort', (502)Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL). )
any idea what to do to resolve this issue?
thanksIt seems that your proxy server refuses serve requests for your private network (10.0.x.x).
Try to turn off proxy server in your BPEL. In devel server turn off proxy (or add this address to exceptions) in <ORAHOME>\integration\orabpel\bin\obsetenv.bat
and if you are using full AS, go to EM a change parameters for these server properties:
-Dhttp.proxySet=true
-Dhttp.proxyHost=yourproxy
-Dhttp.proxyPort=proxyport
-Dhttp.nonProxyHosts=10.0.1.159|and rest of your exceptions
Peter -
Why do I get an invalid handle error when debugging, on a call to ncReset?
I am working with the example program obj2obj.c
I have a PCI-CAN/2 card installed.
I must call ncReset for *both* ports (CAN0 and CAN1), prior to any other commands or I will get a driver error (NC_ERR_DRIVER, Bxxx0002).
This happens even if the program terminates properly, closing all handles, and I then remove the ncReset commands.
Fine, I can live with the ncResets.
However, if I then try and debug the program using Microsoft Visual C++, it immediately chokes on the second call to ncReset( "CAN1", 0 ) and complains about an invalid handle.
If I add a status check to both of the ncResets and run the program from the DOS command line, I don't get any errors printed out
so the calls are working fine just running the program.
The driver updates listed do not appear to address this problem (1.4.1 uses LabView which I do not have and 1.4.2 is for Windows 2000)
Why are the ncResets required in the first place?
And why can't I single step through the second call to ncReset?
Thanks in advance for your help.
System details:
PC running Windows NT 4.00.1381
PCI-CAN/2 w/driver 1.4
Microsoft Visual C++ 6.0 Professionalbsat, thank you for helping out!
I had tried using only one ncReset previously and was experiencing driver errors. I removed the second ncReset as you suggested and now it seems to work with only one. I cannot get it to fail like it was doing.
However, at least one ncReset must be used or I get the following error:
ERROR ncConfig CAN1: Driver error (qual=000b000)
Press any key to continue
I get this error even when the program terminates normally. For example:
1) Build obj2obj with the ncReset command.
2) Execute and allow to terminate normally.
3) Edit obj2obj and remove ncReset command.
4) Execute and the error message is displayed.
Amazingly, I was also able to single step through most of the program this morning. I got the first three messages (of 10 total) before ge
tting the error:
Microsoft Visual C++
First-chance exception in cctool.exe (NTDLL.DLL): 0xC0000008: Invalid Handle
It seems to be more random than first appeared and perhaps more related to MSVC than to the NI-CAN card. Any insight?
Also, having to include an ncReset is undesireable since I'd like to develop a CAN driver that could be called from multiple threads. I'd be very interested in your opinion on why I'm having trouble getting it to work without one.
Thanks again for your help, it is greatly appreciated!
Maybe you are looking for
-
I did not set up security question but it will not let me download anything from my new phone without answering them, please help
-
Hi, Can we create a table in database through XI, using JDBC Adapter? Thanks, Yogi.
-
OBIEE and Oracle Apps (E Business Suite) SSO implementation
Hi Gurus, We are using apps 11i and OBIEE 10.1.3.4 . I would like to ask that is there any doc which could provide me steps of SSO implementation between both. Or if not in doc is there any body who incorporated the same. Here we dont have DAC and ET
-
Errors in plsql devoloper on oracle 11g db
what are the causes for ORA-00936 and ORA-06512
-
When I start recording with Captivate 4 it restarts
It is so strange, since it was working fine, I believe it should be because an update, when I start recording with Captivate 4 it restarts showing for less than a second a blue screen. What can I do?