Ofbiz Version 9.04 Issue for the Strings with Special Characters

2010-12-08 Thread Deepa Priolkar
Hi,

 

I am trying to invoke one of my service as webservice by exporting it.

 

The input parameters for this service is "Strings", snippet of the code

 



Internalize the scan result and store components in
the persistent store



  

 

I am passing some Strings like "

 

But for above input I am getting error message, 

org.ofbiz.service.ServiceValidationException: In field [scanResult]
less-than (<) and greater-than (>) symbols are not allowed

 

I am totally stuck because of this issue.

 

Thanks in advance.

 

Regards,

Deepa

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Issue with Derby - getting conglomerate Error message

2010-11-23 Thread Deepa Priolkar
Hi All,

 

We are getting conglomerate error message while accessing tables in
derby, has anyone seen such error before? Please help.

 

 cause
-

Exception: org.apache.derby.impl.jdbc.EmbedSQLException

Message: The conglomerate (88,689) requested does not exist.

 cause
-

Exception: org.apache.derby.iapi.error.StandardException

Message: The conglomerate (88,689) requested does not exist.

 stack trace
---

ERROR XSAI2: The conglomerate (88,689) requested does not exist.

org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)

org.apache.derby.impl.store.access.btree.index.B2IFactory.readConglomera
te(Unknown Source)

org.apache.derby.impl.store.access.RAMAccessManager.conglomCacheFind(Unk
nown Source)

org.apache.derby.impl.store.access.RAMTransaction.findExistingConglomera
te(Unknown Source)

org.apache.derby.impl.store.access.RAMTransaction.openStoreCost(Unknown
Source)

org.apache.derby.impl.sql.compile.CompilerContextImpl.getStoreCostContro
ller(Unknown Source)

org.apache.derby.impl.sql.compile.FromBaseTable.getStoreCostController(U
nknown Source)

org.apache.derby.impl.sql.compile.FromBaseTable.estimateCost(Unknown
Source)

org.apache.derby.impl.sql.compile.OptimizerImpl.estimateTotalCost(Unknow
n Source)

org.apache.derby.impl.sql.compile.OptimizerImpl.costBasedCostOptimizable
(Unknown Source)

org.apache.derby.impl.sql.compile.OptimizerImpl.costOptimizable(Unknown
Source)

org.apache.derby.impl.sql.compile.FromBaseTable.optimizeIt(Unknown
Source)

org.apache.derby.impl.sql.compile.ProjectRestrictNode.optimizeIt(Unknown
Source)

org.apache.derby.impl.sql.compile.OptimizerImpl.costPermutation(Unknown
Source)

org.apache.derby.impl.sql.compile.SelectNode.optimize(Unknown Source)

org.apache.derby.impl.sql.compile.DMLStatementNode.optimizeStatement(Unk
nown Source)

org.apache.derby.impl.sql.compile.CursorNode.optimizeStatement(Unknown
Source)

org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)

org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)

org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareI
nternalStatement(Unknown Source)

org.apache.derby.impl.jdbc.EmbedPreparedStatement.(Unknown Source)

org.apache.derby.impl.jdbc.EmbedPreparedStatement20.(Unknown
Source)

org.apache.derby.impl.jdbc.EmbedPreparedStatement30.(Unknown
Source)

org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Source)

org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown
Source)

org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown
Source)

org.apache.commons.dbcp.DelegatingConnection.prepareStatement(Delegating
Connection.java:291)

org.apache.commons.dbcp.DelegatingConnection.prepareStatement(Delegating
Connection.java:291)

org.ofbiz.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:37
2)

org.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(Gen
ericDAO.java:726)

org.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition
(GenericHelperDAO.java:140)

org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:2354)

org.ofbiz.entity.GenericDelegator.findList(GenericDelegator.java:2395)

org.pci.scan.helper.ScanHelper.getTicketComments(ScanHelper.java:1019)

org.pci.scan.services.ScanServices.showScanTickets(ScanServices.java:801
)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

java.lang.reflect.Method.invoke(Unknown Source)

org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92)

org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78)

org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:592
)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:36
1)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:202)

javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)

org

Session in Services

2010-11-17 Thread Deepa Priolkar
Hi All,

 

We are facing some issue related to the HTTP Session.

How can we access the HTTP Session in the Ofbiz Services.

 

Please let me know...

Thanks & Regards,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Ofbiz Service as Webservice - Need Help

2010-10-27 Thread Deepa Priolkar
When I am trying to export the service as a wsdl it gives an error.. so not 
sure if we can have userdefined object for the service which is exposed as 
webservice.. please advice.

WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL 
(scanResult / com.pci.asvengine.ScanResultData)

-Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com] 
Sent: Wednesday, October 27, 2010 2:44 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz Service as Webservice - Need Help

Hi Chirag,

This is fixed now.. the issue was I calling back the same soap service, instead 
of forwarding the request to another service..

Now I have one questions.. is it possible to map one of the input parameter as 
user defined object.. something like

http://localhost:8080/webtools/control/SOAPService"; 
invoke="updateResult">
add the scan details to the database

   


I have made the changes in our calling client to have the parameter type as

ScanResultData scanResultData = new ScanResultData();
scanResultData.setEngine("ASVEngine");
scanResultData.setResult("success");
call.addParameter ("scanResult", 
org.apache.axis.Constants.XSD_ANY,javax.xml.rpc.ParameterMode.IN);


but it gives me error which says..

xisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.io.IOException: No serializer found for class 
com.pci.asvengine.ScanResultData in registry 
org.apache.axis.encoding.typemappingdeleg...@18f6235
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No 
serializer found for class com.pci.asvengine.ScanResultData in registry 
org.apache.axis.encoding.typemappingdeleg...@18f6235

Deepa

-Original Message-
From: Chirag Manocha [mailto:cmano...@emforium.com] 
Sent: Wednesday, October 27, 2010 1:42 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz Service as Webservice - Need Help

This means that its coming to OFBiz and you can trace by putting logs or debug 
mode that why its getting in the infinite loop. Right ? I also have to check 
this. 

Regards 
-- 
Chirag Manocha 
Emforium Software Pvt. Ltd. | ALL-IN Software 
+91-98735-47457 | +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 




From: "Deepa Priolkar"  
To: user@ofbiz.apache.org 
Sent: Wednesday, October 27, 2010 1:30:20 PM 
Subject: RE: Ofbiz Service as Webservice - Need Help 

Hi Chirag, 

I haven’t tried with the SOAP UI, but the issue with my case is when I am 
trying to invoke the service, the call comes to SOAPClientEngine, but then it 
goes in infinite loop which I am not able to understand.. can you please give 
me some leads to fix this issue... 

-Original Message- 
From: Chirag Manocha [mailto:cmano...@emforium.com] 
Sent: Wednesday, October 27, 2010 10:04 AM 
To: user@ofbiz.apache.org 
Subject: Re: Ofbiz Service as Webservice - Need Help 

Hi Deepa, 
Did you try the request with SoapUI ? You will get the exact problem in that. 

Regards 
-- 
Chirag Manocha 
Emforium Software Pvt. Ltd. | ALL-IN Software 
+91-98735-47457 | +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 




From: "Deepa Priolkar"  
To: user@ofbiz.apache.org 
Sent: Tuesday, October 26, 2010 7:21:17 PM 
Subject: Ofbiz Service as Webservice - Need Help 

Hi, 



I have hosted one service in Ofbiz as webservices, 



http://localhost:8080/webtools/control/SOAPService"; 
invoke="updateScanResult"> 

add the scan details to the database 

 

 

 



And I am calling this service through a standalone class 



public static void main(String str[]) 

{ 

String output=null; 

String endpoint,inputParam, username, password; 

inputParam= "orderId"; 

try{ 

endpoint = 
"http://localhost:8080/webtools/control/SOAPService";; 

username="admin"; 

password="ofbiz"; 

Call call = (Call) new Service().createCall(); 

call.setTargetEndpointAddress(new URL (endpoint)); 

call.setOperationName(new 
javax.xml.namespace.QName("updateScanResult")); 

call.addParameter ("scanResult", 
org.apache.axis.Constants.XSD_STRING,javax.xml.rpc.ParameterMode.IN); 


call.setReturnType(org.apache.axis.Constants.XSD_STRING); 

Object response = call.invoke(new 
Object[]{inputParam}); 

output = (String) response; 

try{ 

System.out.println(output); 

} 

catch(Exception e){ 

e.printStackTrace(); 

} 

}catch(Exception e){ 

e.printStackTrace(); 

} 

} 





Not sure what wrong am doing, but there is no response from the service 
back to the calling client. However in the logs I am seeing that the 
SOAPEngine is invoked.. 



2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
ContextFilter.java:193:INFO ] [Request]: /webtools/contro

RE: Ofbiz Service as Webservice - Need Help

2010-10-27 Thread Deepa Priolkar
Hi Chirag,

This is fixed now.. the issue was I calling back the same soap service, instead 
of forwarding the request to another service..

Now I have one questions.. is it possible to map one of the input parameter as 
user defined object.. something like

http://localhost:8080/webtools/control/SOAPService"; 
invoke="updateResult">
add the scan details to the database

   


I have made the changes in our calling client to have the parameter type as

ScanResultData scanResultData = new ScanResultData();
scanResultData.setEngine("ASVEngine");
scanResultData.setResult("success");
call.addParameter ("scanResult", 
org.apache.axis.Constants.XSD_ANY,javax.xml.rpc.ParameterMode.IN);


but it gives me error which says..

xisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.io.IOException: No serializer found for class 
com.pci.asvengine.ScanResultData in registry 
org.apache.axis.encoding.typemappingdeleg...@18f6235
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No 
serializer found for class com.pci.asvengine.ScanResultData in registry 
org.apache.axis.encoding.typemappingdeleg...@18f6235

Deepa

-Original Message-
From: Chirag Manocha [mailto:cmano...@emforium.com] 
Sent: Wednesday, October 27, 2010 1:42 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz Service as Webservice - Need Help

This means that its coming to OFBiz and you can trace by putting logs or debug 
mode that why its getting in the infinite loop. Right ? I also have to check 
this. 

Regards 
-- 
Chirag Manocha 
Emforium Software Pvt. Ltd. | ALL-IN Software 
+91-98735-47457 | +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 




From: "Deepa Priolkar"  
To: user@ofbiz.apache.org 
Sent: Wednesday, October 27, 2010 1:30:20 PM 
Subject: RE: Ofbiz Service as Webservice - Need Help 

Hi Chirag, 

I haven’t tried with the SOAP UI, but the issue with my case is when I am 
trying to invoke the service, the call comes to SOAPClientEngine, but then it 
goes in infinite loop which I am not able to understand.. can you please give 
me some leads to fix this issue... 

-Original Message- 
From: Chirag Manocha [mailto:cmano...@emforium.com] 
Sent: Wednesday, October 27, 2010 10:04 AM 
To: user@ofbiz.apache.org 
Subject: Re: Ofbiz Service as Webservice - Need Help 

