Error authorization worklist using java

Hello everyone.
I have been trying to authorization the worklist of jstein via java. I was reading another thread and I got this code: (I´m using SOA Suite 10.1.3.1.0)
try {
IWorkflowServiceClient wfSvcClient =
WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
IWorkflowContext ctx =
querySvc.authenticate("jstein", "welcome1", "jazn.com", null); //Error!
//querySvc.authenticate("jstein", "welcome1", null, null); //Error!
catch (WorkflowException e) {
System.out.println("Caught workflow exception: " + e.getMessage());
Libraries:
bpm-infra.jar
bpm-services.jar
jazncore.jar
oc4jclient.jar
orabpel-common.jar
orabpel-thirdparty.jar
orabpel.jar
orasaaj.jar
soap.jar
wsclient_extended.jar
xml.jar
xmlparserv2.jar
.../bpel/system/services/schema
.../bpel/system/services/config
I have received a following error:
29.11.2007 19:55:43 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
oracle.oc4j.rmi.OracleRemoteException: Unable to instantiate proxy object: javax/ejb/EJBException
     at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:989)
     at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26)
     at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
     at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
     at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
     at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
     at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
     at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:841)
     at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
     at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
     at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
     at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
     at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
     Nested exception is:
java.lang.NoClassDefFoundError: javax/ejb/EJBException
     at com.evermind.server.ejb.StatelessSessionObjectInfo.createRemoteInvocationHandler(StatelessSessionObjectInfo.java:26)
     at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:984)
     at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26)
     at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
     at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
     at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
     at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
     at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
     at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:841)
     at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
     at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
     at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
     at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
     at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
log4j:WARN No appenders could be found for logger (collaxa.cube.services).
log4j:WARN Please initialize the log4j system properly.
<2007-11-29 19:55:44,169> <ERROR> <oracle.bpel.services.workflow> <::> Unable to instantiate proxy object: javax/ejb/EJBException; nested exception is:
     java.lang.NoClassDefFoundError: javax/ejb/EJBException
oracle.oc4j.rmi.OracleRemoteException: Unable to instantiate proxy object: javax/ejb/EJBException
     at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at __Proxy0.create(Unknown Source)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
     at ru.timacad.Class1.main(Class1.java:26)
     Nested exception is:
java.lang.NoClassDefFoundError: javax/ejb/EJBException
     at com.evermind.server.ejb.StatelessSessionObjectInfo.createRemoteInvocationHandler(StatelessSessionObjectInfo.java:26)
     at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:984)
     at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26)
     at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
     at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
     at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
     at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
     at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
     at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:841)
     at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
     at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
     at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
     at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
     at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
<::> ORABPEL-30509
<::>
<::> Error in invoking task query service.
<::> A client side error occured in invoking the task query service.
<::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
<::>
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:118)
<::>      at ru.timacad.Class1.main(Class1.java:26)
<::> Caused by: oracle.oc4j.rmi.OracleRemoteException: Unable to instantiate proxy object: javax/ejb/EJBException; nested exception is:
<::>      java.lang.NoClassDefFoundError: javax/ejb/EJBException
<::>      at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
<::>      at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
<::>      at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
<::>      at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
<::>      at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
<::>      at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
<::>      at __Proxy0.create(Unknown Source)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
<::>      ... 1 more
<::> Caused by: java.lang.NoClassDefFoundError: javax/ejb/EJBException
<::>      at com.evermind.server.ejb.StatelessSessionObjectInfo.createRemoteInvocationHandler(StatelessSessionObjectInfo.java:26)
<::>      at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:984)
<::>      at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26)
<::>      at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)
<::>      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
<::>      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
<::>      at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
<::>      at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
<::>      at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
<::>      at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
<::>      at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:841)
<::>      at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
<::>      at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
<::>      at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
<::>      at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
<::>      at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
<::>      at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
<::>      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
<::>      at java.lang.Thread.run(Thread.java:595)
<2007-11-29 19:55:44,169> <ERROR> <oracle.bpel.services.workflow> <::> Unable to instantiate proxy object: javax/ejb/EJBException; nested exception is:
     java.lang.NoClassDefFoundError: javax/ejb/EJBException
oracle.oc4j.rmi.OracleRemoteException: Unable to instantiate proxy object: javax/ejb/EJBException
     at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at __Proxy0.create(Unknown Source)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:103)
     at ru.timacad.Class1.main(Class1.java:26)
     Nested exception is:
java.lang.NoClassDefFoundError: javax/ejb/EJBException
     at com.evermind.server.ejb.StatelessSessionObjectInfo.createRemoteInvocationHandler(StatelessSessionObjectInfo.java:26)
     at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:984)
     at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26)
     at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346)
     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
     at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
     at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
     at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
     at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
     at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:841)
     at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
     at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
     at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
     at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
     at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
     at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
     at java.lang.Thread.run(Thread.java:595)
