You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(4) |
Oct
(12) |
Nov
(10) |
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(20) |
Feb
(18) |
Mar
(16) |
Apr
(49) |
May
(84) |
Jun
(33) |
Jul
(42) |
Aug
(16) |
Sep
(9) |
Oct
(41) |
Nov
(29) |
Dec
(15) |
| 2004 |
Jan
(20) |
Feb
(72) |
Mar
(26) |
Apr
(8) |
May
(15) |
Jun
(10) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2006 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(9) |
Jun
(2) |
Jul
(15) |
Aug
(21) |
Sep
(13) |
Oct
|
Nov
|
Dec
|
|
From: Adrian P. <ad...@bt...> - 2006-09-29 18:58:25
|
Hello Gilson,
The classes I mentioned to Iain below are examples of client code:
CLWorklist, AbstractCLClient and Web Worklist WorklistController.* They =
all
call into OBE's client API (WMClient). BTW the string {@link WMClient} =
is a
Javadoc comment that emits an HTML hyperlink to the Javadoc-generated
org.obe.client.api.WMClient class documentation. The unqualified =
WMClient
reference is resolved via import statements in the usual way.
Cheers,
Adrian.
-----Original Message-----
From: Gilson Nascimento Del Rei [mailto:gil...@cp...]=20
Sent: Thursday, September 28, 2006 4:09 PM
To: Adrian Price; obe...@li...
Subject: RE: [Obe-user] ToolAgent example
Hi All,
I've been looking through the source code of OBETest.java and i have
encountered the follow comments.
*************************************************************************=
***
*********
...
WARNING!!! This code is not intended as an example of client code.<br/>
* In particular, please note that you should <b>never</b> call
WorkflowEngine
* directly as this program does. <b>Always</b> use {@link WMClient}
instead.
*************************************************************************=
***
*********
Ok, assuming that's code doesn't reflect the better practice to start
developing a client code, where I can get it ?
Another thing, sorry my ignorance... what's the meaning this String =
=3D=3D>
@link WMClient ?
Thanks in advance.
-----Original Message-----
From: obe...@li...
[mailto:obe...@li...] On Behalf Of Adrian =
Price
Sent: ter=E7a-feira, 29 de agosto de 2006 04:58
To: obe...@li...
Subject: Re: [Obe-user] ToolAgent example
Hi Iain,
Check out the CLWorklist (AbstractCLClient.executeWorkItem()) and Web
Worklist (WorklistController.getLaunchScript()) to see examples of
client-side tool agent invocation.
Cheers,
Adrian.
-----Original Message-----
Date: Mon, 28 Aug 2006 16:31:13 +0100
From: "O'Connell, Iain" <Iai...@ie...>
Subject: [Obe-user] ToolAgent example
To: obe...@li...
Message-ID:
=09
<753...@fi...>
Content-Type: text/plain; charset=3D"us-ascii"
Hi Folks,
I wonder if somebody could direct me to an example of programmatically =
using
a tool agent. I've been looking through the source and the =
documentation
and it doesn't look like there's an example of using a tool agent =
there...
One thing I have noticed is that the documentation on the site for the
document approval example where a browser should be invoked doesn't seem =
to
match the source code that I've downloaded.
All help gratefully appreciated!
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=3Dobe-user/attachments=
/2006
0828/738380d2/attachment.html=20
------------------------------
-------------------------------------------------------------------------=
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 3, Issue 12
***************************************
-------------------------------------------------------------------------=
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
|
|
From: Gilson N. D. R. <gil...@cp...> - 2006-09-28 15:02:57
|
Hi All,
I've been looking through the source code of OBETest.java and i have =
encountered the follow comments.
*************************************************************************=
************
...
WARNING!!! This code is not intended as an example of client code.<br/>
* In particular, please note that you should <b>never</b> call =
WorkflowEngine
* directly as this program does. <b>Always</b> use {@link WMClient} =
instead.
*************************************************************************=
************
Ok, assuming that's code doesn't reflect the better practice to start =
developing a client code, where I can get it ?
Another thing, sorry my ignorance... what's the meaning this String =
=3D=3D> @link WMClient ?
Thanks in advance.
-----Original Message-----
From: obe...@li... =
[mailto:obe...@li...] On Behalf Of Adrian =
Price
Sent: ter=E7a-feira, 29 de agosto de 2006 04:58
To: obe...@li...
Subject: Re: [Obe-user] ToolAgent example
Hi Iain,
Check out the CLWorklist (AbstractCLClient.executeWorkItem()) and Web =
Worklist (WorklistController.getLaunchScript()) to see examples of =
client-side tool agent invocation.
Cheers,
Adrian.
-----Original Message-----
Date: Mon, 28 Aug 2006 16:31:13 +0100
From: "O'Connell, Iain" <Iai...@ie...>
Subject: [Obe-user] ToolAgent example
To: obe...@li...
Message-ID:
=09
<753...@fi...>
Content-Type: text/plain; charset=3D"us-ascii"
Hi Folks,
I wonder if somebody could direct me to an example of programmatically =
using a tool agent. I've been looking through the source and the =
documentation and it doesn't look like there's an example of using a =
tool agent there... One thing I have noticed is that the documentation =
on the site for the document approval example where a browser should be =
invoked doesn't seem to match the source code that I've downloaded.
All help gratefully appreciated!
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: =
http://sourceforge.net/mailarchive/forum.php?forum=3Dobe-user/attachments=
/2006
0828/738380d2/attachment.html=20
------------------------------
-------------------------------------------------------------------------=
Using Tomcat but need to do more? Need to support web services, =
security? Get stuff done quickly with pre-integrated technology to make =
your job easier Download IBM WebSphere Application Server v.1.0.1 based =
on Apache Geronimo =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li... =
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 3, Issue 12
***************************************
-------------------------------------------------------------------------=
Using Tomcat but need to do more? Need to support web services, =
security? Get stuff done quickly with pre-integrated technology to make =
your job easier Download IBM WebSphere Application Server v.1.0.1 based =
on Apache Geronimo =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Obe-user mailing list
Obe...@li... =
https://lists.sourceforge.net/lists/listinfo/obe-user
|
|
From: Adrian P. <ad...@bt...> - 2006-09-06 18:26:21
|
Good day Gilson,
The WfMC Sample Workflow Process has been slightly modified to use an =
OBE
XPDL extension (and also to fix bugs in the WfMC original). In common =
with
the other examples, workflow 'wfmc-wf-1' uses an event trigger (defined =
as
an XPDL ExtendedAttribute) to respond to an inbound XML message:
=20
<ExtendedAttribute Name=3D"obe.Event">
<obe:Event Id=3D"WfMCSalesOrderReceived">
<xpdl:ActualParameters>
=20
<xpdl:ActualParameter>orderString</xpdl:ActualParameter>
</xpdl:ActualParameters>
</obe:Event>
</ExtendedAttribute>
The above event is defined in
$OBE_HOME/examples/config/BasicApplicationEventBroker.xml as:
<entry>
<event-type id=3D"WfMCSalesOrderReceived" type=3D"OBEEvent">
<schema>Order</schema>
<script-type>text/x-xpath</script-type>
<display-name>WfMC Sales Order Received</display-name>
<content-type>text/xml</content-type>
<description>A sales order is received (see
wfmc-sample.xpdl)</description>
<event-parameters>
<event-parameter id=3D"order" mode=3D"OUT">
<data-type>
<external-reference =
location=3D"orderschema.xsd"
xref=3D"Order"/>
</data-type>
=
<key-expression>$ctx/event/source</key-expression>
</event-parameter>
</event-parameters>
</event-type>
</entry>
OBE's event mechanism is extensively documented at
http://obe.sourceforge.net/examples/wfmc-sample.html,
http://obe.sourceforge.net/ext/services/ApplicationEventBroker.html and
http://obe.sourceforge.net/ext/xpdl.html.
Cheers,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine
http://obe.sourceforge.net/
mailto:adr...@us...=20
"tenax propositi, altiora peto"
________________________________
From: Gilson Nascimento Del Rei [mailto:gil...@cp...]=20
Sent: Wednesday, September 06, 2006 5:00 PM
To: obe...@li...; Adrian Price
Subject: some doubts about obe workflow engine=20
Hello All,=20
I would like to know how OBE Engine find out the instanced workflow =
process
(XPDL) after i send a XML relacioned for the J2EE Server.
For example, in this sequence from OBE documentation:=20
=20
* Deploy the wfmc-sample.xpdl package. Start a workflow
instance by either:=20
* Instantiating an instance of the EOrder workflow from the
Worklist client.=20
* When prompted, pasting the contents of an XML order which
conforms to the $OBE_HOME/examples/config/resources/orderschema.xsd =
schema,
such as order-1.xml or order-2.xml in $OBE_HOME/examples/etc/WfMCSample. =
or=20
* Open a console window and navigate to the
$OBE_HOME/examples/etc/ WfMCSample directory.=20
* Execute either or both of the commands:=20
* send order-1.xml=20
How OBE Engine find out the associate workflow process (XPDL) from
order-1.xml document ?=20
Thanks in advance.=20
=20
Gilson do Nascimento D'Elrei=20
___________________________________=20
Processos e Tecnologia da Informa=E7=E3o=20
ACTO - Projeto ERP CPM=20
CPM. Tecnologia criando valor.=20
Tel.: 55 11 4196-0791=20
gil...@cp...=20
www.cpm.com.br <file://www.cpm.com.br> =20
|
|
From: Gilson N. D. R. <gil...@cp...> - 2006-09-06 15:49:15
|
Hello All,
I would like to know how OBE Engine find out the instanced workflow =
process (XPDL) after i send a XML relacioned for the J2EE Server.
For example, in this sequence from OBE documentation:
=20
* Deploy the wfmc-sample.xpdl package. Start a workflow instance by =
either:=20
* Instantiating an instance of the EOrder workflow from the Worklist =
client.=20
* When prompted, pasting the contents of an XML order which conforms to =
the $OBE_HOME/examples/config/resources/orderschema.xsd schema, such as =
order-1.xml or order-2.xml in $OBE_HOME/examples/etc/WfMCSample.=20
or=20
* Open a console window and navigate to the $OBE_HOME/examples/etc/ =
WfMCSample directory.=20
* Execute either or both of the commands:=20
* send order-1.xml=20
How OBE Engine find out the associate workflow process (XPDL) from =
order-1.xml document ?
Thanks in advance.
=20
Gilson do Nascimento D'Elrei
___________________________________
> Processos e Tecnologia da Informa=E7=E3o
ACTO - Projeto ERP CPM=20
CPM. Tecnologia criando valor.
Tel.: 55 11 4196-0791
gil...@cp...
www.cpm.com.br
|
|
From: Adrian P. <ad...@bt...> - 2006-08-29 07:58:47
|
Hi Iain, Check out the CLWorklist (AbstractCLClient.executeWorkItem()) and Web Worklist (WorklistController.getLaunchScript()) to see examples of client-side tool agent invocation. Cheers, Adrian. -----Original Message----- Date: Mon, 28 Aug 2006 16:31:13 +0100 From: "O'Connell, Iain" <Iai...@ie...> Subject: [Obe-user] ToolAgent example To: obe...@li... Message-ID: <753...@fi...> Content-Type: text/plain; charset="us-ascii" Hi Folks, I wonder if somebody could direct me to an example of programmatically using a tool agent. I've been looking through the source and the documentation and it doesn't look like there's an example of using a tool agent there... One thing I have noticed is that the documentation on the site for the document approval example where a browser should be invoked doesn't seem to match the source code that I've downloaded. All help gratefully appreciated! Iain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0828/738380d2/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 12 *************************************** |
|
From: Adrian P. <ad...@bt...> - 2006-08-29 07:58:43
|
Hi Gilson, Sorry you're running into such difficulties. I should have mentioned - there is another way to send events to the basic (non-J2EE) OBE configuration. Just use Windows Explorer drag+drop or copy+paste to copy $OBE_HOME/examples/etc/WfMCSample/order-1.xml to $OBE_HOME/examples/config/events directory. This and other techniques are described under Examples > Overview (http://obe/sourceforge.net/examples/overview.html). Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine http://obe.sourceforge.net/ mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- From: Gilson Nascimento Del Rei [mailto:gil...@cp...] Sent: Monday, August 28, 2006 9:02 PM To: Adrian Price Cc: obe...@li... Subject: RE: [Obe-user] Error trying start instance process (CLWorkList) Hi Adrian, Finally i got execute the workflow process at ClWorkList. I have created a simple method that remove the line end caused by ENTER KEY at prompt, and call this in transformData method, but as you know it only works with a document on single line. I don't know whether this is the simpler form to do it, but it works. Thanks. Gilson ---- Code added in WFMCSampleTools.java ------------------------------------------------------------------------ ----- : : // Returns a version of the input where all line terminators // are replaced with a space. public static String removeLineEnd(String inputStr) { String patternStr = "(?m)$^|[\\r\\n]+\\z"; String replaceStr = " "; Pattern pattern = Pattern.compile(patternStr); Matcher matcher = pattern.matcher(inputStr); return matcher.replaceAll(replaceStr); } /** * Transforms a string representing an order into an XML document. * * @param orderString * @return An XML document conforming to the Order element as defined in * orderschema.xsd. */ public static Document transformData(String orderString) { String orderStringModified; _logger.info("transformData(" + orderString + ')'); orderStringModified = removeLineEnd(orderString); <======== added line : : : return svcMgr.getDataConverter().toDocument(orderStringModified); <=== modified line } -----Original Message----- From: Adrian Price [mailto:ad...@bt...] Sent: sexta-feira, 25 de agosto de 2006 16:23 To: Gilson Nascimento Del Rei; obe...@li... Subject: RE: [Obe-user] Error trying start instance process (CLWorkList) Hi Gilson, Ooooh. I think the problem may be the line ends in order-1.xml - the CLWorklist client is a bit simple and performs a readLine() call to read a command or value. It doesn't support embedded newlines. Try opening the document with a unix-eol-capable text editor and deleting all the line end characters to place the entire document on a single line. If that works let me know and I'll update the documentation. I didn't strip the line ends from the XML documents because I wanted them to be fairly human-readable. Alternatively if the server is running under J2EE you could use 'send order-1.xml' to submit the document by JMS. Thanks, Adrian. -----Original Message----- From: Gilson Nascimento Del Rei [mailto:gil...@cp...] Sent: Friday, August 25, 2006 7:04 PM To: obe...@li... Cc: Adrian Price Subject: RE: [Obe-user] Error trying start instance process (CLWorkList) Ok, Adrian I followed the instructions on wfmc-sample.html document and I have entered (pasted) the follow orderString parameter from order-1.xml file as below: Trying one (complete) <?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="cus...@cu..." orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> Trying two (without quotation) <?xml version=1.0 encoding=UTF-8?><Order accountNumber=123456 totalAmount=999.95 ema...@cu... orderType=PO cardType=AMEX><Items><Item itemNumber=1001 itemQty=10/><Item itemNumber=2002 itemQty=200/><Item itemNumber=3003 itemQty=3000/></Items></Order> Trying three (without xml header) <Order accountNumber="123456" totalAmount="999.95" emailAddress="cus...@cu..." orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> Even though to make it nothing seems work, the error remains the same. In the message console below the OrderString seems ok now. I tried to enter part of string manually, but itsn't work too. Follow below the console message error: Thanks in advance. Gilson ------------------------------------------------------------------------ -------------------------------------------------- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 13 Enter value for parameter 'orderString' [1]: <?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="customer1customer1.com" orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> 2006-08-25 14:44:02,320 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@24666758[ cwadPrefix=CWADPrefix[processDefinitionId=wfmc-wf-1, activityDefinitionId=null, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=null, workItemId=null, processState=open.notRunning.notStarted, eventCode=ASSIGNED_PROCESS_INSTANCE_ATTRIBUTE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:02 BRT 2006, informationId=WfMC], attributeName='orderString', attributeType=0, newAttributeLength=0, newAttributeValue='<?xml version="1.0" encoding="UTF-8"?><Order acco', previousAttributeLength=0, previousAttributeValue='null', cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=CWADPrefix[processDefinitio nId=wfmc-wf-1, activityDefinitionId=null, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=null, workItemId=null, processState=open.running, eventCode=STARTED_PROCESS_INSTANCE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], previousProcessState=open.notRunning.notStarted, newProcessState=open.running, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=5, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=20, workItemId=null, processState=open.running, eventCode=CHANGED_ACTIVITY_INSTANCE_STATE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='null', applicationId=null, newActivityState=open.running, previousActivityState=open.notRunning, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=5, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=20, workItemId=null, processState=open.running, eventCode=COMPLETED_ACTIVITY_INSTANCE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='null', applicationId=null, newActivityState=closed.completed, previousActivityState=open.running, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=17, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=21, workItemId=null, processState=open.running, eventCode=CHANGED_ACTIVITY_INSTANCE_STATE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='Transform Data', applicationId=null, newActivityState=open.running, previousActivityState=open.notRunning, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(<?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="customer1customer1.com" orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order>) 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste1 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...1 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...3 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...4 [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-25 14:44:06,436 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more 2006-08-25 14:44:06,466 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=WMError[mainCode=WM_G ENERAL_ERROR, subCode=null]]) --- Workflow Processes --- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries Even seem -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: sexta-feira, 25 de agosto de 2006 06:39 To: obe...@li... Subject: Re: [Obe-user] Error trying start instance process (CLWorkList) Hi Gilson, The WfMC sample workflow is defined with a formal parameter thus: <FormalParameter Id="orderString" Mode="IN">, which represents the XML document containing the order details. The error you're seeing is because you did not supply a valid XML order document when you started the workflow (Enter value for parameter 'orderString' [1]:). I'd advise you follow the detailed instructions at http://obe.sourceforge.net/examples/wfmc-sample.html (Examples > WfMC Sample in frames). Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine http://obe.sourceforge.net/ mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Wed, 23 Aug 2006 17:33:00 -0300 From: "Gilson Nascimento Del Rei" <gil...@cp...> Subject: [Obe-user] Error trying start instance process (CLWorkList) To: <obe...@li...> Message-ID: <F5E...@sr...> Content-Type: text/plain; charset="iso-8859-1" Hi, I'm receiving the error below when i try to start the instance process to wfmc-wf-1 (WFMC-Sample / EOrder). Can be a classpath problem ? thanks in advance. ------------------------------------------------------------------------ ---- ------------------------------------------------------------------------ ---- ------------------ Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 5 Enter value for parameter 'orderString' [1]: 2006-08-23 16:08:08,377 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@22481221[ cwadPrefix=CWADPrefix[processDefinitionId=wfmc-wf-1, activityD - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=CWADPrefix[processDefinitio nId= wfmc-wf-1, activityDefinitionId=null 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=17 2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(1) [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-23 16:08:11,141 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more 2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=WMError[mainCode=WM_G ENER AL_ERROR, subCode=null]]) Gilson do Nascimento D'Elrei ___________________________________ > Processos e Tecnologia da Informa??o ACTO - Projeto ERP CPM CPM. Tecnologia criando valor. Tel.: 55 11 4196-0791 gil...@cp... www.cpm.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/ 2006 0823/625f6811/attachment.html ------------------------------ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 9 ************************************** ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: Gilson N. D. R. <gil...@cp...> - 2006-08-28 19:52:25
|
Hi Adrian,
Finally i got execute the workflow process at ClWorkList. I have created
a simple method that remove the line end caused by ENTER KEY at prompt,
and call this in transformData method, but as you know it only works
with a document on single line.=20
I don't know whether this is the simpler form to do it, but it works.
Thanks.
Gilson
---- Code added in WFMCSampleTools.java
------------------------------------------------------------------------
-----
:
:
// Returns a version of the input where all line terminators
// are replaced with a space.
public static String removeLineEnd(String inputStr) {
String patternStr =3D "(?m)$^|[\\r\\n]+\\z";
String replaceStr =3D " ";
Pattern pattern =3D Pattern.compile(patternStr);
Matcher matcher =3D pattern.matcher(inputStr);
return matcher.replaceAll(replaceStr);
}
/**
* Transforms a string representing an order into an XML document.
*
* @param orderString
* @return An XML document conforming to the Order element as
defined in
* orderschema.xsd.
*/
public static Document transformData(String orderString) {
String orderStringModified;
_logger.info("transformData(" + orderString + ')');
orderStringModified =3D removeLineEnd(orderString); =
<=3D=3D=3D=3D=3D=3D=3D=3D
added line=20
:
:
:
return svcMgr.getDataConverter().toDocument(orderStringModified);
<=3D=3D=3D modified line
}
-----Original Message-----
From: Adrian Price [mailto:ad...@bt...]=20
Sent: sexta-feira, 25 de agosto de 2006 16:23
To: Gilson Nascimento Del Rei; obe...@li...
Subject: RE: [Obe-user] Error trying start instance process (CLWorkList)
Hi Gilson,
Ooooh. I think the problem may be the line ends in order-1.xml - the
CLWorklist client is a bit simple and performs a readLine() call to read
a command or value. It doesn't support embedded newlines. Try opening
the document with a unix-eol-capable text editor and deleting all the
line end characters to place the entire document on a single line. If
that works let me know and I'll update the documentation. I didn't strip
the line ends from the XML documents because I wanted them to be fairly
human-readable.
Alternatively if the server is running under J2EE you could use 'send
order-1.xml' to submit the document by JMS.
Thanks,
Adrian.
-----Original Message-----
From: Gilson Nascimento Del Rei [mailto:gil...@cp...]=20
Sent: Friday, August 25, 2006 7:04 PM
To: obe...@li...
Cc: Adrian Price
Subject: RE: [Obe-user] Error trying start instance process (CLWorkList)
Ok, Adrian
I followed the instructions on wfmc-sample.html document and I have
entered
(pasted) the follow orderString parameter from order-1.xml file as
below:
Trying one (complete)
<?xml version=3D"1.0" encoding=3D"UTF-8"?><Order =
accountNumber=3D"123456"
totalAmount=3D"999.95" emailAddress=3D"cus...@cu..."
orderType=3D"PO" cardType=3D"AMEX"><Items><Item itemNumber=3D"1001"
itemQty=3D"10"/><Item itemNumber=3D"2002" itemQty=3D"200"/><Item
itemNumber=3D"3003" itemQty=3D"3000"/></Items></Order>
Trying two (without quotation)
<?xml version=3D1.0 encoding=3DUTF-8?><Order accountNumber=3D123456
totalAmount=3D999.95 ema...@cu... =
orderType=3DPO
cardType=3DAMEX><Items><Item itemNumber=3D1001 itemQty=3D10/><Item
itemNumber=3D2002 itemQty=3D200/><Item itemNumber=3D3003
itemQty=3D3000/></Items></Order>
Trying three (without xml header)
<Order accountNumber=3D"123456" totalAmount=3D"999.95"
emailAddress=3D"cus...@cu..." orderType=3D"PO"
cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item
itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003"
itemQty=3D"3000"/></Items></Order>
Even though to make it nothing seems work, the error remains the same.
In the message console below the OrderString seems ok now. I tried to
enter part of string manually, but itsn't work too. Follow below the
console message error:
Thanks in advance.
Gilson
------------------------------------------------------------------------
--------------------------------------------------
Enter choice:
1) List Process Definitions
2) Create & Start Process Instance
3) List Process Instance Audit Entries
4) List Process Instance Attributes
5) Show Process Instance Attribute
E) Print Last Exception
M) Redisplay menu
Q) Back to previous menu
> 2
Enter process definition ID [wfmc-wf-1]:
- Successfully created process 'wfmc-wf-1' instance # 13 Enter value for
parameter 'orderString' [1]: <?xml version=3D"1.0"
encoding=3D"UTF-8"?><Order accountNumber=3D"123456" =
totalAmount=3D"999.95"
emailAddress=3D"customer1customer1.com" orderType=3D"PO"
cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item
itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003"
itemQty=3D"3000"/></Items></Order> 2006-08-25 14:44:02,320 [main] INFO
org.obe.audit.Attribute -
WMAAssignProcessInstanceAttributeData@24666758[
cwadPrefix=3DCWADPrefix[processDefinitionId=3Dwfmc-wf-1,
activityDefinitionId=3Dnull, initialProcessInstanceId=3D13,
currentProcessInstanceId=3D13, activityInstanceId=3Dnull, =
workItemId=3Dnull,
processState=3Dopen.notRunning.notStarted,
eventCode=3DASSIGNED_PROCESS_INSTANCE_ATTRIBUTE, domainId=3DOBE,
nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, timestamp=3DFri Aug 25 =
14:44:02
BRT 2006, informationId=3DWfMC], attributeName=3D'orderString',
attributeType=3D0, newAttributeLength=3D0, newAttributeValue=3D'<?xml
version=3D"1.0" encoding=3D"UTF-8"?><Order acco',
previousAttributeLength=3D0, previousAttributeValue=3D'null',
cwadSuffix=3DCWADSuffix[accountCode=3D0,
extensionNumber=3D0, extensionType=3D0, extensionLength=3D0,
extensionCodePage=3D0, extensionContent=3Dnull]]
- Successfully assigned value to attribute 'orderString'
Do you wish to start the process?> Y
2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Process -
WMAChangeProcessInstanceStateData[cwadPrefix=3DCWADPrefix[processDefiniti=
o
nId=3Dwfmc-wf-1, activityDefinitionId=3Dnull, =
initialProcessInstanceId=3D13,
currentProcessInstanceId=3D13, activityInstanceId=3Dnull, =
workItemId=3Dnull,
processState=3Dopen.running, eventCode=3DSTARTED_PROCESS_INSTANCE,
domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, =
timestamp=3DFri
Aug 25 14:44:06 BRT 2006, informationId=3DWfMC],
previousProcessState=3Dopen.notRunning.notStarted,
newProcessState=3Dopen.running, cwadSuffix=3DCWADSuffix[accountCode=3D0,
extensionNumber=3D0, extensionType=3D0, extensionLength=3D0,
extensionCodePage=3D0, extensionContent=3Dnull]] 2006-08-25 14:44:06,045
[main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId=3Dwfmc-wf-1, activityDefinitionId=3D5, =
initialProcessInstanceId=3D13,
currentProcessInstanceId=3D13, activityInstanceId=3D20, =
workItemId=3Dnull,
processState=3Dopen.running, =
eventCode=3DCHANGED_ACTIVITY_INSTANCE_STATE,
domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, =
timestamp=3DFri
Aug 25 14:44:06 BRT 2006, informationId=3DWfMC],
activityDefinitionBusinessName=3D'null', applicationId=3Dnull,
newActivityState=3Dopen.running, =
previousActivityState=3Dopen.notRunning,
cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, =
extensionType=3D0,
extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]]
2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId=3Dwfmc-wf-1, activityDefinitionId=3D5, =
initialProcessInstanceId=3D13,
currentProcessInstanceId=3D13, activityInstanceId=3D20, =
workItemId=3Dnull,
processState=3Dopen.running, eventCode=3DCOMPLETED_ACTIVITY_INSTANCE,
domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, =
timestamp=3DFri
Aug 25 14:44:06 BRT 2006, informationId=3DWfMC],
activityDefinitionBusinessName=3D'null', applicationId=3Dnull,
newActivityState=3Dclosed.completed, =
previousActivityState=3Dopen.running,
cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, =
extensionType=3D0,
extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]]
2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId=3Dwfmc-wf-1, activityDefinitionId=3D17, =
initialProcessInstanceId=3D13,
currentProcessInstanceId=3D13, activityInstanceId=3D21, =
workItemId=3Dnull,
processState=3Dopen.running, =
eventCode=3DCHANGED_ACTIVITY_INSTANCE_STATE,
domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, =
timestamp=3DFri
Aug 25 14:44:06 BRT 2006, informationId=3DWfMC],
activityDefinitionBusinessName=3D'Transform Data', applicationId=3Dnull,
newActivityState=3Dopen.running, =
previousActivityState=3Dopen.notRunning,
cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, =
extensionType=3D0,
extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]]
2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools -
transformData(<?xml version=3D"1.0" encoding=3D"UTF-8"?><Order
accountNumber=3D"123456" totalAmount=3D"999.95"
emailAddress=3D"customer1customer1.com" orderType=3D"PO"
cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item
itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003"
itemQty=3D"3000"/></Items></Order>)
2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools -
teste1 2006-08-25 14:44:06,045 [main] INFO
org.wfmc.sample.WfMCSampleTools - teste2 2006-08-25 14:44:06,045 [main]
INFO org.obe.engine.util.BasicDataConverter - trying ...1 2006-08-25
14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter -
trying ...2 2006-08-25 14:44:06,045 [main] INFO
org.obe.engine.util.BasicDataConverter - trying ...3 2006-08-25
14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter -
trying ...4 [Fatal Error] :1:1: Content is not allowed in prolog.
2006-08-25 14:44:06,436 [main] ERROR
org.obe.client.api.tool.ToolInvocation - Error starting tool:
transformData java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge
nt.java:38)
at
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10
6)
at
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:
566)
at
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav
a:385)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav
a:645)
at
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien
t.java:221)
at
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie
nt.java:648)
at
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav
a:642)
at
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j
ava:397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException:
Content is not allowed in prolog.
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:387)
at
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:384)
... 28 more
2006-08-25 14:44:06,466 [main] ERROR org.obe.engine.WorkflowRunner -
Error invoking PROCEDURE 'transformData'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge
nt.java:38)
at
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10
6)
at
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:
566)
at
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav
a:385)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav
a:645)
at
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien
t.java:221)
at
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie
nt.java:648)
at
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav
a:642)
at
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j
ava:397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException:
Content is not allowed in prolog.
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:387)
at
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:384)
... 28 more
*** Failed to set start process (org.wfmc.wapi.WMWorkflowException:
java.lang.reflect.InvocationTargetException[_error=3DWMError[mainCode=3DW=
M_G
ENERAL_ERROR, subCode=3Dnull]])
--- Workflow Processes ---
Enter choice:
1) List Process Definitions
2) Create & Start Process Instance
3) List Process Instance Audit Entries
Even seem
-----Original Message-----
From: obe...@li...
[mailto:obe...@li...] On Behalf Of Adrian
Price
Sent: sexta-feira, 25 de agosto de 2006 06:39
To: obe...@li...
Subject: Re: [Obe-user] Error trying start instance process (CLWorkList)
Hi Gilson,
The WfMC sample workflow is defined with a formal parameter thus:
<FormalParameter Id=3D"orderString" Mode=3D"IN">, which represents the =
XML
document containing the order details. The error you're seeing is
because you did not supply a valid XML order document when you started
the workflow (Enter value for parameter 'orderString' [1]:). I'd advise
you follow the detailed instructions at
http://obe.sourceforge.net/examples/wfmc-sample.html (Examples > WfMC
Sample in frames).
Cheers,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine
http://obe.sourceforge.net/ mailto:adr...@us...=20
"tenax propositi, altiora peto"
-----Original Message-----
Date: Wed, 23 Aug 2006 17:33:00 -0300
From: "Gilson Nascimento Del Rei" <gil...@cp...>
Subject: [Obe-user] Error trying start instance process (CLWorkList)
To: <obe...@li...>
Message-ID:
<F5E...@sr...>
Content-Type: text/plain; charset=3D"iso-8859-1"
Hi,
I'm receiving the error below when i try to start the instance process
to wfmc-wf-1 (WFMC-Sample / EOrder). Can be a classpath problem ? thanks
in advance.
------------------------------------------------------------------------
----
------------------------------------------------------------------------
----
------------------
Enter choice:
1) List Process Definitions
2) Create & Start Process Instance
3) List Process Instance Audit Entries
4) List Process Instance Attributes
5) Show Process Instance Attribute
E) Print Last Exception
M) Redisplay menu
Q) Back to previous menu
> 2
Enter process definition ID [wfmc-wf-1]:
- Successfully created process 'wfmc-wf-1' instance # 5 Enter value for
parameter 'orderString' [1]: 2006-08-23 16:08:08,377 [main] INFO
org.obe.audit.Attribute -
WMAAssignProcessInstanceAttributeData@22481221[
cwadPrefix=3DCWADPrefix[processDefinitionId=3Dwfmc-wf-1, activityD
- Successfully assigned value to attribute 'orderString'
Do you wish to start the process?> Y
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process -
WMAChangeProcessInstanceStateData[cwadPrefix=3DCWADPrefix[processDefiniti=
o
nId=3D
wfmc-wf-1, activityDefinitionId=3Dnull
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId
=3Dwfmc-wf-1, activityDefinitionId=3D5,
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId
=3Dwfmc-wf-1, activityDefinitionId=3D5,
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity -
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
i
onId
=3Dwfmc-wf-1, activityDefinitionId=3D17
2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools -
transformData(1) [Fatal Error] :1:1: Content is not allowed in prolog.
2006-08-23 16:08:11,141 [main] ERROR
org.obe.client.api.tool.ToolInvocation
- Error starting tool: transformData
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge
nt.j
ava:38)
at
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10
6)
at
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:
566)
at
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav
a:38
5)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav
a:64
5)
at
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien
t.ja
va:221)
at
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie
nt.j
ava:648)
at
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav
a:64
2)
at
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j
ava:
397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException:
Content is not allowed in prolog.
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:38
0)
at
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:37
8)
... 28 more
2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner -
Error invoking PROCEDURE 'transformData'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge
nt.j
ava:38)
at
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10
6)
at
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:
566)
at
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav
a:38
5)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav
a:64
5)
at
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien
t.ja
va:221)
at
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie
nt.j
ava:648)
at
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav
a:64
2)
at
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j
ava:
397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException:
Content is not allowed in prolog.
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:38
0)
at
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav
a:37
8)
... 28 more
*** Failed to set start process (org.wfmc.wapi.WMWorkflowException:
java.lang.reflect.InvocationTargetException[_error=3DWMError[mainCode=3DW=
M_G
ENER
AL_ERROR, subCode=3Dnull]])
Gilson do Nascimento D'Elrei ___________________________________
> Processos e Tecnologia da Informa??o
ACTO - Projeto ERP CPM
CPM. Tecnologia criando valor.
Tel.: 55 11 4196-0791
gil...@cp...
www.cpm.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=3Dobe-user/attachments=
/
2006
0823/625f6811/attachment.html=20
------------------------------
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security? Get stuff done quickly with pre-integrated technology to make
your job easier Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 3, Issue 9
**************************************
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security? Get stuff done quickly with pre-integrated technology to make
your job easier Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
|
|
From: O'Connell, I. <Iai...@ie...> - 2006-08-28 15:32:44
|
Hi Folks, I wonder if somebody could direct me to an example of programmatically using a tool agent. I've been looking through the source and the documentation and it doesn't look like there's an example of using a tool agent there... One thing I have noticed is that the documentation on the site for the document approval example where a browser should be invoked doesn't seem to match the source code that I've downloaded. All help gratefully appreciated! Iain |
|
From: Adrian P. <ad...@bt...> - 2006-08-25 19:23:12
|
Hi Gilson, Ooooh. I think the problem may be the line ends in order-1.xml - the CLWorklist client is a bit simple and performs a readLine() call to read a command or value. It doesn't support embedded newlines. Try opening the document with a unix-eol-capable text editor and deleting all the line end characters to place the entire document on a single line. If that works let me know and I'll update the documentation. I didn't strip the line ends from the XML documents because I wanted them to be fairly human-readable. Alternatively if the server is running under J2EE you could use 'send order-1.xml' to submit the document by JMS. Thanks, Adrian. -----Original Message----- From: Gilson Nascimento Del Rei [mailto:gil...@cp...] Sent: Friday, August 25, 2006 7:04 PM To: obe...@li... Cc: Adrian Price Subject: RE: [Obe-user] Error trying start instance process (CLWorkList) Ok, Adrian I followed the instructions on wfmc-sample.html document and I have entered (pasted) the follow orderString parameter from order-1.xml file as below: Trying one (complete) <?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="cus...@cu..." orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> Trying two (without quotation) <?xml version=1.0 encoding=UTF-8?><Order accountNumber=123456 totalAmount=999.95 ema...@cu... orderType=PO cardType=AMEX><Items><Item itemNumber=1001 itemQty=10/><Item itemNumber=2002 itemQty=200/><Item itemNumber=3003 itemQty=3000/></Items></Order> Trying three (without xml header) <Order accountNumber="123456" totalAmount="999.95" emailAddress="cus...@cu..." orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> Even though to make it nothing seems work, the error remains the same. In the message console below the OrderString seems ok now. I tried to enter part of string manually, but itsn't work too. Follow below the console message error: Thanks in advance. Gilson ------------------------------------------------------------------------ -------------------------------------------------- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 13 Enter value for parameter 'orderString' [1]: <?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="customer1customer1.com" orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order> 2006-08-25 14:44:02,320 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@24666758[ cwadPrefix=CWADPrefix[processDefinitionId=wfmc-wf-1, activityDefinitionId=null, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=null, workItemId=null, processState=open.notRunning.notStarted, eventCode=ASSIGNED_PROCESS_INSTANCE_ATTRIBUTE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:02 BRT 2006, informationId=WfMC], attributeName='orderString', attributeType=0, newAttributeLength=0, newAttributeValue='<?xml version="1.0" encoding="UTF-8"?><Order acco', previousAttributeLength=0, previousAttributeValue='null', cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=CWADPrefix[processDefinitio nId=wfmc-wf-1, activityDefinitionId=null, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=null, workItemId=null, processState=open.running, eventCode=STARTED_PROCESS_INSTANCE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], previousProcessState=open.notRunning.notStarted, newProcessState=open.running, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=5, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=20, workItemId=null, processState=open.running, eventCode=CHANGED_ACTIVITY_INSTANCE_STATE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='null', applicationId=null, newActivityState=open.running, previousActivityState=open.notRunning, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=5, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=20, workItemId=null, processState=open.running, eventCode=COMPLETED_ACTIVITY_INSTANCE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='null', applicationId=null, newActivityState=closed.completed, previousActivityState=open.running, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId=wfmc-wf-1, activityDefinitionId=17, initialProcessInstanceId=13, currentProcessInstanceId=13, activityInstanceId=21, workItemId=null, processState=open.running, eventCode=CHANGED_ACTIVITY_INSTANCE_STATE, domainId=OBE, nodeId=CPM09991, userId=null, roleId=null, timestamp=Fri Aug 25 14:44:06 BRT 2006, informationId=WfMC], activityDefinitionBusinessName='Transform Data', applicationId=null, newActivityState=open.running, previousActivityState=open.notRunning, cwadSuffix=CWADSuffix[accountCode=0, extensionNumber=0, extensionType=0, extensionLength=0, extensionCodePage=0, extensionContent=null]] 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(<?xml version="1.0" encoding="UTF-8"?><Order accountNumber="123456" totalAmount="999.95" emailAddress="customer1customer1.com" orderType="PO" cardType="AMEX"><Items><Item itemNumber="1001" itemQty="10"/><Item itemNumber="2002" itemQty="200"/><Item itemNumber="3003" itemQty="3000"/></Items></Order>) 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste1 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...1 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...3 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...4 [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-25 14:44:06,436 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more 2006-08-25 14:44:06,466 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=WMError[mainCode=WM_G ENERAL_ERROR, subCode=null]]) --- Workflow Processes --- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries Even seem -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: sexta-feira, 25 de agosto de 2006 06:39 To: obe...@li... Subject: Re: [Obe-user] Error trying start instance process (CLWorkList) Hi Gilson, The WfMC sample workflow is defined with a formal parameter thus: <FormalParameter Id="orderString" Mode="IN">, which represents the XML document containing the order details. The error you're seeing is because you did not supply a valid XML order document when you started the workflow (Enter value for parameter 'orderString' [1]:). I'd advise you follow the detailed instructions at http://obe.sourceforge.net/examples/wfmc-sample.html (Examples > WfMC Sample in frames). Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine http://obe.sourceforge.net/ mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Wed, 23 Aug 2006 17:33:00 -0300 From: "Gilson Nascimento Del Rei" <gil...@cp...> Subject: [Obe-user] Error trying start instance process (CLWorkList) To: <obe...@li...> Message-ID: <F5E...@sr...> Content-Type: text/plain; charset="iso-8859-1" Hi, I'm receiving the error below when i try to start the instance process to wfmc-wf-1 (WFMC-Sample / EOrder). Can be a classpath problem ? thanks in advance. ------------------------------------------------------------------------ ---- ------------------------------------------------------------------------ ---- ------------------ Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 5 Enter value for parameter 'orderString' [1]: 2006-08-23 16:08:08,377 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@22481221[ cwadPrefix=CWADPrefix[processDefinitionId=wfmc-wf-1, activityD - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=CWADPrefix[processDefinitio nId= wfmc-wf-1, activityDefinitionId=null 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefiniti onId =wfmc-wf-1, activityDefinitionId=17 2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(1) [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-23 16:08:11,141 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more 2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=WMError[mainCode=WM_G ENER AL_ERROR, subCode=null]]) Gilson do Nascimento D'Elrei ___________________________________ > Processos e Tecnologia da Informa??o ACTO - Projeto ERP CPM CPM. Tecnologia criando valor. Tel.: 55 11 4196-0791 gil...@cp... www.cpm.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/ 2006 0823/625f6811/attachment.html ------------------------------ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 9 ************************************** ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: Gilson N. D. R. <gil...@cp...> - 2006-08-25 17:53:52
|
Ok, Adrian I followed the instructions on wfmc-sample.html document and I have entered (pasted) the follow orderString parameter from order-1.xml file as below: Trying one (complete) <?xml version=3D"1.0" encoding=3D"UTF-8"?><Order = accountNumber=3D"123456" totalAmount=3D"999.95" emailAddress=3D"cus...@cu..." orderType=3D"PO" cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003" itemQty=3D"3000"/></Items></Order> Trying two (without quotation) <?xml version=3D1.0 encoding=3DUTF-8?><Order accountNumber=3D123456 totalAmount=3D999.95 ema...@cu... = orderType=3DPO cardType=3DAMEX><Items><Item itemNumber=3D1001 itemQty=3D10/><Item itemNumber=3D2002 itemQty=3D200/><Item itemNumber=3D3003 itemQty=3D3000/></Items></Order> Trying three (without xml header) <Order accountNumber=3D"123456" totalAmount=3D"999.95" emailAddress=3D"cus...@cu..." orderType=3D"PO" cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003" itemQty=3D"3000"/></Items></Order> Even though to make it nothing seems work, the error remains the same. In the message console below the OrderString seems ok now. I tried to enter part of string manually, but itsn't work too. Follow below the console message error: Thanks in advance. Gilson ------------------------------------------------------------------------ -------------------------------------------------- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 13 Enter value for parameter 'orderString' [1]: <?xml version=3D"1.0" encoding=3D"UTF-8"?><Order accountNumber=3D"123456" = totalAmount=3D"999.95" emailAddress=3D"customer1customer1.com" orderType=3D"PO" cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003" itemQty=3D"3000"/></Items></Order> 2006-08-25 14:44:02,320 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@24666758[ cwadPrefix=3DCWADPrefix[processDefinitionId=3Dwfmc-wf-1, activityDefinitionId=3Dnull, initialProcessInstanceId=3D13, currentProcessInstanceId=3D13, activityInstanceId=3Dnull, = workItemId=3Dnull, processState=3Dopen.notRunning.notStarted, eventCode=3DASSIGNED_PROCESS_INSTANCE_ATTRIBUTE, domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, timestamp=3DFri Aug 25 = 14:44:02 BRT 2006, informationId=3DWfMC], attributeName=3D'orderString', attributeType=3D0, newAttributeLength=3D0, newAttributeValue=3D'<?xml version=3D"1.0" encoding=3D"UTF-8"?><Order acco', previousAttributeLength=3D0, previousAttributeValue=3D'null', cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, = extensionType=3D0, extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]] - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=3DCWADPrefix[processDefiniti= o nId=3Dwfmc-wf-1, activityDefinitionId=3Dnull, = initialProcessInstanceId=3D13, currentProcessInstanceId=3D13, activityInstanceId=3Dnull, = workItemId=3Dnull, processState=3Dopen.running, eventCode=3DSTARTED_PROCESS_INSTANCE, domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, = timestamp=3DFri Aug 25 14:44:06 BRT 2006, informationId=3DWfMC], previousProcessState=3Dopen.notRunning.notStarted, newProcessState=3Dopen.running, cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, extensionType=3D0, extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId=3Dwfmc-wf-1, activityDefinitionId=3D5, = initialProcessInstanceId=3D13, currentProcessInstanceId=3D13, activityInstanceId=3D20, = workItemId=3Dnull, processState=3Dopen.running, = eventCode=3DCHANGED_ACTIVITY_INSTANCE_STATE, domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, = timestamp=3DFri Aug 25 14:44:06 BRT 2006, informationId=3DWfMC], activityDefinitionBusinessName=3D'null', applicationId=3Dnull, newActivityState=3Dopen.running, = previousActivityState=3Dopen.notRunning, cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, = extensionType=3D0, extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId=3Dwfmc-wf-1, activityDefinitionId=3D5, = initialProcessInstanceId=3D13, currentProcessInstanceId=3D13, activityInstanceId=3D20, = workItemId=3Dnull, processState=3Dopen.running, eventCode=3DCOMPLETED_ACTIVITY_INSTANCE, domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, = timestamp=3DFri Aug 25 14:44:06 BRT 2006, informationId=3DWfMC], activityDefinitionBusinessName=3D'null', applicationId=3Dnull, newActivityState=3Dclosed.completed, = previousActivityState=3Dopen.running, cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, = extensionType=3D0, extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]] 2006-08-25 14:44:06,045 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId=3Dwfmc-wf-1, activityDefinitionId=3D17, = initialProcessInstanceId=3D13, currentProcessInstanceId=3D13, activityInstanceId=3D21, = workItemId=3Dnull, processState=3Dopen.running, = eventCode=3DCHANGED_ACTIVITY_INSTANCE_STATE, domainId=3DOBE, nodeId=3DCPM09991, userId=3Dnull, roleId=3Dnull, = timestamp=3DFri Aug 25 14:44:06 BRT 2006, informationId=3DWfMC], activityDefinitionBusinessName=3D'Transform Data', applicationId=3Dnull, newActivityState=3Dopen.running, = previousActivityState=3Dopen.notRunning, cwadSuffix=3DCWADSuffix[accountCode=3D0, extensionNumber=3D0, = extensionType=3D0, extensionLength=3D0, extensionCodePage=3D0, extensionContent=3Dnull]] 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(<?xml version=3D"1.0" encoding=3D"UTF-8"?><Order accountNumber=3D"123456" totalAmount=3D"999.95" emailAddress=3D"customer1customer1.com" orderType=3D"PO" cardType=3D"AMEX"><Items><Item itemNumber=3D"1001" itemQty=3D"10"/><Item itemNumber=3D"2002" itemQty=3D"200"/><Item itemNumber=3D"3003" itemQty=3D"3000"/></Items></Order>) 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste1 2006-08-25 14:44:06,045 [main] INFO org.wfmc.sample.WfMCSampleTools - teste2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...1 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...2 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...3 2006-08-25 14:44:06,045 [main] INFO org.obe.engine.util.BasicDataConverter - trying ...4 [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-25 14:44:06,436 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more 2006-08-25 14:44:06,466 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.java:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:385) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:645) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.java:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.java:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:642) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:387) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:140) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:384) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=3DWMError[mainCode=3DW= M_G ENERAL_ERROR, subCode=3Dnull]]) --- Workflow Processes --- Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries Even seem -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: sexta-feira, 25 de agosto de 2006 06:39 To: obe...@li... Subject: Re: [Obe-user] Error trying start instance process (CLWorkList) Hi Gilson, The WfMC sample workflow is defined with a formal parameter thus: <FormalParameter Id=3D"orderString" Mode=3D"IN">, which represents the = XML document containing the order details. The error you're seeing is because you did not supply a valid XML order document when you started the workflow (Enter value for parameter 'orderString' [1]:). I'd advise you follow the detailed instructions at http://obe.sourceforge.net/examples/wfmc-sample.html (Examples > WfMC Sample in frames). Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine http://obe.sourceforge.net/ mailto:adr...@us...=20 "tenax propositi, altiora peto" -----Original Message----- Date: Wed, 23 Aug 2006 17:33:00 -0300 From: "Gilson Nascimento Del Rei" <gil...@cp...> Subject: [Obe-user] Error trying start instance process (CLWorkList) To: <obe...@li...> Message-ID: <F5E...@sr...> Content-Type: text/plain; charset=3D"iso-8859-1" Hi, I'm receiving the error below when i try to start the instance process to wfmc-wf-1 (WFMC-Sample / EOrder). Can be a classpath problem ? thanks in advance. ------------------------------------------------------------------------ ---- ------------------------------------------------------------------------ ---- ------------------ Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 5 Enter value for parameter 'orderString' [1]: 2006-08-23 16:08:08,377 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@22481221[ cwadPrefix=3DCWADPrefix[processDefinitionId=3Dwfmc-wf-1, activityD - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=3DCWADPrefix[processDefiniti= o nId=3D wfmc-wf-1, activityDefinitionId=3Dnull 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId =3Dwfmc-wf-1, activityDefinitionId=3D5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId =3Dwfmc-wf-1, activityDefinitionId=3D5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit= i onId =3Dwfmc-wf-1, activityDefinitionId=3D17 2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(1) [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-23 16:08:11,141 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more 2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAge nt.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:10 6) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java: 566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.jav a:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.jav a:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClien t.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClie nt.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.jav a:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.j ava: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.jav a:37 8) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=3DWMError[mainCode=3DW= M_G ENER AL_ERROR, subCode=3Dnull]]) Gilson do Nascimento D'Elrei ___________________________________ > Processos e Tecnologia da Informa??o ACTO - Projeto ERP CPM CPM. Tecnologia criando valor. Tel.: 55 11 4196-0791 gil...@cp... www.cpm.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=3Dobe-user/attachments= / 2006 0823/625f6811/attachment.html=20 ------------------------------ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 9 ************************************** ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: Adrian P. <ad...@bt...> - 2006-08-25 09:39:03
|
Hi Gilson, The WfMC sample workflow is defined with a formal parameter thus: <FormalParameter Id="orderString" Mode="IN">, which represents the XML document containing the order details. The error you're seeing is because you did not supply a valid XML order document when you started the workflow (Enter value for parameter 'orderString' [1]:). I'd advise you follow the detailed instructions at http://obe.sourceforge.net/examples/wfmc-sample.html (Examples > WfMC Sample in frames). Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine http://obe.sourceforge.net/ mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Wed, 23 Aug 2006 17:33:00 -0300 From: "Gilson Nascimento Del Rei" <gil...@cp...> Subject: [Obe-user] Error trying start instance process (CLWorkList) To: <obe...@li...> Message-ID: <F5E...@sr...> Content-Type: text/plain; charset="iso-8859-1" Hi, I'm receiving the error below when i try to start the instance process to wfmc-wf-1 (WFMC-Sample / EOrder). Can be a classpath problem ? thanks in advance. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------ Enter choice: 1) List Process Definitions 2) Create & Start Process Instance 3) List Process Instance Audit Entries 4) List Process Instance Attributes 5) Show Process Instance Attribute E) Print Last Exception M) Redisplay menu Q) Back to previous menu > 2 Enter process definition ID [wfmc-wf-1]: - Successfully created process 'wfmc-wf-1' instance # 5 Enter value for parameter 'orderString' [1]: 2006-08-23 16:08:08,377 [main] INFO org.obe.audit.Attribute - WMAAssignProcessInstanceAttributeData@22481221[ cwadPrefix=CWADPrefix[processDefinitionId=wfmc-wf-1, activityD - Successfully assigned value to attribute 'orderString' Do you wish to start the process?> Y 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process - WMAChangeProcessInstanceStateData[cwadPrefix=CWADPrefix[processDefinitionId= wfmc-wf-1, activityDefinitionId=null 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefinitionId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefinitionId =wfmc-wf-1, activityDefinitionId=5, 2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - WMAChangeActivityInstanceStateData[cwadPrefix=CWADPrefix[processDefinitionId =wfmc-wf-1, activityDefinitionId=17 2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools - transformData(1) [Fatal Error] :1:1: Content is not allowed in prolog. 2006-08-23 16:08:11,141 [main] ERROR org.obe.client.api.tool.ToolInvocation - Error starting tool: transformData java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAgent.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:106) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.java:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.java:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClient.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClient.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.java:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.java: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java:37 8) ... 28 more 2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner - Error invoking PROCEDURE 'transformData' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151) at org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAgent.j ava:38) at org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84) at org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:106) at org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683) at org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:566) at org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.java:38 5) at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121) at org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762) at org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746) at org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.java:64 5) at org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClient.ja va:221) at org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClient.j ava:648) at org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.java:64 2) at org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.java: 397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235) at org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237) at org.obe.worklist.CLWorklist.main(CLWorklist.java:50) Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java:38 0) at org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136) ... 27 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java:37 8) ... 28 more *** Failed to set start process (org.wfmc.wapi.WMWorkflowException: java.lang.reflect.InvocationTargetException[_error=WMError[mainCode=WM_GENER AL_ERROR, subCode=null]]) Gilson do Nascimento D'Elrei ___________________________________ > Processos e Tecnologia da Informa??o ACTO - Projeto ERP CPM CPM. Tecnologia criando valor. Tel.: 55 11 4196-0791 gil...@cp... www.cpm.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0823/625f6811/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 9 ************************************** |
|
From: Gilson N. D. R. <gil...@cp...> - 2006-08-23 20:23:06
|
Hi,
I'm receiving the error below when i try to start the instance process =
to wfmc-wf-1 (WFMC-Sample / EOrder).
Can be a classpath problem ?
thanks in advance.
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
------------------------
Enter choice:
1) List Process Definitions
2) Create & Start Process Instance
3) List Process Instance Audit Entries
4) List Process Instance Attributes
5) Show Process Instance Attribute
E) Print Last Exception
M) Redisplay menu
Q) Back to previous menu
> 2
Enter process definition ID [wfmc-wf-1]:
- Successfully created process 'wfmc-wf-1' instance # 5
Enter value for parameter 'orderString' [1]:
2006-08-23 16:08:08,377 [main] INFO org.obe.audit.Attribute - =
WMAAssignProcessInstanceAttributeData@22481221[ =
cwadPrefix=3DCWADPrefix[processDefinitionId=3Dwfmc-wf-1, activityD
- Successfully assigned value to attribute 'orderString'
Do you wish to start the process?> Y
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Process - =
WMAChangeProcessInstanceStateData[cwadPrefix=3DCWADPrefix[processDefiniti=
onId=3Dwfmc-wf-1, activityDefinitionId=3Dnull
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - =
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
ionId=3Dwfmc-wf-1, activityDefinitionId=3D5,
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - =
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
ionId=3Dwfmc-wf-1, activityDefinitionId=3D5,
2006-08-23 16:08:11,141 [main] INFO org.obe.audit.Activity - =
WMAChangeActivityInstanceStateData[cwadPrefix=3DCWADPrefix[processDefinit=
ionId=3Dwfmc-wf-1, activityDefinitionId=3D17
2006-08-23 16:08:11,141 [main] INFO org.wfmc.sample.WfMCSampleTools - =
transformData(1)
[Fatal Error] :1:1: Content is not allowed in prolog.
2006-08-23 16:08:11,141 [main] ERROR =
org.obe.client.api.tool.ToolInvocation - Error starting tool: =
transformData
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown =
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at =
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at =
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAgen=
t.java:38)
at =
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at =
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:106=
)
at =
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at =
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:5=
66)
at =
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.java=
:385)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at =
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at =
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at =
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at =
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.java=
:645)
at =
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClient=
.java:221)
at =
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClien=
t.java:648)
at =
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.java=
:642)
at =
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.ja=
va:397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown =
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at =
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at =
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: =
Content is not allowed in prolog.
at =
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java=
:380)
at =
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in =
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown =
Source)
at =
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java=
:378)
... 28 more
2006-08-23 16:08:11,171 [main] ERROR org.obe.engine.WorkflowRunner - =
Error invoking PROCEDURE 'transformData'
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown =
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at =
org.obe.runtime.tool.JavaMethod._invokeApplication(JavaMethod.java:151)
at =
org.obe.runtime.tool.AbstractToolAgent.invokeApplication(AbstractToolAgen=
t.java:38)
at =
org.obe.client.api.tool.ToolInvocation$1.run(ToolInvocation.java:84)
at =
org.obe.client.api.tool.ToolInvocation.invokeTool(ToolInvocation.java:106=
)
at =
org.obe.engine.WorkflowRunner.executeToolSet(WorkflowRunner.java:683)
at =
org.obe.engine.WorkflowRunner.executeImplementation(WorkflowRunner.java:5=
66)
at =
org.obe.engine.WorkflowRunner.executeActivityInstance(WorkflowRunner.java=
:385)
at org.obe.engine.WorkflowRunner.run(WorkflowRunner.java:1121)
at =
org.obe.engine.WorkflowRunner.startProcess(WorkflowRunner.java:1453)
at =
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:762)
at =
org.obe.engine.WorkflowEngine.startProcess(WorkflowEngine.java:746)
at =
org.obe.client.api.base.AbstractJAASClient$15.run(AbstractJAASClient.java=
:645)
at =
org.obe.client.api.base.AbstractJAASClient.doAsSubject(AbstractJAASClient=
.java:221)
at =
org.obe.client.api.base.AbstractJAASClient.startProcess(AbstractJAASClien=
t.java:648)
at =
org.obe.client.AbstractCLClient.setActualParameters(AbstractCLClient.java=
:642)
at =
org.obe.client.AbstractCLClient.createProcessInstance(AbstractCLClient.ja=
va:397)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown =
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at =
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:235)
at =
org.obe.client.AbstractCLClient.doMenu(AbstractCLClient.java:237)
at org.obe.worklist.CLWorklist.main(CLWorklist.java:50)
Caused by: org.obe.OBERuntimeException: org.xml.sax.SAXParseException: =
Content is not allowed in prolog.
at =
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java=
:380)
at =
org.wfmc.sample.WfMCSampleTools.transformData(WfMCSampleTools.java:136)
... 27 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in =
prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown =
Source)
at =
org.obe.engine.util.BasicDataConverter.toDocument(BasicDataConverter.java=
:378)
... 28 more
*** Failed to set start process (org.wfmc.wapi.WMWorkflowException: =
java.lang.reflect.InvocationTargetException[_error=3DWMError[mainCode=3DW=
M_GENERAL_ERROR, subCode=3Dnull]])
Gilson do Nascimento D'Elrei
___________________________________
> Processos e Tecnologia da Informa=E7=E3o
ACTO - Projeto ERP CPM=20
CPM. Tecnologia criando valor.
Tel.: 55 11 4196-0791
gil...@cp...
www.cpm.com.br
|
|
From: Adrian P. <ad...@bt...> - 2006-08-21 08:42:29
|
Hi Iain,
Sure, I'll try to help - what are the specific problems you're facing?
Just one general thing to bear in mind - the obewebworklist code is
hard-coded to use the J2EELocal client protocol, which calls the OBE APIs
via a stateless session bean. See the
org.obe.worklist.WorklistController.getClient() method:
_client = WMClientFactory.createClient(WMClientFactory.J2EE_LOCAL);
Since you're deploying to raw Tomcat (which does not include an EJB
container) you will need to change that line to:
_client = WMClientFactory.createClient(WMClientFactory.LOCAL);
If you encounter any issues with this please let me know and we'll see if we
can solve them.
FYI, elsewhere I have avoided hard-coding the client protocol (most clients
pick it up from the OBE configuration - see the docs on the
obe.client.protocol property in Getting Started > Configuring at
http://obe.sourceforge.net/start/configuring.html), but I didn't envisage
deploying a web-based worklist in anything other than a full J2EE
application server.
Cheers,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine
http://obe.sourceforge.net/
mailto:adr...@us...
"tenax propositi, altiora peto"
-----Original Message-----
Date: Fri, 18 Aug 2006 11:20:32 +0100
From: "O'Connell, Iain" <Iai...@ie...>
Subject: Re: [Obe-user] Installing OBE on tomcat
To: "'Adrian Price'" <ad...@bt...>,
obe...@li...
Message-ID:
<753...@fi...>
Content-Type: text/plain; charset="us-ascii"
Hi Adrian,
Thanks for those pointers. I've got the obeworklist application up and
running with no problems and I'm trying to get the obewebworklist
application up and running in Tomcat and I'm running into a few problems I
was wondering if you could offer any guidance..
Thanks,
Iain
<snip/>
|
|
From: O'Connell, I. <Iai...@ie...> - 2006-08-18 10:20:47
|
Hi Adrian, Thanks for those pointers. I've got the obeworklist application up and running with no problems and I'm trying to get the obewebworklist application up and running in Tomcat and I'm running into a few problems I was wondering if you could offer any guidance.. Thanks, Iain -----Original Message----- From: Adrian Price [mailto:ad...@bt...] Sent: 16 August 2006 15:40 To: 'O'Connell, Iain'; obe...@li... Subject: RE: [Obe-user] Installing OBE on tomcat Hi Iain, Yes, it most certainly is possible to use OBE outside of a J2EE environment. Depending on your exact requirements it could be as simple as just using the Basic repository implementations. The BasicInstanceRepository keeps all process instance data in memory as non-persistent JavaBeans and the BasicProcessRepository stores process definitions (XPDL files) on disk, and the BasicApplicationEventBroker uses JDK 1.4 Timer services for temporal events (again, these are non-persistent). If you require persistent (i.e., recoverable) process instances then you would need to implement your own InstanceRepository (and ApplicationEventBroker if you were planning to use temporal events such as scheduled workflow instantiation or activity deadlines). Several users have successfully implemented their own persistent instance stores using Hibernate. The BasicProcessRepository is already persistent, since it uses the file system. I suggest you take a read of the 'Extensibility > Services' topic and also the Javadoc links therein and also 'Getting Started > Configuring', 'Architecture > Overview' and 'Architecture > Service Manager' topics. Good luck! Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" ________________________________ From: O'Connell, Iain [mailto:Iai...@ie...] Sent: Wednesday, August 16, 2006 9:43 AM To: 'Adrian Price'; obe...@li... Subject: RE: [Obe-user] Installing OBE on tomcat Hi Adrian, Thanks for your quick response. What I'm trying to establish is whether it's possible to use OBE without having to use EJB for persistence because EJB doesn't fit into our planned architecture, and if so what would be required on our end to get this up and running to evaluate. All help greatly appreciated! Thanks, Iain -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: 16 August 2006 09:30 To: obe...@li... Subject: Re: [Obe-user] Installing OBE on tomcat Good day Iain, OBE out of the box is designed to run either in a J2EE container or embedded (typically using some custom service implementations). The J2EE services require JSP 2.0 and EJB 2.1 containers; Tomcat alone will only provide the JSP part - you need JBoss for the full J2EE stack. I haven't tried it with Geronimo - it would probably require some XDoclet tag additions to the EJB sources. BTW there is some doco about installing/configuring for JBoss at http://obe.sourceforge.net/start/configuring.html . Sorry about the HTML frames messup, I haven't fixed that yet. To view the page in its proper frameset, go to http://obe.sourceforge.net/ and click on 'Configuring' under 'Getting Started'. Does this answer your question? Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Tue, 15 Aug 2006 12:26:14 +0100 From: "O'Connell, Iain" <Iai...@ie...> Subject: [Obe-user] Installing OBE on tomcat To: "'obe...@li...'" <obe...@li...> Message-ID: <753...@fi...> Content-Type: text/plain; charset="us-ascii" Hi Folks, I'm attempting to set up OBE on Tomcat and there doesn't seem to be a lot of information out there about it. I was hoping somebody on the list might have a link to some resources or have some pointers that they could offer. Thanks, Iain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0815/31d1640e/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 4 ************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: Adrian P. <ad...@bt...> - 2006-08-16 14:39:56
|
Hi Iain, Yes, it most certainly is possible to use OBE outside of a J2EE environment. Depending on your exact requirements it could be as simple as just using the Basic repository implementations. The BasicInstanceRepository keeps all process instance data in memory as non-persistent JavaBeans and the BasicProcessRepository stores process definitions (XPDL files) on disk, and the BasicApplicationEventBroker uses JDK 1.4 Timer services for temporal events (again, these are non-persistent). If you require persistent (i.e., recoverable) process instances then you would need to implement your own InstanceRepository (and ApplicationEventBroker if you were planning to use temporal events such as scheduled workflow instantiation or activity deadlines). Several users have successfully implemented their own persistent instance stores using Hibernate. The BasicProcessRepository is already persistent, since it uses the file system. I suggest you take a read of the 'Extensibility > Services' topic and also the Javadoc links therein and also 'Getting Started > Configuring', 'Architecture > Overview' and 'Architecture > Service Manager' topics. Good luck! Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" ________________________________ From: O'Connell, Iain [mailto:Iai...@ie...] Sent: Wednesday, August 16, 2006 9:43 AM To: 'Adrian Price'; obe...@li... Subject: RE: [Obe-user] Installing OBE on tomcat Hi Adrian, Thanks for your quick response. What I'm trying to establish is whether it's possible to use OBE without having to use EJB for persistence because EJB doesn't fit into our planned architecture, and if so what would be required on our end to get this up and running to evaluate. All help greatly appreciated! Thanks, Iain -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: 16 August 2006 09:30 To: obe...@li... Subject: Re: [Obe-user] Installing OBE on tomcat Good day Iain, OBE out of the box is designed to run either in a J2EE container or embedded (typically using some custom service implementations). The J2EE services require JSP 2.0 and EJB 2.1 containers; Tomcat alone will only provide the JSP part - you need JBoss for the full J2EE stack. I haven't tried it with Geronimo - it would probably require some XDoclet tag additions to the EJB sources. BTW there is some doco about installing/configuring for JBoss at http://obe.sourceforge.net/start/configuring.html . Sorry about the HTML frames messup, I haven't fixed that yet. To view the page in its proper frameset, go to http://obe.sourceforge.net/ and click on 'Configuring' under 'Getting Started'. Does this answer your question? Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Tue, 15 Aug 2006 12:26:14 +0100 From: "O'Connell, Iain" <Iai...@ie...> Subject: [Obe-user] Installing OBE on tomcat To: "'obe...@li...'" <obe...@li...> Message-ID: <753...@fi...> Content-Type: text/plain; charset="us-ascii" Hi Folks, I'm attempting to set up OBE on Tomcat and there doesn't seem to be a lot of information out there about it. I was hoping somebody on the list might have a link to some resources or have some pointers that they could offer. Thanks, Iain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0815/31d1640e/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 4 ************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: O'Connell, I. <Iai...@ie...> - 2006-08-16 08:43:27
|
Hi Adrian, Thanks for your quick response. What I'm trying to establish is whether it's possible to use OBE without having to use EJB for persistence because EJB doesn't fit into our planned architecture, and if so what would be required on our end to get this up and running to evaluate. All help greatly appreciated! Thanks, Iain -----Original Message----- From: obe...@li... [mailto:obe...@li...] On Behalf Of Adrian Price Sent: 16 August 2006 09:30 To: obe...@li... Subject: Re: [Obe-user] Installing OBE on tomcat Good day Iain, OBE out of the box is designed to run either in a J2EE container or embedded (typically using some custom service implementations). The J2EE services require JSP 2.0 and EJB 2.1 containers; Tomcat alone will only provide the JSP part - you need JBoss for the full J2EE stack. I haven't tried it with Geronimo - it would probably require some XDoclet tag additions to the EJB sources. BTW there is some doco about installing/configuring for JBoss at http://obe.sourceforge.net/start/configuring.html . Sorry about the HTML frames messup, I haven't fixed that yet. To view the page in its proper frameset, go to http://obe.sourceforge.net/ and click on 'Configuring' under 'Getting Started'. Does this answer your question? Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Tue, 15 Aug 2006 12:26:14 +0100 From: "O'Connell, Iain" <Iai...@ie...> Subject: [Obe-user] Installing OBE on tomcat To: "'obe...@li...'" <obe...@li...> Message-ID: <753...@fi...> Content-Type: text/plain; charset="us-ascii" Hi Folks, I'm attempting to set up OBE on Tomcat and there doesn't seem to be a lot of information out there about it. I was hoping somebody on the list might have a link to some resources or have some pointers that they could offer. Thanks, Iain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0815/31d1640e/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 4 ************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user |
|
From: Adrian P. <ad...@bt...> - 2006-08-16 08:30:14
|
Good day Iain, OBE out of the box is designed to run either in a J2EE container or embedded (typically using some custom service implementations). The J2EE services require JSP 2.0 and EJB 2.1 containers; Tomcat alone will only provide the JSP part - you need JBoss for the full J2EE stack. I haven't tried it with Geronimo - it would probably require some XDoclet tag additions to the EJB sources. BTW there is some doco about installing/configuring for JBoss at http://obe.sourceforge.net/start/configuring.html . Sorry about the HTML frames messup, I haven't fixed that yet. To view the page in its proper frameset, go to http://obe.sourceforge.net/ and click on 'Configuring' under 'Getting Started'. Does this answer your question? Cheers, Adrian. Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" -----Original Message----- Date: Tue, 15 Aug 2006 12:26:14 +0100 From: "O'Connell, Iain" <Iai...@ie...> Subject: [Obe-user] Installing OBE on tomcat To: "'obe...@li...'" <obe...@li...> Message-ID: <753...@fi...> Content-Type: text/plain; charset="us-ascii" Hi Folks, I'm attempting to set up OBE on Tomcat and there doesn't seem to be a lot of information out there about it. I was hoping somebody on the list might have a link to some resources or have some pointers that they could offer. Thanks, Iain -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/2006 0815/31d1640e/attachment.html ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Obe-user mailing list Obe...@li... https://lists.sourceforge.net/lists/listinfo/obe-user End of Obe-user Digest, Vol 3, Issue 4 ************************************** |
|
From: O'Connell, I. <Iai...@ie...> - 2006-08-15 11:26:23
|
Hi Folks, I'm attempting to set up OBE on Tomcat and there doesn't seem to be a lot of information out there about it. I was hoping somebody on the list might have a link to some resources or have some pointers that they could offer. Thanks, Iain |
|
From: Adrian P. <ad...@bt...> - 2006-08-07 12:41:06
|
Good day George, Yes, it does indeed mean that you can embed OBE in a non-J2EE application. However, you will probably need to do some plumbing work to achieve this. OBE relies on its ProcessRepository, InstanceRepository and ApplicationEventBroker to provide persistence services for workflow definitions, instances and event subscriptions. OBE provides a transient in-memory implementation (the Basic* implementations) and an EJB-based implementation (the EJB* implementations) of these services. If you need *persistent* process instances and event subscriptions outside of the J2EE environment it you will need to provide your own implementations of at least the last two of those listed (the BasicProcessRepository uses the file system for workflow definition persistence). Some users have used Hibernate successfully. I've invited them to donate their implementations to the project but so far no-one has accepted the invitation. One thing... what exactly do you mean by the phrase 'these "hateful" beans'? To which beans do you refer and why do you describe them as "hateful"? Thanks, Adrian Price Architect & Lead The Open Business Engine mailto:adr...@us... "tenax propositi, altiora peto" Date: Fri, 4 Aug 2006 01:36:24 -0700 (PDT) From: George Mournos <gmo...@ya...> Subject: [Obe-user] embedding obe To: obe...@li... Message-ID: <200...@we...> Content-Type: text/plain; charset=iso-8859-1 How can one embed OBE? The summary page states that: "Highly modular and configurable, it suits J2EE or embedded deployment". Does this mean that I can use OBE as part of my standalone application, without using an application server? What happens with these "hateful" beans ??? Thanks George Mournos |
|
From: George M. <gmo...@ya...> - 2006-08-04 08:36:32
|
How can one embed OBE? The summary page states that: "Highly modular and configurable, it suits J2EE or embedded deployment". Does this mean that I can use OBE as part of my standalone application, without using an application server? What happens with these "hateful" beans ??? Thanks George Mournos __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Adrian P. <ad...@bt...> - 2006-07-10 17:11:36
|
Hello am...@sh...,
Oh dear. This does seem to be a bit of a problem.
I'm puzzled though - I was sure I'd upgraded to the latest version of BSF
from Apache but this does not seem to be the case - the version that ships
with OBE is an original IBM implementation. Apache's latest BSF-2.3 does not
appear to contain a class named NativeBoolean, so it's possible the problem
is resolved in that version. Trouble is, obeengine.jar would require
recompilation in order to use BSF-2.3, since all the package names have
changed. I may not be able to get to this for a few days. If this is urgent
and you're feeling adventurous, perhaps you could give it a try yourself -
if you do, let us know how you get on?
Thanks,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine
mailto:adr...@us...
"tenax propositi, altiora peto"
-----Original Message-----
Date: Mon, 10 Jul 2006 10:54:51 +0800
From: am...@sh...
Subject: [Obe-user] May be a real bug ;-)
To: obe...@li...
Message-ID: <200...@ma...>
Content-Type: text/plain; charset="iso-8859-1"
Hello Adrian,
I'm testing using the same xpdl file as last time. This time I set the
script type to "application/javascript", I met another kind of exception
then. After I trace into the code, I find that:
In class BSFEvaluator line 206, the function "bsfMgr.eval(_lang, sourceFile,
0, 0, expr)" returns an object whose type is NativeBoolean. While in the
other codes don't know this type, so obe failed at BasicDataConverter.java
line 313. The type of the object that is passed to the function toBoolean is
NativeBoolean.
public boolean toBoolean(Object src) {
boolean dest = false;
if (src instanceof Boolean) {
dest = ((Boolean)src).booleanValue();
} else if (src instanceof String) {
dest = Boolean.valueOf((String)src).booleanValue();
} else {
throwDataConversionException(src, Boolean.TYPE);
}
//NativeBoolean a;
return dest;
}
xpdl contents:
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="newpkg" Name="installEWLM"
xmlns="http://www.wfmc.org/2002/XPDL1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0
http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2006-07-03 16:43:35</Created>
</PackageHeader>
<Script Type="application/javascript"/>
<Participants>
<Participant Id="system">
<ParticipantType Type="HUMAN"/>
</Participant>
</Participants>
<WorkflowProcesses>
<WorkflowProcess Id="ewlmtest" Name="ewlmtest">
<ProcessHeader>
<Created>2006-07-03 16:44:24</Created>
</ProcessHeader>
<FormalParameters>
<FormalParameter Id="isReInst" Mode="IN">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</FormalParameter>
</FormalParameters>
<Activities>
<Activity Id="beforeRestart">
<Implementation>
<SubFlow Execution="SYNCHR" Id="beforeRestart">
<ActualParameters>
<ActualParameter>isReInst</ActualParameter>
</ActualParameters>
</SubFlow>
</Implementation>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="90"/>
<ExtendedAttribute Name="YOffset" Value="80"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putEWLMDir" Name="putEWLMDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="120"/>
<ExtendedAttribute Name="panelID" Value="EWL001"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="path"/>
</ExtendedAttributes>
</Activity>
<Activity Id="checkEWLMSummary" Name="checkEWLMSummary">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="270"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
<ExtendedAttribute Name="panelID" Value="CIS130"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="contents"/>
</ExtendedAttributes>
</Activity>
<Activity Id="postEWLM" Name="postEWLM">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="410"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
<ExtendedAttribute Name="panelID" Value="EWL002"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectCfgDM" Name="selectCfgDM">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="570"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
<ExtendedAttribute Name="panelID" Value="EWL003"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isConfig" Value="NO"/>
</ExtendedAttributes>
</Activity>
<Activity Id="finishInst" Name="finishInst">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="620"/>
<ExtendedAttribute Name="YOffset" Value="100"/>
<ExtendedAttribute Name="panelID" Value="CIS140"/>
<ExtendedAttribute Name="action" Value="finish"/>
<ExtendedAttribute Name="contents"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="beforeRestart" Id="ewlmtest_tra1"
To="putEWLMDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putEWLMDir" Id="ewlmtest_tra2"
To="checkEWLMSummary">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="checkEWLMSummary" Id="ewlmtest_tra3"
To="postEWLM">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="postEWLM" Id="ewlmtest_tra4"
To="selectCfgDM">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectCfgDM" Id="ewlmtest_tra5"
To="finishInst">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow"
Value="system;beforeRestart;51;10;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow"
Value="system;finishInst;730;20;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder"
Value="system;"/>
</ExtendedAttributes>
</WorkflowProcess>
<WorkflowProcess Id="beforeRestart" Name="beforeRestart">
<ProcessHeader>
<Created>2006-07-03 16:48:30</Created>
</ProcessHeader>
<FormalParameters>
<FormalParameter Id="isRefInst1" Mode="IN">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</FormalParameter>
</FormalParameters>
<DataFields>
<DataField Id="isReInst" IsArray="FALSE">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</DataField>
</DataFields>
<Activities>
<Activity Id="welcom" Name="welcom">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS010"/>
</ExtendedAttributes>
</Activity>
<Activity Id="acceptLicense" Name="acceptLicense">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="270"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS050"/>
<ExtendedAttribute Name="isAccept" Value="YES"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putInstDir" Name="putInstDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS020"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putLogDir" Name="putLogDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="beforeRestart_tra11"/>
<TransitionRef Id="beforeRestart_Tra15"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectITDS" Name="selectITDS">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS055"/>
<ExtendedAttribute Name="isExistITDS" Value="YES"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="intdcVEE" Name="intdcVEE">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panel" Value="VEE003"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putITDSInfo" Name="putITDSInfo">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="90"/>
<ExtendedAttribute Name="panelID" Value="VEE005"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="serverName"/>
<ExtendedAttribute Name="serverPort"/>
<ExtendedAttribute Name="serverAdminID"/>
<ExtendedAttribute Name="password"/>
</ExtendedAttributes>
</Activity>
<Activity Id="cfgGCR" Name="cfgGCR">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="160"/>
<ExtendedAttribute Name="panelID" Value="VEE008"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isUseExist" Value="YES"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectSservice" Name="selectSservice">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="150"/>
<ExtendedAttribute Name="panelID" Value="CIS080"/>
<ExtendedAttribute Name="components" Value="EWLM"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="copyMedia" Name="copyMedia">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="90"/>
<ExtendedAttribute Name="YOffset" Value="140"/>
<ExtendedAttribute Name="panelID" Value="CIS090"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isCopy" Value="NO"/>
</ExtendedAttributes>
</Activity>
<Activity Id="serviceSummary1" Name="serviceSummary">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID"
Value="system"/>
<ExtendedAttribute Name="XOffset" Value="260"/>
<ExtendedAttribute Name="YOffset" Value="130"/>
<ExtendedAttribute Name="panelID" Value="CIS082"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="contents"
Value="Virtualization Engine base support Virtualization Engine
updates WebSphere Application Server JViews Enterprise Workload
Manager"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="welcom" Id="beforeRestart_tra1"
To="acceptLicense">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="acceptLicense" Id="beforeRestart_tra2"
To="putInstDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectITDS" Id="beforeRestart_tra5"
To="intdcVEE">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="intdcVEE" Id="beforeRestart_tra6"
To="putITDSInfo">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putITDSInfo" Id="beforeRestart_tra7"
To="cfgGCR">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="cfgGCR" Id="beforeRestart_tra8"
To="selectSservice">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectSservice" Id="beforeRestart_tra9"
To="serviceSummary1">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="serviceSummary1" Id="beforeRestart_tra10"
To="copyMedia">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putLogDir" Id="beforeRestart_tra11"
To="selectSservice">
<Condition Type="CONDITION">isReInst==true</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putInstDir" Id="beforeRestart_Tra14"
To="putLogDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putLogDir" Id="beforeRestart_Tra15"
To="selectITDS">
<Condition Type="CONDITION">isReInst==false</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType"
Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow"
Value="system;welcom;51;10;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow"
Value="system;copyMedia;60;70;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder"
Value="system;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 2, Issue 7
**************************************
|
|
From: <am...@sh...> - 2006-07-10 02:55:26
|
Hello Adrian,
I'm testing using the same xpdl file as last time. This time I set the script type to "application/javascript", I met another kind of exception then. After I trace into the code, I find that:
In class BSFEvaluator line 206, the function "bsfMgr.eval(_lang, sourceFile, 0, 0, expr)" returns an object whose type is NativeBoolean. While in the other codes don't know this type, so obe failed at BasicDataConverter.java line 313. The type of the object that is passed to the function toBoolean is NativeBoolean.
public boolean toBoolean(Object src) {
boolean dest = false;
if (src instanceof Boolean) {
dest = ((Boolean)src).booleanValue();
} else if (src instanceof String) {
dest = Boolean.valueOf((String)src).booleanValue();
} else {
throwDataConversionException(src, Boolean.TYPE);
}
//NativeBoolean a;
return dest;
}
xpdl contents:
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="newpkg" Name="installEWLM" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2006-07-03 16:43:35</Created>
</PackageHeader>
<Script Type="application/javascript"/>
<Participants>
<Participant Id="system">
<ParticipantType Type="HUMAN"/>
</Participant>
</Participants>
<WorkflowProcesses>
<WorkflowProcess Id="ewlmtest" Name="ewlmtest">
<ProcessHeader>
<Created>2006-07-03 16:44:24</Created>
</ProcessHeader>
<FormalParameters>
<FormalParameter Id="isReInst" Mode="IN">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</FormalParameter>
</FormalParameters>
<Activities>
<Activity Id="beforeRestart">
<Implementation>
<SubFlow Execution="SYNCHR" Id="beforeRestart">
<ActualParameters>
<ActualParameter>isReInst</ActualParameter>
</ActualParameters>
</SubFlow>
</Implementation>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="90"/>
<ExtendedAttribute Name="YOffset" Value="80"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putEWLMDir" Name="putEWLMDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="120"/>
<ExtendedAttribute Name="panelID" Value="EWL001"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="path"/>
</ExtendedAttributes>
</Activity>
<Activity Id="checkEWLMSummary" Name="checkEWLMSummary">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="270"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
<ExtendedAttribute Name="panelID" Value="CIS130"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="contents"/>
</ExtendedAttributes>
</Activity>
<Activity Id="postEWLM" Name="postEWLM">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="410"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
<ExtendedAttribute Name="panelID" Value="EWL002"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectCfgDM" Name="selectCfgDM">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="570"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
<ExtendedAttribute Name="panelID" Value="EWL003"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isConfig" Value="NO"/>
</ExtendedAttributes>
</Activity>
<Activity Id="finishInst" Name="finishInst">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="620"/>
<ExtendedAttribute Name="YOffset" Value="100"/>
<ExtendedAttribute Name="panelID" Value="CIS140"/>
<ExtendedAttribute Name="action" Value="finish"/>
<ExtendedAttribute Name="contents"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="beforeRestart" Id="ewlmtest_tra1" To="putEWLMDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putEWLMDir" Id="ewlmtest_tra2" To="checkEWLMSummary">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="checkEWLMSummary" Id="ewlmtest_tra3" To="postEWLM">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="postEWLM" Id="ewlmtest_tra4" To="selectCfgDM">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectCfgDM" Id="ewlmtest_tra5" To="finishInst">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="system;beforeRestart;51;10;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="system;finishInst;730;20;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="system;"/>
</ExtendedAttributes>
</WorkflowProcess>
<WorkflowProcess Id="beforeRestart" Name="beforeRestart">
<ProcessHeader>
<Created>2006-07-03 16:48:30</Created>
</ProcessHeader>
<FormalParameters>
<FormalParameter Id="isRefInst1" Mode="IN">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</FormalParameter>
</FormalParameters>
<DataFields>
<DataField Id="isReInst" IsArray="FALSE">
<DataType>
<BasicType Type="BOOLEAN"/>
</DataType>
</DataField>
</DataFields>
<Activities>
<Activity Id="welcom" Name="welcom">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS010"/>
</ExtendedAttributes>
</Activity>
<Activity Id="acceptLicense" Name="acceptLicense">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="270"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS050"/>
<ExtendedAttribute Name="isAccept" Value="YES"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putInstDir" Name="putInstDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS020"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putLogDir" Name="putLogDir">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="beforeRestart_tra11"/>
<TransitionRef Id="beforeRestart_Tra15"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectITDS" Name="selectITDS">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panelID" Value="CIS055"/>
<ExtendedAttribute Name="isExistITDS" Value="YES"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="intdcVEE" Name="intdcVEE">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="10"/>
<ExtendedAttribute Name="panel" Value="VEE003"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="putITDSInfo" Name="putITDSInfo">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="90"/>
<ExtendedAttribute Name="panelID" Value="VEE005"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="serverName"/>
<ExtendedAttribute Name="serverPort"/>
<ExtendedAttribute Name="serverAdminID"/>
<ExtendedAttribute Name="password"/>
</ExtendedAttributes>
</Activity>
<Activity Id="cfgGCR" Name="cfgGCR">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="710"/>
<ExtendedAttribute Name="YOffset" Value="160"/>
<ExtendedAttribute Name="panelID" Value="VEE008"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isUseExist" Value="YES"/>
</ExtendedAttributes>
</Activity>
<Activity Id="selectSservice" Name="selectSservice">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="150"/>
<ExtendedAttribute Name="panelID" Value="CIS080"/>
<ExtendedAttribute Name="components" Value="EWLM"/>
<ExtendedAttribute Name="action" Value="next"/>
</ExtendedAttributes>
</Activity>
<Activity Id="copyMedia" Name="copyMedia">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="90"/>
<ExtendedAttribute Name="YOffset" Value="140"/>
<ExtendedAttribute Name="panelID" Value="CIS090"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="isCopy" Value="NO"/>
</ExtendedAttributes>
</Activity>
<Activity Id="serviceSummary1" Name="serviceSummary">
<Implementation>
<No/>
</Implementation>
<Performer>system</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="system"/>
<ExtendedAttribute Name="XOffset" Value="260"/>
<ExtendedAttribute Name="YOffset" Value="130"/>
<ExtendedAttribute Name="panelID" Value="CIS082"/>
<ExtendedAttribute Name="action" Value="next"/>
<ExtendedAttribute Name="contents" Value="Virtualization Engine base support Virtualization Engine updates WebSphere Application Server JViews Enterprise Workload Manager"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="welcom" Id="beforeRestart_tra1" To="acceptLicense">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="acceptLicense" Id="beforeRestart_tra2" To="putInstDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectITDS" Id="beforeRestart_tra5" To="intdcVEE">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="intdcVEE" Id="beforeRestart_tra6" To="putITDSInfo">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putITDSInfo" Id="beforeRestart_tra7" To="cfgGCR">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="cfgGCR" Id="beforeRestart_tra8" To="selectSservice">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="selectSservice" Id="beforeRestart_tra9" To="serviceSummary1">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="serviceSummary1" Id="beforeRestart_tra10" To="copyMedia">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putLogDir" Id="beforeRestart_tra11" To="selectSservice">
<Condition Type="CONDITION">isReInst==true</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putInstDir" Id="beforeRestart_Tra14" To="putLogDir">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="putLogDir" Id="beforeRestart_Tra15" To="selectITDS">
<Condition Type="CONDITION">isReInst==false</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="system;welcom;51;10;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="system;copyMedia;60;70;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="system;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
|
|
From: Adrian P. <ad...@bt...> - 2006-07-09 21:43:19
|
Hello Lizhi, The behaviour you report is not a bug, it is the correct and intended behaviour. The 'isRefInst1' formal parameter of Workflow 'beforeRestart' has the 'IN' parameter mode (i.e., call by value semantics - the actual parameter is to be interpreted as a script expression, not as a DataField name as would be the case for the INOUT and OUT parameter modes). The 'ewlmtest' parent workflow passes the expression 'isReInst' as the actual parameter value, but the 'newpkg' package does not provide a /Package/Script element. Since the XPDL specification does not specify a default scripting language the semantics are non-portable and will use whatever the default scripting language is for the workflow engine in question, which in OBE's case is 'text/x-xpath', i.e., W3C XPath 1.0. OBE's XPath implementation (Apache JXPath) will therefore attempt to evaluate the XPath expression 'isReInst' (without the quotes) against an assumed context node. Since the expression evaluation context does not contain an XML element named 'isReInst' (or a Java property which JXPath could interpret as an 'XML element') the expression will therefore return null, which is why the subflow complains about its mandatory formal parameter not being set. In OBE, process instance variables are represented as XPath variables, not as content sub-nodes: you must therefore use the correct XPath syntax to reference a variable. So, you must do one of two things to make your workflow behave as you intend. EITHER: 1. Specify a scripting language where the expression 'isReInst' (without the quotes) does actually return the value of a property in the evaluation context. application/javascript is one such scripting language type. OR: 2. Stick with XPath but supply a valid XPath 1.0 expression, i.e., '$isReInst' (without the quotes). In both cases I am assuming that the formal parameter 'isReInst' of workflow 'ewlmtest' has been correctly set to a non-null value. If it hasn't been set, you'll still get the exception even when the expression is correct. Thanks, Adrian. -----Original Message----- Date: Sun, 9 Jul 2006 19:11:31 +0800 From: "lizhi" <am...@sh...> Subject: [Obe-user] I find a bug of OBE 1.0 (released at 2006-06-21) To: <obe...@li...> Message-ID: <002901c6a348$6ff46be0$f22b5fd3@david> Content-Type: text/plain; charset="gb2312" Hi, I created a workflow process that will call a sub workflow and pass an actual parameter to the formal parameter of the sub workflow. Obe reported an error after I created and ran a proccess instance of the main workflow. Error message is as " *** Failed to set start process (org.wfmc.wapi.WMInvalidProcessInstanceException@9847088[object='Input parameter 'isRefInst1' not set in process instance: 5'])" The following is the content of the xpdl definition: <?xml version="1.0" encoding="UTF-8"?> <Package Id="newpkg" Name="installEWLM" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd"> <PackageHeader> <XPDLVersion>1.0</XPDLVersion> <Vendor>Together</Vendor> <Created>2006-07-03 16:43:35</Created> </PackageHeader> <Participants> <Participant Id="system"> <ParticipantType Type="HUMAN"/> </Participant> </Participants> <WorkflowProcesses> <WorkflowProcess Id="ewlmtest" Name="ewlmtest"> <ProcessHeader> <Created>2006-07-03 16:44:24</Created> </ProcessHeader> <FormalParameters> <FormalParameter Id="isReInst" Mode="IN"> <DataType> <BasicType Type="BOOLEAN"/> </DataType> </FormalParameter> </FormalParameters> <snip/> |
|
From: Adrian P. <ad...@bt...> - 2006-07-07 21:28:00
|
Gilson,
It looks as if the line number '130' in the error message:
"C:\obe\obe\obeserver\build.xml:130: false is not a legal value for this
attribute"
is from your modified version - not much help to me since I don't have it.
My version at line 130 reads:
<!--entitypk/-->
Can you please re-post with the error as it is shown by the released version
of $OBE_DEV_HOME/obe/obeserver/build.xml?
Thanks,
Adrian.
-----Original Message-----
From: Gilson Nascimento Del Rei [mailto:gil...@cp...]
Sent: Friday, July 07, 2006 9:24 PM
To: Adrian Price; obe...@li...
Subject: RE: [Obe-user] Obe-user Digest, Vol 2, Issue 3
Adrian,
I verified the local.properties for news updates as you wrote and i did the
corrections needed. The xdoclet.merge.dir property was already set in the
local.properties (maybe by default). I did some updates on
obe/obeserver/build.xml file to display some property values used in the
<ejbdoclet></ejbdoclet> as you can see below, but the error persist (now the
message has changed slightly). Apparently the <ejbdoclet></ejbdoclet>
attributes are ok.
I have anexed the content from local.properties below.
thanks in advance.
Gilson
codegen
[echo] Generating J2EE components
[echo] xdoclet.merge.dir =>xdoclet
[echo] build.src =>C:\obe/build/obe/obeserver/src
[echo] src.dir =>src
[echo] xdoclet.jboss.typemapping =>mySQL
[echo] xdoclet.jboss.version => 3.2
[echo] xdoclet.DataSource => org/obe/jdbc/DataSource
[echo] xdoclet.weblogic.version =>6.1
:
BUILD FAILED
C:\obe\build.xml:304: The following error occurred while executing this
line:
C:\obe\obe\build.xml:141: The following error occurred while executing this
line
:
C:\obe\obe\obeserver\build.xml:130: false is not a legal value for this
attribute
------------------------------------------------------------------------
----
CONTENT FROM LOCAL.PROPERTIES
#OBE Build Properties. GENERATED FILE - DO NOT EDIT! (run prepare to
generate)
#Fri Jul 07 15:03:00 BRT 2006
tm-extractors.jar=tm-extractors-0.4.jar
jnlp-servlet.jar=jnlp-servlet.jar
xdoclet.MailSession=org/obe/mail/MailSession
xdoclet.weblogic.version=6.1
lucene.jar=lucene-1.4-final.jar
cactus.contextURL=http\://localhost\:8080/obeserver-tests
commons-digester.jar=commons-digester-1.6.jar
javadoc.version=true
jardiff.jar=jardiff.jar
weblogic.jar=weblogic.jar
obeclient-api.jar=C\:\\obe/build/staging/lib/obeclient-api.jar
deploy.tests.war=
deploy.lib.dir=
as.stop=shutdown.sh --shutdown
xdoclet.jboss.datasource=java\:/MySQLDS
commons-codec.jar=commons-codec-1.3.jar
obeclientapi.dir=C\:\\obe/obe/obeclientapi
jdbc.classpath=${as.dir}/server/default/lib/mysql-connector-java-3.0.17-
ga-bin.jar
mail.jar=mail.jar
obeworklist.jar=C\:\\obe/build/staging/lib/obeworklist.jar
obeengine.dir=C\:\\obe/obe/obeengine
staging.lib=C\:\\obe/build/staging/lib
j2ee.jar=j2ee.jar
obeconfig.jar=C\:\\obe/build/staging/lib/obeconfig.jar
httpunit.jar=httpunit-1.5.3.jar
javac.debug=on
cactus.jar=cactus-1.5.jar
xbean.jar=xbean.jar
staging.dir=C\:\\obe/build/staging
xmlrpc.jar=xmlrpc-1.1.jar
aspectjrt.jar=aspectjrt-1.1.1.jar
obeserver.jar=C\:\\obe/build/staging/lib/obeserver.jar
slide.dir=C\:\\obe/obe/slide
commons-jxpath.jar=commons-jxpath-1.2.jar
geronimo-jta.jar=geronimo-jta.jar
xdoclet.DataSource=org/obe/jdbc/DataSource
dist.tar.bz2=true
staging.bin=C\:\\obe/build/staging/bin
obeadmin.dir=C\:\\obe/obeadmin
jcalendar.jar=jcalendar.jar
staging.j2ee.lib=C\:\\obe/build/staging/j2ee/lib
qname.jar=qname.jar
commons-transaction.jar=commons-transaction-1.0.jar
commons-beanutils.jar=commons-beanutils-1.7.0.jar
slide-stores.jar=slide-stores-2.1.jar
xdoclet.merge.dir=xdoclet
lib.dir=C\:\\obe/lib
xdoclet.jboss.version=3.2
deploy.app.dir=
javadoc.author=true
xdoclet.jboss.ConnectionFactory=java\:/ConnectionFactory
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
deploy.tests=true
commons-httpclient.jar=commons-httpclient-3.0-rc2.jar
db.type=mysql
activation.jar=activation.jar
obeserver-init.war=C\:\\obe/build/staging/j2ee/lib/obeserver-init.war
obecore.jar=C\:\\obe/build/staging/lib/obecore.jar
commons-collections.jar=commons-collections-3.1.jar
servlet.jar=servlet.jar
xdoclet.dir=C\:\\obe/tools/xdoclet
obeconfig-j2ee.jar=C\:\\obe/build/staging/j2ee/lib/obeconfig.jar
commons-discovery.jar=commons-discovery-0.2.jar
jakarta-oro.jar=jakarta-oro-2.0.7.jar
as.start=run.sh
myfaces-impl.jar=myfaces-impl-1.1.3.jar
tests.dir=C\:\\obe/tests
obeclient.jar=C\:\\obe/build/staging/lib/obeclient.jar
ant.jar=ant.jar
staging.docs=C\:\\obe/build/staging/docs
cactus-ant.jar=cactus-ant-1.5.jar
transaction.isolation=TRANSACTION_READ_COMMITTED
wsdl4j.jar=wsdl4j-1.5.1.jar
poi.jar=poi-2.5-final-20040428.jar
jakarta-slide-webdavlib.jar=jakarta-slide-webdavlib-2.1.jar
deploy.app.ear=
xerces.jar=xercesImpl.jar
java.security.auth.login.config=c\:/jboss404/client/auth.conf
dist.tar=true
tools.dir=C\:\\obe/tools
xdoclet.jboss.mail=java\:/Mail\# Properties in this file are loaded by all
build scripts via local.properties.
db.user=obe
jdom.jar=jdom-1.0.jar
deploy.examples=true
saaj.jar=saaj.jar
staging.license=C\:\\obe/build/staging/license
staging.examples=C\:\\obe/build/staging/examples
xdoclet.AsyncRequestQueue=org/obe/jms/AsyncRequestQueue
slide-kernel.jar=slide-kernel-2.1.jar
nekohtml.jar=nekohtml-0.7.4.jar
staging.docs.spi=C\:\\obe/build/staging/docs/spi
obeserver-ejb.jar=C\:\\obe/build/staging/j2ee/lib/obeserver-ejb.jar
xdoclet.jboss.TopicConnectionFactory=ConnectionFactory
junit.jar=junit-3.8.1.jar
jaxrpc.jar=jaxrpc.jar
javac.optimize=on
axis-ant.jar=axis-ant.jar
jaxen-jdom.jar=jaxen-jdom.jar
bsf.jar=bsf.jar
obe.version=1.0
obeworklist.war=C\:\\obe/build/staging/j2ee/lib/obeworklist.war
tomahawk.jar=tomahawk-1.1.3.jar
wfmc.jar=C\:\\obe/build/staging/lib/wfmc.jar
jsp.jar=js-2.0.jar
obe.dir=C\:\\obe/obe
obeworklist.dir=C\:\\obe/obeworklist
slide-jaas.jar=slide-jaas-2.1.jar
ehcache.jar=ehcache-1.0.jar
saxpath.jar=saxpath.jar
as.client.jar=c\:/jboss404/client/jbossall-client.jar
staging.j2ee=C\:\\obe/build/staging/j2ee
jnlp.jar=jnlp.jar
obedesigner.jar=C\:\\obe/build/staging/lib/obedesigner.jar
xdoclet.jboss.typemapping=mySQL
jstl.jar=jstl-1.1.0.jar
obeserver.dir=C\:\\obe/obe/obeserver
commons-pool.jar=commons-pool-1.1.jar
jug.jar=jug.jar
xml-im-exporter.jar=xml-im-exporter1.1.jar
slide-webdavservlet.jar=slide-webdavservlet-2.1.jar
velocity.jar=velocity-1.3.1.jar
velocity-dep.jar=velocity-dep-1.3.1.jar
obetests.jar=C\:\\obe/build/staging/lib/obetests.jar
edenlib.jar=EdenLib.jar
jgraph.jar=jgraph.jar
xml-apis.jar=xml-apis.jar
staging.docs.api=C\:\\obe/build/staging/docs/api
slide-roles.jar=slide-roles-2.1.jar
jdbc.driver=com.mysql.jdbc.Driver
xdoclet.jboss.QueueConnectionFactory=ConnectionFactory
jbossall-client.jar=jbossall-client.jar
build.dir=C\:\\obe/build
log4j.jar=log4j-1.2.8.jar
deploy.lib.mirror.dir=
dist.tar.gz=true
examples.dir=C\:\\obe/examples
dist.zip=true
engine.runtime.jars=obeexamples.jar
commons-validator.jar=commons-validator.jar
base.dir=C\:\\obe
castor.jar=castor-0.9.9-xml-patched.jar
obecore.dir=C\:\\obe/obe/obecore
xalan.jar=xalan.jar
obeserver.ear=C\:\\obe/build/staging/j2ee/lib/obeserver.ear
mailapi.jar=mailapi_1_3_1.jar
slide-log4jlogger.jar=slide-log4jlogger-2.1.jar
obeengine.jar=C\:\\obe/build/staging/lib/obeengine.jar
obeclient.dir=C\:\\obe/obe/obeclient
ant.dir=C\:\\obe/tools/ant
xdoclet.ApplicationEventQueue=org/obe/jms/ApplicationEventQueue
js.jar=js.jar
deploy.commons.logging=false
obewebworklist.dir=C\:\\obe/obewebworklist
xdoclet.TopicConnectionFactory=org/obe/jms/TopicConnectionFactory
commons-logging.jar=commons-logging-1.0.4.jar
staging.j2ee.as=C\:\\obe/build/staging/j2ee/as
obeadmin.jar=C\:\\obe/build/staging/lib/obeadmin.jar
pdfbox.jar=PDFBox-0.6.5.jar
staging.etc=C\:\\obe/build/staging/etc
staging.config=C\:\\obe/build/staging/config
commons-cli.jar=commons-cli-1.0.jar
as.dir=c\:/jboss404
commons-lang.jar=commons-lang-2.1.jar
myfaces-api.jar=myfaces-api-1.1.3.jar
velocity-ant.jar=velocity-ant-0.1.jar
as.bin=c\:/jboss404/bin
javac.deprecation=off
dist.dir=C\:\\obe/build/dist
xdoclet.jboss.container-configuration=OBE Entity Bean
xdoclet.jar=xdoclet-1.2.jar weblogic.home=
jdbc.url=jdbc\:mysql\://localhost\:3306/obe
jaxen-dom.jar=jaxen-dom.jar
jython.jar=jython.jar
client.runtime.jars=
wfmc.dir=C\:\\obe/obe/wfmc
commons-el.jar=commons-el-1.0.jar
build.config=build1.properties
dom4j.jar=dom4j.jar
db.password=obe
javacc.jar=javacc.jar
xdoclet.QueueConnectionFactory=org/obe/jms/QueueConnectionFactory
docs.dir=C\:\\obe/docs
obeclient-lib.jar=C\:\\obe/build/staging/lib/obeclient-lib.jar
jlfgr.jar=jlfgr-1_0.jar
taglibs-string.jar=taglibs-string.jar
obedesigner.dir=C\:\\obe/obedesigner
commons-fileupload.jar=commons-fileupload-1.0.jar
obetests.war=C\:\\obe/build/staging/j2ee/lib/obetests.war
servletapi.jar=servletapi-2.3.jar
obeclientlib.dir=C\:\\obe/obeclientlib
standard.jar=standard.jar
axis.jar=axis.jar
commons-dbcp.jar=commons-dbcp-1.2.1.jar
-----------------------------------------------------
-----Original Message-----
From: obe...@li...
[mailto:obe...@li...] On Behalf Of Adrian Price
Sent: sexta-feira, 7 de julho de 2006 07:11
To: obe...@li...
Subject: Re: [Obe-user] Obe-user Digest, Vol 2, Issue 3
There seems to be some sort of problem with the setting of
xdoclet.merge.dir. In your $OBE_DEV_HOME/local.properties you should have
the entries (with values to suit your local environment):
xdoclet.MailSession=org/obe/mail/MailSession
xdoclet.weblogic.version=6.1 xdoclet.jboss.datasource=java\:/MySQLDS
xdoclet.DataSource=org/obe/jdbc/DataSource
# THIS IS THE OFFENDING PROPERTY
xdoclet.merge.dir=xdoclet
xdoclet.weblogic.ConnectionFactory=ConnectionFactory
xdoclet.jboss.version=3.2
xdoclet.jboss.ConnectionFactory=java\:/ConnectionFactory
xdoclet.dir=C\:\\obe/tools/xdoclet
xdoclet.jboss.mail=java\:/Mail
xdoclet.AsyncRequestQueue=org/obe/jms/AsyncRequestQueue
xdoclet.jboss.TopicConnectionFactory=ConnectionFactory
xdoclet.jboss.typemapping=mySQL
xdoclet.jboss.QueueConnectionFactory=ConnectionFactory
xdoclet.ApplicationEventQueue=org/obe/jms/ApplicationEventQueue
xdoclet.TopicConnectionFactory=org/obe/jms/TopicConnectionFactory
xdoclet.weblogic.datasource=examples-dataSource-demoXAPool
xdoclet.jboss.container-configuration=OBE Entity Bean
xdoclet.jar=xdoclet-1.2.jar
xdoclet.QueueConnectionFactory=org/obe/jms/QueueConnectionFactory
Please can you check that these entries are present? Try re-preparing with
properties defined as optional either completely specified or completely
omitted from the custom properties which you supply to the prepare command.
Thanks,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine mailto:adr...@us...
"tenax propositi, altiora peto"
-----Original Message-----
Date: Wed, 5 Jul 2006 19:17:58 -0300
From: "Gilson Nascimento Del Rei" <gil...@cp...>
Subject: [Obe-user] help. Trying to build OBE
To: <obe...@li...>
Message-ID:
<F5E...@sr...>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm receiving the error below when i try to build OBE using ANT BUILD
command. I have removed some lines for convenience. I noticed that is error
occur (look at line 119 below) when ANT process the
obe\obe\observer\build.xml.
I thought that the problem was because some sintax error attribute tag, so i
tried to remove some subtags of the <ejbdoclet...> </ejbdoclet> but it
doesn't work yet. someone have any suggestion ? Thanks in advance.
:
:
codegen:
[echo] Generating J2EE components
BUILD FAILED
C:\obe\build.xml:304: The following error occurred while executing this
line:
C:\obe\obe\build.xml:141: The following error occurred while executing this
line
:
C:\obe\obe\obeserver\build.xml:118: is not a legal value for this attribute
:
:
Gilson
----- excerpt from obe/obe/obeserver/build.xml -------------------
:
:
<ejbdoclet
destdir="${build.src}"
ejbSpec="2.0"
mergedir="${xdoclet.merge.dir}"
excludedtags="@version,@author,@param,@return,@deprecated,@throws">
<======================================= "Line 119"
<fileset dir="${src.dir}">
<include name="org/obe/**/*EJB.java"/>
<exclude name="org/obe/**/Abstract*.java"/>
<exclude name="org/obe/**/*Base.java"/>
</fileset>
<homeinterface pattern="{0}RemoteHome"/>
<localhomeinterface pattern="{0}LocalHome"/>
<remoteinterface pattern="{0}Remote"/>
<localinterface pattern="{0}Local"/>
<!--utilobject/-->
<deploymentdescriptor
acceptAbstractClasses="false"
destdir="${build.src}/META-INF"
validatexml="true"
xmlencoding="UTF-8"/>
<jboss
version="${xdoclet.jboss.version}"
debug="false"
securityDomain="java:/jaas/other"
unauthenticatedPrincipal="guest"
xmlencoding="UTF-8"
typemapping="${xdoclet.jboss.typemapping}"
datasource="java:/${xdoclet.DataSource}"
destdir="${build.src}/META-INF"
validatexml="false">
<!-- Required by cache-invalidation tags.-->
<configParam name="Version"
value="${xdoclet.jboss.version}"/>
</jboss>
<weblogic
version="${xdoclet.weblogic.version}"
createtables="false"
datasource="${xdoclet.DataSource}"
destdir="${build.src}/META-INF"
validatexml="true"
xmlencoding="UTF-8"/>
</ejbdoclet>
------------------------------------------------------------------------
----
---------------------
Gilson do Nascimento D'Elrei ___________________________________
> Processos e Tecnologia da Informa??o
ACTO - Projeto ERP CPM
CPM. Tecnologia criando valor.
Tel.: 55 11 4196-0791
gil...@cp...
www.cpm.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=obe-user/attachments/
2006
0705/d5e1e8c6/attachment.html
------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 2, Issue 3
**************************************
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
|
|
From: Gilson N. D. R. <gil...@cp...> - 2006-07-07 20:16:11
|
Adrian,
I verified the local.properties for news updates as you wrote and i did
the corrections needed. The xdoclet.merge.dir property was already set
in the local.properties (maybe by default). I did some updates on
obe/obeserver/build.xml file to display some property values used in the
<ejbdoclet></ejbdoclet> as you can see below, but the error persist (now
the message has changed slightly). Apparently the
<ejbdoclet></ejbdoclet> attributes are ok.
I have anexed the content from local.properties below.
thanks in advance.
Gilson
codegen
[echo] Generating J2EE components
[echo] xdoclet.merge.dir =3D>xdoclet
[echo] build.src =3D>C:\obe/build/obe/obeserver/src
[echo] src.dir =3D>src
[echo] xdoclet.jboss.typemapping =3D>mySQL
[echo] xdoclet.jboss.version =3D> 3.2
[echo] xdoclet.DataSource =3D> org/obe/jdbc/DataSource
[echo] xdoclet.weblogic.version =3D>6.1
:
BUILD FAILED
C:\obe\build.xml:304: The following error occurred while executing this
line:
C:\obe\obe\build.xml:141: The following error occurred while executing
this line
:
C:\obe\obe\obeserver\build.xml:130: false is not a legal value for this
attribute
------------------------------------------------------------------------
----
CONTENT FROM LOCAL.PROPERTIES
#OBE Build Properties. GENERATED FILE - DO NOT EDIT! (run prepare to
generate)
#Fri Jul 07 15:03:00 BRT 2006
tm-extractors.jar=3Dtm-extractors-0.4.jar
jnlp-servlet.jar=3Djnlp-servlet.jar
xdoclet.MailSession=3Dorg/obe/mail/MailSession
xdoclet.weblogic.version=3D6.1
lucene.jar=3Dlucene-1.4-final.jar
cactus.contextURL=3Dhttp\://localhost\:8080/obeserver-tests=20
commons-digester.jar=3Dcommons-digester-1.6.jar
javadoc.version=3Dtrue
jardiff.jar=3Djardiff.jar
weblogic.jar=3Dweblogic.jar
obeclient-api.jar=3DC\:\\obe/build/staging/lib/obeclient-api.jar
deploy.tests.war=3D
deploy.lib.dir=3D
as.stop=3Dshutdown.sh --shutdown
xdoclet.jboss.datasource=3Djava\:/MySQLDS
commons-codec.jar=3Dcommons-codec-1.3.jar
obeclientapi.dir=3DC\:\\obe/obe/obeclientapi
jdbc.classpath=3D${as.dir}/server/default/lib/mysql-connector-java-3.0.17=
-
ga-bin.jar=20
mail.jar=3Dmail.jar
obeworklist.jar=3DC\:\\obe/build/staging/lib/obeworklist.jar
obeengine.dir=3DC\:\\obe/obe/obeengine
staging.lib=3DC\:\\obe/build/staging/lib
j2ee.jar=3Dj2ee.jar
obeconfig.jar=3DC\:\\obe/build/staging/lib/obeconfig.jar
httpunit.jar=3Dhttpunit-1.5.3.jar
javac.debug=3Don
cactus.jar=3Dcactus-1.5.jar
xbean.jar=3Dxbean.jar
staging.dir=3DC\:\\obe/build/staging
xmlrpc.jar=3Dxmlrpc-1.1.jar
aspectjrt.jar=3Daspectjrt-1.1.1.jar
obeserver.jar=3DC\:\\obe/build/staging/lib/obeserver.jar
slide.dir=3DC\:\\obe/obe/slide
commons-jxpath.jar=3Dcommons-jxpath-1.2.jar
geronimo-jta.jar=3Dgeronimo-jta.jar
xdoclet.DataSource=3Dorg/obe/jdbc/DataSource
dist.tar.bz2=3Dtrue
staging.bin=3DC\:\\obe/build/staging/bin
obeadmin.dir=3DC\:\\obe/obeadmin
jcalendar.jar=3Djcalendar.jar
staging.j2ee.lib=3DC\:\\obe/build/staging/j2ee/lib
qname.jar=3Dqname.jar
commons-transaction.jar=3Dcommons-transaction-1.0.jar
commons-beanutils.jar=3Dcommons-beanutils-1.7.0.jar
slide-stores.jar=3Dslide-stores-2.1.jar
xdoclet.merge.dir=3Dxdoclet
lib.dir=3DC\:\\obe/lib
xdoclet.jboss.version=3D3.2
deploy.app.dir=3D
javadoc.author=3Dtrue
xdoclet.jboss.ConnectionFactory=3Djava\:/ConnectionFactory
java.naming.factory.initial=3Dorg.jnp.interfaces.NamingContextFactory
deploy.tests=3Dtrue
commons-httpclient.jar=3Dcommons-httpclient-3.0-rc2.jar
db.type=3Dmysql =20
activation.jar=3Dactivation.jar
obeserver-init.war=3DC\:\\obe/build/staging/j2ee/lib/obeserver-init.war
obecore.jar=3DC\:\\obe/build/staging/lib/obecore.jar
commons-collections.jar=3Dcommons-collections-3.1.jar
servlet.jar=3Dservlet.jar
xdoclet.dir=3DC\:\\obe/tools/xdoclet
obeconfig-j2ee.jar=3DC\:\\obe/build/staging/j2ee/lib/obeconfig.jar
commons-discovery.jar=3Dcommons-discovery-0.2.jar
jakarta-oro.jar=3Djakarta-oro-2.0.7.jar
as.start=3Drun.sh=20
myfaces-impl.jar=3Dmyfaces-impl-1.1.3.jar
tests.dir=3DC\:\\obe/tests
obeclient.jar=3DC\:\\obe/build/staging/lib/obeclient.jar
ant.jar=3Dant.jar
staging.docs=3DC\:\\obe/build/staging/docs
cactus-ant.jar=3Dcactus-ant-1.5.jar
transaction.isolation=3DTRANSACTION_READ_COMMITTED
wsdl4j.jar=3Dwsdl4j-1.5.1.jar
poi.jar=3Dpoi-2.5-final-20040428.jar
jakarta-slide-webdavlib.jar=3Djakarta-slide-webdavlib-2.1.jar
deploy.app.ear=3D
xerces.jar=3DxercesImpl.jar
java.security.auth.login.config=3Dc\:/jboss404/client/auth.conf
dist.tar=3Dtrue
tools.dir=3DC\:\\obe/tools
xdoclet.jboss.mail=3Djava\:/Mail\# Properties in this file are loaded by
all build scripts via local.properties.
db.user=3Dobe=20
jdom.jar=3Djdom-1.0.jar
deploy.examples=3Dtrue
saaj.jar=3Dsaaj.jar
staging.license=3DC\:\\obe/build/staging/license
staging.examples=3DC\:\\obe/build/staging/examples
xdoclet.AsyncRequestQueue=3Dorg/obe/jms/AsyncRequestQueue
slide-kernel.jar=3Dslide-kernel-2.1.jar
nekohtml.jar=3Dnekohtml-0.7.4.jar
staging.docs.spi=3DC\:\\obe/build/staging/docs/spi
obeserver-ejb.jar=3DC\:\\obe/build/staging/j2ee/lib/obeserver-ejb.jar
xdoclet.jboss.TopicConnectionFactory=3DConnectionFactory
junit.jar=3Djunit-3.8.1.jar
jaxrpc.jar=3Djaxrpc.jar
javac.optimize=3Don
axis-ant.jar=3Daxis-ant.jar
jaxen-jdom.jar=3Djaxen-jdom.jar
bsf.jar=3Dbsf.jar
obe.version=3D1.0
obeworklist.war=3DC\:\\obe/build/staging/j2ee/lib/obeworklist.war
tomahawk.jar=3Dtomahawk-1.1.3.jar
wfmc.jar=3DC\:\\obe/build/staging/lib/wfmc.jar
jsp.jar=3Djs-2.0.jar
obe.dir=3DC\:\\obe/obe
obeworklist.dir=3DC\:\\obe/obeworklist
slide-jaas.jar=3Dslide-jaas-2.1.jar
ehcache.jar=3Dehcache-1.0.jar
saxpath.jar=3Dsaxpath.jar
as.client.jar=3Dc\:/jboss404/client/jbossall-client.jar=20
staging.j2ee=3DC\:\\obe/build/staging/j2ee
jnlp.jar=3Djnlp.jar
obedesigner.jar=3DC\:\\obe/build/staging/lib/obedesigner.jar
xdoclet.jboss.typemapping=3DmySQL
jstl.jar=3Djstl-1.1.0.jar
obeserver.dir=3DC\:\\obe/obe/obeserver
commons-pool.jar=3Dcommons-pool-1.1.jar
jug.jar=3Djug.jar
xml-im-exporter.jar=3Dxml-im-exporter1.1.jar
slide-webdavservlet.jar=3Dslide-webdavservlet-2.1.jar
velocity.jar=3Dvelocity-1.3.1.jar
velocity-dep.jar=3Dvelocity-dep-1.3.1.jar
obetests.jar=3DC\:\\obe/build/staging/lib/obetests.jar
edenlib.jar=3DEdenLib.jar
jgraph.jar=3Djgraph.jar
xml-apis.jar=3Dxml-apis.jar
staging.docs.api=3DC\:\\obe/build/staging/docs/api
slide-roles.jar=3Dslide-roles-2.1.jar
jdbc.driver=3Dcom.mysql.jdbc.Driver=20
xdoclet.jboss.QueueConnectionFactory=3DConnectionFactory
jbossall-client.jar=3Djbossall-client.jar
build.dir=3DC\:\\obe/build
log4j.jar=3Dlog4j-1.2.8.jar
deploy.lib.mirror.dir=3D
dist.tar.gz=3Dtrue
examples.dir=3DC\:\\obe/examples
dist.zip=3Dtrue
engine.runtime.jars=3Dobeexamples.jar
commons-validator.jar=3Dcommons-validator.jar
base.dir=3DC\:\\obe
castor.jar=3Dcastor-0.9.9-xml-patched.jar
obecore.dir=3DC\:\\obe/obe/obecore
xalan.jar=3Dxalan.jar
obeserver.ear=3DC\:\\obe/build/staging/j2ee/lib/obeserver.ear
mailapi.jar=3Dmailapi_1_3_1.jar
slide-log4jlogger.jar=3Dslide-log4jlogger-2.1.jar
obeengine.jar=3DC\:\\obe/build/staging/lib/obeengine.jar
obeclient.dir=3DC\:\\obe/obe/obeclient
ant.dir=3DC\:\\obe/tools/ant
xdoclet.ApplicationEventQueue=3Dorg/obe/jms/ApplicationEventQueue
js.jar=3Djs.jar
deploy.commons.logging=3Dfalse
obewebworklist.dir=3DC\:\\obe/obewebworklist
xdoclet.TopicConnectionFactory=3Dorg/obe/jms/TopicConnectionFactory
commons-logging.jar=3Dcommons-logging-1.0.4.jar
staging.j2ee.as=3DC\:\\obe/build/staging/j2ee/as
obeadmin.jar=3DC\:\\obe/build/staging/lib/obeadmin.jar
pdfbox.jar=3DPDFBox-0.6.5.jar
staging.etc=3DC\:\\obe/build/staging/etc
staging.config=3DC\:\\obe/build/staging/config
commons-cli.jar=3Dcommons-cli-1.0.jar
as.dir=3Dc\:/jboss404
commons-lang.jar=3Dcommons-lang-2.1.jar
myfaces-api.jar=3Dmyfaces-api-1.1.3.jar
velocity-ant.jar=3Dvelocity-ant-0.1.jar
as.bin=3Dc\:/jboss404/bin=20
javac.deprecation=3Doff
dist.dir=3DC\:\\obe/build/dist
xdoclet.jboss.container-configuration=3DOBE Entity Bean
xdoclet.jar=3Dxdoclet-1.2.jar
weblogic.home=3D
jdbc.url=3Djdbc\:mysql\://localhost\:3306/obe=20
jaxen-dom.jar=3Djaxen-dom.jar
jython.jar=3Djython.jar
client.runtime.jars=3D
wfmc.dir=3DC\:\\obe/obe/wfmc
commons-el.jar=3Dcommons-el-1.0.jar
build.config=3Dbuild1.properties
dom4j.jar=3Ddom4j.jar
db.password=3Dobe=20
javacc.jar=3Djavacc.jar
xdoclet.QueueConnectionFactory=3Dorg/obe/jms/QueueConnectionFactory
docs.dir=3DC\:\\obe/docs
obeclient-lib.jar=3DC\:\\obe/build/staging/lib/obeclient-lib.jar
jlfgr.jar=3Djlfgr-1_0.jar
taglibs-string.jar=3Dtaglibs-string.jar
obedesigner.dir=3DC\:\\obe/obedesigner
commons-fileupload.jar=3Dcommons-fileupload-1.0.jar
obetests.war=3DC\:\\obe/build/staging/j2ee/lib/obetests.war
servletapi.jar=3Dservletapi-2.3.jar
obeclientlib.dir=3DC\:\\obe/obeclientlib
standard.jar=3Dstandard.jar
axis.jar=3Daxis.jar
commons-dbcp.jar=3Dcommons-dbcp-1.2.1.jar
-----------------------------------------------------
-----Original Message-----
From: obe...@li...
[mailto:obe...@li...] On Behalf Of Adrian
Price
Sent: sexta-feira, 7 de julho de 2006 07:11
To: obe...@li...
Subject: Re: [Obe-user] Obe-user Digest, Vol 2, Issue 3
There seems to be some sort of problem with the setting of
xdoclet.merge.dir. In your $OBE_DEV_HOME/local.properties you should
have the entries (with values to suit your local environment):
xdoclet.MailSession=3Dorg/obe/mail/MailSession
xdoclet.weblogic.version=3D6.1 xdoclet.jboss.datasource=3Djava\:/MySQLDS
xdoclet.DataSource=3Dorg/obe/jdbc/DataSource
# THIS IS THE OFFENDING PROPERTY
xdoclet.merge.dir=3Dxdoclet
xdoclet.weblogic.ConnectionFactory=3DConnectionFactory
xdoclet.jboss.version=3D3.2
xdoclet.jboss.ConnectionFactory=3Djava\:/ConnectionFactory
xdoclet.dir=3DC\:\\obe/tools/xdoclet
xdoclet.jboss.mail=3Djava\:/Mail
xdoclet.AsyncRequestQueue=3Dorg/obe/jms/AsyncRequestQueue
xdoclet.jboss.TopicConnectionFactory=3DConnectionFactory
xdoclet.jboss.typemapping=3DmySQL
xdoclet.jboss.QueueConnectionFactory=3DConnectionFactory
xdoclet.ApplicationEventQueue=3Dorg/obe/jms/ApplicationEventQueue
xdoclet.TopicConnectionFactory=3Dorg/obe/jms/TopicConnectionFactory
xdoclet.weblogic.datasource=3Dexamples-dataSource-demoXAPool
xdoclet.jboss.container-configuration=3DOBE Entity Bean
xdoclet.jar=3Dxdoclet-1.2.jar
xdoclet.QueueConnectionFactory=3Dorg/obe/jms/QueueConnectionFactory
Please can you check that these entries are present? Try re-preparing
with properties defined as optional either completely specified or
completely omitted from the custom properties which you supply to the
prepare command.
Thanks,
Adrian.
Adrian Price
Architect & Lead
The Open Business Engine mailto:adr...@us...
"tenax propositi, altiora peto"
-----Original Message-----
Date: Wed, 5 Jul 2006 19:17:58 -0300
From: "Gilson Nascimento Del Rei" <gil...@cp...>
Subject: [Obe-user] help. Trying to build OBE
To: <obe...@li...>
Message-ID:
<F5E...@sr...>
Content-Type: text/plain; charset=3D"iso-8859-1"
Hi,
I'm receiving the error below when i try to build OBE using ANT BUILD
command. I have removed some lines for convenience. I noticed that is
error occur (look at line 119 below) when ANT process the
obe\obe\observer\build.xml.=20
I thought that the problem was because some sintax error attribute tag,
so i tried to remove some subtags of the <ejbdoclet...> </ejbdoclet> but
it doesn't work yet. someone have any suggestion ? Thanks in advance.
:
:
codegen:
[echo] Generating J2EE components
BUILD FAILED
C:\obe\build.xml:304: The following error occurred while executing this
line:
C:\obe\obe\build.xml:141: The following error occurred while executing
this line
:
C:\obe\obe\obeserver\build.xml:118: is not a legal value for this
attribute
:
:
Gilson
----- excerpt from obe/obe/obeserver/build.xml -------------------
: =20
:=20
<ejbdoclet
destdir=3D"${build.src}"
ejbSpec=3D"2.0"
mergedir=3D"${xdoclet.merge.dir}" =20
=20
excludedtags=3D"@version,@author,@param,@return,@deprecated,@throws">
<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D "Line 119"
<fileset dir=3D"${src.dir}">
<include name=3D"org/obe/**/*EJB.java"/>
<exclude name=3D"org/obe/**/Abstract*.java"/>
<exclude name=3D"org/obe/**/*Base.java"/>
</fileset>
<homeinterface pattern=3D"{0}RemoteHome"/>
<localhomeinterface pattern=3D"{0}LocalHome"/>
<remoteinterface pattern=3D"{0}Remote"/>
<localinterface pattern=3D"{0}Local"/>
<!--utilobject/-->
=20
<deploymentdescriptor
acceptAbstractClasses=3D"false"
destdir=3D"${build.src}/META-INF"
validatexml=3D"true"
xmlencoding=3D"UTF-8"/>
<jboss
version=3D"${xdoclet.jboss.version}"
debug=3D"false"
securityDomain=3D"java:/jaas/other"
unauthenticatedPrincipal=3D"guest"
xmlencoding=3D"UTF-8"
typemapping=3D"${xdoclet.jboss.typemapping}"
datasource=3D"java:/${xdoclet.DataSource}"
destdir=3D"${build.src}/META-INF"
validatexml=3D"false">
<!-- Required by cache-invalidation tags.-->
<configParam name=3D"Version"
value=3D"${xdoclet.jboss.version}"/>
</jboss>
<weblogic
version=3D"${xdoclet.weblogic.version}"
createtables=3D"false"
datasource=3D"${xdoclet.DataSource}"
destdir=3D"${build.src}/META-INF"
validatexml=3D"true"
xmlencoding=3D"UTF-8"/>
</ejbdoclet>
=20
------------------------------------------------------------------------
----
---------------------
Gilson do Nascimento D'Elrei ___________________________________
> Processos e Tecnologia da Informa??o
ACTO - Projeto ERP CPM
CPM. Tecnologia criando valor.
Tel.: 55 11 4196-0791
gil...@cp...
www.cpm.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=3Dobe-user/attachments=
/
2006
0705/d5e1e8c6/attachment.html=20
------------------------------
Using Tomcat but need to do more? Need to support web services,
security? Get stuff done quickly with pre-integrated technology to make
your job easier Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
------------------------------
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
End of Obe-user Digest, Vol 2, Issue 3
**************************************
Using Tomcat but need to do more? Need to support web services,
security? Get stuff done quickly with pre-integrated technology to make
your job easier Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Obe-user mailing list
Obe...@li...
https://lists.sourceforge.net/lists/listinfo/obe-user
|