Hi Deepa, 
Did you try the request with SoapUI ? You will get the exact problem in that. 

Regards 
-- 
Chirag Manocha 
Emforium Software Pvt. Ltd. | ALL-IN Software 
+91-98735-47457 | +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 




From: "Deepa Priolkar"  
To: user@ofbiz.apache.org 
Sent: Tuesday, October 26, 2010 7:21:17 PM 
Subject: Ofbiz Service as Webservice - Need Help 

Hi, 



I have hosted one service in Ofbiz as webservices, 



http://localhost:8080/webtools/control/SOAPService"; 
invoke="updateScanResult"> 

add the scan details to the database 

 

 

 



And I am calling this service through a standalone class 



public static void main(String str[]) 

{ 

String output=null; 

String endpoint,inputParam, username, password; 

inputParam= "orderId"; 

try{ 

endpoint = 
"http://localhost:8080/webtools/control/SOAPService";; 

username="admin"; 

password="ofbiz"; 

Call call = (Call) new Service().createCall(); 

call.setTargetEndpointAddress(new URL (endpoint)); 

call.setOperationName(new 
javax.xml.namespace.QName("updateScanResult")); 

call.addParameter ("scanResult", 
org.apache.axis.Constants.XSD_STRING,javax.xml.rpc.ParameterMode.IN); 


call.setReturnType(org.apache.axis.Constants.XSD_STRING); 

Object response = call.invoke(new 
Object[]{inputParam}); 

output = (String) response; 

try{ 

System.out.println(output); 

} 

catch(Exception e){ 

e.printStackTrace(); 

} 

}catch(Exception e){ 

e.printStackTrace(); 

} 

} 





Not sure what wrong am doing, but there is no response from the service 
back to the calling client. However in the logs I am seeing that the 
SOAPEngine is invoked.. 



2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
ContextFilter.java:193:INFO ] [Request]: /webtools/control/SOAPService 

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
ControlServlet.java:131:INFO ] [[[SOAPService] Request Begun, 
encoding=[utf-8]- total:0.0,since last(Begin):0.0]] 

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
VisitHandler.java:221:INFO ] Found visitorId [null] in cookie 

2010-10-26 19:16:39,414 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:104:INFO ] [SOAPClientEngine.invoke] : Parameter 
length - 4 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.ja

RE: Ofbiz Service as Webservice - Need Help

2010-10-27 Thread Deepa Priolkar
Hi Chirag,

I haven’t tried with the SOAP UI, but the issue with my case is when I am 
trying to invoke the service, the call comes to SOAPClientEngine, but then it 
goes in infinite loop which I am not able to understand.. can you please give 
me some leads to fix this issue...

-Original Message-
From: Chirag Manocha [mailto:cmano...@emforium.com] 
Sent: Wednesday, October 27, 2010 10:04 AM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz Service as Webservice - Need Help

Hi Deepa, 
Did you try the request with SoapUI ? You will get the exact problem in that. 

Regards 
-- 
Chirag Manocha 
Emforium Software Pvt. Ltd. | ALL-IN Software 
+91-98735-47457 | +91-98263-19099 
Please don't print this Email unless you really need to - this will preserve 
trees on planet earth. 




From: "Deepa Priolkar"  
To: user@ofbiz.apache.org 
Sent: Tuesday, October 26, 2010 7:21:17 PM 
Subject: Ofbiz Service as Webservice - Need Help 

Hi, 



I have hosted one service in Ofbiz as webservices, 



http://localhost:8080/webtools/control/SOAPService"; 
invoke="updateScanResult"> 

add the scan details to the database 

 

 

 



And I am calling this service through a standalone class 



public static void main(String str[]) 

{ 

String output=null; 

String endpoint,inputParam, username, password; 

inputParam= "orderId"; 

try{ 

endpoint = 
"http://localhost:8080/webtools/control/SOAPService";; 

username="admin"; 

password="ofbiz"; 

Call call = (Call) new Service().createCall(); 

call.setTargetEndpointAddress(new URL (endpoint)); 

call.setOperationName(new 
javax.xml.namespace.QName("updateScanResult")); 

call.addParameter ("scanResult", 
org.apache.axis.Constants.XSD_STRING,javax.xml.rpc.ParameterMode.IN); 


call.setReturnType(org.apache.axis.Constants.XSD_STRING); 

Object response = call.invoke(new 
Object[]{inputParam}); 

output = (String) response; 

try{ 

System.out.println(output); 

} 

catch(Exception e){ 

e.printStackTrace(); 

} 

}catch(Exception e){ 

e.printStackTrace(); 

} 

} 





Not sure what wrong am doing, but there is no response from the service 
back to the calling client. However in the logs I am seeing that the 
SOAPEngine is invoked.. 



2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
ContextFilter.java:193:INFO ] [Request]: /webtools/control/SOAPService 

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
ControlServlet.java:131:INFO ] [[[SOAPService] Request Begun, 
encoding=[utf-8]- total:0.0,since last(Begin):0.0]] 

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [ 
VisitHandler.java:221:INFO ] Found visitorId [null] in cookie 

2010-10-26 19:16:39,414 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:104:INFO ] [SOAPClientEngine.invoke] : Parameter 
length - 4 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter: 
scanResult (IN) - 0 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter: 
userLogin (INOUT) - 1 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter: 
locale (INOUT) - 2 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter: 
timeZone (INOUT) - 3 

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [ 
SOAPClientEngine.java:136:INFO ] [SOAPClientEngine.invoke] : Sending 
Call To SOAP Server 

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) 
[ControlEventListener.java:63 :INFO ] Creating session: 
000E9158D77B97A81E928B0AB38B211F.jvm1 

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [ 
ContextFilter.java:193:INFO ] [Request]: /webtools/control/SOAPService 

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [ 
ControlServlet.java:131:INFO ] [[[SOAPService] Request Begun, 
encoding=[utf-8]- total:0.0,since last(Begin):0.0]] 

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [ 
VisitHandler.java:221:INFO ] Found visitorId [null] in cookie 

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [ 
?:? :INFO ] Discarded 2 messages due to full event buffer including: 
[Request]: /webtools/control/SOAPService 

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [ 
?:? :INFO ] Discarded 18 messages due to full event buffer including: 
[SOAPClientEngine.invoke] : Parameter length - 4 

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [ 
?:? :INFO ] Discarded 2 messages due to full event buffer including: 
Found visitorId [null] in cookie 

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [ 
?:? :INFO ] Discarded 2 messages due to full event buffer including: 
Creating session: CD55E84B19E7258E0E850B0A1499009C.jvm1 

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [ 
?:? :INFO ] Discarded 2 messages due to full event buffer including: 
[[[SOAPService] Request Begun, encoding=[utf-8]- total:0.0,since 
last(Begin):0.0]] 

2010-10-26 19

Ofbiz Service as Webservice - Need Help

2010-10-26 Thread Deepa Priolkar
Hi,

 

I have hosted one service in Ofbiz as webservices, 

 

http://localhost:8080/webtools/control/SOAPService";
invoke="updateScanResult">

add the scan details to the database



   



 

And I am calling this service through a standalone class 

 

public static void main(String str[])

  {

String output=null;

String endpoint,inputParam, username, password;

inputParam= "orderId";

try{

  endpoint =
"http://localhost:8080/webtools/control/SOAPService";;

  username="admin";

  password="ofbiz";

  Call call = (Call) new Service().createCall();

  call.setTargetEndpointAddress(new URL (endpoint));

  call.setOperationName(new
javax.xml.namespace.QName("updateScanResult"));

  call.addParameter ("scanResult",
org.apache.axis.Constants.XSD_STRING,javax.xml.rpc.ParameterMode.IN);

 
call.setReturnType(org.apache.axis.Constants.XSD_STRING);

  Object response = call.invoke(new
Object[]{inputParam});

  output = (String) response;

  try{

System.out.println(output);

  }

  catch(Exception e){

e.printStackTrace();

  }

}catch(Exception e){

  e.printStackTrace();

}

  }



 

Not sure what wrong am doing, but there is no response from the service
back to the calling client. However in the logs I am seeing that the
SOAPEngine is invoked..

 

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [
ContextFilter.java:193:INFO ] [Request]: /webtools/control/SOAPService

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [
ControlServlet.java:131:INFO ] [[[SOAPService] Request Begun,
encoding=[utf-8]- total:0.0,since last(Begin):0.0]]

2010-10-26 19:16:39,289 (http-0.0.0.0-8080-97) [
VisitHandler.java:221:INFO ] Found visitorId [null] in cookie

2010-10-26 19:16:39,414 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:104:INFO ] [SOAPClientEngine.invoke] : Parameter
length - 4

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter:
scanResult (IN) - 0

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter:
userLogin (INOUT) - 1

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter:
locale (INOUT) - 2

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:119:INFO ] [SOAPClientEngine.invoke} : Parameter:
timeZone (INOUT) - 3

2010-10-26 19:16:39,429 (http-0.0.0.0-8080-97) [
SOAPClientEngine.java:136:INFO ] [SOAPClientEngine.invoke] : Sending
Call To SOAP Server

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98)
[ControlEventListener.java:63 :INFO ] Creating session:
000E9158D77B97A81E928B0AB38B211F.jvm1

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [
ContextFilter.java:193:INFO ] [Request]: /webtools/control/SOAPService

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [
ControlServlet.java:131:INFO ] [[[SOAPService] Request Begun,
encoding=[utf-8]- total:0.0,since last(Begin):0.0]]

2010-10-26 19:16:39,570 (http-0.0.0.0-8080-98) [
VisitHandler.java:221:INFO ] Found visitorId [null] in cookie

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [
?:?  :INFO ] Discarded 2 messages due to full event buffer including:
[Request]: /webtools/control/SOAPService

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [
?:?  :INFO ] Discarded 18 messages due to full event buffer including:
[SOAPClientEngine.invoke] : Parameter length - 4

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [
?:?  :INFO ] Discarded 2 messages due to full event buffer including:
Found visitorId [null] in cookie

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [
?:?  :INFO ] Discarded 2 messages due to full event buffer including:
Creating session: CD55E84B19E7258E0E850B0A1499009C.jvm1

2010-10-26 19:16:40,211 (Dispatcher-Thread-1) [
?:?  :INFO ] Discarded 2 messages due to full event buffer including:
[[[SOAPService] Request Begun, encoding=[utf-8]- total:0.0,since
last(Begin):0.0]]

2010-10-26 19:20:27,063 (default-invoker-Thread-10) [
JobInvoker.java:231:INFO ] Invoker [default-invoker-Thread-10] received
job [Auto-create Fixed Asset Maintenances] from poller
[org.ofbiz.service.job.jobpol...@757fad]

2010-10-26 19:20:27,063 (default-invoker-Thread-8) [
JobInvoker.java:231:INFO ] Invoker [default-invoker-Thread-8] received
job [Send Email] from poller [org.ofbiz.service.job.jobpol...@757fad]

