suggest you track down the source code and find out what it is trying
todo on those line numbers. Anurag Walia sent the following on 10/8/2012 12:34 PM: > 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-tp4636789.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
I had putted the oscore.jar and osuser.jar related osworkflow_2-8-0 into the liberary folder.
And included the osworkflow_2-8-0 /src into new component source . After when I am building the application I am getting the many errors as in below. So I have two ways to do 1. I should remove unwanted java code and took only required for ofbiz. 2.solve all the errors one by one. But I am not sure which will give me a successfull result back. could you put some light which is the best way to integrate. [javac16] Compiling 169 source files to E:\apache-ofbiz-10.04\hot-deploy\oswf\build\classes [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:14: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\Workflow.java:12: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:634: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) throws StoreException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\WorkflowStore.java:11: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:15: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:46: cannot find symbol [javac16] symbol : class WorkflowRemote [javac16] location: class com.opensymphony.workflow.ejb.EJBWorkflow [javac16] private WorkflowRemote wf; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:264: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) throws WorkflowException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:13: package net.sf.hibernate.type does not exist [javac16] import net.sf.hibernate.type.StringType; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:26: cannot find symbol [javac16] symbol: class StringType [javac16] public class NotNullStringType extends StringType { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:20: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:22: package electric.util does not exist [javac16] import electric.util.Context; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:112: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) throws StoreException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:20: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:22: package electric.util does not exist [javac16] import electric.util.Context; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:112: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) throws StoreException, FactoryException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:9: package org.codehaus.xfire.aegis does not exist [javac16] import org.codehaus.xfire.aegis.AegisBindingProvider; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:10: package org.codehaus.xfire.aegis.type does not exist [javac16] import org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:11: package org.codehaus.xfire.aegis.type does not exist [javac16] import org.codehaus.xfire.aegis.type.TypeMappingRegistry; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:12: package org.codehaus.xfire.service does not exist [javac16] import org.codehaus.xfire.service.Service; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:13: package org.codehaus.xfire.service does not exist [javac16] import org.codehaus.xfire.service.ServiceRegistry; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:14: package org.codehaus.xfire.service.binding does not exist [javac16] import org.codehaus.xfire.service.binding.BeanInvoker; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:15: package org.codehaus.xfire.service.binding does not exist [javac16] import org.codehaus.xfire.service.binding.BindingProvider; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:16: package org.codehaus.xfire.service.binding does not exist [javac16] import org.codehaus.xfire.service.binding.ObjectServiceFactory; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:17: package org.codehaus.xfire.transport.http does not exist [javac16] import org.codehaus.xfire.transport.http.XFireServlet; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:27: cannot find symbol [javac16] symbol: class XFireServlet [javac16] public class SOAPWorkflowServlet extends XFireServlet { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:15: package electric.registry does not exist [javac16] import electric.registry.Registry; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:17: package electric.util does not exist [javac16] import electric.util.Context; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\XFireSOAPWorkflow.java:7: package org.codehaus.xfire.transport.http does not exist [javac16] import org.codehaus.xfire.transport.http.XFireServletController; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:12: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:46: cannot find symbol [javac16] symbol : class WorkflowStoreRemote [javac16] location: class com.opensymphony.workflow.spi.ejb.EJBWorkflowStore [javac16] private WorkflowStoreRemote session; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:154: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:7: cannot find symbol [javac16] symbol : class PreviousStepPK [javac16] location: package com.opensymphony.workflow.spi.ejb [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:53: cannot find symbol [javac16] symbol : class PreviousStepPK [javac16] location: class com.opensymphony.workflow.spi.ejb.PreviousCurrentStepEJB [javac16] public PreviousStepPK ejbCreate(long id, long previousId) throws CreateException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:7: cannot find symbol [javac16] symbol : class PreviousStepPK [javac16] location: package com.opensymphony.workflow.spi.ejb [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:53: cannot find symbol [javac16] symbol : class PreviousStepPK [javac16] location: class com.opensymphony.workflow.spi.ejb.PreviousHistoryStepEJB [javac16] public PreviousStepPK ejbCreate(long id, long previousId) throws CreateException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:9: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:263: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] public List query(WorkflowQuery query) throws StoreException { [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:14: warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in com.opensymphony.workflow.query has been deprecated [javac16] import com.opensymphony.workflow.query.WorkflowQuery; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:24: package org.hibernate does not exist [javac16] import org.hibernate.Criteria; [javac16] ^ [javac16] E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:25: package org.hibernate does not exist Regards A Walia |
my experience is as you "fix" one error others will show themselves.
there is no one answer. you biggest is the hibernate you will have to see how much you can use ofbiz/Apache code as you can. Anurag Walia sent the following on 10/12/2012 11:36 AM: > I had putted the oscore.jar and osuser.jar related osworkflow_2-8-0 into the > liberary folder. > And included the osworkflow_2-8-0 /src into new component source . > > After when I am building the application I am getting the many errors as in > below. > So I have two ways to do > > 1. I should remove unwanted java code and took only required for ofbiz. > 2.solve all the errors one by one. > > But I am not sure which will give me a successfull result back. > > could you put some light which is the best way to integrate. > > [javac16] Compiling 169 source files to > E:\apache-ofbiz-10.04\hot-deploy\oswf\build\classes > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:14: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\Workflow.java:12: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:634: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\WorkflowStore.java:11: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:15: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:46: > cannot find symbol > [javac16] symbol : class WorkflowRemote > [javac16] location: class com.opensymphony.workflow.ejb.EJBWorkflow > [javac16] private WorkflowRemote wf; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:264: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws > WorkflowException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:13: > package net.sf.hibernate.type does not exist > [javac16] import net.sf.hibernate.type.StringType; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:26: > cannot find symbol > [javac16] symbol: class StringType > [javac16] public class NotNullStringType extends StringType { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:20: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:22: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:112: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:20: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:22: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:112: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException, > FactoryException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:9: > package org.codehaus.xfire.aegis does not exist > [javac16] import org.codehaus.xfire.aegis.AegisBindingProvider; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:10: > package org.codehaus.xfire.aegis.type does not exist > [javac16] import org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:11: > package org.codehaus.xfire.aegis.type does not exist > [javac16] import org.codehaus.xfire.aegis.type.TypeMappingRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:12: > package org.codehaus.xfire.service does not exist > [javac16] import org.codehaus.xfire.service.Service; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:13: > package org.codehaus.xfire.service does not exist > [javac16] import org.codehaus.xfire.service.ServiceRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:14: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.BeanInvoker; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:15: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.BindingProvider; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:16: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.ObjectServiceFactory; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:17: > package org.codehaus.xfire.transport.http does not exist > [javac16] import org.codehaus.xfire.transport.http.XFireServlet; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:27: > cannot find symbol > [javac16] symbol: class XFireServlet > [javac16] public class SOAPWorkflowServlet extends XFireServlet { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:15: > package electric.registry does not exist > [javac16] import electric.registry.Registry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:17: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\XFireSOAPWorkflow.java:7: > package org.codehaus.xfire.transport.http does not exist > [javac16] import org.codehaus.xfire.transport.http.XFireServletController; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:12: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:46: > cannot find symbol > [javac16] symbol : class WorkflowStoreRemote > [javac16] location: class com.opensymphony.workflow.spi.ejb.EJBWorkflowStore > [javac16] private WorkflowStoreRemote session; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:154: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:7: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: package com.opensymphony.workflow.spi.ejb > [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:53: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: class > com.opensymphony.workflow.spi.ejb.PreviousCurrentStepEJB > [javac16] public PreviousStepPK ejbCreate(long id, long previousId) > throws CreateException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:7: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: package com.opensymphony.workflow.spi.ejb > [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:53: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: class > com.opensymphony.workflow.spi.ejb.PreviousHistoryStepEJB > [javac16] public PreviousStepPK ejbCreate(long id, long previousId) > throws CreateException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:9: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:263: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:14: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:24: > package org.hibernate does not exist > [javac16] import org.hibernate.Criteria; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:25: > package org.hibernate does not exist > > Regards > A Walia > > > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/Re-osworkflow-integration-configuration-problem-tp4636851p4636872.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by Anurag Walia
It looks your jar files are not in build classpath. Look into the
build.xml of your component and see if the osworkflow jars are in the compile classpath. Thanks, Raj On Saturday 13 October 2012 12:06 AM, Anurag Walia wrote: > I had putted the oscore.jar and osuser.jar related osworkflow_2-8-0 into the > liberary folder. > And included the osworkflow_2-8-0 /src into new component source . > > After when I am building the application I am getting the many errors as in > below. > So I have two ways to do > > 1. I should remove unwanted java code and took only required for ofbiz. > 2.solve all the errors one by one. > > But I am not sure which will give me a successfull result back. > > could you put some light which is the best way to integrate. > > [javac16] Compiling 169 source files to > E:\apache-ofbiz-10.04\hot-deploy\oswf\build\classes > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:14: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\Workflow.java:12: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\AbstractWorkflow.java:634: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\WorkflowStore.java:11: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:15: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:46: > cannot find symbol > [javac16] symbol : class WorkflowRemote > [javac16] location: class com.opensymphony.workflow.ejb.EJBWorkflow > [javac16] private WorkflowRemote wf; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\ejb\EJBWorkflow.java:264: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws > WorkflowException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:13: > package net.sf.hibernate.type does not exist > [javac16] import net.sf.hibernate.type.StringType; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\loader\NotNullStringType.java:26: > cannot find symbol > [javac16] symbol: class StringType > [javac16] public class NotNullStringType extends StringType { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:20: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:22: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\BasicSOAPWorkflow.java:112: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:20: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:22: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\OfbizSOAPWorkflow.java:112: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException, > FactoryException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:9: > package org.codehaus.xfire.aegis does not exist > [javac16] import org.codehaus.xfire.aegis.AegisBindingProvider; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:10: > package org.codehaus.xfire.aegis.type does not exist > [javac16] import org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:11: > package org.codehaus.xfire.aegis.type does not exist > [javac16] import org.codehaus.xfire.aegis.type.TypeMappingRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:12: > package org.codehaus.xfire.service does not exist > [javac16] import org.codehaus.xfire.service.Service; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:13: > package org.codehaus.xfire.service does not exist > [javac16] import org.codehaus.xfire.service.ServiceRegistry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:14: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.BeanInvoker; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:15: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.BindingProvider; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:16: > package org.codehaus.xfire.service.binding does not exist > [javac16] import org.codehaus.xfire.service.binding.ObjectServiceFactory; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:17: > package org.codehaus.xfire.transport.http does not exist > [javac16] import org.codehaus.xfire.transport.http.XFireServlet; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\SOAPWorkflowServlet.java:27: > cannot find symbol > [javac16] symbol: class XFireServlet > [javac16] public class SOAPWorkflowServlet extends XFireServlet { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:15: > package electric.registry does not exist > [javac16] import electric.registry.Registry; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\TestClient.java:17: > package electric.util does not exist > [javac16] import electric.util.Context; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\soap\XFireSOAPWorkflow.java:7: > package org.codehaus.xfire.transport.http does not exist > [javac16] import org.codehaus.xfire.transport.http.XFireServletController; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:12: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:46: > cannot find symbol > [javac16] symbol : class WorkflowStoreRemote > [javac16] location: class com.opensymphony.workflow.spi.ejb.EJBWorkflowStore > [javac16] private WorkflowStoreRemote session; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\EJBWorkflowStore.java:154: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:7: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: package com.opensymphony.workflow.spi.ejb > [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousCurrentStepEJB.java:53: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: class > com.opensymphony.workflow.spi.ejb.PreviousCurrentStepEJB > [javac16] public PreviousStepPK ejbCreate(long id, long previousId) > throws CreateException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:7: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: package com.opensymphony.workflow.spi.ejb > [javac16] import com.opensymphony.workflow.spi.ejb.PreviousStepPK; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\PreviousHistoryStepEJB.java:53: > cannot find symbol > [javac16] symbol : class PreviousStepPK > [javac16] location: class > com.opensymphony.workflow.spi.ejb.PreviousHistoryStepEJB > [javac16] public PreviousStepPK ejbCreate(long id, long previousId) > throws CreateException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:9: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\ejb\WorkflowStoreSessionEJB.java:263: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] public List query(WorkflowQuery query) throws StoreException { > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:14: > warning: [deprecation] com.opensymphony.workflow.query.WorkflowQuery in > com.opensymphony.workflow.query has been deprecated > [javac16] import com.opensymphony.workflow.query.WorkflowQuery; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:24: > package org.hibernate does not exist > [javac16] import org.hibernate.Criteria; > [javac16] ^ > [javac16] > E:\apache-ofbiz-10.04\hot-deploy\oswf\src\com\opensymphony\workflow\spi\hibernate3\AbstractHibernateWorkflowStore.java:25: > package org.hibernate does not exist > > Regards > A Walia > > > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/Re-osworkflow-integration-configuration-problem-tp4636851p4636872.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by BJ Freeman
thanks to all of you.
I integrated successfully. |
Free forum by Nabble | Edit this page |