You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Anurag Walia <wa...@hotmail.com> on 2012/10/08 21:37:21 UTC

osworkflow integration configuration problem

Hello All,

I am trying Integrate osworkflow but not getting success due to some
configuration missing.

1. I have added src code from osuser,oscore and osworkflow to new component.
2. I had put xml configuration files in META-INF after customizing
osworkflow.xml

like:

<osworkflow>
  <persistence
class="com.opensymphony.workflow.spi.ofbiz.OfbizWorkflowStore" />
  <factory class="com.opensymphony.workflow.loader.URLWorkflowFactory">
    <property key="cache" value="true" />
    <property key="resource" value="workflows.xml" />
  </factory>
</osworkflow>

and osuser.xml like

<opensymphony-user>

    <provider
class="com.opensymphony.user.provider.ofbiz.OFBizAccessProvider" />
        <provider
class="com.opensymphony.user.provider.ofbiz.OFBizCredentialsProvider" />
        <provider
class="com.opensymphony.user.provider.ofbiz.OFBizProfileProvider" />
        <provider
class="com.opensymphony.user.provider.ofbiz.OFBizAbstractProvider" />
</opensymphony-user>


but getting error

2012-10-09 00:33:10,531 (http-0.0.0.0-8443-1) [       
UserManager.java:132:ERROR] unexpected runtime exception during
initialization
java.lang.RuntimeException: org/ofbiz/core/entity/GenericEntityException
        at
com.opensymphony.user.util.ConfigLoader.load(ConfigLoader.java:76)
        at com.opensymphony.user.UserManager.<init>(UserManager.java:108)
        at com.opensymphony.user.UserManager.<init>(UserManager.java:60)
        at
com.opensymphony.user.UserManager.getInstance(UserManager.java:127)

when I am trying to
            execute this line in my code
UserManager um = UserManager.getInstance();

Please let me know if you have something for me.

Regards
A Walia 



--
View this message in context: http://ofbiz.135035.n4.nabble.com/osworkflow-integration-configuration-problem-tp4636790.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.