2010-10-26 19:20:27,063 (default-invoker-Thread-7) [
JobInvoker.java:231:INFO ] Invoker [default-invoker-Thread-7] received
job [Send Email] from poller [org.ofbiz.service.job.jobpol...@757fad]

2010-10-26 19:20:27,079 (default-invoker-Thread-11) [
JobInvoker.java:231:INFO ] Invoker [default-invoker-Th

Issue with Service Invoked though RMIDispatcher

2010-10-25 Thread Deepa Priolkar
Hi,

 

I am trying to call a service through RMI, but I am getting some weird
exception.. it says ClassNtFound, for the class which is there in the
classpath.. Please help.. need some inputs asap L

 

2010-10-25 17:24:57,652 (RMI TCP Connection(4)-10.5.73.90) [
ServiceDispatcher.java:506:ERROR] 

 exception report
--

Service [updateScanResultTest] threw an unexpected exception/error

Exception: org.ofbiz.service.GenericServiceException

Message: Cannot find service [updateScanResultTest] location class
(com.pci.services.ASVEngineService )

 cause
-

Exception: java.lang.ClassNotFoundException

Message: com.pci.services.ASVEngineService 

 stack trace
---

java.lang.ClassNotFoundException: com.pci.services.ASVEngineService 

java.net.URLClassLoader$1.run(URLClassLoader.java:200)

java.security.AccessController.doPrivileged(Native Method)

java.net.URLClassLoader.findClass(URLClassLoader.java:188)

 

Following are the configurations

 

Services.xml



add the scan details to the database



   



 

Ofbiz-container.xml























 

 

Calling Client

 

package com.pci.test;

 

import java.net.MalformedURLException;

import java.rmi.Naming;

import java.rmi.NotBoundException;

import java.rmi.RemoteException;

import java.util.Map;

 

import org.ofbiz.base.util.UtilMisc;

import org.ofbiz.service.GenericServiceException;

import org.ofbiz.service.rmi.RemoteDispatcher;

 

public class CallingOfbizService 

{

  public static void main(String str[])

  {

String endpoint;

try{

  endpoint = "rmi://127.0.0.1:1099/RMIDispatcher";

  RemoteDispatcher remoteDisp = (RemoteDispatcher)
Naming.lookup(endpoint);

  Map result =
remoteDisp.runSync("updateScanResultTest", UtilMisc.toMap("scanResult",
"Hello"));

}catch (MalformedURLException e2) {

  e2.printStackTrace();

} catch (RemoteException e3) {

  e3.printStackTrace();

} catch (NotBoundException e) {

  e.printStackTrace();

} catch (GenericServiceException e) {

  e.printStackTrace();

}

  }

}

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Issue with Service Invoked though RMIDispatcher

2010-10-25 Thread Deepa Priolkar
Resolved the issue related to the ClassNotFoundException...

 

From: Deepa Priolkar 
Sent: Monday, October 25, 2010 5:46 PM
To: user@ofbiz.apache.org
Subject: Issue with Service Invoked though RMIDispatcher

 

Hi,

 

I am trying to call a service through RMI, but I am getting some weird
exception.. it says ClassNtFound, for the class which is there in the
classpath.. Please help.. need some inputs asap L

 

2010-10-25 17:24:57,652 (RMI TCP Connection(4)-10.5.73.90) [
ServiceDispatcher.java:506:ERROR] 

 exception report
--

Service [updateScanResultTest] threw an unexpected exception/error

Exception: org.ofbiz.service.GenericServiceException

Message: Cannot find service [updateScanResultTest] location class
(com.pci.services.ASVEngineService )

 cause
-

Exception: java.lang.ClassNotFoundException

Message: com.pci.services.ASVEngineService 

 stack trace
---

java.lang.ClassNotFoundException: com.pci.services.ASVEngineService 

java.net.URLClassLoader$1.run(URLClassLoader.java:200)

java.security.AccessController.doPrivileged(Native Method)

java.net.URLClassLoader.findClass(URLClassLoader.java:188)

 

Following are the configurations

 

Services.xml



add the scan details to the database



   



 

Ofbiz-container.xml























 

 

Calling Client

 

package com.pci.test;

 

import java.net.MalformedURLException;

import java.rmi.Naming;

import java.rmi.NotBoundException;

import java.rmi.RemoteException;

import java.util.Map;

 

import org.ofbiz.base.util.UtilMisc;

import org.ofbiz.service.GenericServiceException;

import org.ofbiz.service.rmi.RemoteDispatcher;

 

public class CallingOfbizService 

{

  public static void main(String str[])

  {

String endpoint;

try{

  endpoint = "rmi://127.0.0.1:1099/RMIDispatcher";

  RemoteDispatcher remoteDisp = (RemoteDispatcher)
Naming.lookup(endpoint);

  Map result =
remoteDisp.runSync("updateScanResultTest", UtilMisc.toMap("scanResult",
"Hello"));

}catch (MalformedURLException e2) {

  e2.printStackTrace();

} catch (RemoteException e3) {

  e3.printStackTrace();

} catch (NotBoundException e) {

  e.printStackTrace();

} catch (GenericServiceException e) {

  e.printStackTrace();

}

  }

}

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Issue with Service Invoked though RMIDispatcher

2010-10-25 Thread Deepa Priolkar
Hi,

 

I am trying to call a service through RMI,  I am getting exception
related to marshaling,

 

java.rmi.UnmarshalException: Error unmarshaling return; nested exception
is: 

  java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: org.ofbiz.service.ModelNotification

  at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:217
)

  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)

  at
java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteO
bjectInvocationHandler.java:179)

  at
java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocat
ionHandler.java:132)

  at $Proxy0.runSync(Unknown Source)

  at
com.pci.test.CallingOfbizService.main(CallingOfbizService.java:21)

Caused by: java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException: org.ofbiz.service.ModelNotification

  at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1303)

  at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

  at javolution.util.FastList.readObject(Unknown Source)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

  at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

  at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713
)

  at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

  at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)

  at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

  at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713
)

  at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

  at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)

  at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

  at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713
)

  at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

  at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

  at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215
)

  ... 5 more

Caused by: java.io.NotSerializableException:
org.ofbiz.service.ModelNotification

  at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)

  at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)

  at javolution.util.FastList.writeObject(Unknown Source)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:585)

  at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)

  at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)

  at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
284)

  at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

  at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
69)

  at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)

  at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
284)

  at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

  at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13
69)

  at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)

  at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1
284)

  at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)

  at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)

  at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:332)

  at sun.rmi.transport.Transport$1.run(Transport.java:153)

  at java.security.AccessController.doPrivileged(Native Method)

  at sun.rmi.transport.Transport.serviceCall(Transport.java:149)

  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)

  at java.lang.Thread.run(Thread.java:595)

 

 

Following are the configurations

Services.xml



add the scan details to the database



   



 

Ofbiz-container.xml










Ofbiz grouping at Entity level

2010-10-25 Thread Deepa Priolkar
Hi,

 

Need help,

 

Is it possible to group at entity level?

 

Thanks,
Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Need your help!

2010-10-19 Thread Deepa Priolkar
I need to invoke a service using the scheduler. How do I
programmatically set the input parameters for my service that would be
invoked using the scheduler. Also it would be great If you could
highlight the api's that needs to be used or any example for the same.

 

Thanks & Regards,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Hosting Service as a Webservice

2010-10-18 Thread Deepa Priolkar
Hi All,

 

I have following service exposed as a Webservice,

 

http://localhost:8080/webtools/control/SOAPService
" invoke="updateScanResultTest">

add the scan details to the database



   



 

Is it possible to configure one of the Input parameter as some
userdefined Object, e.g 

 

http://localhost:8080/webtools/control/SOAPService
" invoke="updateScanResultTest">

add the scan details to the database



   



 

Thanks & Regards,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Some Scenario

2010-10-13 Thread Deepa Priolkar
I have a scenario which is to do the following

The web browser will call the server via ajax.  At the server the system should 
produce a pdf file and store it in the file system.  Next make a database 
update and return some data back to web browser using json

Below is the steps as per my understanding to do the same

· Front end to call a controller entry for a particular request map

· Request map to call a service and do some things and then kick off 
the view map of type ‘screenfop’ to generate pdf. 

· This screen fop is mapped to custom handler based on 
org.ofbiz.widget.screen.ScreenFopViewHandler which has code tweaked to store 
the pdf as file on hard disk and then call another request map entry in the 
controller.xml

· This request map to do the rest of things like update database row 
and then return data in json back to client

Is there a better way to execute the above scenario

Secondly from my customer ScreenFopViewHandler how do I call another request 
map entry in controller.xml.  Will it via RequestDispatcher?


Event Releted Question

2010-10-13 Thread Deepa Priolkar

Can we call multiple services one after another as part of controller 
request-map entry







   







The xsd allows this, but what should the first service return for the second 
event to be called.  And how will this work if the first event is of type 
“simple”

Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Screen Question

2010-10-11 Thread Deepa Priolkar
I have a basic requirement to show certain sections of a web page only to users 
of specific role types.  What is the best way of doing that using ofbiz.  Can 
we include-screen on basis of some role type checks? 
 
Thanks & Regards,
Deepa


query ofbi

2010-10-08 Thread Deepa Priolkar
Hi ,

 

Need some help, want to know how to do sql joins using delegator
methods.

 

Thanks & Regards,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


OFbiz with Ajax (DWR)

2010-10-06 Thread Deepa Priolkar
Hi,

 

Can DWR be integrated with Ofbiz? Is there any sample example for the
same?

 

Thanks & Regards,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Form rendering issue (JBPM Workflow)

2010-09-22 Thread Deepa Priolkar
Hi Shi,

I am facing some issue in rendering the form while starting the JBPM task.
In the source code it has lot of garbage getting appended to the form. Please 
help.

I have attached the snapshot for the same, please help.

Regards,
Deepa


RE: Ofbiz WorkFlow Engine

2010-09-21 Thread Deepa Priolkar
Thanks a lot Shi

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn] 
Sent: Tuesday, September 21, 2010 3:55 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Done. UI labels are in config/JBPMUiLabels.properties.

