Mark Workflow Done - Business Operation Status

Hi,
In my workflow, suppose i have a Task T1 performing some business operation and i have a Event listener, which on receiving an XML event performs the action 'Mark Workflow as Done'.
At this instance what would happen to the business Operation in T1, which might be still updating the database. That Transaction is committed or Rolledback.

Hi Mark,
Well I assumed that you have confirmations integration active !! But I guess not because you say that the status is not integrated always.
What you need to do:
1) I assume you have SP05 or later.
2) Implement the user exit: CONFPM05. In the implementation of this exit you need to call FM: /MRSS/RSG_PM_ORDER_CONFIRM
3) Go to customizing: Basic Settings --> Assign ERP Objects --> Status
  -- Here, define an abstract status (MRS Status) for confirmed and partially confirmed
  -- map it to R3 status CNF and PCNF.
After this, whenever you enter confirmation for PM order from transaction IW41, the status will be integrated.
Now you can use the MRS statuses defined in step 3 to configure the colors.
Implementing the user exit CONFPM05 might require some technical input. But it is easy. Just a few double clicks and copy paste.
Contact an ABAP developer for the same.
This should solve your issue.
Regards
Varun

Similar Messages

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • IW32 After business closer  operation status not showing CLSD

    Dear Friends,
    I have a query here. For PM orders system status gets updated as per business transaction. Operation status also gets changed as per header status. But  it is okay till technical completion and operation staus gets set as TECO. But after  business closer  of the order still operation showes TECO  status in place of CLSD .
    Any clues on this please?  Is this the standard feature or  I need to search for OSS notes to be applied?
    Regards,
    Siddhartho Raha

    Hi,
    That note is no longer released so you cannot see it.
    Note 675240 contains an alternative repair report, at end of page 13 you can see similar update following the comment:
    *    begin of TECO / CLSD handling
    the following section does the update:
    IF update = 'X'.                                   
    *  create an entry in jest that the operations are TECO     
       CLEAR wa_jest.                                   
       wa_jest-objnr = <wa_jest_ov>-objnr.              
      wa_jest-stat  = 'I0045'.
    -Paul

  • MRS (Multi Resource Scheduling) - Show operation status in Planning Board

    Because the current MRS thread is some long and complicated I chose to move this question into a seperate thread:
    Initial question:
    Like many companies, it is not unusual at my customer for their Planners to create orders with multiple operations, particularly since many orders require different crafts to perform the work. When the Planning Board is launched and Planners lok at work scheduled for the past week they want to be able to see at a glance which operations have been completed and which operations, perhaps from the same order, have not and may need to be rescheduled. Their preference is to select "final confirmation" when using transaction IW41 and thereby set the operation system status to CNF when the work on an operation has been completed. They then want to somehow use this CNF operation status to drive something visual in the graphical Demand layout display and Resource layout display to enable the Planner to see at a glance that the operation has been completed. I've tried several approaches with configuration of abstract statuses and the user interface profile without success. My customer's interest in being able to see the completion status of an operation in the MRS Planning Board makes a lot of sense to me. I'm hoping someone can help me with a technique for modifying the Planning Board so that it displays the completion status of an operation in a visual way.
    Response from Varun Verma:
    Hi Mark,
    The problem at your customers end is nothing new.
    What you can do ( many other customers have done it in similar way ) is:
    1) you integrate the status CNF into MRS.
    Check the customizing: Basic Settings -> Assign ERP Objects -> Status
    2) configure in MRS that for status CNF, the assignments and demands (only in item work list or Hotlist) is colored to GREEN (or any other color)
    Check customizing: Set Up Scheduler Workplace -> Workplace Profiles -> Define User Interface Profiles
    Thus the users will know visually, that the green colored assignments are already completed.
    By the way, in your work list you can also filter the demands based on their status
    Regards
    Varun.
    Followup question:
    Varun,
    Thanks for the response.  I thought I had tried this but perhaps it's because in the UI profile I had not entered something in both the status groups for assignments and the status groups for demands.  I have a bit more testing to do but it appears that the demand status now gets updated from the operation status of PCNF (linked to abstract status WORK_START) and CNF (linked to abstract status WORK_STOP).  I also get a red bar (C4) for PCNF and a green bar (C1) for CNF.  Do you have a better status group I should be using in place of C1 and C4?  Status groups C1 and C4 give me a bar but it doesn't look like the demand bar with a outline and alphanumeric description of the demand, it's just a colored bar.
    I know the work list can be filtered based on their MRS "planning" status, however, it doesn't appear to permit filtering by the status of the operation unless I add the operation status as an additional field in the worklist.  Is there something I'm missing here?  And even if it did, my customer wants to be able to see the CNF status indication in the Demand layout and schedule using the work centers so the worklist is not being shown like it is in the Resource layout.
    Mark
    Edited by: Mark Scott on Aug 10, 2009 3:35 PM

    Hi Mark,
    Well I assumed that you have confirmations integration active !! But I guess not because you say that the status is not integrated always.
    What you need to do:
    1) I assume you have SP05 or later.
    2) Implement the user exit: CONFPM05. In the implementation of this exit you need to call FM: /MRSS/RSG_PM_ORDER_CONFIRM
    3) Go to customizing: Basic Settings --> Assign ERP Objects --> Status
      -- Here, define an abstract status (MRS Status) for confirmed and partially confirmed
      -- map it to R3 status CNF and PCNF.
    After this, whenever you enter confirmation for PM order from transaction IW41, the status will be integrated.
    Now you can use the MRS statuses defined in step 3 to configure the colors.
    Implementing the user exit CONFPM05 might require some technical input. But it is easy. Just a few double clicks and copy paste.
    Contact an ABAP developer for the same.
    This should solve your issue.
    Regards
    Varun

  • [q] variables not seen in WLPI business operation window

    hI,
    I am assigning a java object instance to WLPI variable.
    Then I try to call one of the methods of this Java Object (Using business
    operation)
    but in the Drop Down list in the WLPI I don't see the assigned variable !
    Am I missing something ?
    ( I Use WLPI 2.0 on WL6.0 sp 2 )
    Thanxs,
    Ronen Yaari

    I seem to have answered my own question...
    The problem was fixed when I defined 2 business operations, a GetBusOpInstance
    operation and for example, a PerformSomeProcessing business operation.
    The GetBusOpInstance maps to the constructor in my class file, while the PerformSomeProcessing
    business operation maps to some other public method.
    I am only interested in the PerformSomeProcessing operation, but in order to use
    it, i first need to create an instance of the class, So i explicitly need to call
    GetBusOpInstance to do this (Remember to assign it to a java class).
    Subsequently, this "instance variable" is used to execute the PerformSomeProcessing
    operation.
    This seems quite verbose, but can probably be overcome by using statically defined
    methods. (I need to try this out to confirm it)
    Regards
    "Soteri Panagou" <[email protected]> wrote:
    >
    Hi there
    I have experienced a similar problem. With the business operation in
    my studio
    classpath, i am able to select a workflow variable in the instance variable
    dropdown
    box. However, when i try to run the workflow, i get an exception when
    wlpi attempts
    to run the business operation :
    <<wlpirequest>
    <started>2001-08-09 16:38:24.080</started>
    <requestor>wlpisystem</requestor>
    <templateid>5001</templateid>
    <template-name>test</template-name>
    <templatedefinitionid>4001</templatedefinitionid>
    <instanceid>9008</instanceid>
    <actions>
    <error time="2001-08-09 16:38:26.391">WorkflowException: An error
    occurred
    during exception handler processing.
    Empty instance object for business operation "CreateReply"
    in template
    "test".</error>
    </actions>
    <completed>2001-08-09 16:38:26.393</completed>
    </wlpirequest>>
    It does not seem to have saved the instance variable.
    However when I look at the workflow task, i can see that the instance
    variable
    assignment is still valid.
    What gives?
    Sean Garagan <[email protected]> wrote:
    Hi Ravi,
    This is a known issue with WLI 2.0. The workaround for it is to put
    the
    Java class you are using for your business operation into the classpath
    of
    Studio.
    Hope this helps,
    Sean
    Ravi wrote:
    Hi,
    Can you please elaborate your reply.
    I am also facing the same problem. Instance variable defined is notseen in the
    drop down box. Please help me.
    Thanks,
    Ravi.
    "Sicheng Yu" <[email protected]> wrote:
    Starting from WLPI 2.0, the business operation will do automatic
    type
    filtering on variables that perform business operation, and variables
    that
    to be assigned the result of business operation. This filteringreflects
    WLPI variable casting policy which is documented.
    Please reexamine types of your variables and see if the filteringmakes
    sense to you.
    Sicheng Yu
    "Ronen Yaari" <[email protected]> wrote in message
    news:[email protected]...
    hI,
    I am assigning a java object instance to WLPI variable.
    Then I try to call one of the methods of this Java Object (Using
    business
    operation)
    but in the Drop Down list in the WLPI I don't see the assigned
    variable
    Am I missing something ?
    ( I Use WLPI 2.0 on WL6.0 sp 2 )
    Thanxs,
    Ronen Yaari
    Content-Description: Card for Sean Garagan
    begin:vcard
    n:Garagan;Sean
    tel;cell:(902) 452-1393
    tel;home:(902) 829-3129
    tel;work:(902) 829-3129
    x-mozilla-html:FALSE
    org:BEA Systems Inc.;ECI Division
    adr:;;;;;;
    version:2.1
    email;internet:[email protected]
    title:Senior Software Engineer
    fn:Sean Garagan
    end:vcard

  • ClassNotFound EJBHelper when running EJB business operation

    Hi,
    i have a problem with my simple platform domain.
    I want to get the UserInfo with a EJB session business operation.
    I have created to business operations
    1. create a com.bea.wlpi.WLPIPrincipal
    2. call the method getUserInfo
    Running 1 and the 2 with the worklist tool, my workflow produces a ClassNotFound
    Exception(see below)
    If i add the wlpi-ejb.jar to my startWeblogic.cmd file many ejb exceptions will
    be shown.
    Please help me,
    i am a newbie
    Bjoern
    javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NoClassDefFoundError:
    com/bea/wlpi/server/common/EJBHelper
    at com.bea.wlpi.common.EJBInvocationDescriptor.invokeHomeMethod(Unknown
    Source)
    at com.bea.wlpi.server.workflow.action.ActionBusinessOperation.execute(Unknown
    Source)
    at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(Unknown
    Source)
    at com.bea.wlpi.server.workflow.Task.executeActions(Unknown Source)
    at com.bea.wlpi.server.workflow.Task.doit(Unknown Source)
    at com.bea.wlpi.server.workflow.Workflow.taskDoit(Unknown Source)
    at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$3.invoke(Unknown
    Source)
    at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(Unknown
    Source)
    at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.taskDoit(Unknown
    Source)
    at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean_h7kt4j_EOImpl.taskDoit(WorkflowProcessorBean_h7kt4j_EOImpl.java:1013)

    Jeff,
    Did you update the config.xml to add the EJBComponent element for your EJB
    to the WLI application? This must be done by hand.
    Mike
    "Jeff Gallimore" <[email protected]> wrote in message
    news:3cb39de0$[email protected]..
    >
    I have a business operation that calls a method on a stateless sessionbean, but
    it is throwing a ClassNotFoundException.
    Some details:
    1) I am using WLI 2.1sp1 and WLS 6.1sp1 on Windows
    2) The EJB is deployed as part of the WLI application (the EJB jar is inthe %WLI_HOME%\lib
    directory)
    3) I can see the EJB in the Studio
    4) I can see the entry in the JNDI tree in the running server
    5) I am running in the "samples" domain
    6) I can run a standalone client and call the EJB just fine
    <error time="2002-04-09 21:46:10.425">WorkflowException: An erroroccurred
    during exception handler processing.
    Unable to load class object for remote interface of type"com.amti.prdemo.ejb.purchaserequest.PurchaseRequestDAOHome";
    java.lang.ClassNotFoundException:com.amti.prdemo.ejb.purchaserequest.PurchaseRequestDAOHome.</error>
    Any ideas on what the problem is?
    Jeff

  • How to add an EJB to the Business Operation's EJB list?

    I have made a session stateless EJB that have just one single business
    method and I want to call that method from my workflow template definition.
    So, I need it to be added to the /JNDI Name for Session EJB/ combo box in
    the Define Business Operation window. I tried by simply deploying the ejb by
    using the WLS console app but I didn't get it in the combo box list, what I
    got was an exception in the WLS6:***** ASSERTION FAILED *****[ Unable to
    load remote interface: java.lang.ClassNotFoundException:
    atlante.Prueba ]Make sure your EJB is configured in the same Application as
    the WLPI codeI have been trying to find an elegant way to add my ejb to the
    WLPI Application in the console but i haven't found any, so what I had to do
    was add the definition of my ejb to the <Application... name="WLPI
    Application"> element in config.xml. It works fine, but I don't feel
    comfortable doing that and I also think that there must be a descent way to
    do that.so, the question is, how?
    I will appreciate any help on this
    regards
    Israel

    I have made a session stateless EJB that have just one single business
    method and I want to call that method from my workflow template definition.
    So, I need it to be added to the /JNDI Name for Session EJB/ combo box in
    the Define Business Operation window. I tried by simply deploying the ejb by
    using the WLS console app but I didn't get it in the combo box list, what I
    got was an exception in the WLS6:***** ASSERTION FAILED *****[ Unable to
    load remote interface: java.lang.ClassNotFoundException:
    atlante.Prueba ]Make sure your EJB is configured in the same Application as
    the WLPI codeI have been trying to find an elegant way to add my ejb to the
    WLPI Application in the console but i haven't found any, so what I had to do
    was add the definition of my ejb to the <Application... name="WLPI
    Application"> element in config.xml. It works fine, but I don't feel
    comfortable doing that and I also think that there must be a descent way to
    do that.so, the question is, how?
    I will appreciate any help on this
    regards
    Israel

  • Configuring Business Operations in WLIntegrator 2.1 Studio

    Hi,
    I deployed a SessionBean and few CMPs in a deployable jar on WLI 2.1.I was able
    to test the deployment through a java client.
    Now, when i go to a workflow template in WLI Studio and select Configuration-->Business
    Operations and click on add button, I`m getting following exception on server console:
    Started WebLogic Integration - BPM Server version 2.1
    WebLogic Integration BPM server does not support NULL.
    ***** ASSERTION FAILED *****[ Unable to load remote interface: java.lang.ClassNotFoundException:
    amit.lal.cmp.ProductCmp ]
    Make sure your EJB is configured in the same Application as the WLPI code
    Any pointers to what may be the problem and how to solve it.
    Thanks,
    Amit Lal

    Hi,
    check in your administration console/Deployments/EJB: the WLPI application
    code is propably deployed into the WLPI_Application. I did not find another
    way to tell my EJB to be deployed in the same application than editing the
    config.xml (which is hopefully not the recommended way to do it).
    In the config.xml should be a tag like:
    <Application Deployed="true" Name="WLPI_Application" Path="lib">
    insert your myEjb.jar like the following (the URI has to be relative to the
    given path, in this case "lib"!):
    <Application Deployed="true" Name="WLPI_Application" Path="lib"
    [other WLPI applications]
    <EJBComponent Name="myEjb" Targets="myserver"
    URI="../../../src/toplink/tutorial/ejbtest/myEjb.jar"/>
    </Application>
    Regards,
    Astrid
    Amit Lal <[email protected]> schrieb in im Newsbeitrag:
    3d04a6e8$[email protected]..
    >
    Hi,
    I deployed a SessionBean and few CMPs in a deployable jar on WLI 2.1.Iwas able
    to test the deployment through a java client.
    Now, when i go to a workflow template in WLI Studio and selectConfiguration-->Business
    Operations and click on add button, I`m getting following exception onserver console:
    >
    >
    Started WebLogic Integration - BPM Server version 2.1
    WebLogic Integration BPM server does not support NULL.
    ***** ASSERTION FAILED *****[ Unable to load remote interface:java.lang.ClassNotFoundException:
    amit.lal.cmp.ProductCmp ]
    Make sure your EJB is configured in the same Application as the WLPI code
    Any pointers to what may be the problem and how to solve it.
    Thanks,
    Amit Lal

  • Unable to find business operation

    Hi all:
    I am using WLPI 1.2.1.
    I have a workflow whose start node is of "Timed" type i.e it triggers at regular
    intervals. The first business operation that I perform after I have executed the
    start node is an operation on the Java Class. This Java class has been added as
    one of the business operations to the WLPI and appears as such in the BUSINESSOPERATIONS
    table.
    The problem I am running into is that when I start my server and the triggerring
    of my workflow happens, I get an exception saying that "business operation bcLatchClosedCreate
    can't be found" where "bcLatchClosedCreate" is the name of my business operation.
    The Java Class which is accessed through this business operation is a public class
    and I have defined business operation to instantiate and call methods on it. As
    soon as this exception occurs the record (which tells what is the next time for
    trigger) is deleted from the TIMEDEVENT table and no futher triggering of this
    workflow occurs.
    However, if I resave this workflow, triggering starts again and everything is
    fine. The business is found and no exception occurs. It is only at the start of
    the server that I have the problem which essentially renders the workflow useless
    as no triggering happens in future.
    Is there is nay programmatic way to start and stop the automatic triggering of
    a timed workflow.
    Following is the exception:
    Fri Mar 29 13:45:07 EST 2002:<I> <EJB JAR deployment c:/marketreadyproject2/lib/wlpi-ejb.jar>
    Transaction: '1017427439304_1' rolled back due to EJB exception:
    System error: com.bea.wlpi.server.workflow.ErrorHandlerRollbackException: An error
    occurred during exception handler processing.
    The system could not find the specified business operation "bcLatchClosedCreate".
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(WorkflowProcessorBean.java:1216)
         at com.bea.wlpi.server.workflow.Start.activate(Start.java:128)
         at com.bea.wlpi.server.workflow.Workflow.instantiate(Workflow.java:455)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$1.invoke(WorkflowProcessorBean.java:727)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(WorkflowProcessorBean.java:1129)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.instantiate(WorkflowProcessorBean.java:723)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanEOImpl.instantiate(WorkflowProcessorBeanEOImpl.java:412)
         at com.bea.wlpi.server.timeprocessor.TimeProcessor.trigger(TimeProcessor.java:213)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:205)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:199)
         at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:60)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Nested exception is: Workflow error: com.bea.wlpi.common.WorkflowException: The
    system could not find the specified business operation "bcLatchClosedCreate".
         at com.bea.wlpi.server.workflow.action.ActionBusinessOperation.execute(ActionBusinessOperation.java:97)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.executeActions(WorkflowProcessorBean.java:1180)
         at com.bea.wlpi.server.workflow.Start.activate(Start.java:128)
         at com.bea.wlpi.server.workflow.Workflow.instantiate(Workflow.java:455)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean$1.invoke(WorkflowProcessorBean.java:727)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.performWithErrorHandling(WorkflowProcessorBean.java:1129)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBean.instantiate(WorkflowProcessorBean.java:723)
         at com.bea.wlpi.server.workflowprocessor.WorkflowProcessorBeanEOImpl.instantiate(WorkflowProcessorBeanEOImpl.java:412)
         at com.bea.wlpi.server.timeprocessor.TimeProcessor.trigger(TimeProcessor.java:213)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:205)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:199)
         at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:60)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Please help
    Sunil

    Did you install the SOA extension for JDeveloper from the help->check for updates?

  • 3750 Integrated WirelessLAN Controller: Operational Status:resetting

    Hi there!
    A customer has a WS-C3750G-24WS-S50 WLC-Controller with exactly 50 APs. But those 50 Accesspoints are never completely registered to the WLC. Mostly there are 48-49 accesspoints registered but never 50.
    The WLC is losing them randomly. It is never losing the same Ap. When looking via GUI it says "All APs 50" , "Total 49".
    First of all I thought that I have the following problem:
    The 4402-50 controller supports a maximum of 50 access points and has two ports. To support the maximum number of access points, you would need to create two AP-manager interfaces (see Figure 3-15) because a 4400 series controller can support only 48 access points on one port.
    But this is not for the 3750  Integrated WirelessLAN Controller, because you have LAG enabled by default and you cannot change this. Therfore you are not able to create a second AP-Manager interface.
    So let´s forget about this.
    Then I tried some things on CLI an I noticed the following:
    sw-mr-01-01#sh platform wireless-controller 6
    Wireless Controller in Switch 6
    Operational Status of the Controller : resetting
    Service VLAN                         : 4095
    Service Port Mac Address             : 0025.8420.8e8f
    Service IP Address                   : 127.0.1.6
    Management IP Address                : 192.168.150.220
    Management VLAN                      : 0
    Software Version                     : 5.2.193.0
    Keepalive Version(controller/switch) : 1/1
    Keepalives Missed                    : 16
    Controller accepts http/https        : 0/1
    Controller's Status Line             : up
    Watchdog resets of Controller        : 1
    Controller resets total              : 0
    Unacknowledged control messages      : 27
    I guess it is not normal that the status is "resetting" although the WLC is running. I can work on GUI and CLI, so it is not really "resetting"
    According to the Config Guide status should be "operational".
    Is this maybe my problem? The customer is not able to do a good WIPT because the WLC is maybe resetting somehow internaly or something like this.
    In traps I got every minute "Lost heartbeat with supervisor" which normaly should be solved in earlier releases. I have 6.0.199.4
    HELP!!!
    Thanks in advance.

    Ok.
    1) Assing an IP address for a subnet you are sure you don´t use. for example 192.168.200.5 /24; GW 192.168.200.1 (via WLC GUI).
    2) I suppose (because I have not configured any 3750 WLC) that the service port uses the vlan ID 4095 (This is I saw in any capture). then you have to create a int vlan 4095 in the Switch and assing the GW ip address of your WLC service-port.
    3) Ping to verify conectivity between devices.
    I´m suppose you have the service port via DHCP (it could be the reason you have an IP 0.0.0.0), this is not a best practice; Cisco recommends that assing an IP to this interface and never let to DHCP, specially if you don´t have any dhcp server in this VLAN.
    Good Luck and sorry for my english.
    Best Regards.

  • Java.io.NotSerializableException when trying to invoke java class Business Operations in studio

    According to WLI docs, the Java Class Business Operations doesn't need to be Serializeable.
    But somehow everytime I try to invoke the Busines Operations in studio, It always
    throws me exception : java.io.NotSerializableException. Is it something wrong
    with my Java Class ? The operation seems to be executed successfully but after
    that It looks like WLI is trying to serialize the object into database which can
    not be done because the Java Class is not serializeable. Changing the Java Class
    to serializeable is not an option since I don't have any control on this class.
    Please advise...
    regards,
    Martin

    According to WLI docs, the Java Class Business Operations doesn't need to be Serializeable.
    But somehow everytime I try to invoke the Busines Operations in studio, It always
    throws me exception : java.io.NotSerializableException. Is it something wrong
    with my Java Class ? The operation seems to be executed successfully but after
    that It looks like WLI is trying to serialize the object into database which can
    not be done because the Java Class is not serializeable. Changing the Java Class
    to serializeable is not an option since I don't have any control on this class.
    Please advise...
    regards,
    Martin

  • ClassNotFoundException error for Business Operation Exceptions

    I am using WLPI 2.0 with Weblogic 6.0.
    I have written a business operation that calls a method in a java class which
    throws an exception. When
    I perform the business operation and pass good data, it does what is expected.
    However, when I call
    the method with bad data and the method has to throw the exception, the method
    in the java class
    throws the exception but WLPI opens a dialog with the error ClassNotFoundException
    with the name of
    the fully qualified exception class that I threw.
    I have tried putting the class files in a jar file and including the jar file
    in the CLASSPATH of the WLI
    server as well as leaving the classes in a subdirectory and including the subdirectory
    in the CLASSPATH.
    WLPI has no problem find the class that performs the business process, however,
    it can't find the
    Exception class (which is in the same directory) that the business process class
    throws when there is a
    failure. I have the same package names in both files, so I'm not sure why it is
    not finding it.
    Can anyone think of what "t" I don't have crossed?
    My calls and definition of the business operation looks almost exactly like one
    of the examples. I just
    seem to be missing one little thing.
    Eddie

    Folks,
    Never mind. I had the CLASSPATH in the WLPI server set, but
    didn't realize you had to update the worklist classpath as well.
    I would have realized this if the worklist would have needed the
    external class I was calling in the business operation, but now
    see how the worklist must have at least the exception class.
    Eddie
    "Eddie Arnold" <[email protected]> wrote:
    >
    I am using WLPI 2.0 with Weblogic 6.0.
    I have written a business operation that calls a method in a java class
    which
    throws an exception. When
    I perform the business operation and pass good data, it does what is
    expected.
    However, when I call
    the method with bad data and the method has to throw the exception, the
    method
    in the java class
    throws the exception but WLPI opens a dialog with the error ClassNotFoundException
    with the name of
    the fully qualified exception class that I threw.
    I have tried putting the class files in a jar file and including the
    jar file
    in the CLASSPATH of the WLI
    server as well as leaving the classes in a subdirectory and including
    the subdirectory
    in the CLASSPATH.
    WLPI has no problem find the class that performs the business process,
    however,
    it can't find the
    Exception class (which is in the same directory) that the business process
    class
    throws when there is a
    failure. I have the same package names in both files, so I'm not sure
    why it is
    not finding it.
    Can anyone think of what "t" I don't have crossed?
    My calls and definition of the business operation looks almost exactly
    like one
    of the examples. I just
    seem to be missing one little thing.
    Eddie

  • Still got problems with java class business operations

    Hi all,
    I've read the latest on business operations and java class files, but my problem
    remains - the workaround of putting the class file in the studio classpath did
    not work for me.
    To breifly recap the problem -
    I am unable to assign an instance variable when trying to call a predefined business
    operation of a java class. Calling the constructor seems to work okay and I can
    assign the result to a variable of type "java object" but that's as far as it
    goes. If I try placing the class file in the studio classpath, my "Instance Variable"
    dropdown list dims, but I am still prompted to choose one when I press okay.
    I'm using process integrator 2 sp2 on wls6.
    Please help!
    Regards
    Andrew

    Still no good. I'm running my testing on my own PC with windows 2000. Maybe a
    windows bug rather than a remote bug?!
    Anyone else have a suggestion?
    "Soteri Panagou" <[email protected]> wrote:
    >
    Andrew
    What platform are you running on?
    I have found the same problem when trying to run wlpi remotely.
    We have a sun box with the WLI installation. When i run wlpi on that
    box, and
    do the business operation configuration as u describe below, i get instance
    variables
    populated in the drop down box of the business operation window. I can
    then select
    the java object my instance is assigned to.
    However, when i connect remotely using the studio and try to view the
    business
    operation settings, nothing appears in the instance drop down box.
    When i go back to the console and run the studio on the same machine
    as the installation,
    the instance variable drop down is populated once again.
    So all i can say is, configure the workflow on the machine have the running
    installation,
    and then it should work. It did for me :)
    Hope this helps
    Steri
    "Andrew" <[email protected]> wrote:
    Hi all,
    I've read the latest on business operations and java class files, but
    my problem
    remains - the workaround of putting the class file in the studio classpath
    did
    not work for me.
    To breifly recap the problem -
    I am unable to assign an instance variable when trying to call a predefined
    business
    operation of a java class. Calling the constructor seems to work okay
    and I can
    assign the result to a variable of type "java object" but that's asfar
    as it
    goes. If I try placing the class file in the studio classpath, my "Instance
    Variable"
    dropdown list dims, but I am still prompted to choose one when I press
    okay.
    I'm using process integrator 2 sp2 on wls6.
    Please help!
    Regards
    Andrew

  • WLPI: business operations JNDI lookup & service pack

    Hello,
    I ran into a problem attempting to define a business operation in the Studio application
    using WLPI 1.2.1 (without service pack 1). Everything works up to the point where
    I press the Done button and Studio attempts to create a new business operation
    object. I am getting a JNDI lookup exception. It appearsejb-name of method in
    isolation-level must be the same name as that of the weblogic-enterprise-bean
    Studio is looking up the name 'com.bea.wlpi.businessoperation' while the business
    operation bean is bound under 'com.bea.wlpi.BusinessOperation'.
    In an attempt to fix this problem I upgraded to service pack 1, but am now unable
    to deploy wlpi-ejb.jar because of the following error: "ejb-name of method in
    isolation-level must be the same name as that of the weblogic-enterprise-bean".
    Can anyone help me create a business operation?
    Thanks,
    Martin

    Make sure that this Datasource you created is Targetted to Admin Server and full Cluster (incase of cluster domain). From Admin Console, select your datasource and check for the Targets tab. Since its JNDI lookup error, most probably it may not be deployed properly.
    HTH
    Ravi Jegga

  • DPS DSCC doesn't show operational status

    I have DPS 6.3.1 running against 4 6.3.1 directory server instances. On the data sources page of DSCC, the 'operational status' column shows 'Could Not Retrieve Status' for all 4 instances. I've tried upping the log level on the DPS server to see if I could figure out what is causing this. Does anyone know how DPS (or DSCC) goes about figuring out what should be in that column?
    Thanks

    We don't have a single dscc for all instances. This is because of a strict 3 tier network architecture we are required to have (to the point that tier 1 dps is not allowed to talk directly to tier 3 ds so we have a tier 2 dps pass-thru). So are you saying that dscc in our tier 2 dps environment has to be able to talk to cacaoadm in tier 3 to show operational status of the ds on the dps screens? I was definitely under the impression that the monitoring as configured in dscc, has the dps instances monitoring the ds instances and the dps instances would let dscc know the status. To me, I don't care if dscc in tier 2 knows that the tier 3 ds instances are up, I want to know that the dps servers can talk to ds.

Maybe you are looking for

  • Error while doing me81n

    After acceptance of service sheet on saving, a pop-up window named "Acceptance posting" appears indicating three options; Error posting acceptance of entry sheet : XXXXXXXX Choose:              O  Error Log              O  Save w/o acceptance        

  • Exchange Server Setup

    Dear All i have setup my new Exchange for Testing Email Domain: mail.abc.com.ab Server FQDN: mail.abc.com.ab i have installed AD, DNS, DC role on Server my domain name is abc.com.ab the problem is when i check my email domain for MX record in dnsstuf

  • Changing Orientation in a slideshow

    When you create a slideshow in iPhoto 6 the orientation is automatically changed. How do you turn this off? It becomes annoying when you change the orientation in an album and then it is changed back in the slideshow.

  • How to create the Exit Variable

    Dear all, I want to create the exit Variables  for query. But How to create the exit variables. Dose Anyone could share some document? Thanks Best regards, Leon

  • Now that the new macbook pro has usb 3.0, is there a way to convert my current macbook's usb 2.0 to 3.0?

    Now that the new macbook pro has usb 3.0, is there a way to convert my current macbook's usb 2.0 to 3.0?