Re: osworkflow integration configuration problem

2012-10-12 Thread Anurag Walia
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]

RE: OsWorkflow Integration

2012-10-08 Thread Anurag Walia
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-tp162418p4636787.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


osworkflow integration configuration problem

2012-10-08 Thread Anurag Walia
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.


authorize.net configuration

2010-08-10 Thread Anurag Walia

Hi all,
Thanks In advance.
I need your help regarding authorize.net configuration
I am trying to import files using this command

keytool -import -trustcacerts -file (path to certificate) -alias
AUTHORIZE_NET -keystore ./ofbizssl.jks   

i have some confussion.

what should be (path to certificate)?
what is the actual path of ofbizssl.jks ?
and is their any more certification required like authorization.net .

Looking for your great help...

Thanks
Anurag Walia

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/authorize-net-configuration-tp2319337p2319337.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: authorize.net configuration

2010-08-10 Thread Anurag Walia

Thanks Raj  Pradeep

But their is already a files in base\config folder with the name
ofbizssl.jks.
can i use this or generate new one by the keytools and authorization.net
certificates. 





-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/authorize-net-configuration-tp2319337p2319364.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: authorize.net configuration

2010-08-10 Thread Anurag Walia

Thanks Pradeep

I will try this and soon get back to you.

 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/authorize-net-configuration-tp2319337p2319515.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


order management

2010-08-06 Thread Anurag Walia

Please help me to find out this.
How can i reduce the item returned for a created order.

Thanks in advance
Anurag Walia 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/order-management-tp2316444p2316444.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Return order item management

2010-08-04 Thread Anurag Walia

First of all thanks for giving your time.

I have done lots of thing with order management.
but still i am confused with the order item returning.
There is any process in which i can manage or reduce reduce the item
returned.

example :
if i generate a purchase order of 10 product for selling but i am not able
to sell 3 product i returned 3 products back. then how i will manage my
purchase order before receiving or after receiving.

Thanks 
Anurag Walia


-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Return-order-item-management-tp2313498p2313498.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem with StatusItem table

2010-07-15 Thread Anurag Walia

Thanks dear for your valuable reply,

this problem in opentaps in which .property file used for I18N so i have
checked and searched .
but i haven't find the key in any .property file yet..

while syntax in the form for drop down is like:
field name=statusId title=${uiLabelMap.CommonStatus} position=1
display-entity entity-name=StatusItem/
 /field
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Problem-with-StatusItem-table-tp2289708p2289764.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem with StatusItem table

2010-07-15 Thread Anurag Walia

thanks dear
i got the solution in commonEntityUilabel.properties file


-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Problem-with-StatusItem-table-tp2289708p2289832.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Problem with StatusItem table

2010-07-14 Thread Anurag Walia

Hi all,

Thanks in advance for time to comment on it.

I have a problem with StatusItem table while i had changed the description
for
CRQ_ACCEPTED,CRQ_REVIEWED and CRQ_ .. but the are not reflecting on find
request status drop down 
and other place also.

please if any know what is the reason please provide.

Anurag Walia

-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Problem-with-StatusItem-table-tp2289708p2289708.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Shipping charge on the bases of distance

2010-07-02 Thread Anurag Walia

Hi all,
 
Thanks in advance for reply on the post...
can any one tell me the how to change shipping cost for(Fedex) on the basis
of shipping address distacnce in webshop checkout process.

Regards
Anurag
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Shipping-charge-on-the-bases-of-distance-tp2277085p2277085.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Transaction time out happen in between

2010-06-10 Thread Anurag Walia

Hi all,

Thanks to all of you.

I have a problem with xml service when i made 1200 transactions on a single
click.
then transaction time out happen in between and roll back every thing.
while i have also increase the  session-timeout180/session-timeout.
if any one have solution please reply.

Regards
Anurag Walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Transaction-time-out-happen-in-between-tp224p224.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


entity value between two days

2010-06-03 Thread Anurag Walia

Hi all,

Thanks to all for given your consideration.

i want to fetch  month wise data from entity but i am not getting any
function through which i can do it.

 entity entity-name=attendance
field name=partyId type=id-ne/field
field name=date type=date/field
field name=day type=id/field 
 /entity

date is the field on the basis of which i want to find the month specific
data.

Regards 
Anurag Walia 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/entity-value-between-two-days-tp2241366p2241366.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


can we give the alias for field name?

2010-05-20 Thread Anurag Walia