在 2010-09-19日的 22:35 +0530,Deepa Priolkar写道:
> Thanks Shi, I have successful done with the integration :) 
> 
> Need one more favor from you, all the text is coming in Chinese :( can you 
> please help me translate the same in English? if you can send me the updated 
> ftl file it will help me alot. Thanks in advance.
> 
> Thanks & Regards,
> Deepa
> 
> 
> -Original Message-
> From: Shi Jinghai [mailto:sh...@langhua.cn]
> Sent: Sun 9/19/2010 4:14 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
>  
> Bug, now fixed. Please update the source code and rebuild.
> 
> Good luck,
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
> 
> ? 2010-09-16?? 16:16 +0530,Deepa Priolkar??:
> > Hi Shi,
> > 
> >  
> > 
> > I have build the sample.process zip file. But it does not have the 
> > productdefination.xml file. I am totally new to Maven script, I am using 
> > the same script which you had provided not sure how to edit that file to 
> > add the productdefination.xml
> > 
> >  
> > 
> > As of now it has only 
> > 
> > Pom.xml 
> > 
> > Pom.properties
> > 
> > MANIFEST.MF
> > 
> > OfBizJBPMSample.class
> > 
> >  
> > 
> > If I try to upload the same zip I am getting error, Please advice.
> > 
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> > [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: 
> > org.ofbiz.base.util.GeneralException: Error running BSH script at location 
> > [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] 
> > (Error running BSH script at 
> > [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
> > [34]: Sourced file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > Method Invocation upload.actionCommit : at Line: 34 : in file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
> > processdefinition.xml inside process archive]
> > 
> > (Sourced file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > Method Invocation upload.actionCommit)) (Error running BSH script at 
> > location 
> > [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] 
> > (Error running BSH script at 
> > [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
> > [34]: Sourced file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > Method Invocation upload.actionCommit : at Line: 34 : in file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > upload .actionCommit ( request ) 
> > 
> >  
> > 
> > Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
> > processdefinition.xml inside process archive]
> > 
> > (Sourced file: 
> > component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : 
> > Method Invocation upload.actionCommit)))
> > 
> >  
> > 
> > Thanks & Regards,
> > 
> > Deepa
> > 
> >  
> > 
> > 
> > 
> > -Original Message-
> > From: Shi Jinghai [mailto:sh...@langhua.cn] 
> > Sent: Wednesday, September 15, 2010 2:43 AM
> > To: user@ofbiz.apache.org
> > Subject: RE: Ofbiz WorkFlow Engine
> > 
> >  
> > 
> > Hi Deepa,
> > 
> >  
> > 
> > Edit the project pom.xml, make processes module available, and run maven
> > 
> > package, the sample.process will be built under processes/target/
> > 
> >   
> > 
> > 
> > 
> > processes
> > 
> >   
> > 
> >  
> > 
> > Good luck,
> > 
> >  
> > 
> > Shi Jinghai/Beijing Langhua Ltd.
> > 
> >  
> > 
> > ? 2010-09-15?? 02:00 +0530,Deepa Priolkar??:
> > 
> > > Thanks Shi.. I have done the integration, but one query regarding the 
> > > process definition.
> > 
> > > In one of the step its mentioned to create the "sample.process" and 
> > > upload it.. I did not catch up on how to create this file..tried all the 
> &g

RE: Ofbiz WorkFlow Engine

2010-09-19 Thread Deepa Priolkar
Thanks Shi, I have successful done with the integration :) 

Need one more favor from you, all the text is coming in Chinese :( can you 
please help me translate the same in English? if you can send me the updated 
ftl file it will help me alot. Thanks in advance.

Thanks & Regards,
Deepa


-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Sun 9/19/2010 4:14 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Bug, now fixed. Please update the source code and rebuild.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-16?? 16:16 +0530,Deepa Priolkar??:
> Hi Shi,
> 
>  
> 
> I have build the sample.process zip file. But it does not have the 
> productdefination.xml file. I am totally new to Maven script, I am using the 
> same script which you had provided not sure how to edit that file to add the 
> productdefination.xml
> 
>  
> 
> As of now it has only 
> 
> Pom.xml 
> 
> Pom.properties
> 
> MANIFEST.MF
> 
> OfBizJBPMSample.class
> 
>  
> 
> If I try to upload the same zip I am getting error, Please advice.
> 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://jbpm/widget/JbpmScreens.xml#uploadProcess]: 
> org.ofbiz.base.util.GeneralException: Error running BSH script at location 
> [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error 
> running BSH script at 
> [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
> [34]: Sourced file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
> Invocation upload.actionCommit : at Line: 34 : in file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload 
> .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
> processdefinition.xml inside process archive]
> 
> (Sourced file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
> Invocation upload.actionCommit)) (Error running BSH script at location 
> [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error 
> running BSH script at 
> [component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
> [34]: Sourced file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
> Invocation upload.actionCommit : at Line: 34 : in file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload 
> .actionCommit ( request ) 
> 
>  
> 
> Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
> processdefinition.xml inside process archive]
> 
> (Sourced file: 
> component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
> Invocation upload.actionCommit)))
> 
>  
> 
> Thanks & Regards,
> 
> Deepa
> 
>  
> 
> 
> 
> -Original Message-
> From: Shi Jinghai [mailto:sh...@langhua.cn] 
> Sent: Wednesday, September 15, 2010 2:43 AM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
>  
> 
> Hi Deepa,
> 
>  
> 
> Edit the project pom.xml, make processes module available, and run maven
> 
> package, the sample.process will be built under processes/target/
> 
>   
> 
> 
> 
> processes
> 
>   
> 
>  
> 
> Good luck,
> 
>  
> 
> Shi Jinghai/Beijing Langhua Ltd.
> 
>  
> 
> ? 2010-09-15?? 02:00 +0530,Deepa Priolkar??:
> 
> > Thanks Shi.. I have done the integration, but one query regarding the 
> > process definition.
> 
> > In one of the step its mentioned to create the "sample.process" and upload 
> > it.. I did not catch up on how to create this file..tried all the scripts 
> > but no luck..please advice.
> 
> > 
> 
> > Regards,
> 
> > Deepa
> 
> > 
> 
> > 
> 
> > -Original Message-
> 
> > From: Shi Jinghai [mailto:sh...@langhua.cn]
> 
> > Sent: Mon 9/13/2010 3:06 PM
> 
> > To: user@ofbiz.apache.org
> 
> > Subject: RE: Ofbiz WorkFlow Engine
> 
> >  
> 
> > Hi Deepa,
> 
> > 
> 
> > The ofbiz-jbpm component is developed in maven style. We use eclipse +
> 
> > iam as our standard develop tool.
> 
> > 
> 
> > You can find the built components in our maven repository:
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/
> 
> > 
> 
> > http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/
> 
> > 
> 
> > Download the zip files and unzip them to your ofbiz, rebuild (I changed
> 
> > the String

RE: Ofbiz WorkFlow Engine

2010-09-16 Thread Deepa Priolkar
Hi Shi,

 

I have build the sample.process zip file. But it does not have the 
productdefination.xml file. I am totally new to Maven script, I am using the 
same script which you had provided not sure how to edit that file to add the 
productdefination.xml

 

As of now it has only 

Pom.xml 

Pom.properties

MANIFEST.MF

OfBizJBPMSample.class

 

If I try to upload the same zip I am getting error, Please advice.

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://jbpm/widget/JbpmScreens.xml#uploadProcess]: 
org.ofbiz.base.util.GeneralException: Error running BSH script at location 
[component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error 
running BSH script at 
[component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
[34]: Sourced file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
Invocation upload.actionCommit : at Line: 34 : in file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload 
.actionCommit ( request ) 

 

Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
processdefinition.xml inside process archive]

(Sourced file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
Invocation upload.actionCommit)) (Error running BSH script at location 
[component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh] (Error 
running BSH script at 
[component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh], line 
[34]: Sourced file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
Invocation upload.actionCommit : at Line: 34 : in file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : upload 
.actionCommit ( request ) 

 

Target exception: org.jbpm.jpdl.JpdlException: [[ERROR] no 
processdefinition.xml inside process archive]

(Sourced file: 
component://jbpm/webapp/jbpm/WEB-INF/actions/jbpm/uploadProcess.bsh : Method 
Invocation upload.actionCommit)))

 

Thanks & Regards,

Deepa

 

 

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn] 
Sent: Wednesday, September 15, 2010 2:43 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

 

Hi Deepa,

 

Edit the project pom.xml, make processes module available, and run maven

package, the sample.process will be built under processes/target/

  



processes

  

 

Good luck,

 

Shi Jinghai/Beijing Langhua Ltd.

 

在 2010-09-15三的 02:00 +0530,Deepa Priolkar写道:

> Thanks Shi.. I have done the integration, but one query regarding the process 
> definition.

> In one of the step its mentioned to create the "sample.process" and upload 
> it.. I did not catch up on how to create this file..tried all the scripts but 
> no luck..please advice.

> 

> Regards,

> Deepa

> 

> 

> -Original Message-

> From: Shi Jinghai [mailto:sh...@langhua.cn]

> Sent: Mon 9/13/2010 3:06 PM

> To: user@ofbiz.apache.org

> Subject: RE: Ofbiz WorkFlow Engine

>  

> Hi Deepa,

> 

> The ofbiz-jbpm component is developed in maven style. We use eclipse +

> iam as our standard develop tool.

> 

> You can find the built components in our maven repository:

> http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

> 

> http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

> 

> Download the zip files and unzip them to your ofbiz, rebuild (I changed

> the StringUtil.java to make it work for iframe in htmlreport), add the 2

> components to component-load.xml, config

> ${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your

> database and restart ofbiz, that's all. The jbpm tables will be created

> automatically during startup.

> 

> The htmlreport is a tool to show the procedures of importing jbpm

> process file and etc in web browser. There's demos in the component. You

> can remove it from your tool bar if it works.

> 

> Good luck,

> 

> Shi Jinghai/Beijing Langhua Ltd.

> 

> 

> ? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:

> > can someone tell me how to create table in the derby database?

> > 

> > 

> > 

> > From: Deepa Priolkar [mailto:dee...@techmahindra.com]

> > Sent: Sun 9/12/2010 10:25 PM

> > To: user@ofbiz.apache.org

> > Subject: RE: Ofbiz WorkFlow Engine

> > 

> > 

> > 

> > Hi,

> > 

> > I was able to solve the issue related to the database configuration, but 
> > looks like now i am totally stuck..

> > 

> > When i am trying to start the server, i am getting following error, Please 
> > help..

> > 

> > 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
> > SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

&

RE: Ofbiz WorkFlow Engine

2010-09-16 Thread Deepa Priolkar
Ignore this question, this is fixed now :) 

-Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com] 
Sent: Wednesday, September 15, 2010 4:17 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Hi,

I am facing one issue while inserting data into the JBPM_USER_ID table, here 
the ID is auto_increment and primary key..but the JBPM workflow tries to 
programmatically enter value against this column, because of which I am getting 
the error.. Please help.

2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [
AbstractBatcher.java:346:DEBUG] insert into JBPM_ID_USER (NAME_, EMAIL_, 
PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [
AbstractBatcher.java:424:TRACE] preparing statement
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:63 
:DEBUG] could not insert: [org.jbpm.identity.User] [insert into JBPM_ID_USER 
(NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)]
java.sql.SQLException: Attempt to modify an identity column 'ID_'. 
at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
Source)