Caught workflow exception: Error in invoking task query service.
A client side error occured in invoking the task query service.
Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
Thanks
stan1slav

Hi,
I just encountered error like this(RMI related error).
I'm using client API in a stand alone application to connect to BPEL server,using Jdev as IDE,and Oracle BPEL Process manager 10.1.3.1,and connect as REMOTE_CLIENT.
But I'm not sure if my wf_client_config.xml file is located in correct place or not,
May I ask you where I should put this file in my project file structure in JDeveloper to be in classpath?
In fact,I'm not sure about the folder or directory the file should be sit in JDeveloper,I put the j2ee_1.3.01.jar in classpath using add library and the class is compiled correctly,but when I run the program I get this error:
E:\Tools\JDeveloper10132\jdk\bin\javaw.exe -client -classpath E:\oracle\product\10.1.3.1\OraBPEL_ProcessManager\bpel\samples\demos\VacationRequest\OriginalVacationDemo\Test\output;E:\Tools\JDeveloper10132\j2ee\home\lib\ojsp.jar;E:\Tools\JDeveloper10132\j2ee\home\jsp\lib\taglib\ojsputil.jar;E:\Tools\JDeveloper10132\j2ee\home\oc4j.jar;E:\Tools\JDeveloper10132\j2ee\home\lib\oc4j-internal.jar;E:\Tools\JDeveloper10132\j2ee\home\lib\servlet.jar;E:\Tools\JDeveloper10132\jdev\lib\ojc.jar;E:\Lib\Jdev-lib\admin_client.jar;E:\Lib\Jdev-lib\bpm-infra.jar;E:\Lib\Jdev-lib\bpm-services.jar;E:\Lib\Jdev-lib\dms.jar;E:\Lib\Jdev-lib\j2ee_1.3.01.jar;E:\Lib\Jdev-lib\javax77.jar;E:\Lib\Jdev-lib\jazncore.jar;E:\Lib\Jdev-lib\jmxri.jar;E:\Lib\Jdev-lib\oc4j.jar;E:\Lib\Jdev-lib\oc4jclient.jar;E:\Lib\Jdev-lib\orabpel-ant.jar;E:\Lib\Jdev-lib\orabpel-boot.jar;E:\Lib\Jdev-lib\orabpel-common.jar;E:\Lib\Jdev-lib\orabpel-exts.jar;E:\Lib\Jdev-lib\orabpel-thirdparty.jar;E:\Lib\Jdev-lib\orabpel.jar;E:\Lib\Jdev-lib\oracle_http_client.jar;E:\Lib\Jdev-lib\orasaaj.jar;E:\Lib\Jdev-lib\rmic.jar;E:\Lib\Jdev-lib\soap.jar;E:\Lib\Jdev-lib\wsclient_extended.jar;E:\Lib\Jdev-lib\xml.jar;E:\Lib\Jdev-lib\xmlparserv2.jar -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.0.0.1|salehi-nas -Dhttps.proxyHost=proxy -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=localhost|127.0.0.1|salehi-nas com.irisaco.exir.bp.updateProcessVariable
log4j:WARN No appenders could be found for logger (collaxa.cube.services).
log4j:WARN Please initialize the log4j system properly.
<2008-03-01 15:13:50,004> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
     at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
     at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:125)
     at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
     at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
     at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
     at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
     at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:71)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
     at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
     at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
     at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> ORABPEL-30028
<::>
<::> Invalid configuration file wf_config.xml
<::> The configuration file wf_config.xml not be read.
<::> Make sure that the configuration file wf_config.xml is available and is a valid XML document. Contact oracle support if error is not fixable.
<::>
<::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:79)
<::>      at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
<::>      at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
<::>      at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
<::>      at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:71)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
<::>      at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
<::>      at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
<::>      at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> Caused by: java.lang.NullPointerException
<::>      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
<::>      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
<::>      at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:125)
<::>      at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
<::>      ... 9 more
<2008-03-01 15:13:50,020> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
     at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
     at oracle.bpel.services.common.util.AbstractJaxbUtil.unmarshal(AbstractJaxbUtil.java:125)
     at oracle.bpel.services.config.ConfigurationManager.init(ConfigurationManager.java:60)
     at oracle.bpel.services.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:101)
     at oracle.bpel.services.config.ConfigurationManager.getProperty(ConfigurationManager.java:119)
     at oracle.bpel.services.config.ConfigurationManager.getBooleanProperty(ConfigurationManager.java:170)
     at oracle.bpel.services.common.exception.ServicesException.<clinit>(ServicesException.java:61)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:71)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
     at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
     at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
     at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> ORABPEL-30509