Hi all,


can we give the alias for field name in the entitymodel.xml?

Thanks
Anurag walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/can-we-give-the-alias-for-field-name-tp2223976p2223976.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


problem related to xml form

2010-05-20 Thread Anurag Walia

Hi all,

Thanks in advance

how  can we assign default value in the text field using xml form?
Like default value in the text box is Enter the user name .


Regards
Anurag walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-related-to-xml-form-tp2223987p2223987.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: problem related to xml form

2010-05-20 Thread Anurag Walia

thanks

its working fine.
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-related-to-xml-form-tp2223987p2224211.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


problem related to the inventory

2010-05-17 Thread Anurag Walia

Hi All,

Thanks in advance for dealing with this problem.

I have a problem to reduce the inventory items(total QOH).
The quantity is increasing after creating purchase order but i don't want to
use the sales order to decrease the quantity because of balance sheet .could
any one tell me the another way to reduce the inventory in ofbiz.


Regards
Anurag walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-related-to-the-inventory-tp2219346p2219346.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: problem related to the inventory

2010-05-17 Thread Anurag Walia

Thanks Jacques for your valuable reply

But my problem is little bit different.
There is a process of request in the standard ofbiz it's fine but i want
when a request is approved then requested item should be decrease from the
inventory.

Thanks
Anurag walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-related-to-the-inventory-tp2219346p2219538.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Entery of invoice in Trail balance after receiving PO

2010-05-12 Thread Anurag Walia

Hi all,

Thanks in advance.

I have a problem with ofbiz-4.0 for entery of invoice in Trail balance after
receiving PO while it is working fine with ofbiz 9.0 after configure the
financial account to party group but not with ofbiz-4.0 after making the
same configuration .

could any one tell me there is any other configuration also required in
ofbiz-4.0.

Regards
Anurag Walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Entery-of-invoice-in-Trail-balance-after-receiving-PO-tp2195638p2195638.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Entery of invoice in Trail balance after receiving PO

2010-05-12 Thread Anurag Walia

Thanks for your valuable reply .
But i already done lots of work on ofbiz 4.0.
so it is not an easy task to switch.


Regards
Anurag Walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Entery-of-invoice-in-Trail-balance-after-receiving-PO-tp2195638p2195665.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Entery of invoice in Trail balance after receiving PO

2010-05-12 Thread Anurag Walia

thanks

i am not getting.

Anurag
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Entery-of-invoice-in-Trail-balance-after-receiving-PO-tp2195638p2195686.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: category name instead category id

2010-05-09 Thread Anurag Walia

Hi,
have u tried for this one?
i think this is easy solution
findCategory?categoryId=${categoryList.categoryId}
${categoryList.get(categoryName)} 


Anurag walia 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/category-name-instead-category-id-tp2130570p2164912.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


can we get tax according to supplier?

2010-05-06 Thread Anurag Walia

Hi All,

Thanks in advance.
can we add tax supplier specific.
Because tax changed for supplier to supplier.

Regards
Anurag Walia 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/can-we-get-tax-according-to-supplier-tp2132245p2132245.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: category name instead category id

2010-05-06 Thread Anurag Walia

Have u got the solution?
 
Regards
Anurag Walia
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/category-name-instead-category-id-tp2130570p2132263.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How can i create sql query using delegator?

2010-04-15 Thread Anurag Walia

Hi

i have an entity like
 entity entity-name=EmplLeave  
package-name=org.ofbiz.humanres.employmenttitle=Employee Leave
Entity
field name=partyId type=id-ne/
field name=fromDate type=date-time/
field name=thruDate type=date-time/
prim-key field=partyId/
prim-key field=fromDate/
/entity

i want a sql query like this by delegator
SELECT * from empl_leave where party_Id=10411 and month(from_date)='4' and
year(from_date)='2010' ;(this is runnig on console)
but when i am trying this in java service
GenericValue emplLeave=(GenericValue)delegator.findByAndCache(EmplLeave,
UtilMisc.toMap(month(fromDate), submitmonth,year(fromDate),submityear),
null);
(then exception is coming on server java.lang.ClassCastException:
javolution.util.FastList)
so please help me how to use sql methods in delegator.

Thanks in advance

Regards
Anurag Walia

-- 
View this message in context: 
http://n4.nabble.com/How-can-i-create-sql-query-using-delegator-tp1858040p1858040.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


RE: Ofbiz demo product elimination