-----Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com] 
Sent: Tuesday, September 14, 2010 11:55 AM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Also one more concern, when i am starting the server i am seeing some more 
error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not 
have the CodeVisitor class, and i cannot include the older version because it 
does not have many other classes used by Groovy.. please suggest how we can 
resolve this error.. cos two versions of asm cannot exists in one workspace it 
clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) 
[CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: 
org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
at 
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
at 
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the 
JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I 
am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I 
have created all the tables as mentioned in the create.sql.. please note that i 
am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 
:ERROR] 
Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
The problematic instruction:
--
==> assignment: 
processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin)
 [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
--

Java backtrace for programmers:
--
freemarker.template.TemplateModelException: Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.la

RE: Ofbiz WorkFlow Engine

2010-09-15 Thread Deepa Priolkar
Hi,

I am facing one issue while inserting data into the JBPM_USER_ID table, here 
the ID is auto_increment and primary key..but the JBPM workflow tries to 
programmatically enter value against this column, because of which I am getting 
the error.. Please help.

2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [
AbstractBatcher.java:346:DEBUG] insert into JBPM_ID_USER (NAME_, EMAIL_, 
PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [
AbstractBatcher.java:424:TRACE] preparing statement
2010-09-15 15:13:20,208 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:63 
:DEBUG] could not insert: [org.jbpm.identity.User] [insert into JBPM_ID_USER 
(NAME_, EMAIL_, PASSWORD_, CLASS_, ID_) values (?, ?, ?, 'U', ?)]
java.sql.SQLException: Attempt to modify an identity column 'ID_'. 
at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
Source)

-----Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com] 
Sent: Tuesday, September 14, 2010 11:55 AM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

Also one more concern, when i am starting the server i am seeing some more 
error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not 
have the CodeVisitor class, and i cannot include the older version because it 
does not have many other classes used by Groovy.. please suggest how we can 
resolve this error.. cos two versions of asm cannot exists in one workspace it 
clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) 
[CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: 
org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
at 
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
at 
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-----Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the 
JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I 
am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I 
have created all the tables as mentioned in the create.sql.. please note that i 
am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 
:ERROR] 
Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
The problematic instruction:
--
==> assignment: 
processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin)
 [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
--

Java backtrace for programmers:
--
freemarker.template.TemplateModelException: Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for 

RE: Ofbiz WorkFlow Engine

2010-09-14 Thread Deepa Priolkar
Thanks Shi.. I have done the integration, but one query regarding the process 
definition.
In one of the step its mentioned to create the "sample.process" and upload it.. 
I did not catch up on how to create this file..tried all the scripts but no 
luck..please advice.

Regards,
Deepa


-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> ________
> 
> From: Deepa Priolkar [mailto:dee...@techmahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but 
> looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please 
> help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
> SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 
> :WARN ] SQL Error: 2, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 
> :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 
> :WARN ] SQL Warning: 1, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 
> :WARN ] Database 'ofbiz' not created, connection made to existing database 
> instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN 
> ] SQL Error: 2, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 
> :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] 
> org.hibernate.exception.SQLGrammarException: could not execute query using 
> iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 
> :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query 
> using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] 
> runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> 
> 
> From: Deepa Priolkar [mailto:dee...@techmahindra.com]
> Sent: Sun 9/12/2010 8:41 PM
> To: user@ofbiz.apache.org; user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I forgot to mention that i am getting error after doing the configuration 
> mentioned in my last mail,
> 
> snippet from the logs
> 
> 2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 
> :FATAL] Could not find datasource: java:comp/env/jBPM_DS
> javax.naming.NamingException: Could not create resource factory instance 
> [Root exception is java.lang.InstantiationException: 
> org.ofbiz.entity.datasource.GenericHelperDAO]
> at 
> org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
> at 
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
> at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
> at org.apache.naming.Naming

Ofbiz entity Details

2010-09-14 Thread Deepa Priolkar
Hi,

I am trying to understand the basic entity mapping in ofbiz, does anyone here 
got the latest ofbiz entity schema details?
Please let me know.. 

Thanks & Regards,
Deepa


RE: Ofbiz WorkFlow Engine

2010-09-13 Thread Deepa Priolkar
Also one more concern, when i am starting the server i am seeing some more 
error. this error is due to the asm.jar. Ofbiz has asm2.2.jar which does not 
have the CodeVisitor class, and i cannot include the older version because it 
does not have many other classes used by Groovy.. please suggest how we can 
resolve this error.. cos two versions of asm cannot exists in one workspace it 
clashes...

2010-09-14 11:54:46,453 (JbpmCommandExecutor) 
[CGLIBLazyInitializer.java:130:ERROR] CGLIB Enhancement failed: 
org.jbpm.taskmgmt.log.TaskAssignLog
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
at 
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
at 
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

Regards,
Deepa
-Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Tue 9/14/2010 11:45 AM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Thanks Shi... i have done the necessary configurations in my workspace for the 
JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I 
am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I 
have created all the tables as mentioned in the create.sql.. please note that i 
am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 
:ERROR] 
Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
The problematic instruction:
--
==> assignment: 
processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin)
 [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
--

Java backtrace for programmers:
--
freemarker.template.TemplateModelException: Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> 
> 
> From: Deepa Priolkar [mailto:dee...@techmahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but 
> looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please 
> help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
> SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 
> :WARN ] SQL Error: 2, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 
> :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 
> :WARN ] SQL Warning: 1, SQLState: 01J01
> 

RE: Ofbiz WorkFlow Engine

2010-09-13 Thread Deepa Priolkar

Thanks Shi... i have done the necessary configurations in my workspace for the 
JBPM integration as adviced below.

However when i am trying to run the application, on clicking "New WorkFlow" I 
am getting table/view "HIBERNATE_UNIQUE_KEY" not found error in the logs. I 
have created all the tables as mentioned in the create.sql.. please note that i 
am using derby database.. Please advice.. 

2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'HIBERNATE_UNIQUE_KEY' does not exist.
2010-09-14 11:42:47,328 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 
:ERROR] 
Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
The problematic instruction:
--
==> assignment: 
processList=Static["org.langhua.ofbiz.jbpm.OFBizNewProcessInstance"].getWorkflowOptions(delegator,userLogin)
 [on line 19, column 1 in component://jbpm/webapp/jbpm/jbpm/newWorkflow.ftl]
--

Java backtrace for programmers:
--
freemarker.template.TemplateModelException: Method public static java.util.List 
org.langhua.ofbiz.jbpm.OFBizNewProcessInstance.getWorkflowOptions(org.ofbiz.entity.GenericDelegator,org.ofbiz.entity.GenericValue)
 threw an exception
at 
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:125)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

Regards,
Deepa

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn]
Sent: Mon 9/13/2010 3:06 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 
Hi Deepa,

The ofbiz-jbpm component is developed in maven style. We use eclipse +
iam as our standard develop tool.

You can find the built components in our maven repository:
http://maven2.langhua.org/public/ofbiz/ofbiz-htmlreport/09.04/

http://maven2.langhua.org/public/ofbiz/ofbiz-jbpm-core/09.04/

Download the zip files and unzip them to your ofbiz, rebuild (I changed
the StringUtil.java to make it work for iframe in htmlreport), add the 2
components to component-load.xml, config
${your_ofbiz_home}/runtime/catalina/conf/context.xml to fit your
database and restart ofbiz, that's all. The jbpm tables will be created
automatically during startup.

The htmlreport is a tool to show the procedures of importing jbpm
process file and etc in web browser. There's demos in the component. You
can remove it from your tool bar if it works.

Good luck,

Shi Jinghai/Beijing Langhua Ltd.


? 2010-09-12?? 22:29 +0530,Deepa Priolkar??:
> can someone tell me how to create table in the derby database?
> 
> 
> 
> From: Deepa Priolkar [mailto:dee...@techmahindra.com]
> Sent: Sun 9/12/2010 10:25 PM
> To: user@ofbiz.apache.org
> Subject: RE: Ofbiz WorkFlow Engine
> 
> 
> 
> Hi,
> 
> I was able to solve the issue related to the database configuration, but 
> looks like now i am totally stuck..
> 
> When i am trying to start the server, i am getting following error, Please 
> help..
> 
> 2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
> SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 
> :WARN ] SQL Error: 2, SQLState: 42X05
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 
> :ERROR] Table/View 'JBPM_MESSAGE' does not exist.
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 
> :WARN ] SQL Warning: 1, SQLState: 01J01
> 
> 2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 
> :WARN ] Database 'ofbiz' not created, connection made to existing database 
> instead.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN 
> ] SQL Error: 2, SQLState: 42X05
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 
> :ERROR] Table/View 'JBPM_TIMER' does not exist.
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] 
> org.hibernate.exception.SQLGrammarException: could not execute query using 
> iterate
> 
> 2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 
> :ERROR] org.hibernate.exception.SQLGrammarException: could not execute query 
> using iterate
> 
> 2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] 
> runtime exception while executing timers
> 
> org.jbpm.JbpmException: couldn't find timers from the database
> 
> at org.jbpm.db.
> 
> 
> 
> 
> 
> From: Deepa P

RE: Ofbiz WorkFlow Engine

2010-09-12 Thread Deepa Priolkar
can someone tell me how to create table in the derby database?



From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Sun 9/12/2010 10:25 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I was able to solve the issue related to the database configuration, but looks 
like now i am totally stuck..

When i am trying to start the server, i am getting following error, Please 
help..

2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 
:WARN ] SQL Error: 2, SQLState: 42X05

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'JBPM_MESSAGE' does not exist.

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 
:WARN ] SQL Warning: 1, SQLState: 01J01

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 
:WARN ] Database 'ofbiz' not created, connection made to existing database 
instead.

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] 
SQL Error: 2, SQLState: 42X05

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] 
Table/View 'JBPM_TIMER' does not exist.

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] 
org.hibernate.exception.SQLGrammarException: could not execute query using 
iterate

2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 
:ERROR] org.hibernate.exception.SQLGrammarException: could not execute query 
using iterate

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] 
runtime exception while executing timers

org.jbpm.JbpmException: couldn't find timers from the database

at org.jbpm.db.



____

From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Sun 9/12/2010 8:41 PM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I forgot to mention that i am getting error after doing the configuration 
mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 
:FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root 
exception is java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO]
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
at 
org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF

RE: Ofbiz WorkFlow Engine

2010-09-12 Thread Deepa Priolkar
Hi,
 
I was able to solve the issue related to the database configuration, but looks 
like now i am totally stuck..
 
When i am trying to start the server, i am getting following error, Please 
help..
 
2010-09-12 22:22:26,218 (JbpmCommandExecutor) [ 
SessionFactoryImpl.java:373:INFO ] Checking 0 named SQL queries

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:71 
:WARN ] SQL Error: 2, SQLState: 42X05

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:72 
:ERROR] Table/View 'JBPM_MESSAGE' does not exist.

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:48 
:WARN ] SQL Warning: 1, SQLState: 01J01

2010-09-12 22:22:26,296 (JbpmCommandExecutor) [JDBCExceptionReporter.java:49 
:WARN ] Database 'ofbiz' not created, connection made to existing database 
instead.

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:71 :WARN ] 
SQL Error: 2, SQLState: 42X05