<::>
<::> Error in invoking task query service.
<::> A client side error occured in invoking the task query service.
<::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
<::>
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:71)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
<::>      at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
<::>      at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
<::>      at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> Caused by: java.lang.NullPointerException
<::>      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
<::>      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:34)
<::>      ... 4 more
<2008-03-01 15:13:50,020> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
     at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:34)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
     at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
     at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
     at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> ORABPEL-30509
<::>
<::> Error in invoking task query service.
<::> A client side error occured in invoking the task query service.
<::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
<::>
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:71)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
<::>      at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
<::>      at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
<::>      at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
<::> Caused by: java.lang.NullPointerException
<::>      at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
<::>      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
<::>      at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:34)
<::>      ... 4 more
<2008-03-01 15:13:50,439> <ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
     at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:358)
     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:287)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.populateInitialContext(TaskQueryServiceRemoteClient.java:34)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.<clinit>(TaskQueryServiceRemoteClient.java:23)
     at oracle.bpel.services.workflow.client.RemoteWorkflowServiceClient.getTaskQueryService(RemoteWorkflowServiceClient.java:75)
     at com.irisaco.exir.bp.updateProcessVariable.getWFMClient(updateProcessVariable.java:109)
     at com.irisaco.exir.bp.updateProcessVariable.main(updateProcessVariable.java:202)
Caught workflow exception: null
Process exited with exit code 0.
Please help;
Any help would be appreciated!