2010-04-15 Thread Anurag Walia



Thanks for ur valuable reply.

entity-name=EmplLeave 
this is new entity created in default database

Regards
Anurag Walia

Date: Wed, 14 Apr 2010 23:32:37 -0800
From: ml-node+1862062-1236036246-227...@n4.nabble.com
To: walia.anu...@hotmail.com
Subject: Re: Ofbiz demo product elimination



Thanks Anurag

  but what delegator name should i use as the delegator is 
provide in EntityDataLoadContainer.java.  Do i need to write my own delegator





View message @ 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1862062.html


To unsubscribe from Re: Ofbiz demo product elimination, click here.


  
_
South Cinema This Decade
http://entertainment.in.msn.com/southcinemathisdecade/
-- 
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1863133.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How can i create sql query using delegator?

2010-04-15 Thread Anurag Walia

Thanks for valuable reply


but unable to find is coming fromDate because it should change into
from_Date by entitymodel   
delegator.findByAndCache(EmplLeave, UtilMisc.toMap(month(fromDate),
submitmonth,year(fromDate),submityear),  null); 


Regards
Anurag

-- 
View this message in context: 
http://n4.nabble.com/How-can-i-create-sql-query-using-delegator-tp1858040p1873104.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia

Thanks for your valuable reply
i got the solution.
There was a problem in suplier Currency Uom Id.

Regards
Anurag Walia
-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837973.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia

Thanks for your valuable reply.
i got the solution.
There was a problem in suplier Currency Uom Id.

Regards
Anurag Walia
-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837974.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Anurag Walia

Hi,

Some times if the  java file exist inside hot-deploy then problem come like
this.
can you specify the path of your java and groovy file.

Regards
Anurag Walia 
-- 
View this message in context: 
http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Ofbiz demo product elimination

2010-04-12 Thread Anurag Walia

Hi,

just check your entityengine.xml again there is  read-data
reader-name=seed/ sub tag of your delegator.

and change install-containers.xml inside base/config folder 
There is property name=delegator-name value=default/
change value with your delegator name.
Then try with ant run-install

Regards
Anurag Walia

-- 
View this message in context: 
http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1837986.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Problem in creating Requirment for purchase order

2010-04-11 Thread Anurag Walia

Hi all,


I am facing a problem regarding purchase requirement inside order module.
when i clicked on prepare order inside Approved Requirements By vendor 
then detail page of  supplier product is coming when i am trying to 
Purchase Order Quick Entry after selecting the check box for the required
product.
then 
The Following Errors Occurred:
SupplierProduct not found

is coming.

I think some configuration setting is still missing.
Please help me out if u have any solution

Thanks
Anurag Walia
-- 
View this message in context: 
http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1836706.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Could not get DataSource javax.naming.CommunicationException

2010-04-06 Thread Anurag Walia
Hi All,

 i am using opensymphony for the workflow.
but sometime when i run this service get this exception
if any one know the reason of this exception then please reply.

2010-04-06 17:57:09,147 (http-0.0.0.0-81-3) [
JDBCPropertySet.java:130:FATAL] Could not get DataSource
javax.naming.CommunicationException [Root exception is
java.rmi.NoSuchObjectException: no such object in table]
at 
com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:434)
at 
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99)
at 
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:103)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.opensymphony.util.EJBUtils.lookup(EJBUtils.java:123)
at 
com.opensymphony.module.propertyset.database.JDBCPropertySet.init(JDBCPropertySet.java:128)
at 
com.opensymphony.module.propertyset.PropertySetManager.getInstance(PropertySetManager.java:14)
at 
com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore.getPropertySet(JDBCWorkflowStore.java:378)
at 
com.opensymphony.workflow.AbstractWorkflow.createVariableMap(AbstractWorkflow.java:114)
at 
com.opensymphony.workflow.AbstractWorkflow.verifyInputs(AbstractWorkflow.java:952)
at 
com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:429)
at 
com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:372)
at 
org.ofbiz.humanres.HrServices.sendleaveremindermail(HrServices.java:1197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
at 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
at 
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:170)
at 
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:332)
at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:444)
at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:276)
at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.rmi.NoSuchObjectException: no such object in table
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jndi.rmi.registry.ReferenceWrapper_Stub.getReference(Unknown
Source)
at 
com.sun.jndi.rmi.registry.RegistryContext.decodeObject(RegistryContext.java:426)
... 43 more


Thanks in advance.

Regards
Anurag Walia