2010-09-12 22:22:26,328 (JbpmScheduler) [JDBCExceptionReporter.java:72 :ERROR] 
Table/View 'JBPM_TIMER' does not exist.

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerSession.java:86 :ERROR] 
org.hibernate.exception.SQLGrammarException: could not execute query using 
iterate

2010-09-12 22:22:26,328 (JbpmCommandExecutor) [CommandExecutorThread.java:88 
:ERROR] org.hibernate.exception.SQLGrammarException: could not execute query 
using iterate

2010-09-12 22:22:26,328 (JbpmScheduler) [ SchedulerThread.java:79 :INFO ] 
runtime exception while executing timers

org.jbpm.JbpmException: couldn't find timers from the database

at org.jbpm.db.



____

From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Sun 9/12/2010 8:41 PM
To: user@ofbiz.apache.org; user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine



Hi,

I forgot to mention that i am getting error after doing the configuration 
mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 
:FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root 
exception is java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO]
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
at 
org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
... 23 more

-----Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Sun 9/12/2010 8:37 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine


Hi,

Need some help in JBPM integration, I h

RE: Ofbiz WorkFlow Engine

2010-09-12 Thread Deepa Priolkar
Hi,

I forgot to mention that i am getting error after doing the configuration 
mentioned in my last mail,

snippet from the logs

2010-09-12 20:23:29,953 (JbpmScheduler) [DatasourceConnectionProvider.java:55 
:FATAL] Could not find datasource: java:comp/env/jBPM_DS
javax.naming.NamingException: Could not create resource factory instance [Root 
exception is java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO]
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
at 
org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:245)
at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
Caused by: java.lang.InstantiationException: 
org.ofbiz.entity.datasource.GenericHelperDAO
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at 
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:98)
... 23 more

-Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com]
Sent: Sun 9/12/2010 8:37 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine
 

Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the 
link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml 
(runtime/catalina/conf/context.xml)
   



Please let me know what else i need to configure.. I have configured the 
hibernate.cfg.xml also

 org.hibernate.dialect.DerbyDialect
java:comp/env/jBPM_DS

Regards,
Deepa


-Original Message-
From: jvander...@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? P

RE: Ofbiz WorkFlow Engine

2010-09-12 Thread Deepa Priolkar

Hi,

Need some help in JBPM integration, I have followed the steps mentioned in the 
link given below.

Now for the database i want to use derby instead of MySQL...
I have configured following in the context.xml 
(runtime/catalina/conf/context.xml)
   



Please let me know what else i need to configure.. I have configured the 
hibernate.cfg.xml also

 org.hibernate.dialect.DerbyDialect
java:comp/env/jBPM_DS

Regards,
Deepa


-Original Message-
From: jvander...@stromboli.it on behalf of Jeroen van der Wal
Sent: Thu 9/9/2010 5:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
There's SVn access available. Instructions here:
http://www.langhua.cn/download/ofbiz-jbpm.html

-Jeroen

On Thu, Sep 9, 2010 at 1:24 PM, Deepa Priolkar wrote:

> Hi Shi,
>
> Can you please help me to download the code from the location mentioned
> below? I tried FTP it did not work. Please advice.
>
>
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té "ï¼s
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -Original Message-
> >> From: varun bhansaly [mailto:vbhans...@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -Original Message-
> >>> From: varun bhansaly [mailto:vbhans...@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> 
> >>> Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech 

RE: Ofbiz WorkFlow Engine

2010-09-11 Thread Deepa Priolkar
Hi Shi,

I have checked out the code for the JBPM from the svn, had some queries 
regarding integrating the same with ofbiz.

in one of the steps that is mentioned is 
to Run ofbiz.copy in ??project OFBiz-jBPM and ?OFBiz-HtmlReport, the two 
components will be deployed to ${ofbiz.home}/specialpurpose/jbpm/and 
?${ofbiz.home}/specialpurpose/htmlreport/.

Now here i did not find any script with the name ofbiz.copy, so should i copy 
paste the two projects in specialpurpose manually? 

Regards,
Deepa

-Original Message-
From: BJ Freeman [mailto:bjf...@free-man.net]
Sent: Thu 9/9/2010 6:59 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine
 
was able to connect and got to
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/trunk/

=
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shi Jinghai sent the following on 9/9/2010 6:09 AM:
> oh, my fault.
> svn:
> http://langhua.org/opensource/ofbiz/ofbiz-jbpm/
>
> viewvc:
> http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/
>
>
> ? 2010-09-09?? 16:54 +0530,Deepa Priolkar??:
>> Hi Shi,
>>
>> Can you please help me to download the code from the location mentioned 
>> below? I tried FTP it did not work. Please advice.
>>
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> åo¨ 2010-09-07äºOçs" 14:47 +0530ï¼ODeepa Priolkarå?Té"ï¼s
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -Original Message-
>>>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -Original Message-
>>>>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some help to know if we have any workflow integrated in ofbiz
>>>>> 9.04
>>>>>> version?
>>>>>>
>>>>>> if we already have the workflow is it using xpdl? Is it Shark
>>>>> workflow?
>

RE: Ofbiz WorkFlow Engine

2010-09-09 Thread Deepa Priolkar
Hi,

Tried connecting to the SVN, got following error

RA layer request failed
svn: OPTIONS of 'http://langhua.org/opensource/ofbiz/ofbiz-jbpm': could not 
connect to server (http://langhua.org)

-Original Message-
From: Shi Jinghai [mailto:sh...@langhua.cn] 
Sent: Thursday, September 09, 2010 6:39 PM
To: user@ofbiz.apache.org
Subject: RE: Ofbiz WorkFlow Engine

oh, my fault.
svn:
http://langhua.org/opensource/ofbiz/ofbiz-jbpm/

viewvc:
http://langhua.org/viewvc/opensource/ofbiz/ofbiz-jbpm/


在 2010-09-09四的 16:54 +0530,Deepa Priolkar写道:
> Hi Shi,
> 
> Can you please help me to download the code from the location mentioned 
> below? I tried FTP it did not work. Please advice.
> 
> 
> On 9/7/10 5:51 AM, Shi Jinghai wrote:
> > Here is a OFBiz-jBPM component:
> > http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> > 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
> >
> > As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> > of jBPM.
> >
> > OSWorkflow can also work with OFBiz.
> >
> > Personally I like jBPM.
> >
> > Regards,
> >
> > Shi Jinghai/Beijing Langhua Ltd.
> >
> >
> > 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
> >> Hi Varun,
> >>
> >> Yes I am looking for something similar to JBPM, not fullfledge but
> >> atleast it should have the configuration through XML (similar to Shark).
> >> Do we have something like this in Ofbiz integrated? If not, then has
> >> anyone integrated any webflows in Ofbiz? Please let me know..
> >>
> >> Regards,
> >> Deepa
> >>
> >> -Original Message-
> >> From: varun bhansaly [mailto:vbhans...@gmail.com]
> >> Sent: Tuesday, September 07, 2010 1:38 PM
> >> To: user@ofbiz.apache.org
> >> Subject: Re: Ofbiz WorkFlow Engine
> >>
> >> Hi Deepa,
> >> Are you looking at something like designing the process flow, for eg as
> >> in
> >> jBPM workflow engine&  the process designer ?
> >> Though processes could be implemented using SECAs, EECAs etc.
> >>
> >>
> >> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
> >> wrote:
> >>
> >>> Thanks Varun for replying.. I have checked this link but its talking
> >>> about XPDL which actually comes with Shark implementation and in the
> >>> same link they have mentioned that Shark is not yet implemented in
> >>> Ofbiz. The alternative is event based. SO does this mean we don't have
> >>> workflow definition type of design in Ofbiz as of now other then the
> >>> events?
> >>>
> >>> Thanks,
> >>> Deepa
> >>>
> >>> -Original Message-
> >>> From: varun bhansaly [mailto:vbhans...@gmail.com]
> >>> Sent: Monday, September 06, 2010 9:57 PM
> >>> To: user@ofbiz.apache.org
> >>> Subject: Re: Ofbiz WorkFlow Engine
> >>>
> >>> Hi,
> >>> This document might help http://ofbiz.apache.org/docs/workflow.html
> >>>
> >>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> >>> wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>>
> >>>>
> >>>> Need some help to know if we have any workflow integrated in ofbiz
> >>> 9.04
> >>>> version?
> >>>>
> >>>> if we already have the workflow is it using xpdl? Is it Shark
> >>> workflow?
> >>>> Please let me know.. need this urgently before i start designing for
> >>> one
> >>>> of my requirement.
> >>>>
> >>>>
> >>>>
> >>>> Appreciate your help.
> >>>>
> >>>>
> >>>> Thanks&  Regards,
> >>>>
> >>>> Deepa
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >> 
> >>> Disclaimer:
> >>>>   This message and the information contained herein is proprietary
> >> and
> >>>> confidential and subject to the Tech Mahindra policy stateme

RE: Ofbiz WorkFlow Engine

2010-09-09 Thread Deepa Priolkar
Hi Shi,

Can you please help me to download the code from the location mentioned below? 
I tried FTP it did not work. Please advice.


On 9/7/10 5:51 AM, Shi Jinghai wrote:
> Here is a OFBiz-jBPM component:
> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>
> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
> of jBPM.
>
> OSWorkflow can also work with OFBiz.
>
> Personally I like jBPM.
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
>
> 在 2010-09-07二的 14:47 +0530,Deepa Priolkar写道:
>> Hi Varun,
>>
>> Yes I am looking for something similar to JBPM, not fullfledge but
>> atleast it should have the configuration through XML (similar to Shark).
>> Do we have something like this in Ofbiz integrated? If not, then has
>> anyone integrated any webflows in Ofbiz? Please let me know..
>>
>> Regards,
>> Deepa
>>
>> -Original Message-
>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>> Sent: Tuesday, September 07, 2010 1:38 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: Ofbiz WorkFlow Engine
>>
>> Hi Deepa,
>> Are you looking at something like designing the process flow, for eg as
>> in
>> jBPM workflow engine&  the process designer ?
>> Though processes could be implemented using SECAs, EECAs etc.
>>
>>
>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>> wrote:
>>
>>> Thanks Varun for replying.. I have checked this link but its talking
>>> about XPDL which actually comes with Shark implementation and in the
>>> same link they have mentioned that Shark is not yet implemented in
>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>> workflow definition type of design in Ofbiz as of now other then the
>>> events?
>>>
>>> Thanks,
>>> Deepa
>>>
>>> -Original Message-
>>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>>> Sent: Monday, September 06, 2010 9:57 PM
>>> To: user@ofbiz.apache.org
>>> Subject: Re: Ofbiz WorkFlow Engine
>>>
>>> Hi,
>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>
>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> Need some help to know if we have any workflow integrated in ofbiz
>>> 9.04
>>>> version?
>>>>
>>>> if we already have the workflow is it using xpdl? Is it Shark
>>> workflow?
>>>> Please let me know.. need this urgently before i start designing for
>>> one
>>>> of my requirement.
>>>>
>>>>
>>>>
>>>> Appreciate your help.
>>>>
>>>>
>>>> Thanks&  Regards,
>>>>
>>>> Deepa
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>> 
>>> Disclaimer:
>>>>   This message and the information contained herein is proprietary
>> and
>>>> confidential and subject to the Tech Mahindra policy statement, you
>>> may
>>>> review the policy at>> href="http://www.techmahindra.com/Disclaimer.html
>>>> ">http://www.techmahindra.com/Disclaimer.html  externally and>> href="
>>>> http://tim.techmahindra.com/Disclaimer.html";>
>>>> http://tim.techmahindra.com/Disclaimer.html  internally within
>> Tech
>> Mahindra.===
>>> =
>>>
>>>
>>> --
>>> Regards,
>>> Varun Bhansaly
>>>
>>>
>> 
>> Disclaimer:
>>>   This message and the information contained herein is proprietary and
>>> confidential and subject to the Tech Mahindra policy statement, you
>> may
>>> review the policy at> href="http://www.techmahindra.com/Disclaimer.html
>>> ">http://www.techmahindra.com/Disclaimer.html  externally and> href="
>>> http://tim.techmahindra.com/Disclaimer.html";>
>>> http://tim.techmahindra.com/Disclaimer.html  internally within Tech
>>>
>> Mahindra.===
>> =
>>
>>
>

Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.

RE: Ofbiz installation tutorial???

2010-09-08 Thread Deepa Priolkar
Hi,

Can you please explain why the screen resolution impacts the rendering
of the product catalog for ecommerce application?

Thanks,
Deepa

-Original Message-
From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] 
Sent: Wednesday, September 08, 2010 9:37 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz installation tutorial???

You should preferably use the ant version packed with OFBiz. Else you
might get bad surprises...

Then use ./ant rather than ant

Jacques

From: "Dan Dodd" 
> MavrickIT,
> 
> I feel your pain.
> I'll assume that this is not a production server but one you are using
to
> learn OFBiz and ubuntu.
> 
> I built an ubuntu server, added svn, ant  and the JDK using the
apt-get
> commands which will put them in the right places. Most of my help came
> from the ubuntu forums which are great. Search the ubuntu forums for
---
> apt-get svn -- and you'll find lots of info. Here's what I did:
> $  sudo apt-get update
> $  sudo apt-get install subversion
> $  sudo apt-get install ant
> $  sudo apt-get install sun-java6-jdk
> 
> And add these lines in your /home/youruserid/.bashrc  near the top.
> #JAVA
> export JAVA_HOME=/usr/bin/java
> 
> Just remember to use the sudo command before other commands as that
causes
> your commands to run as root for any permissions issue.  Like above.
> Then I did the svn co command to get the source.
> 
> INITIAL DOWNLOAD
> $ cd /opt   (I put ofbiz in /opt...)
> $ sudo svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
> this will take awhile but you will have the trunk on a new folder
called
> ofbiz
> $ cd ofbiz
> $ sudo ant run-install
> (about 7m 23s on the old PC I use for ubuntu & OFBiz but 34m on my xp
> laptop)
> This will build your ofbiz.jar file and populate the data
> When it is done run:
> $ sudo ./startofbiz.sh
> This will give a lot of output and end with something like this, when
it
> is ready to try:
> --
> 2009-10-06 06:25:34,806 (main) [ BeanShellContainer.java:101:INFO ]
> NOTICE: BeanShell service ports are not secure. Please protect the
ports
> --
> point your browser to ( if it is on the same computer )
> http://127.0.0.1:8080/ecommerce
> or   https://127.0.0.1:8443/catalog/control/main
> 
> that should work, if not, I'd like to refine it so it does.
> 
> Updating is easy
> $ cd /opt/ofbiz
> $ sudo svn up
> $ sudo ./stopofbiz.sh
> $ sudo ./stopofbiz.sh
> Yes I seem to have to do it twice.
> You can check to see if ofbiz is running with
> $  ps -ef | grep ofbiz
> Which will have the line:
> 
> 
> $ sudo ant
> $ sudo ./startofbiz.sh
> If it has an error in starting , run
> $ sudo ant clean-all run-install
> To get a clean database and reinstall the demo data. Then retry
> $ sudo ./startofbiz.sh
> 
> 
> 
> Dan Dodd
> 
> IHOP-KC
> dand...@ihop.org
> 
> -Original Message-
> From: Ruth Hoffman [mailto:rhoff...@aesolves.com]
> Sent: Monday, October 05, 2009 9:39 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz installation tutorial???
> 
> Hi MavrickIT:
> How about not using "wget" and use the download button from the Wiki.
As
> for version, I suggest the one pointed to by the download button.
Beyond
> that, I can't help you.
> Regards,
> Ruth
> 
> MavrickIT wrote:
>> Hey Hoffman,
>> Thanks for the solid solution. But I am stuck in again.
>> $wget http://build.ofbiz.org/ofbiz-trunk-current.zip or
>> $wget http://build.ofbiz.org/ofbiz-rel9.04-current.zip
>> typing those commands ofbiz.zip is not downloaded anyway.
>> so, have no idea of downloading it. What should be the command
exactly.
> even
>> I tried lw-download something like this. Not working.
>> I find an error 404 not found. like the page cannot be found in any
> browser
>> we see. 404 error means the same.
>> So.. please help me.
>> Thanks
>>
>>
>>
>>
>> Ruth Hoffman-2 wrote:
>>
>>> Hello MavrickIT:
>>> IMHO, take baby steps: Start by downloading a "zip'd" version from
the
>>> wiki, http://build.ofbiz.org and not the Subversion (SVN) package.
The
> 
>>> instructions regarding which download is appropriate given your
>>> situation are confusing at best. I prefer to keep it simple when
> getting
>>> started. A little excerpt from my recent book:
>>>
>>> Currently, if you visit the OFBiz site and decide to download a
>>> version,
>>> you have several options. The easiest thing to do is follow the
big
>>> download button and get the "nightly build". This is a
prepackaged
>>> version
>>> ready to unzip and run. Nightly builds contain everything
necessary
> to
>>> execute the demonstrations discussed in this book. They also
> contain
>>> all
>>> the source code and other artifacts including build scripts that
> are
>>> used to
>>> create the nightly builds. In other words, you get "all that and
> the
>>> source
>>> too"!
>>>
>>> You won't need Tomcat, SVN or Ant to download a nightly build and
get
> up
>>> and running quickly. Simply, create the directory you wish to run
OFBiz
> 

RE: Issue with the ecommerce Catalog

2010-09-08 Thread Deepa Priolkar
Hi All,

I changed the resolution of my monitor and the products starting
coming.. it was really surprising :)

Thanks,
Deepa

-Original Message-
From: Deepa Priolkar [mailto:dee...@techmahindra.com] 
Sent: Wednesday, September 08, 2010 2:17 PM
To: user@ofbiz.apache.org
Subject: Issue with the ecommerce Catalog

Hi,

 

I have recently installed the ofbiz on my machine, I wanted to debug the
ecommerce application of Ofbiz.

For some reason I am not able to see the catalog (the feature catalog is
coming null)

 

I have done the ant run-install, which creates the dummy data for us..
but even after that I am not getting proper catalog.

I tried installing on another machine, there I was able to see the
catalog. Please advice.

 

Thanks,

Deepa



Disclaimer:  This
message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahind
ra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahind
ra.com/Disclaimer.html internally within Tech
Mahindra.===
=

Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Issue with the ecommerce Catalog

2010-09-08 Thread Deepa Priolkar
'DATA_REC_LMB_ULGN' for key (bigal).  The statement has
been rolled back.
 stack trace
---
ERROR 23503: INSERT on table 'DATA_RESOURCE' caused a violation of
foreign key constraint 'DATA_REC_LMB_ULGN' for key (bigal).  The
statement has been rolled back.


-Original Message-
From: BJ Freeman [mailto:bjf...@free-man.net] 
Sent: Wednesday, September 08, 2010 3:25 PM
To: user@ofbiz.apache.org
Subject: Re: Issue with the ecommerce Catalog

only suggestion is to
./ant clean-all
./ant run-install


=
BJ Freeman  <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Deepa Priolkar sent the following on 9/8/2010 2:17 AM:
> Hi,
>
> I Checked all the logs but nowhere its suggesting any issue with the
> installation..
>
>
> -Original Message-
> From: BJ Freeman [mailto:bjf...@free-man.net]
> Sent: Wednesday, September 08, 2010 2:30 PM
> To: user@ofbiz.apache.org
> Subject: Re: Issue with the ecommerce Catalog
>
> also check for compile errors
> =
>
> BJ Freeman
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com<http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
>
>
> BJ Freeman sent the following on 9/8/2010 1:54 AM:
>> sounds like a problem related to the machine.
>> 1)did not get a full download of ofbiz
>> 2)database configuration
>>
>> check the runtime/logs
>>
>> =
>> BJ Freeman<http://bjfreeman.elance.com>
>> Strategic Power Office with Supplier Automation
>> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>> Specialtymarket.com<http://www.specialtymarket.com/>
>> Systems Integrator-- Glad to Assist
>>
>> Chat Y! messenger: bjfr33man
>>
>>
>> Deepa Priolkar sent the following on 9/8/2010 1:47 AM:
>>> Hi,
>>>
>>>
>>>
>>> I have recently installed the ofbiz on my machine, I wanted to debug
> the
>>> ecommerce application of Ofbiz.
>>>
>>> For some reason I am not able to see the catalog (the feature
catalog
> is
>>> coming null)
>>>
>>>
>>>
>>> I have done the ant run-install, which creates the dummy data for
> us..
>>> but even after that I am not getting proper catalog.
>>>
>>> I tried installing on another machine, there I was able to see the
>>> catalog. Please advice.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Deepa
>>>
>>>
>>>
>

> Disclaimer:
>>> This message and the information contained herein is proprietary and
>>> confidential and subject to the Tech Mahindra policy statement, you
>>> may review the policy at>>
>
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahind
> ra.com/Disclaimer.html
>>> externally and>>
>
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahind
> ra.com/Disclaimer.html
>>> internally within Tech
>>>
>
Mahindra.===
> =
>>>
>>>
>>
>>
>
>
>

Disclaimer:  This
message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy athttp://www.techmahindra.com/Disclaimer.html";>http://www.techmahind
ra.com/Disclaimer.html  externally andhttp://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahind
ra.com/Disclaimer.html  internally within Tech
Mahindra.===
=
>


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Issue with the ecommerce Catalog

2010-09-08 Thread Deepa Priolkar
Hi,

I Checked all the logs but nowhere its suggesting any issue with the
installation..


-Original Message-
From: BJ Freeman [mailto:bjf...@free-man.net] 
Sent: Wednesday, September 08, 2010 2:30 PM
To: user@ofbiz.apache.org
Subject: Re: Issue with the ecommerce Catalog

also check for compile errors
=

BJ Freeman
Strategic Power Office with Supplier Automation
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


