BPEL Server classpath has priority over a BPEL Process classpath

Hi all
I developed a BPEL process which uses org.apache.commons.io.FileUtils class (latest version 1.3.1) through a <bpel exec> activity. However, when I deploy it to a BPEL 10.1.3 server it throws an exception warning me that the method doens´t exist:
<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code"><code>java.lang.NoSuchMethodError</code></part>
<part name="summary">
<summary>
org.apache.commons.io.FileUtils.writeStringToFile(Ljava/io/File;Ljava/lang/String;)V
</summary>
</part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@92ac9f</detail>
</part>
</runtimeFault>
I realize that BPEL already uses this class (under c:\product\10.1.3.1\OracleAS_1\integration\esb\lib\commons-io-1.1.jar file) which has the Apache FileUtils class 1.1 version.
I´m deploying the commons-io-1.3.1.jar file within my Bpel process suitcase. So how can I say to BPEL that it must use the Apache .jar packed with my BPEL process suitcase instead of it´s version of it?

I am having the same problem here with different jar file.

Similar Messages

  • Does exact match has priority over extension mapping?

    Hi, i'm using extension mapping in my web application. So one
    servlet is responsible for all requests with extension 'do'.
    Now i would like to have one special request served by another
    servlet. What's the best way to implement this? I'm thinking
    about setting up an exact match mapping for the special request
    and an extension mapping for the rest. There's only one thing
    i worry about: if i use the 'do' extension in my special request
    (for consistency reasons), which servlet will handle this request?
    Thanks in advance for your comments.
    Markus

    A exact match on path will override the extension mappng. Here's the rules from the servlet 2.3 spec (also contains examples)..
    1. The container will try to find an exact match of the path of the request to the
    path of the servlet. A successful match selects the servlet.
    2. The container will recursively try to match the longest path-prefix: This is done
    by stepping down the path tree a directory at a time, using the �/� character as
    a path separator. The longest match determines the servlet selected.
    3. If the last segment in the URL path contains an extension (e.g. .jsp), the servlet
    container will try to match a servlet that handles requests for the extension.
    An extension is defined as the part of the last segment after the last �.� character.
    4. If neither of the previous three rules result in a servlet match, the container will
    attempt to serve content appropriate for the resource requested. If a "default"
    servlet is defined for the application, it will be used.
    The container must use case-sensitive string comparisons for matching.

  • Opening BAM Server Port and Integrating BPEL Server over Internet

    Hi Friends,
    I have a BPEL Process which has Sensor Actions to insert data to a BAM Data Object. BPEL & BAM Servers are on different boxes and have to be accessed over the internet. I want to know whether anyone can give me any pointers to manually open BAM Server's Port from a Windows XP machine to be accessed by a BPEL Server Process over Internet. Pl. provide detailed steps in case possible.
    Appreciate your help in advance.
    Thanks
    Ram

    When you create the BPEL process (or after you deploy it) you can modify the bam server settings. In your case, I think all you need to do is supply the correct port -- 445 instead of 80
    If you are doing this post-deployment you can go to the BPEL console, select the BPEL service and modify the connection settings by modifying the process' descriptor. You should modify the bamserver.port property. If you are not using 10.1.3.3, then there is a bug with the descriptor page that requires that you make sure you re-type in the bamserver.password field PRIOR to clicking update desciptor.
    If you are doing it pre-deployment, you can modify the bpel.xml file in JDeveloper of your BPEL process. You will see the bamserver.port property defined in that file.

  • BPEL Server can not start after jazn default realm has been modified

    Hi, everyone:
    In order to customize my user task assigneeGroup, I set up a new realm in the jazn-data.xml using the shell (java -jar jazn.jar -shell). I tried to modify the jazn.xml file in %OraBPELPM%\integration\orabpel\system\appserver\oc4j\j2ee\home\config, and set the default-realm attribute to my new realm.
    After these modification, the BPEL Server can not start, the server seems to stop after loading the first two EJB.
    Does anyone ever encounter this problem? Could anyone help me?

    It appears that I had the wrong oracle home and as a result some of the steps were skipped by the Universal Installer during installation, but installation was still claimed as successful. Even by launching the 'Mobile Server Repository Wizard' manually by running 'repwizard.bat' did not provide all the necessary window boxes to provide the details such as the SID, hostname, port number. I re-installed.
    After starting the back-end database and then starting mobile server and testing in IE to see if the server was working by typing in http://<host name>:80/webtogo, I got the screen displaying mobile server.
    Many thanks for your help.
    Mark

  • BPEL Server bug?

    Hi all,
    I experienced a curious problem using the test Console of BPEL Server 10.1.2. I created a process where, besides other activities, there are 2 receives (the first has createInstance="yes") with correlationSet, on the same partnerLink, portType, operation, and using the same BPEL variable. These 2 receives are in a sequence (not in concurrence). The problem is that when I send the second message on the second receive through the BPEL Console, the Server initiates a new instance of the same process. I went over the BPEL Specification and I think this should be possible according to that document.
    Note, if I try the same think with 2 non ititial receives (without createInstance="yes") it works properly. Even with 2 invokes on the same partnerLink, portType and operation (not in concurrence).
    I suppose this is a bug of the BPEL Server.
    Could you check please?
    Thanks a lot

    While if I use, for the 2nd receive, another 'operation', declared into the same portType, it works properly. I think maybe the BPEL Server maps every process with the operation name used by the first receive activity, in order to create process instances.
    Thanks

  • BPEL server crashes

    Our Bpel server runs fine and then all of a sudden it starts to give errors. Does anyone have any advice about what could be wrong. I pasted the log file info underneath, as you can see its info messages and then just errors and I have to restart the server.
    Thanks
    Roald
    +<2009-02-10 09:07:58,732> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound>+
    +<oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> Initializing an existing toplink project for+
    use by the database adapter.
    +<2009-02-10 09:13:00,229> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound>+
    +<oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> Initializing an existing toplink project for+
    use by the database adapter.
    *+<2009-02-10 09:14:00,443> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound>+*
    +<oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> Initializing an existing toplink project for+
    use by the database adapter.*
    *+<2009-02-10 09:15:00,677> <ERROR> <default.collaxa.cube.activation> <Database Adapter::Inbound>+*
    +<oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession> unable to build the TopLink Session+
    +<2009-02-10 09:15:00,685> <ERROR> <default.collaxa.cube.activation> <Database Adapter::Inbound>+
    +<oracle.tip.adapter.db.InboundWork runOnce> Non retriable exception during polling of the database ORABPEL-11624+
    DBActivationSpec Polling Exception.
    +Query name: [ReadAppointmentData], Descriptor name:+
    +[PublishEmployeeAppointmentInformationService.XxnwuHrPeopleV]. Polling the database for events failed on this+
    iteration.
    If the cause is something like a database being down successful polling will resume once conditions change.
    Caused by ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the
    deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the
    +server. Caused by Exception [TOPLINK-7099] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):+
    oracle.toplink.exceptions.ValidationException
    Exception Description: Could not find xml project file which is specified in properties file:
    xmlProjectFile=file:/u01/app/oracle/product/10.1.2/oas_bpel/integration/orabpel/domains/default/tmp/.bpel_Publish
    EmployeeAppointmentInformationService_1.0.jar/toplink_mappings.xml..
    +.+
    +<2009-02-10 09:15:00,685> <FATAL> <default.collaxa.cube.activation> <AdapterFramework::Inbound>+
    +[ReadAppointmentData_ptt::receive(payload)] - Resource Adapter requested Process shutdown!+
    +<2009-02-10 09:15:00,685> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework+
    instance: OraBPEL - performing endpointDeactivation for portType=ReadAppointmentData_ptt, operation=receive
    +<2009-02-10 09:15:00,686> <INFO> <default.collaxa.cube.activation> <Database Adapter::Inbound>+
    +<oracle.tip.adapter.db.DBResourceAdapter endpointDeactivation> Deactivating:+
    oracle.tip.adapter.db.DBActivationSpec@1cc678a
    +<2009-02-10 09:15:00,699> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound>+
    JCAActivationAgent::onStateChanged State is changed for process
    +'bpel://localhost/default/PublishEmployeeAppointmentInformationService~1.0/', state=OFF+
    +<2009-02-10 09:16:05,788> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking+
    bean "finder": Cannot fetch a datasource connection.
    The process domain was unable to establish a connection with the datasource with the connection URL
    +"jdbc/BPELServerDataSourceWorkflow". The exception reported is: Io exception: The Network Adapter could not+
    establish the connection
    Please check that the machine hosting the datasource is physically connected to the network.  Otherwise, check
    that the datasource connection parameters (user/password) is currently valid.
    ORABPEL-04077
    Cannot fetch a datasource connection.
    The process domain was unable to establish a connection with the datasource with the connection URL
    +"jdbc/BPELServerDataSourceWorkflow". The exception reported is: Io exception: The Network Adapter could not+
    establish the connection
    Please check that the machine hosting the datasource is physically connected to the network.  Otherwise, check
    that the datasource connection parameters (user/password) is currently valid.
    at
    com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:347)
    at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:159)
    at com.collaxa.cube.engine.data.ConnectionFactory.getQueryConnection(ConnectionFactory.java:114)
    at
    com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.listInstanceMetaData(BaseCubeInstanceP
    ersistenceAdaptor.java:1094)
    at
    com.collaxa.cube.engine.adaptors.oracle.CubeInstancePersistenceAdaptor.listInstanceMetaData(CubeInstancePersisten
    ceAdaptor.java:91)
    at com.collaxa.cube.engine.data.AdminFinder.__listInstanceMetaData(AdminFinder.java:374)
    at com.collaxa.cube.engine.data.AdminFinder.listInstances(AdminFinder.java:190)
    at com.collaxa.cube.ejb.impl.FinderBean.listInstances(FinderBean.java:222)
    at
    IFinderBean_StatelessSessionBeanWrapper42.listInstances(IFinderBean_StatelessSessionBeanWrapper42.java:963)
    at com.oracle.bpel.client.Locator.listInstances(Locator.java:521)
    at com.oracle.bpel.client.Locator.listInstances(Locator.java:490)
    at BusinessProcess.myLocator.getXML(myLocator.java:102)
    at bpel.p0.ExecLetBxExe4.execute(ExecLetBxExe4.java:65)
    at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:52)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
    at
    com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75
    +)+
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:120)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:153)
    at
    ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syncCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWr
    apper0.java:486)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:520)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:435)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:132)
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:101)
    at
    IDeliveryBean_StatelessSessionBeanWrapper22.request(IDeliveryBean_StatelessSessionBeanWrapper22.java:479)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
    at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
    at
    com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
    +... 37 more+
    +<2009-02-10 09:17:03,836> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Internal Error.+
    +<2009-02-10 09:17:03,837> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Internal error due to+
    +{0}.+
    +<2009-02-10 09:17:03,837> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Contact oracle support if+
    error is not fixable.
    +<2009-02-10 09:17:03,837> <ERROR> <default.collaxa.cube.services> <TaskManager::getPendingTasksOfInstance> Error+
    in getting the task of the instance 534412

    Looks like the server is unable to connect to the dehydration database.
    A standard installation would have this data source setup as part of the installation.
    "jdbc/BPELServerDataSourceWorkflow"
    This again uses the connection pool "BPELPM_CONNECTION_POOL"
    And the name of the data source is "BPELServerDataSourceWorkflow"
    There are a few checks that you can perform.
    1. Check if the dehydration database is up.
    If no then this should be up and running.
    2. Go to the EM and use {test connection} for "BPELPM_CONNECTION_POOL"
    If comes back with error then check if the dehydration database credentials has changed post installation.
    There are a few other datasources that share the same connection pool. Check if these are working too.
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Using SQL server instead of Olite in Oracle BPEL

    I am now trying to use SQL 2000 server instead of Olite in Oracle BPEL. I couldn't find any instruction or admin config guide. Has anyone had any luck with this?
    If anyone has any experience, please shed some light on this.
    I am now able to get "domain_sqlserver" dll file populated into SQL server.
    How di i configure BPEL to use SQL db instead of Olite? Do i need to set up database connections to work?
    Thank you very much in advance.

    Edwin,
    Thank you so much for the info.
    I have emailed to [email protected] for the question.
    Up to now, i have done the followings:
    1. I have successfully populated domain_sqlserver ito SQL 2000 with some modification.
    2. I have also configured data-sources.xml under ..\integration\orabel\system\services\install\config and unser ..\integration\orabel\system\appserver\oc4j\j2ee\home\config to use MSFT SQL 2000 instead of Olite.
    3. I have also commented out running kill_Olite.bat and start_olite.bat, and start SQL 2000 server.
    4. Installed Data Direct JDBC driver
    Could you please kindly point me what are the rest of configuration required in order to make it work?
    Thank you so much.

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • BPEL server error

    Hello, All.
    I am a BPEL rookie. Anyone know what this means, and what I need to change to make things work again? It was working fine, but many things have changed lately, including multiple oc4j-ra.xml and data-sources.xml files. This is what I get in my BPEL Console when I start up the server:
    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.2.0.2
    Build: 2196
    Build time: Tue Jan 10 12:31:53 UTC 2006
    Build type: release
    Source tag: BPEL_10.1.2.0.2_GENERIC_060110.1200
    Exception Message:
    [java.sql.SQLException]
    Internal Error:Invalid Connect String
    Exception Trace:
    java.sql.SQLException: Internal Error:Invalid Connect String
         at oracle.lite.poljdbc.POLJDBCErrMsg.throwSQLException(Unknown Source)
         at oracle.lite.poljdbc.LiteThinJDBCConnection.(Unknown Source)
         at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCConnection.(Unknown Source)
         at oracle.lite.poljdbc.OracleConnection.(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
         at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
         at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
         at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:159)
         at com.collaxa.cube.engine.data.ConnectionFactory.getQueryConnection(ConnectionFactory.java:114)
         at com.collaxa.cube.engine.data.AdminFinder.getXInstanceCount(AdminFinder.java:560)
         at com.collaxa.cube.engine.data.AdminFinder.getOpenInstanceCount(AdminFinder.java:533)
         at com.collaxa.cube.ejb.impl.BPELProcessManagerBean.getOpenInstanceCount(BPELProcessManagerBean.java:117)
         at IBPELProcessManagerBean_StatelessSessionBeanWrapper46.getOpenInstanceCount(IBPELProcessManagerBean_StatelessSessionBeanWrapper46.java:808)
         at com.oracle.bpel.client.BPELProcessHandle.getOpenInstanceCount(BPELProcessHandle.java:529)
         at displayProcess.jspService(_displayProcess.java:536)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    take a look at the settings mentioned here http://clemensblog.blogspot.com/2006/04/oracle-bpel-xe-part-2.html
    /clemens

  • BPEL Server java.lang.NullPointerException

    I have been getting a java.lang.NullPointerException after I try to add a Database adapter to a BPEL process. I get the exception even after I delete everything I added before I got the exception. Here is the text from the screen that the BPEL Console puts up:
    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.2.0.0
    Build: 1442
    Build time: Fri Apr 29 16:59:32 PDT 2005
    Build type: release
    Source tag: BPELPM_10_1_2_release_branch
    Exception Message:
    [java.lang.NullPointerException]
    null
    Exception Trace:
    java.lang.NullPointerException
         at com.collaxa.cube.engine.deployment.ProcessRevisionRegistry$RevisionTable.remove(ProcessRevisionRegistry.java:296)
         at com.collaxa.cube.engine.deployment.ProcessRevisionRegistry.delete(ProcessRevisionRegistry.java:112)
         at com.collaxa.cube.engine.deployment.CubeProcessLoader.destroy(CubeProcessLoader.java:596)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.reload(CubeProcessHolder.java:972)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:922)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:787)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:765)
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getStatus(CubeProcessHolder.java:211)
         at com.collaxa.cube.engine.deployment.DeploymentHelper.lookupProcessStatus(DeploymentHelper.java:301)
         at com.collaxa.cube.ejb.impl.FinderBean.lookupProcess(FinderBean.java:86)
         at IFinderBean_StatelessSessionBeanWrapper42.lookupProcess(IFinderBean_StatelessSessionBeanWrapper42.java:228)
         at com.oracle.bpel.client.Locator.lookupProcess(Locator.java:245)
         at displayProcess.jspService(_displayProcess.java:88)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:138)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Please let me know if I am doing anything wrong.
    Thanks,
    Jeff

    A follow on to the last post, after I stopped and then restarted the BPEL Server, the process loaded correctly and the error did not reappear.

  • BPEL Server Restarts intermittently

    Hi All,
    I have got a strange problem with my BPEL Server. Every once in a while the BPEL Server restarts on its own. I do not know if it has to do something with memory leaks or performance or some other reason.
    I have made my logs to roll at every 2 GB. I also noticed that the BPEL Domains are reloaded everytime the logs are rolled. If during this restart there is some process on the go then i get erroneous results.
    I am not able to reproduce the issue but it does happen intermittently. Has anyone else faced this issue?

    Also check logs in $OAS_HOME/opmn/logs/ for "Restart" messages, then check the timeouts for the BPEL instance in $OAS_HOME/opmn/config/opmn.xml. These are maybe too low.
    --olaf                                                                                                                                                                                                                                                                                                                                                                       

  • BPEL Server Connection

    Hi All,
    Somehow am not able to start my BPEL Server now. It is giving error while coneectiong from JDev.
    Also BPEL Console is not accessible.
    BPEL startup window shows error like
    JSP-0008 Unable to dispatch JSP Page :Exception:java.io.FileNotFoundException: D:\BPEL_Homel\system\appserver\oc4j
    \j2ee\home\default-web-app\BPELConsole\default\index.jsp (The system cannot find the path specified)
    thanks

    Have you performed any upgrade recently?
    There has been a problem with the orabpel.ear file in some environments. The issue
    can be verified by checking the size of the orabpel.ear files in the the following locations
    $ORACLE_HOME/bpel/system/services/lib
    and
    $ORACLE_HOME/j2ee/oc4j_soa/applications
    If only one of them is of size 2530260 bytes, then you have hit upon the cause for this issue in your environment.
    Solution
    Copy the orabpel.ear from $ORACLE_HOME/bpel/system/services/lib (the one that is of size 2530260 bytes) to the location
    $ORACLE_HOME/j2ee/oc4j_soa/applications (to replace the one that is not 2530260 bytes) and restart.
    cheers
    James

  • BPEL server and java crashes while accessing a deployed process in console

    Hi,
    I am running BPEL developer version on my local machine (win xp ). If I try to run a deployed process from my BPEL console by clicking on the process name, an Unexpected error dialog box pops up saying Java has encountered an unexpected error. After that the broser as well as the BPEL server window crashes. I have tried both IE and netscape.
    Can someone help as this is completely preventing me to test my deployed processes.
    Thanks

    Naah, I said, that will never work.  But to my shock and (pleasant) surprise, it does!  Here is a snippet of a little routine I cobbled together using LabVIEW for both the Writer and the Reader.
    The Writer is on top.  It creates a Temp.txt file on my Temp directory, deletes it if it is already there, then opens it for writing.  There's a boolean "Done" flag that tells me when the Writer finishes, so I clear it before entering the Writing Loop.  Here, every half-second, I write the sequential numbers 0 .. 9, with a New Line to create a Text File of Lines.  When I'm finished, I close the file.
    Below this is the Reader Loop, designed to start after the Writer Loop has opened (and created) the file.  Here we open the same file in Read-Only mode.  The Reader Loop also goes 10 times (I could have built in a Stop condition, but this is only a Proof-of-Concept).  The loop is initialized with the current File Position (0) in a Shift Register.  The inner While Loop is a "Wait for Data to Appear", a loop which checks 10 times a second to see if the File Position has changed, exiting when it does (meaning the Writer has Written Something).  It then reads a line from the File (the Read Text function has its "Read Lines" property set) and displays it.
    When you run this, you will see the Reader's output, Line, count up, 0 .. 9, and then the program stops with no errors.  What fun!
    Bob Schor

  • Impossible to connect to BPEL server from Jdeveloper

    We have installed the soa suite in the following way
    -     oracle home 1 on server 1: http server
    -     oracle home 2 on server 1: apps server with two oc4j, one for the jsso and em and another one for bpel.
    I want to deploy the bpel process from jdeveloper.
    I first do a server connection to the server 1. When I try to test the connection I get an error
    Error getting OC4J Process for: opmn-home+oc4j-oraclesoa.smartwavesa.com-6004-default:
    Error connecting to OPMN (is it running?): Connection refused: connect
    So I tried to modify the opmn.xml of oracle home 2 by adding the following line
    <ipaddr remote=”0.0.0.0” request=”0.0.0.0”/>
    After this modification I am able to connect to oracle home 2 from jdeveloper BUT the http URL of enterprise manager and bpel console are no more available.
    So my question is how can I enable the deployment of bpel process from Jdeveloper to the server 1?
    Thanks for your help

    Yes admin instance is running on home 2 and more precisely on oc4j_home.
    BPEL and ESB is also running on home 2 but on another oc4j oc4j_soa
    If I use the standard configuration (the one that has been created during the installation) I am able to reach all the consoles BPEL, ESB or Enterprise Manager.
    Here the output of opmnctl status of http server oracle home
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    HTTP_Server HTTP_Server | 6434 | Alive | 974986920 | 146956| 0:52:13 | https1:4443,http2:7200,http1:7777
    Here the output of opmnctl status of soa server oracle home
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
    OC4JGroup:default_group | OC4J:oc4j_soa | 6524 | Alive | 1632905918 | 304852 | 0:54:15 | jms:12602,ajp:12502,rmis:12702,rmi:12402
    OC4JGroup:default_group | OC4J:home | 6525 | Alive | 1632905917 | 179788 | 0:54:15 | jms:12601,ajp:12501,rmis:12701,rmi:12401
    Thanks for your help

  • How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?

    How can one invoke a WebLogic EJB from a BPEL Server hosted on OC4J?
    Reason I ask is I keep getting this error:
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    Note: I am using <bpelx:exec> as a way to execute some java program.
    Essentially my java client (essentially an EJB client hosted on Oc4J) needs access to wlclient.jar since it needs access to weblogic.jndi.WLInitialContextFactory. I have a EJB client running on BPEL server hosted on Oc4J that needs to access some EJBs hosted on weblogic.
    Where do I place this wlclient.jar so that BPEL PM can start peacefully and at runtime discover the InitialContextFactory classes?
    Placing it in the j2ee/home/applib doesn't solve the problem. The server fails to start up if I do this
    I tried placing it in BPEL-INF\lib directory ...
    I still get the same exception...see below for exception dump
    I verified the BPEL suitcase, and it in fact does contain the jar file wlclient.jar
    integration\orabpel\domains\default\deploy contains the bpel_BPELProcess2_1.0.jar file and snapshot of that is as follows:
    <PRE>
    &#9474; bpel.xml
    &#9474; BPELProcess2.bpel
    &#9474; BPELProcess2.jpr
    &#9474; BPELProcess2.wsdl
    &#9474; bpel_BPELProcess2_1.0.jar
    &#9474; build.xml
    &#9474; buildxml.copy
    &#9474; graphics.xml
    &#9474;
    &#9500;&#9472;&#9472;&#9472;BPEL-INF
    &#9474; &#9492;&#9472;&#9472;&#9472;lib
    &#9474; myEJB.jar
    &#9474; wlclient.jar
    &#9474;
    &#9500;&#9472;&#9472;&#9472;META-INF
    &#9474; MANIFEST.MF
    &#9474;
    &#9492;&#9472;&#9472;&#9472;output
    bpel_BPELProcess2_1.0.jar
    </PRE>
    I tried using the BPEL-INF\jar directory...Is this something the obant automatically detects? or do I have to modify the build.xml? I created this directory and let Jdev deploy to local BPEL server->default domain handle it
    #####################3
    I even tried copying the wlclient.jar to
    integration\orabpel\system\classes but this doesn't help since the BPEL PM fails to start if I explode this jar into this directory.
    In short,where do I place the wlclient.jar so that this exception can be contained.
    I edited the build.xml to point to the jar, that too didn't work, unless I made some mistake in the file
    <bpelc classpath="${basedir}/BPEL-INF/classes;${home}/system/classes;${home}/lib/j2ee_1.3.01.jar;${basedir}/BPEL-INF/jar/wlclient.jar" input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    DETAILS on ERROR
    I get the following error
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-14 09:17:55,770> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/14 09:18:36 weblogic.jndi.WLInitialContextFactory
    javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/14 09:18:36 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/14 09:18:36 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/14 09:18:36 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/14 09:18:36 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/14 09:18:36 at com.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:37)
    ##################3
    with the bpelx all I have is two lines of code that creates a java object and calls a method on it.
    The method does this:
        private String initialContextFactory = "weblogic.jndi.WLInitialContextFactory";
        private String providerUrl = "t3://localhost:7001";
        private String urlPkgPrefixes = "";
        private String mapEjbJndiName = "ejb/mycompany/Redlands";
        public String getDefaultMapName() {
          try {
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
              env.put(Context.PROVIDER_URL, getProviderUrl());
              if (getUrlPkgPrefixes() != null && !getUrlPkgPrefixes().equals(""))
                  env.put(Context.URL_PKG_PREFIXES, getUrlPkgPrefixes());
              System.out.println("    " + getInitialContextFactory());
              System.out.println("    " + getProviderUrl());
              System.out.println("    " + getUrlPkgPrefixes());
              System.out.println("    " + getEjbName());
              // Get a naming context
              context = new InitialContext(env);
               Object ms  = context.lookup(getEjbName());
              MyEJBHome home = (MyEJBHome ) PortableRemoteObject.narrow(ms, MyEJBHome.class);
              myEjb = home.create();
              return myEjb.getDefaultName();
          } catch (RemoteException re){
              System.out.println(re.getCause().getMessage());
          catch (Exception ex) {
              ex.printStackTrace();
          return null; //if unable to resolve the context factory etc...
        }

    I did exactly as you suggested. I edited the application.xml and added this
    <library path="C:\ArcGIS\test\bea\wlclient.jar"/>
    I didn't add weblogic because the needed classes were all in wlclient.jar
    I also edited the BASE_OB_CLASSPATH to include this jar.
    Here is the result when I just start BPEL PM Server. Somehow BPEL PM doesn't like to have wlclient.jar in its classpath during startup.
    Failed to create "worker" bean; exception reported is: "javax.naming.NameNotFoun
    dException: remaining name: env
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:49)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:57)
    at weblogic.j2eeclient.SimpleContext.lookup(SimpleContext.java:62)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.ejbCreate(WorkerBean.java
    :49)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind.server.ejb.MessageDrivenHome.getInstance(MessageDrivenHo
    me.java:1235)
    at com.evermind.server.ejb.MessageDrivenHome$2.run(MessageDrivenHome.jav
    a:1150)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2005-12-29 13:39:05,281> <ERROR> <collaxa> <ServerManager::loadAllDomains>
    ORABPEL START-UP ERROR!!!!!!!!
    OraBPEL run-time system failed to start due to exception:
    Could not initialize jms connection pool.
    Could not initialize connection pool for connection factory "java:comp/env/jms/
    ollaxa/BPELInvokerQueueFactory"; the reason is remaining name: env/jms/collaxa/
    PELInvokerQueueFactory.
    Note: So what I did was to removed the entry from application.xml and tried with just obsetenv.bat having the wlclient.jar added to it. This too failed!!
    Here is a snapshot of the error I got.
    Process "BPELProcess2" (revision "1.0") successfully compiled.
    <2005-12-29 13:53:11,207> <INFO> <default.collaxa.cube.engine.deployment> Proces
    s "BPELProcess2" (revision "1.0") successfully loaded.
    05/12/29 13:53:32 Cannot instantiate class: weblogic.jndi.WLInitialContextFactor
    y
    05/12/29 13:53:32 javax.naming.NoInitialContextException: Cannot instantiate cla
    ss: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotF
    oundException: weblogic.jndi.WLInitialContextFactory]
    05/12/29 13:53:32 at javax.naming.spi.NamingManager.getInitialContext(Nami
    ngManager.java:652)
    05/12/29 13:53:32 at javax.naming.InitialContext.getDefaultInitCtx(Initial
    Context.java:243)
    05/12/29 13:53:32 at javax.naming.InitialContext.init(InitialContext.java:
    219)
    05/12/29 13:53:32 at javax.naming.InitialContext.<init>(InitialContext.jav
    a:195)
    05/12/29 13:53:32 at com.esri.adf.ejb.test.MapFinder.getDefaultMapName(Map
    Finder.java:57)
    05/12/29 13:53:32 at bpel.p0.ExecLetBxExe1.execute(ExecLetBxExe1.java:62)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__execut
    eStatements(BPELXExecWMP.java:49)
    05/12/29 13:53:32 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
    rm(BPELActivityWMP.java:185)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
    beEngine.java:3398)
    05/12/29 13:53:32 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
    eEngine.java:1905)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.message.instance.Per
    formMessageHandler.handleLocal(PerformMessageHandler.java:75)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
    eLocalMessage(DispatchHelper.java:100)
    05/12/29 13:53:32 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM

Maybe you are looking for