Similar Messages

  • Error retrieving worklist using java

    Hi ,
    I am trying to retrieve the worklist for a particular user.
    The java code is :
    package cpa.apps.fin.wa.model;
    import java.util.ArrayList;
    import java.util.List;
    import javax.transaction.SystemException;
    import oracle.bpel.services.workflow.metadata.config.model.*;
    import java.util.ArrayList;
    import java.lang.Exception;
    import java.util.HashMap;
    import java.util.Map;
    import oracle.bpel.services.workflow.client.IWorkflowServiceClient;
    import oracle.bpel.services.workflow.client.IWorkflowServiceClientConstants;
    import oracle.bpel.services.workflow.client.WorkflowServiceClientFactory;
    import oracle.bpel.services.workflow.query.ITaskQueryService;
    import oracle.bpel.services.workflow.task.ITaskService;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.bpel.services.workflow.verification.IWorkflowContext;
    import utils.system;
    public class workflowClient {
    public static void main(String[] args){
    Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties = new
    HashMap<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>();
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.MODE,
    IWorkflowServiceClientConstants.MODE_DYNAMIC);
    properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT,
    "http://abc.xyz.pqr.us:8001");
    IWorkflowServiceClient client =
    WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT,
    properties, null);
    try
    //Create JAVA WorflowServiceClient
    IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(
    WorkflowServiceClientFactory.REMOTE_CLIENT);
    //Get the task query service
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    //Login as efs_generic_3
    IWorkflowContext ctx = querySvc.authenticate("efs_generic_3","Password2011".toCharArray(),null); **//this is point where i get the error.**
    //Set up list of columns to query
    List queryColumns = new ArrayList();
    queryColumns.add("TASKID");
    queryColumns.add("TASKNUMBER");
    queryColumns.add("TITLE");
    queryColumns.add("OUTCOME");
    //Query a list of tasks assigned to jstein
    List tasks = querySvc.queryTasks(ctx,
    queryColumns,
    null, //Do not query additional info
    ITaskQueryService.AssignmentFilter.MY,
    null, //No keywords
    null, //No custom predicate
    null, //No special ordering
    0, //Do not page the query result
    0);
    //Get the task service
    ITaskService taskSvc = wfSvcClient.getTaskService();
    //Loop over the tasks, outputting task information, and approving any
    //tasks whose outcome has not been set...
    for(int i = 0 ; i < tasks.size() ; i ++)
    Task task = (Task)tasks.get(i);
    int taskNumber = task.getSystemAttributes().getTaskNumber();
    String title = task.getTitle();
    String taskId = task.getSystemAttributes().getTaskId();
    String outcome = task.getSystemAttributes().getOutcome();
    /* if(outcome == null)
    outcome = "APPROVE";
    taskSvc.updateTaskOutcome(ctx,taskId,outcome);
    System.out.println("Task #"+taskNumber+" ("+title+") is "+outcome);
    catch (Exception e)
    //Handle any exceptions raised here...
    System.out.println("Caught workflow exception: "+e.getMessage());
    When trying to debug, this is where it threw the error :(
    // IWorkflowContext ctx = querySvc.authenticate("skyadav","welcome1".toCharArray(),null); **//this is point where i get the error.**
    Caught workflow exception: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination]
    Process exited with exit code 0.
    Reading further I understood that i also need to set up a Workflow client Configuration, which i have done using a MAP but i found that we also need to configure wf_client_config.xml
    Can anyone one put some light where i need to keep this file and what sort of configurationis required in it .
    Thanks
    Sumit Yadav
    Edited by: Sumit Yadav on Jul 8, 2011 8:39 AM

    have done the above mentioned steps .
    Fom Oracle worklist page i am able to login .
    but when ever in my program i amtrying it gives the following error.
    Note:
    We are using SSO for authentication:
    but it always gives the error pointing to jazn file .
    Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/efs_generic_3.
    Verify that the user credentials and identity service configurations are correct.
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         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_1034_WLStub.authenticate(Unknown Source)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceRemoteClient.authenticate(TaskQueryServiceRemoteClient.java:122)
         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:133)
         at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:72)
         at $Proxy14.authenticate(Unknown Source)
         at cpa.apps.fin.wa.model.workflowClient.main(workflowClient.java:43)
    Caught workflow exception: Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/efs_generic_3.
    Verify that the user credentials and identity service configurations are correct.
    Process exited with exit code 0.
    there are 2 methods :
    oracle.bpel.services.workflow.verification.IWorkflowContext authenticate(java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4) { }
    oracle.bpel.services.workflow.verification.IWorkflowContext authenticate(java.lang.String p1, char[] p2, java.lang.String p3) { }
    once i tried
    IWorkflowContext ctx = querySvc.authenticate("efs_generic_3","Password2011".toCharArray(),null);
    and again
    IWorkflowContext ctx = querySvc.authenticate("efs_generic_3","Password2011",null,null);
    but evertime it gives the same error :
    Error in authenticating and creating a workflow context for user jazn.com/efs_generic_3
    Why it point to jazn/XYZ.. even though I have not implemented ADF security
    Please advise.
    Thanks
    Sumit Yadav
    Edited by: Sumit Yadav on Jul 15, 2011 9:24 AM

  • Error with TaskSearchFilter using Java APIs in custom component

    I have created a custom Java component for use in LC Process Mgr.
    Upon invoke of process containing component, component fails with the following message:
    2011-02-28 16:28:31,260 ERROR [com.adobe.workflow.AWS] Cannot coerce object: [email protected]41 of type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter to type: class com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter
    Code is pretty basic:
            ServiceClientFactory myFactory = ServiceClientFactory.createInstance();
            TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(myFactory);
            TaskSearchFilter filter = new TaskSearchFilter();
            filter.addCondition(TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");
            List<TaskRow> result = queryManager.taskSearch(filter);
    Error seems to occur with the creation of the List. This code works ok when run as standalone file in either Eclipse or Netbeans but not within the component.
    All necessary JARs are included and are listed in the class-path in component.xml.
    Does anyone have any ideas?
    Thanks,
    David

    Looks like a class loader issue.  Usually this is caused by having the a class (TaskSearchFilte) in your component that on the server.   In other words there are two copies of the TaskSearchFilte class - yours and the one already in LiveCycle - and they are in conflict.
    If that's the case, the solution is simple:
    remove the jar files containing the TaskSearchFilte (and any other LiveCycle clients) from your component's jar file.  You may need them in the build path, so your code can compile - but you don't need them in the final component jar.
    remove the references to these jar files from the component.xml file's class-path entry
    add an import-packages section to your component.xml file.  This will not reference the jar files, but the package names themselves.  For example:
    <import-packages>    
         <package version="1.0">com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter</package>
         <!--  add more as needed -->
    </import-packages>

  • Error BEA-000438 - Unable to load performance pack. Using Java I/O instead.

    On a Solaris 9 machime, 64 bits architecture, j2sdk1.4.2_08, Weblogic Server 8.1 SP2
              when I try to deploy the application, launching java wiht "-d64" option I get :
              <Jun 22, 2005 12:12:41 PM CEST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead.
              Please ensure that libmuxer library is in
              :'/export/home/j2se/j2sdk1.4.2_08/jre/lib/sparcv9/server:/export/home/j2se/j2sdk1.4.2_08/jre/lib/sparcv9:/export/home/Aplics/Apl1/WEB-INF/lib::/usr/local/bea/weblogic81/server/lib/solaris:/usr/local/bea/weblogic81/server/lib/solaris/oci920_8:/usr/lib'
              libmuxer exist on /usr/local/bea/weblogic81/server/lib/solaris
              Any idea?
              Thanks

              Can you post more details ?
              Sergi
              Jiffy <[email protected]> wrote:
              >error:
              > <2004-3-12 %u4E0B%u534815%u65F648%u520654%u79D2 CST> <Error> <Socket>
              ><BEA-000438> <Unable to load performance pack. Using Java I/O instead.
              >Please ensure that wlntio.dll is in: 'D:D:/bea/weblogic81/server/bin'
              >>
              

  • ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css   Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers

    ERROR MESSAGE WHEN USING PACK COMMAND   Missing file ////presenter.css    Command then fails
    Also:  "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course."  I have Java enabled in all browsers
    Thoughts?  Using Presenter 10  Win 8.1  Intel I7  new HP with plenty of memory
                   Thanks

    I had saved one copy as an .asp but then resaved it to .xhtml 
    I'm assuming this is a static web site.  Rename (F2) all your pages with .html or .htm extension. 
    .xhtml is not a valid extension.
    Nancy O.

  • Running unix command using java shows error

    Hi All,
    I am trying to run UNIX move command using Java exec method but its throwing error, unable to rename. Here below is the code i am trying to run to move all files from one directory to another directory. source and destination directory exists.
    public class Demo
        public static void main(String args[])
            try
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec("mv /home/demo1/* /home/demo2");
                int exitVal = proc.waitFor();
                System.out.println("Process exitValue: " + exitVal);
            } catch (Throwable t)
                t.printStackTrace();
    }if i give "mv /home/demo1 /home/demo2" in exec method, its working, with * character its giving problem.
    Please help me in resolving the problem.
    Thank you

    Characters like *, >, &, |, etc. are interpreted by the command shell--that is by the bash, zsh, etc. programs. When you execute a command with ProcessBuilder or Runtime.exec, you're not going through one of those shells, so their interpretation of those characters is not available.
    In your code, the character * is being delivered directly to the mv command (which doesn't think * is anything special), as opposed to being turned into a list of files and directories as it would be when it's interpreted by the shell. The mv command doesn't know anything about the * character being special.
    If you want to have those shell interpretations, you need to execute the command through a shell. One example is like so, but a) you'll want to read up on the methods in exec() that take arrays of String, and b) you'll want to read up on ProcessBuilder, and c) you'll need to check your shell's man pages to see the exact syntax and arguments.
    runtime.exec("/bin/bash -c 'mv x/* y'");

  • Error of using Java Mail in Web Start

    Hi,
    I got a problem when using Java Mail to send email. My apps is a stand alone and no problem when it was deployed normally. When I used the Web Start to deploy it, the following error was caught when I tried to send email:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_0_2824645.1032281188963"
         at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
         at javax.activation.DataHandler.writeTo(DataHandler.java:305)
         at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089)
         at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1527)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:321)
         at javax.mail.Transport.send0(Transport.java:164)
         at javax.mail.Transport.send(Transport.java:81)
         at com.mailcom.client.util.EMail.sendMail(EMail.java:180)
    Here is the source code:
    public class EMail {
    public static void sendMail(String host,
    String sender,
    String recipient,
    String subject,
    String content,
    Vector fileNames) throws MessagingException {
    Properties props = new Properties();
    props.put("mail.smtp.host",host);
    Session session = Session.getDefaultInstance(props,null);
    session.setDebug(true);
    Message msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(sender));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(recipient,false));
    msg.setSubject(subject);
    Multipart mp = new MimeMultipart();
         // create and fill the first message part
         MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setText(content);
         mp.addBodyPart(mbp1);
    // attach the file to the message
    if(fileNames != null && fileNames.size() != 0) {
    FileDataSource fds = null;
    for(int i = 0; i < fileNames.size(); i++ ) {
    String currentFileName = (String)fileNames.elementAt(i);
         fds = new FileDataSource(currentFileName);
         // create the second message part
         MimeBodyPart mbp2 = new MimeBodyPart();
         mbp2.setDataHandler(new DataHandler(fds));
         mbp2.setFileName(fds.getName());
         // create the Multipart and its parts to it
         mp.addBodyPart(mbp2);
         // add the Multipart to the message
         msg.setContent(mp);
    msg.setHeader("X-Mailer",MAILER);
         // set the Date: header
         msg.setSentDate(new Date());
         // send the message
    line 180     Transport.send(msg);

    Yes. All the third party jar files and our application jar are put on the server side. Here is the JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for software-->
    <jnlp spec="1.0+" codebase="http://www.software.com/apps" href="client.JNLP">
    <information>
    <title>client application</title>
    <vendor> * </vendor>
    <homepage href="docs/help.html"/>
    <description>Client</description>
    <description kind="short">A tool</description>
    <icon href="images/logo.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3"/>
    <jar href="lib/client.jar"/>
    <jar href="lib/mail.jar"/>
    <jar href="lib/smtp.jar"/>
    <jar href="lib/activation.jar"/>
    </resources>
    <application-desc main-class="com.software.client.MainFrame">
         <argument>2226</argument>
         <argument>www.software.com</argument>
         <argument>5351</argument>
    </application>
    </jnlp>

  • Error trying to open a file using java.io.* in an Applet

    I have a file called wordlist.txt and I am using java.io.* to open it. When I try it
    in Applet Viewer it runs without a hitch. But when I try to run it in a
    browser as an Applet, it errors out saying:
    com.ms.security.SecurityExceptionEx[package3/SpellCheck.setWordList]: cannot access file wordlist.txt
    I have tried adding this file to my Project and accessing it that way but I still get
    the same message. If anyone can help with this, I sure would appreciate it.
    My code is as follows:
    String inWord = new String("zzz");
    try {
    File myWordList = new File("wordlist.txt");
    BufferedReader inWordList = new BufferedReader(
    new FileReader(myWordList));
    inWord = inWordList.readLine();
    while (inWord != null) {
    wordList.addElement(inWord);
    inWord = inWordList.readLine();
    } // end while
    inWordList.close();
    } // end try
    catch (Exception e1) {
    // Pr is equivalent System.out.println();
    Pr("Error Reading this line " + '\n' + inWord + '\n' + e1);
    } // end catch
    } // end setWordList()

    Applets are generally prevented from reading as well as writing files, but appletviewer can load files from the hard drive, so, that is the cause of the behaviour you have observed. To know more about enabling applets load files, you have to sign your applets,
    learn more at
    http://java.sun.com/sfaq/#prevent

  • Acrobat standard 9.0 error while enabling commets option using Java script object

    I'm using the below java script code in my VB 6.0 application for enabling commets options in the PDF file
    Dim oJSO As Object
    Set oJSO = mPDDoc.GetJSObject
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    It is working fine till Acrobat 8.0. Now I'm trying with Acrobat 9.0 standard edition, it is throwing scripting error 'An unhandled Win32 exception occured in Acrobat.exe[308].
    Can anyone suggest the way to enable 'comment' options in Acrobat Standard 9.0 using Java Script Object?
    Thanks

    I get much the same problem with VB6, Acrobat 9 Pro and WinXP SP3. When I single step the line:
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
    The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
    I've experimented with the JavaScript debugger in Acrobat and you can execute Collab.showAnnotToolsWhenNoCollab = True and reference the value of Collab.showAnnotToolsWhenNoCollab in the console. The problem appears only when accessing Acrobat Javascript through the Interapplication Communication API.
    If anyone can help it would be appreciated. I tried Adobe's Acrobat support and they were no help at all.

  • How to use Java Embedding activity, getting error

    Below is a simple code where in I am just assigning input variable to output variable(of type long), using java embedding activity, and I am getting error in Java Embedding Activity step.
    <bpelx:exec name="Java_Embedding_1" language="java" version="1.4">
    <![CDATA[ 
    Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");   
    String arg1=inputValue1.getNodeValue(); 
    setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg1));]]>
    </bpelx:exec>
    Runtime Error:
    <runtimeFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>java.lang.*NumberFormatException*</code>
    </part><part name="summary"><summary>null</summary>
    </part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@1c50684</detail>
    </part></runtimeFault>
    Could anyone please point out the mistake?

    No, that's not working. Throwing below error.
    faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {}
    parts: {{summary=<summary>XPath query string returns zero node.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity &amp;lt;to&amp;gt; part query should not return zero node.
    Please check the BPEL source at line number "" and verify the &amp;lt;to&amp;gt; part xpath query.
    My output varaible is of type long and there i m creating a Long object using it's constructor which takes in a string, Long(String s)
    Actually, I m not just priniting the input, but i need to perform some calculations also on the inputs, like
    Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");  
    Element inputValue2 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input2");  
    long arg1=Long.parseLong(inputValue1.getNodeValue());  
    long arg2=Long.parseLong(inputValue2.getNodeValue());  
    long arg3 = arg1+arg2; 
    setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg3));                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Strange class error when using java

    I've been attempting to use java.awt.robot to simulate a key press when a button is clicked however I'm getting a couple of errors that I can't figure out but I'm not so good when it comes to scripts. When the button "LetterButton" is pressed it should simulate a keypress, ideally to the desktop/operating sytem but the errors I'm getting are:-
    1071: Syntax error: expected a definition keyword (such as function) after attribute public, not static.
    1084: Syntax error: expecting rightbrace before leftbrace.
    1131: Class must not be nested.
    Here's the code:-
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplicationxmlns:mx="
    http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
    <![CDATA[
    import java.awt.Robot; 
    import java.awt.event.KeyEvent; 
    public class Main { 
    public static void main(String[] argv) throws Exception { 
    Robot robot =
    new Robot(); 
    robot.keyPress(KeyEvent.VK_A);
    robot.keyRelease(KeyEvent.VK_A);
    ]]>
    </mx:Script>
    <mx:VBox x="359" y="262" horizontalCenter="0" verticalCenter="0">
    <mx:Button id="LetterButton" label="Button" click=""/>
    <mx:TextInput id="txt"/>
    </mx:VBox></mx:WindowedApplication>

    Sounds tricky. I may ask them to look for an alternative way of doing it as Java really isn't my thing, I'm merely just a flex beginner at the moment.
    The reason I've been looking for this is that my app will be installed on a digital tv that also has a system connected to it using a Linux operating system so the user can switch between watching digital tv and the application seamlessly and at the moment a Linux professional who I'm working with has the Digital TV bound to the F12 key which is bound to a handheld remote control (being a tv there is no keyboard, just an 'air mouse' and the remote control).
    So my client and my Linux guy have asked me to come up with a way of getting the app to communicate with the desktop/operating system. I have seen flex apps in the past where a user can drag and drop videos on their desktop into an air application from which they will be played so I thought it would be possible to interact with the exteral OS/Desktop from within an AIR app by using just flex but it doesn't seem so easy through my research.
    Thanks for your help though.

  • Getting error: E_ADEPT_DISTRIBUTOR_AUTH while access ACS4 using java

    Hello Everyone,
    Thanks for ur time. I am new to ACS4.
    I am trying to access ACS4 using java code and view the response for ALL ITEMS.
    Below is the code that i created using UploadTest reference.
            String targetURL_viewAllItems = "http://xxx.xxxxxxx.com:8080/admin/ManageResourceItem";
            String nonce = Base64.encodeBytes(makeNonce());   
            byte[] hmacKeyBytesSHA1 = TestXMLUtils.SHA1(PASSWORD);
            String hmacKey = TestXMLUtils.hmac(hmacKeyBytesSHA1);
            String output_viewAllItems = "<request action='get' auth='builtin' xmlns='http://ns.adobe.com/adept'><nonce>"+nonce+"</nonce><expiration>2011-08-17T09:43:34-00:00</expiration><hmac>"+hmacKe y+"</hmac></request>";
            System.out.println(output_viewAllItems);
            sendContent(output_viewAllItems, createConnection(targetURL_viewAllItems));
    But after executing this code from my desktop, i am getting the below error response:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_DISTRIBUTOR_AUTH http://xxx.xxxxxxx.com:8080/admin/ManageResourceItem urn:uuid:00000000-0000-0000-0000-000000000001"/>
    Please help me to figure out the error.
    Thanks
    Rupal Chatterjee

    Are you sure you are signing the URL/.acsm file correctly for those particular books?

  • Error occured when using javap (Java Class File Disassembler)

    Hi,
    I have tried to use Java Class File Disassembler by using javap and i'm getting the error shown below,
    C:\> javap abc.class
    ERROR: Could not find abc.class
    abc.class present in C:\ drive.
    Please let me know how to solve the problem
    Thanks in Advance
    Soundar

    Hi,
    Thanks for your information, it works fine. Please let me know is there any option to display the method and variable implemation in abc.class.
    I have tried javap abc it displays the method name only.
    Thanks in advance,
    Soundar

  • Error using "java" command

    I've just started trying to learn java and what is really ticking me off is that I can't get my applications to run. I use the "javac" command and it works just fine so I can get applets to work but when I use "java" to run applications I get the error message:
    "Exception in thread "main" java.lang.NoClassDefFoundError: "(class name)
    I've gone back through and checked my environmental variables and paths but get the same results. I've also tried with two versions of the SDK,
    1.2.2 and 1.4.1 and I still get the same results.
    Anyone PLEASE help, I need to get farther in learning Java!

    My First Java Program (for Windows)
    Follow these steps:
    1. Download and install the Java 2 SDK
    2. Make sure your path and classpath are set correctly
    3. Type in your first program
    4. Compile your first program
    5. Run your first program
    6. Read the Java tutorial
    1. Download and install the Java 2 SDK
    Go to the Java website and download the Java 2 SDK, Standard Edition:
    http://java.sun.com/j2se/1.4.1/download.html
    NOTE: Make sure you download the SDK (leftmost column) and not just the JRE. The JRE (Java Runtime Environment) only contains the stuff necessary to run Java programs, and not the compiler and other tools you need to develop Java programs.
    After downloading, run the installation program to install the Java 2 SDK.
    2. Make sure your path and classpath are set correctly
    After installing, READ THE INSTALLATION NOTES! Lots of people get in trouble and are asking questions in the forums because they were too lazy to read and follow the installation notes. Especially, after installing the Java 2 SDK you need to add the 'bin' directory of the SDK to your PATH, otherwise you will get an error like "javac is not recognized as an internal or external command" or something similar.
    If you've installed the Java 2 SDK in C:\j2sdk1.4.1_03, add C:\j2sdk1.4.1_03\bin to the PATH. How you should do this for different versions of Windows is described in the installation notes: http://java.sun.com/j2se/1.4.1/install-windows.html
    If you are using a version of the Java 2 SDK older than 1.4, you need to add the current directory (".") to the CLASSPATH environment variable. CLASSPATH is where Java looks for *.class files (compiled Java classes). Since Java 1.4, Java looks in the current directory automatically if the CLASSPATH isn't set, so you don't need to add "." to the CLASSPATH. Again, the installation notes explain what CLASSPATH is and how you should set it.
    3. Type in your first program
    Start Notepad and type in your first program:
    public class HelloWorld {
        public static void main(String[] args) {
            System.out.println("Hello World");
    }NOTE: Java is case-sensitive. Be careful to type in the program exactly as shown above. Don't type "Helloworld" or "helloworld" or anything else.
    Save the file somewhere in a file called "HelloWorld.java". NOTE: Again, the case must be correct. Even though Windows is case-insensitive for filenames, the case must be correct, because Java is case-sensitive. Also watch out that Notepad doesn't append ".txt" to the filename (so that you end up with a file called "HelloWorld.java.txt"). To make things worse, Windows Explorer hides file extensions by default so you don't even see that the file is actually called "HelloWorld.java.txt" instead of "HelloWorld.java".
    4. Compile your first program
    Open a command prompt, CD to the directory that contains your source file and type:
    javac HelloWorld.java
    NOTE: Again, the case must be exactly right.
    If all goes well, you'll not get any error messages and a file "HelloWorld.class" is generated.
    5. Run your first program
    To run your program, type:
    java HelloWorld
    NOTE: Don't type "HelloWorld.class". You are specifying the class name here, not the filename. Ofcourse, the case is important again.
    6. Read the Java tutorial
    Go to the Java website and follow The Java Tutorial:
    http://java.sun.com/docs/books/tutorial/
    The chapter "Your First Cup of Java" also explains in detail how to start with Java.
    Jesper

  • Initially stating No authorization required using Adobe.  When I try to change it so I can transfer downloaded books by my Nook e-reader it I get an error message stating the Adobe user name and password is associated with another computer.  What gives?

    When I set up Adobe reader on my computer to be able to download books from a library and then transfer to my Nook e-reader, I initially stating No authorization required using Adobe.  When I try to change it so I can transfer downloaded books by my Nook e-reader it I get an error message stating the Adobe user name and password is associated with another computer.  What gives?

    This is pretty surprising and wierd that even Reader 10.1.1 is crashing on your system. It works pefectly for me.
    Would it be possible for you to get the crash dump, and upload it, so that I can have a look at the same.
    Download PROCDUMP from <http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx> and extract it to a folder, say, c:\temp\procdump.exe
    Open cmd prompt and type "cd c:\temp".
    Launch the browser and open the PDF.
    Open task manager, sort processed by name. Two AcroRd32.exe instances  should have been launched. Note the PID (a small integer like 5588) corresponding to the AcroRd32.exe with the higher memory usage; this is the process that must be crashing. Note this PID.
    On the cmd window, type "procdump -e -ma 5588 c:\temp\01.dmp" (replace 5588 with the actual PID of the process noted in Step 4). Procdump will now wait for the aoolication to crash. If it throws a EULA, accept it.
    Perform your steps to cause the crash.
    Procdump will have created a dump file at "c:\temp\01.dmp". Zip it up (since it will be 100s of MBs otherwise) and share with me.
    Thanks in advance for all your help
    Ankit

Maybe you are looking for

  • Error generating report in Report writer (GR214, short dump)

    Hello We are making a report in GGR2. When generating the report group, we have dump with error: Short text of error message: Internal error.: SAPMGRW2, Include: MGRW2F20, FORM: GEN_DATAFI ELD. Long text of error message: Technical information about

  • Getting an "unable to Load the tables in the power pivot window" error

    Hello, I have 2 worksheets in a excel file and would like to load both into a power pivot table. When I click the 'create linked table' in the pwer pivot ribbon, The powerpivot window open and looks like its about to load the data but then I get a po

  • Projector compatability?

    hi all, i'm interested in a toshiba projector (costs around £230) but wasn't sure if it is compatible with the mac. I emailed toshiba and this is what they said; "thank you very much for you inquiry via e-mail. In general, the TDP-S8 supports any SVG

  • Ultra 2 hard disk info needed

    Hi all, sparc newbie here. I inherited this beast (specs below) and the first thing I want to do is replace the disks (they are really loud). I understand that I can go bigger than 9 gig. Is there a limit as to how big I can go? I've searched and I c

  • Classification of WT in Report

    Hi, We are building Report , where we have to clasify WT's according to Deductions and earnings, and under deductions, Pre tax and post tax.  We can check WT attributes for deduction check but how do i can clasify pre tax and post tax after reading R