BJ Freeman sent the following on 9/8/2010 1:54 AM:
> sounds like a problem related to the machine.
> 1)did not get a full download of ofbiz
> 2)database configuration
>
> check the runtime/logs
>
> =
> BJ Freeman <http://bjfreeman.elance.com>
> Strategic Power Office with Supplier Automation
> <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
> Specialtymarket.com <http://www.specialtymarket.com/>
> Systems Integrator-- Glad to Assist
>
> Chat Y! messenger: bjfr33man
>
>
> Deepa Priolkar sent the following on 9/8/2010 1:47 AM:
>> Hi,
>>
>>
>>
>> I have recently installed the ofbiz on my machine, I wanted to debug
the
>> ecommerce application of Ofbiz.
>>
>> For some reason I am not able to see the catalog (the feature catalog
is
>> coming null)
>>
>>
>>
>> I have done the ant run-install, which creates the dummy data for
us..
>> but even after that I am not getting proper catalog.
>>
>> I tried installing on another machine, there I was able to see the
>> catalog. Please advice.
>>
>>
>>
>> Thanks,
>>
>> Deepa
>>
>>
>>

Disclaimer:
>> This message and the information contained herein is proprietary and
>> confidential and subject to the Tech Mahindra policy statement, you
>> may review the policy at>
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahind
ra.com/Disclaimer.html
>> externally and>
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahind
ra.com/Disclaimer.html
>> internally within Tech
>>
Mahindra.===
=
>>
>>
>
>


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Issue with the ecommerce Catalog

2010-09-08 Thread Deepa Priolkar
Hi,

 

I have recently installed the ofbiz on my machine, I wanted to debug the
ecommerce application of Ofbiz.

For some reason I am not able to see the catalog (the feature catalog is
coming null)

 

I have done the ant run-install, which creates the dummy data for us..
but even after that I am not getting proper catalog.

I tried installing on another machine, there I was able to see the
catalog. Please advice.

 

Thanks,

Deepa


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Ofbiz WorkFlow Engine

2010-09-08 Thread Deepa Priolkar
Thanks everyone for the quick replies :) 

-Original Message-
From: Ruth Hoffman [mailto:rhoff...@aesolves.com] 
Sent: Tuesday, September 07, 2010 7:33 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine


  Hi Shi:

Actually, it wasn't me who did that... at least not directly. This was 
an effort I did for a client several years ago. My client may have added 
it back to OSWorkflow but I didn't.

As for the book - well its really up to PACKT. I finished up the final 
draft edits a few weeks ago. PACKT told me that they were getting ready 
to send it off to their publisher last week. I'm not sure what the turn 
around time is. I guess if its not considered too much of an 
advertisement, I'll make an announcement on this list as soon as they 
tell me its ready.

Regards,
Ruth

On 9/7/10 9:40 AM, Shi Jinghai wrote:
> Hi Ruth,
>
> Oh it's you. I saw the code in OSWorkflow on OFBiz integration and
> wonder who did it.
>
> Yes, it's not difficult to do such integration. jBPM is in LGPL, so the
> integration is not be able to contribute into OFBiz.
>
> BTW, I'm eager to read your book, but it's still pre-order. When will it
> come out?
> https://www.packtpub.com/apache-of-biz-cookbook-effective-recipes-for-of-biz/book
>
> Regards,
>
> Shi Jinghai/Beijing Langhua Ltd.
>
> 在 2010-09-07二的 08:46 -0400,Ruth Hoffman写道:
>> Hi Shi:
>> You just reminded me of something I did several years ago: I integrated
>> OSWorkflow w/OFBiz. I did it mainly to test another application that was
>> based on OSWorkflow.
>>
>> Anyhow, I don't recall it being a very difficult task.
>>
>> Regards,
>> Ruth
>>
>> On 9/7/10 5:51 AM, Shi Jinghai wrote:
>>> Here is a OFBiz-jBPM component:
>>> http://langhua.org/portal/portal/default/iframe?pageurl=%2Fviewvc%
>>> 2Fopensource%2Fofbiz%2Fofbiz-jbpm%2F
>>>
>>> As Tom has left jboss and go to Alfresco, I'm not sure what's the future
>>> of jBPM.
>>>
>>> OSWorkflow can also work with OFBiz.
>>>
>>> Personally I like jBPM.
>>>
>>> Regards,
>>>
>>> Shi Jinghai/Beijing Langhua Ltd.
>>>
>>>
>>> 在 2010-09-07二的 14:47 +0530,Deepa Priolkarå†
>>> ™é“:
>>>> Hi Varun,
>>>>
>>>> Yes I am looking for something similar to JBPM, not fullfledge but
>>>> atleast it should have the configuration through XML (similar to Shark).
>>>> Do we have something like this in Ofbiz integrated? If not, then has
>>>> anyone integrated any webflows in Ofbiz? Please let me know..
>>>>
>>>> Regards,
>>>> Deepa
>>>>
>>>> -Original Message-
>>>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>>>> Sent: Tuesday, September 07, 2010 1:38 PM
>>>> To: user@ofbiz.apache.org
>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>
>>>> Hi Deepa,
>>>> Are you looking at something like designing the process flow, for eg as
>>>> in
>>>> jBPM workflow engine&   the process designer ?
>>>> Though processes could be implemented using SECAs, EECAs etc.
>>>>
>>>>
>>>> On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
>>>> wrote:
>>>>
>>>>> Thanks Varun for replying.. I have checked this link but its talking
>>>>> about XPDL which actually comes with Shark implementation and in the
>>>>> same link they have mentioned that Shark is not yet implemented in
>>>>> Ofbiz. The alternative is event based. SO does this mean we don't have
>>>>> workflow definition type of design in Ofbiz as of now other then the
>>>>> events?
>>>>>
>>>>> Thanks,
>>>>> Deepa
>>>>>
>>>>> -Original Message-
>>>>> From: varun bhansaly [mailto:vbhans...@gmail.com]
>>>>> Sent: Monday, September 06, 2010 9:57 PM
>>>>> To: user@ofbiz.apache.org
>>>>> Subject: Re: Ofbiz WorkFlow Engine
>>>>>
>>>>> Hi,
>>>>> This document might help http://ofbiz.apache.org/docs/workflow.html
>>>>>
>>>>> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Need some 

RE: Ofbiz WorkFlow Engine

2010-09-07 Thread Deepa Priolkar
Hi Varun,

Yes I am looking for something similar to JBPM, not fullfledge but
atleast it should have the configuration through XML (similar to Shark).
Do we have something like this in Ofbiz integrated? If not, then has
anyone integrated any webflows in Ofbiz? Please let me know.. 

Regards,
Deepa

-Original Message-
From: varun bhansaly [mailto:vbhans...@gmail.com] 
Sent: Tuesday, September 07, 2010 1:38 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

Hi Deepa,
Are you looking at something like designing the process flow, for eg as
in
jBPM workflow engine & the process designer ?
Though processes could be implemented using SECAs, EECAs etc.


On Tue, Sep 7, 2010 at 1:24 PM, Deepa Priolkar
wrote:

> Thanks Varun for replying.. I have checked this link but its talking
> about XPDL which actually comes with Shark implementation and in the
> same link they have mentioned that Shark is not yet implemented in
> Ofbiz. The alternative is event based. SO does this mean we don't have
> workflow definition type of design in Ofbiz as of now other then the
> events?
>
> Thanks,
> Deepa
>
> -Original Message-
> From: varun bhansaly [mailto:vbhans...@gmail.com]
> Sent: Monday, September 06, 2010 9:57 PM
> To: user@ofbiz.apache.org
> Subject: Re: Ofbiz WorkFlow Engine
>
> Hi,
> This document might help http://ofbiz.apache.org/docs/workflow.html
>
> On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
> wrote:
>
> > Hi All,
> >
> >
> >
> > Need some help to know if we have any workflow integrated in ofbiz
> 9.04
> > version?
> >
> > if we already have the workflow is it using xpdl? Is it Shark
> workflow?
> > Please let me know.. need this urgently before i start designing for
> one
> > of my requirement.
> >
> >
> >
> > Appreciate your help.
> >
> >
> > Thanks & Regards,
> >
> > Deepa
> >
> >
> >
> >
> >
> >
> >
>

> Disclaimer:
> >  This message and the information contained herein is proprietary
and
> > confidential and subject to the Tech Mahindra policy statement, you
> may
> > review the policy at  href="http://www.techmahindra.com/Disclaimer.html
> > ">http://www.techmahindra.com/Disclaimer.html externally and  href="
> > http://tim.techmahindra.com/Disclaimer.html";>
> > http://tim.techmahindra.com/Disclaimer.html internally within
Tech
> >
>
Mahindra.===
> =
> >
>
>
>
> --
> Regards,
> Varun Bhansaly
>
>

Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
may
> review the policy at http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html";>
> http://tim.techmahindra.com/Disclaimer.html internally within Tech
>
Mahindra.===
=
>



-- 
Regards,
Varun Bhansaly

Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


RE: Ofbiz WorkFlow Engine

2010-09-07 Thread Deepa Priolkar
Thanks Varun for replying.. I have checked this link but its talking
about XPDL which actually comes with Shark implementation and in the
same link they have mentioned that Shark is not yet implemented in
Ofbiz. The alternative is event based. SO does this mean we don't have
workflow definition type of design in Ofbiz as of now other then the
events?

Thanks,
Deepa

-Original Message-
From: varun bhansaly [mailto:vbhans...@gmail.com] 
Sent: Monday, September 06, 2010 9:57 PM
To: user@ofbiz.apache.org
Subject: Re: Ofbiz WorkFlow Engine

Hi,
This document might help http://ofbiz.apache.org/docs/workflow.html

On Mon, Sep 6, 2010 at 9:39 PM, Deepa Priolkar
wrote:

> Hi All,
>
>
>
> Need some help to know if we have any workflow integrated in ofbiz
9.04
> version?
>
> if we already have the workflow is it using xpdl? Is it Shark
workflow?
> Please let me know.. need this urgently before i start designing for
one
> of my requirement.
>
>
>
> Appreciate your help.
>
>
> Thanks & Regards,
>
> Deepa
>
>
>
>
>
>
>

Disclaimer:
>  This message and the information contained herein is proprietary and
> confidential and subject to the Tech Mahindra policy statement, you
may
> review the policy at http://www.techmahindra.com/Disclaimer.html
> ">http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html";>
> http://tim.techmahindra.com/Disclaimer.html internally within Tech
>
Mahindra.===
=
>



-- 
Regards,
Varun Bhansaly

Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.


Ofbiz WorkFlow Engine

2010-09-06 Thread Deepa Priolkar
Hi All,

 

Need some help to know if we have any workflow integrated in ofbiz 9.04
version? 

if we already have the workflow is it using xpdl? Is it Shark workflow?
Please let me know.. need this urgently before i start designing for one
of my requirement.

 

Appreciate your help.


Thanks & Regards,

Deepa

 

 


Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html
 externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html
 internally within Tech 
Mahindra.