Compensation handler invoked by bpel console admin
Hello
I need to implement following scenario: bpel process generates user task with two possible conclusions: accept and reject. Process must allow bpel administrator to react on situation where user by mistake choose wrong task conclusion. Is it possible to use compensation in this scenario? Any other ideas?
Regards
J
Hi sreejit,
Restart your database. Probably there is some problem with the database.
or
Check your datasource connection details in EM-> JDBC connections.
Cheers,
Abhi...
Similar Messages
-
Error Handling mechanism in BPEL Console
Hi
One of our client wanted to handle the situations where a BPEL Instance at BPEL console got errored for different reasons.
We Know that we can handle all possible error combinations with in a BPEL. But, here client requirement is because of any reasons (May be not problem because of any BPEL code) if BPEL Process Instance will complete with error in BPEL Console how do we handle those errors. Do, we have any control on BPEL console.
Please do share your experience on this requriement.
Regards
Kiran AkkirajuI have tried to chain two conditions when a remote fault occurs, as described in the links suggested.
ora-retry and then ora-human-intervention.
But only the last condition is executed, in this case it is the human-intervention. The retry is definitively not executed.
If I do the other way around human then retry, only retry is executed.
Does someone has the same issue?
Extract from DefaultPolicy.xml:
<Conditions>
<!-- Fault if wsdlRuntimeLocation is not reachable -->
<faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:remoteFault">
<condition>
<action ref="ora-retry"/>
</condition>
<condition>
<action ref="ora-human-intervention"/>
</condition> -
Hi,
Can we use BPEL Console/Admin to edit fault policy file? I didn't find a way though.. I assume it should be possible using Console/Admin ...
Please let me know ..
RanjithI believe it is not possible atleast in 10.1.3.3 version, Oracle might support this in later version.
Have you seen the demo of Oracle CAB, I believe they wrote some JSP to view/edit these policies. (Not sure it may be just for ESB).
Regards,
Chintan -
Authentication Failed : BPEL Console and BPEL Admin
Hi ,
I am trying to log in to BPEL Console repeatedly. I am using the user oc4jadmin. I have logged in successfully previously using oc4jadmin.
I read somewhere that a workaround is
"Workaround is you take login_error.jsp off from URL http://<host>:<port>/BPELConsole/login_error.jsp, So your URL would look like http://<host>:<port>/BPELConsole/. This will automatically log you in. Since the problem was with redirection and not with your credentials"
This is also not working for me.
Could it be possible that I have locked this account ? Is so, how can I unlock it .
Any suggestions on why I get repeatedly Authentication Failed ?Hi ,
Thanks for the response .
This the log from opmn/logs/default_group~oc4j_soa~default_group~1.log
09/08/17 14:14:33 ############# statusFilter = ASSIGNED###########
09/08/17 14:14:33 ############# session = oracle.portal.provider.v2.http.ServletProviderSession@1ee1212###########
09/08/17 14:14:33 ############# wlCtxKey = _piref985378135.worklistContext###########
09/08/17 14:14:33 ############# ctx = null###########
09/08/17 14:14:33 ############# wlRmtUserKey = _piref985378135.remoteUser###########
09/08/17 14:14:33 ############# sessionRemoteUser = null###########
09/08/17 14:14:33 ############# currentRemoteUser = null###########
09/08/17 14:14:33 ############# filterPredicate = ( wfn.State IN (?,?))############
09/08/18 13:07:52 BI Beans Graph version [3.2.2.0.24]
09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
09/08/18 13:07:55 BI Beans Graph version [3.2.2.0.24]
09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
09/08/18 13:07:55 Tue Aug 18 13:07:55 CEST 2009 PROBLEM: In oracle.dss.thin.beans.graph.ThinGraph::setTabularData: all relational rows are null
09/08/18 13:09:09
ConnectionPoolManager uiauthpool intialized with url=jdbc:oracle:thin:@//SHK-ORADEVAPP02.HK.INDISKA.SE:1521/orcl.hk.indiska.se driver=oracle.jdbc.driver.OracleDriver user=ORAWSM maxConn=5
[oraias@SHK-ORADEVAPP02 logs]$ -
SOA Suite 10.1.3.4 loses instances in the BPEL console
Hello,
One of my BPEL processes loses instnaces in the BPEL console.
OS: AIX 5.3 oslevel –s:5300-04-02
SOA Suite 10.1.3.4
I feel I hit the same problem as this thread, process is supposed to be in a jta transaction
But I have set following 3 values (all in seconds), and I still have the problem. The SYNC call is to query the Oracle EBS PO by PO NO, and get its po lines, line shipments, and shipment distributions by Oracle Database Adapter. If my PO just had one line, the process instance can be seen in the console, otherwise it won't, but all these instances are finished, because in the end the process will enqueue a message into a queue. And I can see all these messages there. Anyone can help? Thanks!
$ORACLE_HOME/j2ee/oc4j_soa/config/transaction-manager.xml
transaction-timeout="240"
$ORACLE_HOME/j2ee/oc4j_soa/application-deployments/orabpel/ejb_ob_engine/orion-ejb-jar.xml
transaction-timeout="180"
$ORACLE_HOME/bpel/domains/default/config/domain.xml
<property id="syncMaxWaitTime">
<name>Delivery result receiver maximum wait time</name>
<value>600</value>
-------------- Error messages ----------------
<2009-04-02 11:40:03,319> <ERROR> <default.collaxa.cube.engine> The execution of this instance "40002" for process "PROEBSMsgToB2B" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information.
<2009-04-02 11:40:03,324> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Scope not found.
The scope "BpPrc0.1" has not been defined in the current instance.
ORABPEL-02094
Scope not found.
The scope "BpPrc0.1" has not been defined in the current instance.
Regards,
Kerr
Edited by: Kerrs on 2/04/2009 12:15Hi Kerr,
These are the possible cause to the problem and their solutions:
Poor performance of the dehydration database If you are using Oracle Lite as dehydration store, please switch to use Oracle 9i or 10g. If Oracle 9i/10g is already in use, check the database parameter 'process' and 'session' to make sure it can handle the expected throughput.
OC4J has too few available connections to the dehydration database. Increase the maxConnection number of the BPELServerDataSource at the BPEL_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/data-sources.xml (for developer edition) or IAS_HOME/j2ee/OC4J_BPEL/config/data-sources.xml (mid-tier installation).
Size of message is too big Two ways to deal with this problem:
Increase the transaction timeout at PEL_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/server.xml (developer edition) or IAS_HOME/j2ee/OC4J_BPEL/config/server.xml (mid-tier installation) : http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm#sthref3957
Decrease the auditLevel from BPELConsole -> Manage BPEL Domain -> Configurations tab. Doing so will reduce the amount of data saved to the dehydration store.
Having said all that , its always good to be on latest 10.1.3.4 MLR # 5, so that if you have an SR logged with Oracle Support, they will not again ask you to upgrade to latest patch, rather they can focus on getting a fix for you on top of the latest patch itself.
Hope this helps!
Cheers
Anirudh Pucha -
Compensation handler and compensate activity doesn't work
Hi!
i'm trying to build process with compensation handlers and it doesn't work .. to test it i made the following example:
in scope_1 there is simple assign_1 and in compensation handler there is assign_2. after scope_1 i throw error and in catchAll branch i have compensate activity - calling compensation of scope_1. But that compensation activity is never invoked! can please someone tell me why? what am i doing wrong?
I have bpel 10.1.2 ...
Thanks, Tomas
This is the source of my process:
<process name="pokusy" targetNamespace="http://xmlns.oracle.com/pokusy"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/all_keycodes/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns5="aa"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:client="http://xmlns.oracle.com/pokusy"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<partnerLinks>
<partnerLink name="client" partnerLinkType="client:pokusy"
myRole="pokusyProvider" partnerRole="pokusyRequester"/>
</partnerLinks>
<variables>
<variable name="inputVariable" messageType="client:pokusyRequestMessage"/>
<variable name="outputVariable" messageType="client:pokusyResponseMessage"/>
</variables>
<faultHandlers>
<catchAll>
<sequence name="Sequence_2">
<compensate name="Compensate_2" scope="Scope_1"/>
<assign name="Assign_3">
<copy>
<from expression="concat(bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'after compensate..')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
<invoke name="Invoke_1" partnerLink="client"
portType="client:pokusyCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</catchAll>
</faultHandlers>
<sequence name="main">
<receive name="receiveInput" partnerLink="client" portType="client:pokusy"
operation="initiate" variable="inputVariable" createInstance="yes"/>
<scope name="Scope_1">
<compensationHandler>
<assign name="Assign_2">
<copy>
<from expression="concat( bpws:getVariableData('outputVariable','payload','/client:pokusyProcessResponse/client:result'),'...COMPENSATE!!!')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
</compensationHandler>
<sequence name="Sequence_1">
<assign name="Assign_1">
<copy>
<from expression="concat(bpws:getVariableData('inputVariable','payload','/client:pokusyProcessRequest/client:keyCode'),'...first assign...')"/>
<to variable="outputVariable" part="payload"
query="/client:pokusyProcessResponse/client:result"/>
</copy>
</assign>
</sequence>
</scope>
<throw name="Throw_1" faultName="ns5:aa"/>
<invoke name="callbackClient" partnerLink="client"
portType="client:pokusyCallback" operation="onResult"
inputVariable="outputVariable"/>
</sequence>
</process>this might be caused by a bug I found too causing eventhandlers not to work, the work round in your case would be:
blar blar blar
</variables>
<!-- start work round --><scope><!-- end work round -->
<faultHandlers>
blar blar blar
blar blar blar
</sequence>
<!-- start work round --></scope><!-- end work round -->
</process>
i.e. what I'm saying is that top level handler don't work since they are ignored by the engine because they are not in a scope. Try it and see.... -
Problem in invoking a BPEL flow using java client
Hi,
We are new to BPEL. We tried invoking a flow (assign, invoke, assign) from a java client and we are facing the following exception :
=========================
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting f
or response has timed out. The conversation id is null. Please check the process
instance for detail.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname: alk3wks30a
com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response ha
s timed out. The conversation id is null. Please check the process instance for
detail.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:251)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:168)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1001)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.content(Unknown Source)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.content(Unknown Source)
at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
at org.apache.crimson.parser.Parser2.parse(Unknown Source)
at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
at org.apache.axis.client.Call.invoke(Call.java:2515)
at org.apache.axis.client.Call.invoke(Call.java:2210)
at org.apache.axis.client.Call.invoke(Call.java:2133)
at org.apache.axis.client.Call.invoke(Call.java:1656)
at SampleClient.initiate(SampleClient.java:87)
at SampleClient.main(SampleClient.java:126)
==========================================================
Here is our java client.
import javax.xml.namespace.QName;
import javax.xml.rpc.JAXRPCException;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.encoding.XMLType;
import javax.xml.rpc.soap.SOAPFaultException;
import org.apache.axis.client.Call;
* @version 2.0 $Date: 07-mar-2005.05:07:45 $
* @author Copyright (c) 2004 by Oracle. All Rights Reserved.
public class SampleClient
private static QName SERVICE_NAME;
private static QName PORT_TYPE;
private static QName OPERATION_NAME;
private static String SOAP_ACTION;
private static String STYLE;
private static String THIS_NAMESPACE = "http://xmlns.oracle.com/Hello";
private static String PARAMETER_NAMESPACE = "http://xmlns.oracle.com/Hello";
private String location;
static
SERVICE_NAME = new QName(THIS_NAMESPACE,"Hello");
PORT_TYPE = new QName(THIS_NAMESPACE,"HelloPort") ;
OPERATION_NAME = new QName(THIS_NAMESPACE,"process");
SOAP_ACTION = "process";
STYLE = "document";
public void setLocation(String location)
this.location = location;
public void initiate() throws Exception
try
/* Create Service and Call object */
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService( SERVICE_NAME );
Call call = (Call)service.createCall( PORT_TYPE );
/* Set all of the stuff that would normally come from WSDL */
call.setTargetEndpointAddress( location );
call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
call.setProperty( Call.OPERATION_STYLE_PROPERTY , STYLE );
call.setOperationName(OPERATION_NAME);
call.addParameter(new QName(PARAMETER_NAMESPACE,"input"), XMLType.XSD_STRING, ParameterMode.IN);
//call.setReturnType(new QName(PARAMETER_NAMESPACE,XMLType.XSD_STRING));
call.setReturnType(new QName("http://www.w3.org/2001/XMLSchema","string"));
Object[] params = new Object[1];
params[0] = new String("Sanju");
/* Invoke the service */
String result = (String)call.invoke(params);
System.out.println( "UseStockReviewSheet BPEL process initiated"+ result );
catch (SOAPFaultException e)
System.err.println("Generated fault: ");
System.out.println (" Fault Code = " + e.getFaultCode());
System.out.println (" Fault String = " + e.getFaultString());
catch (JAXRPCException e)
System.err.println("JAXRPC Exception: " + e.getMessage());
catch (ServiceException e)
System.err.println("Service Exception: " + e.getMessage());
public static void main(String[] args) throws Exception
//String symbol = "ORCL";
String location = "http://localhost:1000/orabpel/default/Hello/1.0";
SampleClient client = new SampleClient();
/* if(args.length == 1)
symbol = args[0];
else if(args.length ==2)
location = args[0];
symbol = args[1];
client.setLocation( location );
client.initiate();
Please help us in fixing the problem
Thanks In AdvanceHi,
Thanks a lot for your reply. When we tested the process flow in BPEL console it is giving desired output. The exception trace in the dos console is as following
======================================
06/07/04 18:08:01 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFro
mValue(BPELAssignWMP.java:490)
06/07/04 18:08:01 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__execu
teStatements(BPELAssignWMP.java:122)
06/07/04 18:08:01 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
rm(BPELActivityWMP.java:188)
06/07/04 18:08:01 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
beEngine.java:3408)
06/07/04 18:08:01 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
eEngine.java:1836)
06/07/04 18:08:01 at com.collaxa.cube.engine.dispatch.message.instance.Per
formMessageHandler.handleLocal(PerformMessageHandler.java:75)
06/07/04 18:08:01 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
eLocalMessage(DispatchHelper.java:166)
06/07/04 18:08:01 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM
emory(DispatchHelper.java:252)
06/07/04 18:08:01 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEng
ine.java:5438)
06/07/04 18:08:01 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(Cu
beEngine.java:1217)
06/07/04 18:08:01 at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.creat
eAndInvoke(CubeEngineBean.java:120)
06/07/04 18:08:01 at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncC
reateAndInvoke(CubeEngineBean.java:153)
06/07/04 18:08:01 at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syn
cCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java:486)
06/07/04 18:08:01 at com.collaxa.cube.engine.delivery.DeliveryHandler.init
ialRequestAnyType(DeliveryHandler.java:520)
06/07/04 18:08:01 at com.collaxa.cube.engine.delivery.DeliveryHandler.init
ialRequest(DeliveryHandler.java:435)
06/07/04 18:08:01 at com.collaxa.cube.engine.delivery.DeliveryHandler.requ
est(DeliveryHandler.java:132)
06/07/04 18:08:01 at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.pro
cessBPELMessage(CXSOAPProvider.java:632)
06/07/04 18:08:01 at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.inv
oke(CXSOAPProvider.java:133)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.strategies.Invocat
ionStrategy.visit(InvocationStrategy.java:32)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisi
ting(SimpleChain.java:118)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke
(SimpleChain.java:83)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.handlers.soap.SOAP
Service.invoke(SOAPService.java:450)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.server.AxisServer.
invoke(AxisServer.java:285)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.transport.http.Axi
sServlet.doPost(AxisServlet.java:653)
06/07/04 18:08:01 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
va:760)
06/07/04 18:08:01 at org.collaxa.thirdparty.apache.axis.transport.http.Axi
sServletBase.service(AxisServletBase.java:301)
06/07/04 18:08:01 at com.collaxa.cube.fe.CollaxaServlet.service(CollaxaSer
vlet.java:134)
06/07/04 18:08:01 at javax.servlet.http.HttpServlet.service(HttpServlet.ja
va:853)
06/07/04 18:08:01 at com.evermind.server.http.ServletRequestDispatcher.inv
oke(ServletRequestDispatcher.java:824)
06/07/04 18:08:01 at com.evermind.server.http.ServletRequestDispatcher.for
wardInternal(ServletRequestDispatcher.java:330)
06/07/04 18:08:01 at com.evermind.server.http.HttpRequestHandler.processRe
quest(HttpRequestHandler.java:830)
06/07/04 18:08:01 at com.evermind.server.http.HttpRequestHandler.run(HttpR
equestHandler.java:285)
06/07/04 18:08:01 at com.evermind.server.http.HttpRequestHandler.run(HttpR
equestHandler.java:126)
06/07/04 18:08:01 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:186)
06/07/04 18:08:01 at java.lang.Thread.run(Thread.java:534)
<2006-07-04 18:08:01,441> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.cli
ent.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-proce
ss/}selectionFailure}
messageType: {null}
parts: {{summary=<summary>empty variable/expression result.
xpath variable/expression expression "/client:HelloProcessRequest/client:input"
is empty at line 37, when attempting reading/copying it.
Please make sure the variable/expression result "/client:HelloProcessRequest/cli
ent:input" is not empty.
</summary>}}
==========================================
And the Error logging in domain.log is
<2006-07-04 18:08:01,441> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {null}
parts: {{summary=<summary>empty variable/expression result.
xpath variable/expression expression "/client:HelloProcessRequest/client:input" is empty at line 37, when attempting reading/copying it.
Please make sure the variable/expression result "/client:HelloProcessRequest/client:input" is not empty.
</summary>}}
Wating for ur response.
Thank you. -
Error when accessing Oracle BPEL console
The following error message shows up when access oracle BPEL console. Any advice to resolve this error? Thanks a lot in advance!
***************************************************************************** Oracle BPEL Server version 10.1.3.1.0 Build: 0 Build time: Mon Oct 09 08:44:49 PDT 2006 Build type: release Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
Exception Message:
[java.lang.NoClassDefFoundError] org/apache/log4j/Category
Exception Trace:
java.lang.NoClassDefFoundError: org/apache/log4j/Category at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at org.collaxa.thirdparty.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37) at org.collaxa.thirdparty.apache.axis.encoding.TypeMappingImpl.(TypeMappingImpl.java:68) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTypes(TypeSoapRegistry.java:251) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegistry.java:79) at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:126) at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:613) at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:474) at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:1111) at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.java:924) at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:111) at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:254) 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:585) at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at com.evermind.server.ThreadState.runAs(ThreadState.java:622) at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55) at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87) at ServerBean_RemoteProxy_4bin6i8.init(Unknown Source) at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:60) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)ru able to login to the other applications on your App server ... viz.
Oracle App Server Console, ESB Console, Worklist App ... etc -
SOA SUITE 10.1.3.4 BPEL Console Login Issue
I have been hopeless for the past one week. CAn't get a single clue that what happened to my soa server. Each time I log in to the BPEL Console I get the following error NO domain accessible to the user logged in.
I am using 10.1.3.4 bpel and OS-env:-winxp
I have checked my backend database they are alll up.
I tested through Jdev by creating a new Integration server connection and get the following
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
From the application.log file I have got the following error which I feel bit clueless to me.
09/01/24 03:04:38.822 startup: Error preloading servlet
javax.servlet.ServletException:
ORABPEL START-UP ERROR!!!!!!!!
OraBPEL run-time system failed to start due to exception:
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:87)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
at com.evermind.server.Application.getHttpApplication(Application.java:586)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1970)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.getHttpApplication(HttpSite.java:1922)
at com.evermind.server.http.HttpSite.startHttpApplications(HttpSite.java:1851)
at com.evermind.server.http.HttpServer.startHttpApplications(HttpServer.java:921)
at com.evermind.server.Application.start(Application.java:1987)
at oracle.oc4j.admin.management.mbeans.J2EEStateManageableObjectBase.start(J2EEStateManageableObjectBase.java:213)
at oracle.oc4j.admin.management.mbeans.J2EEApplication.start(J2EEApplication.java:1348)
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:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.management.mbeans.J2EEApplication.commonStart(J2EEApplication.java:1434)
at oracle.oc4j.admin.management.mbeans.J2EEApplication.start(J2EEApplication.java:1345)
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:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:365)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
at MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
When I login to the bpel domain I get the following....
Oracle BPEL Process Manager Full Cycle
An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
Build Information:
Oracle BPEL Server version 10.1.3.4.0
Build: 0
Build time: Fri Jul 18 07:32:24 PDT 2008
Build type: release
Source tag: PCBPEL_10.1.3.4.0_GENERIC_080718.0645
Exception Message:
java.security.AccessControlException - access denied (com.collaxa.security.ServerPermission server read)
Though my esb console, orawsm,rule author, hw_service all are working fine. For your info I am using default file based security. realm is jazn.com
THe problem I fetched since I registered soa_oc4j with OID. and then assign orabpel instance level security provider to OID. later I switched to again my default existing file based security without checking OID is working or not. I restarted oc4j container, soa_oc4j and restarted database.DOne everything but all failed.
Tried all possibility gone in vain. My requirement is so urgent that I am dying for it.
plz if somebody can come up with a solution It will be highly appreciated.
domain.log gives me the following..
<2009-01-24 03:04:35,760> <ERROR> <default.collaxa.cube.engine.deployment> <DeploymentManager::loadAllProcesses> Error while loading process 'BPEL_oracle_application', rev '1.0': BPEL domain uninitializing.
The BPEL domain "default" is currently uninitializing; the domain may not be accessed anymore.
ORABPEL-02054
BPEL domain uninitializing.
The BPEL domain "default" is currently uninitializing; the domain may not be accessed anymore.
at com.collaxa.cube.engine.deployment.DeploymentManager.extractProcess(DeploymentManager.java:1176)
at com.collaxa.cube.engine.deployment.DeploymentManager.loadAllProcesses(DeploymentManager.java:332)
at com.collaxa.cube.engine.CubeEngine.loadAllProcesses(CubeEngine.java:957)
at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:313)
at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:279)
at com.collaxa.cube.ejb.impl.ServerBean.loadProcesses(ServerBean.java:273)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServerBean_RemoteProxy_4bin6i8.loadProcesses(Unknown Source)
at com.collaxa.cube.admin.agents.ProcessLoaderAgent$ProcessJob.execute(ProcessLoaderAgent.java:379)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)Hi AJ,
I have not followed the same. I have done to register OID from em console. and then simply changed the security provider as newly registered OID with bpel and hw_services.Is there any way to revert it back.*however I have found that the is_config.xml.BPM is missing from the <SOA_HOME>/bpel/system/services/config directory.*
Later anyhow I have restored file based security provider to all the component currently running on my OAS. Here is the status of my jazn.xml file. Now I do not need OID at all.
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<jazn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-10_0.xsd" schema-major-version="10" schema-minor-version="0" provider="XML" location="./system-jazn-data.xml" default-realm="jazn.com">
<!-- properties to configure the 3rd party IDM framework -->
<property name="idm.authentication.name" value="JavaSSO"/>
<property name="idm.token.asserter.class" value="oracle.security.jazn.sso.SSOCookieTokenAsserter"/>
<property name="idm.token.collector.class" value="oracle.security.jazn.sso.SSOCookieTokenCollector"/>
<property name="idm.token.type" value="HTTP_COOKIE"/>
<property name="idm.token.collector.cookie.1" value="ORA_OC4J_SSO"/>
<!-- properties for the out of the box Java SSO -->
<property name="custom.sso.url.login" value="/jsso/SSOLogin"/>
<property name="custom.sso.url.logout" value="/jsso/SSOLogout"/>
<property name="custom.sso.key.alias" value="ssoSymmetricKey"/>
</jazn>
<!--
<jazn
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-10_0.xsd"
schema-major-version="10"
schema-minor-version="0"
provider="LDAP"
location="ldap://myoid.us.oracle.com:389"
/>
--> -
Instance missing in BPEL console
Hi,
I have a process say "THIRD", it has database adapters and exception handling for each scope as well. In the case of any exception in "THIRD", the process calls the another process say "EMAIL" which is only meant for e-mail notification.
Now the situation:
When sometimes the process name "THIRD" is invoked from client(Oracle Apps/BES) first time in the morning and if any of the DB adapter throws exception, the instance of "EMAIL" is created and send the mail too. But if we try to find out the instance of "THIRD" which cause the problem is missing in BPEL Console.
Moreover, it happens only first time in the morning and doesn't happen everyday.
Thanks in advance.
---JanitIs your BPEL deployed on OC4J?
Described property is here
<ORAHOME>\integration\orabpel\system\appserver\oc4j\j2ee\home\config\server.xml
restart OC4J. Check also BPEL domain parameter syncMaxWaitTime (From BPEL Console-> Manage BPEL Domain). syncMaxWaitTime should be less than transaction-config timeout. Otherwise it is not working properly.
<snip>
<?xml version="1.0"?>
<!DOCTYPE application-server PUBLIC "-//Oracle//DTD OC4J Application-server 9.04//EN" "http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd">
<application-server application-directory="../applications"
check-for-updates="false"
deployment-directory="../application-deployments"
connector-directory="../connectors"
>
<rmi-config path="./rmi.xml" />
<jms-config path="./jms.xml" />
<j2ee-logging-config path="./j2ee-logging.xml" />
<log>
<file path="../log/server.log" />
</log>
<transaction-config timeout="60000" />
</snip> -
Error Launching BPEL Console - java.lang.NoClassDefFoundError
Hi All,
After Installed standard SOA Basic install
I am able to launch the below consoles
- Application Server
- ESB
- Rules Author
- Web Services Manager
but when i launch the BPEL console i get the below error
Oracle BPEL Process Manager Full Cycle
An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
Attachments:
Build Information:
Oracle BPEL Server version 10.1.3.1.0
Build: 0
Build time: Mon Oct 09 08:44:49 PDT 2006
Build type: release
Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
Exception Message:
[java.lang.NoClassDefFoundError]
org/apache/log4j/Category
Exception Trace:
java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at org.collaxa.thirdparty.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37)
at org.collaxa.thirdparty.apache.axis.encoding.TypeMappingImpl.(TypeMappingImpl.java:68)
at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTypes(TypeSoapRegistry.java:251)
at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegistry.java:79)
at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:126)
at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:613)
at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:474)
at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:1111)
at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.java:924)
at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:111)
at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:254)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServerBean_RemoteProxy_4bin6i8.init(Unknown Source)
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:60)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
at com.evermind.server.http.HttpApplication.(HttpApplication.java:738)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:545)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
any pointers in how to resolve the issue or what is causing it ?
thanksone way of overcoming the error is to include the below entry in server.xml
<code-source path="D:\product\10.1.3.1\OracleAS_1\bpel/lib/orabpel-thirdparty.jar"/> -
I create BPEL Project that includes a transformation. I compile and deploy. When I check the flow, there is no transform activity listed. Here is the Project.bpel:
<?xml version = "1.0" encoding = "UTF-8" ?>
<!--
Oracle JDeveloper BPEL Designer
Created: Wed Apr 30 11:59:34 CDT 2008
Author: jgammon
Purpose: Asynchronous BPEL Process
-->
<process name="EBSR12BES" targetNamespace="http://xmlns.oracle.com/EBSR12BES"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/apps/EBS_R12_HZEvent/"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns3="http://xmlns.oracle.com/WebMethodsService"
xmlns:ns2="http://xmlns.oracle.com/xdb/APPS/EBS_R12_HZEvent"
xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
xmlns:client="http://xmlns.oracle.com/EBSR12BES"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
<!--
PARTNERLINKS
List of services participating in this BPEL process
-->
<partnerLinks>
<!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:EBSR12BES"
myRole="EBSR12BESProvider"
partnerRole="EBSR12BESRequester"/>
<partnerLink myRole="DEQUEUE_role" name="EBS_R12_HZEvent"
partnerLinkType="ns1:DEQUEUE_plt"/>
<partnerLink myRole="WebMethodsServiceProvider" name="WebMethodsService"
partnerRole="WebMethodsServiceProvider"
partnerLinkType="ns3:WebMethodsService"/>
</partnerLinks>
<!--
VARIABLES
List of messages and XML documents used within this BPEL process
-->
<variables>
<!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable"
messageType="client:EBSR12BESRequestMessage"/>
<!-- Reference to the message that will be sent back to the requester during callback -->
<variable name="outputVariable"
messageType="client:EBSR12BESResponseMessage"/>
<variable name="Receive_HZ_EVENT_DEQUEUE_InputVariable"
messageType="ns1:WF_EVENT_T_msg"/>
<variable name="Invoke_WM_process_InputVariable"
messageType="ns3:WebMethodsServiceRequestMessage"/>
<variable name="Invoke_WM_process_OutputVariable"
messageType="ns3:WebMethodsServiceResponseMessage"/>
</variables>
<!--
ORCHESTRATION LOGIC
Set of activities coordinating the flow of messages across the
services integrated within this business process
-->
<sequence name="main">
<!-- Receive input from requestor. (Note: This maps to operation defined in EBSR12BES.wsdl) -->
<!--
Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
-->
<receive name="Receive_HZ_EVENT" partnerLink="EBS_R12_HZEvent"
portType="ns1:DEQUEUE_ptt" operation="DEQUEUE"
variable="Receive_HZ_EVENT_DEQUEUE_InputVariable"
createInstance="yes"/>
<assign name="Assign_1">
<copy>
<from expression="'INIT'"/>
<to variable="outputVariable" part="payload"
query="/client:EBSR12BESProcessResponse/client:result"/>
</copy>
</assign>
<assign name="Transform_1">
<bpelx:annotation>
<bpelx:pattern>transformation</bpelx:pattern>
</bpelx:annotation>
<copy>
<from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Receive_HZ_EVENT_DEQUEUE_InputVariable','WF_EVENT_T'))"/>
<to variable="outputVariable" part="payload"/>
</copy>
</assign>
<assign name="Assign_2">
<copy>
<from variable="outputVariable" part="payload"
query="/client:EBSR12BESProcessResponse/client:result"/>
<to variable="Invoke_WM_process_InputVariable" part="payload"
query="/ns3:WebMethodsServiceProcessRequest/ns3:input"/>
</copy>
</assign>
<invoke name="Invoke_WM" partnerLink="WebMethodsService"
portType="ns3:WebMethodsService" operation="process"
inputVariable="Invoke_WM_process_InputVariable"
outputVariable="Invoke_WM_process_OutputVariable"/>
</sequence>
</process>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HERE IS THE AUDIT FROM BPEL CONSOLE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ <?xml version="1.0" encoding="UTF-8" ?>
- <audit-trail>
- <event sid="0" cat="2" type="2" n="0" date="2008-04-30T12:21:11.902-05:00">
- <message>
- <![CDATA[ New instance of BPEL process "EBSR12BES" initiated (# "370010").
]]>
</message>
</event>
- <event sid="BpPrc0.1" cat="1" type="2" label="process" n="1" date="2008-04-30T12:21:11.902-05:00" psid="0">
- <message>
- <![CDATA[ _cr_
]]>
</message>
</event>
- <event sid="BpTry0.2" cat="1" type="2" n="2" date="2008-04-30T12:21:11.902-05:00" psid="BpPrc0.1">
- <message>
- <![CDATA[ _cr_
]]>
</message>
</event>
- <event sid="BpSeq0.3" cat="1" type="2" label="sequence" n="3" date="2008-04-30T12:21:11.902-05:00" psid="BpTry0.2">
- <message>
- <![CDATA[ _cr_
]]>
</message>
</event>
- <event sid="BpSeq0.3" cat="2" type="2" wikey="370010-BpRcv0-BpSeq0.3-1" label="Receive_HZ_EVENT" n="4" date="2008-04-30T12:21:11.902-05:00">
- <message>
- <![CDATA[ Received "Receive_HZ_EVENT_DEQUEUE_InputVariable" call from partner "EBS_R12_HZEvent"
]]>
</message>
<details id="0" />
- <detailsTemplate>
- <![CDATA[ <Receive_HZ_EVENT_DEQUEUE_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="WF_EVENT_T"><toReplace id="0"/></part></Receive_HZ_EVENT_DEQUEUE_InputVariable>
]]>
</detailsTemplate>
</event>
- <event to="outputVariable" sid="BpSeq0.3" cat="2" type="1" wikey="370010-BpAss0-BpSeq0.3-2" label="Assign_1" n="5" date="2008-04-30T12:21:11.902-05:00">
- <message>
- <![CDATA[ Updated variable "outputVariable"
]]>
</message>
- <details>
- <![CDATA[
<outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><EBSR12BESProcessResponse xmlns="http://xmlns.oracle.com/EBSR12BES">
<result>INIT</result>
</EBSR12BESProcessResponse>
</part></outputVariable>
]]>
</details>
</event>
- <event to="outputVariable" sid="BpSeq0.3" cat="2" type="1" wikey="370010-BpAss0-BpSeq0.3-2" label="Assign_1" n="6" date="2008-04-30T12:21:11.902-05:00">
- <message>
- <![CDATA[ Updated variable "outputVariable"
]]>
</message>
- <details>
- <![CDATA[
<outputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><EBSR12BESProcessResponse xmlns:ns1="http://xmlns.oracle.com/EBSR12BES" xmlns="http://xmlns.oracle.com/EBSR12BES">
<ns1:result/>
</EBSR12BESProcessResponse>
</part></outputVariable>
]]>
</details>
</event>
- <event to="Invoke_WM_process_InputVariable" sid="BpSeq0.3" cat="2" type="1" wikey="370010-BpAss0-BpSeq0.3-2" label="Assign_1" n="7" date="2008-04-30T12:21:11.902-05:00">
- <message>
- <![CDATA[ Updated variable "Invoke_WM_process_InputVariable"
]]>
</message>
- <details>
- <![CDATA[
<Invoke_WM_process_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><WebMethodsServiceProcessRequest xmlns="http://xmlns.oracle.com/WebMethodsService">
<input/>
</WebMethodsServiceProcessRequest>
</part></Invoke_WM_process_InputVariable>
]]>
</details>
</event>
- <event sid="BpSeq0.3" cat="2" type="2" label="Invoke_WM" wikey="370010-BpInv0-BpSeq0.3-3" partnerWSDL="http://jgammon-us.us.oracle.com:7778/orabpel/default/WebMethodsService/1.0/WebMethodsService?wsdl" n="8" date="2008-04-30T12:21:12.230-05:00">
- <message>
- <![CDATA[ Invoked 2-way operation "process" on partner "WebMethodsService".
]]>
</message>
- <details>
- <![CDATA[
<messages><Invoke_WM_process_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><WebMethodsServiceProcessRequest xmlns="http://xmlns.oracle.com/WebMethodsService">
<input/>
</WebMethodsServiceProcessRequest>
</part></Invoke_WM_process_InputVariable><Invoke_WM_process_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><WebMethodsServiceProcessResponse xmlns="http://xmlns.oracle.com/WebMethodsService">
<result/>
</WebMethodsServiceProcessResponse>
</part></Invoke_WM_process_OutputVariable></messages>
]]>
</details>
</event>
- <event sid="BpSeq0.3" cat="1" type="2" n="9" date="2008-04-30T12:21:12.230-05:00">
- <message>
- <![CDATA[ _cl_
]]>
</message>
</event>
- <event sid="BpPrc0.1" cat="1" type="2" n="10" date="2008-04-30T12:21:12.230-05:00">
- <message>
- <![CDATA[ _cl_
]]>
</message>
</event>
- <event sid="BpPrc0.1" cat="2" type="2" n="11" date="2008-04-30T12:21:12.230-05:00">
- <message>
- <![CDATA[ BPEL process instance "370010" completed
]]>
</message>
</event>
</audit-trail>I think that's the way BPEL console renders processes - it groups consecutive assigns and transforms into 1 assign in flow diagram if possible.
-
Couldnt connect to BPEL Console
Hi,
I installed SOA suite last week. since yesterday i couldnt connect to BPEL console. I get the"The page cannot be found" error and the orabpel process is not running in application server. If i try to run it(orabpel in application server control), i get the message that the application has been started while it is still down. If i try to click the particular application, i get the following error.
An error has occurred.
Error invoking method: start on MBean: oc4j:j2eeType=J2EEApplication,name=orabpel,J2EEServer=standalone
Error invoking method: start on MBean: oc4j:j2eeType=J2EEApplication,name=orabpel,J2EEServer=standalone
oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error invoking method: start on MBean: oc4j:j2eeType=J2EEApplication,name=orabpel,J2EEServer=standalone at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.invoke(SimpleInstanceMBeanServerDelegate.java:970) at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579) at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389) at oracle.sysman.ias.studio.oc4j.app.JMXAppHomeAdminBean.startApp(JMXAppHomeAdminBean.java:289) at oracle.sysman.ias.studio.oc4j.app.AppHomeHelper.handleEvent(AppHomeHelper.java:156) at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385) at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error invoking method: start on MBean: oc4j:j2eeType=J2EEApplication,name=orabpel,J2EEServer=standalone at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.invoke(SimpleInstanceMBeanServerDelegate.java:924) ... 29 more ---- Embedded exception oracle.oc4j.admin.jmx.shared.exceptions.JMXClusterRuntimeException: Error invoking method: start on MBean: oc4j:j2eeType=J2EEApplication,name=orabpel,J2EEServer=standalone at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.invoke(SimpleInstanceMBeanServerDelegate.java:924) at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579) at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389) at oracle.sysman.ias.studio.oc4j.app.JMXAppHomeAdminBean.startApp(JMXAppHomeAdminBean.java:289) at oracle.sysman.ias.studio.oc4j.app.AppHomeHelper.handleEvent(AppHomeHelper.java:156) at oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769) at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378) at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385) at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
Please help.
Thanks and regards
PhilipHi,
1.Run opmnctl status -app command and see the status of orabple.
2.If this is down , then stop the opmnctl.
3.Rename J2ee/oc4j_soa/persistance folder.
4.Restart the opmnctl & see the status.
Regards,
Govinda -
How to create a Compensation handler
Jdev 10.1.3.4
I am trying to rollback the insert statement using compensation handler.
I created a delete statement in DBAdapter and calling it from the compensation block in innerscope.
In the outer scope, I am catching the error and calling the compensation activity and i set the scope of compensation to inner scope.
when I execute the BPEL process, if the BPEL process errors out my compensation activity is not invoked.
Could somebody help me to resolve this issue?Is this XA datasource feature available in 10g Soa suite..
--Prasanna -
Compensation handlers invoked for failed activities
I am using Oracle BPEL server 10.1.2 on Windows with the Oracle lite 10G dehydration datastore.
I have fault handlers and compensation handlers for tasks in my workflow. I see that compensation handlers are being invoked for the task that hits the fault handler path. My understanding of the spec was that compensation handlers are not installed for tasks that hit the fault handler. Has this been fixed in newer version of this product?
Edited by: user10195910 on Sep 16, 2008 1:59 PMHello Clemens,
Following lines are from the spec BPELWS 1.1-
"A compensation handler for a scope is available for invocation only when the scope completes normally. Invoking a compensation handler that
has not been installed is equivalent to the empty activity (it is a no-op)"
Parent scope has a primary flow activity, which contains two concurrent invoke activites inside thier indivdual scopes, Bush and Blair scopes.
Before Blair scope successfully completes, 'I' have made sure that Bush will throw an exception. Now in this case, since niether of the child scopes have completed successfully and haven't sent COMPLETED SIGNALs to parent scope, I think thier compensation handlers should not be installed.
But in this trial example, cancellation webservice operation X, inside the compensation handler of the respective childs copes is called. So, the compensation handlers are getting installed even if the scopes have not completed successfully.
I have tried both implicit and explicit compensation in the BPEL.
Thanks & Regards,
Govinda
Maybe you are looking for
-
Java calling C/C++ and back (asynchronously)
Hi everybody!, i have the following issue. I have an API in a dll wich allows you to register functions (in C) which will be called when some event occurs. I have to register a Java function so i hava a native method from wich i can access this dll a
-
Using unix host command within plsql on aix
On an aix platform Im trying to host out of a plsql procedure to use mail. I can only get the host command to work inside a blank .sql file. ie. first line must have the host command on it. If you try to imbed the host command within a procedure, the
-
1120:access of undefined property _weaponManager
package com.script { import flash.display.MovieClip; import flash.events.KeyboardEvent; import flash.events.MouseEvent; import com.weaponsystem.WeaponManager; import com.weaponsystem.weapons.Projectil
-
Getting exe path - JSmoothed my jar
I created an application and I read the path of my jar code like this: Class cls =myClass.class; ProtectionDomain domain = cls.getProtectionDomain(); CodeSource source = domain.getCodeSource(); URL url = source.getLocation();
-
Setting up my new macbook pro and I went to install the firefox download currently available on the mozilla site and I double-click the firefox .dmg download file and a window pops up and says "The following disk images cannot be opened. Firefox20-1.