[Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
Hi,

I was trying to start BPS server (trunk build) and got the following error.
Further investigation reveals that issue caused after changing default
offset value. Our system automation tests are failing due to this error.
Please have a look.

Exception
=

[2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
DataSource at htds
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost; nested
exception is:
java.net.ConnectException: Connection refused]
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
at
org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
at
org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
at
org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
at
org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
at
org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
at
org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
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:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140)
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:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Sanjaya Vithanagama
Hi Krishantha,

I'll have a look into this.

Regards,
SanjayaV.

On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi,

 I was trying to start BPS server (trunk build) and got the following
 error. Further investigation reveals that issue caused after changing
 default offset value. Our system automation tests are failing due to this
 error. Please have a look.

 Exception
 =

 [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
 DataSource at htds
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
  java.net.ConnectException: Connection refused]
 at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
  at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at
 org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
  at
 org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
 at
 org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
 at
 org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
  at
 org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
 at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
  at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
  at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
  at
 org.wso2.carbon.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
  at
 

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
Hi,

I see the following error when starting BPS trunk build with registry
mounts.

[2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find
DeploymentUnitDAO instance for package LoanService-8.
[2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL
package: LoanService.zip
org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException:
Cannot find DeploymentUnitDAO instance for package LoanService-8.
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645)
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506)
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210)
at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:434)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Thanks,
Krishantha.


On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi,

 I was trying to start BPS server (trunk build) and got the following
 error. Further investigation reveals that issue caused after changing
 default offset value. Our system automation tests are failing due to this
 error. Please have a look.

 Exception
 =n
 [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
 DataSource at htds
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
  java.net.ConnectException: Connection refused]
 at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
  at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at
 org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
  at
 org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
 at
 org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
 at
 org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
  at
 org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
 at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
  at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Waruna Ranasinghe
Hi krishantha,

this happens when the Registry and the BPEL databases are out of sync.

sent from my mobile.
On Jan 17, 2012 3:11 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi,

 I see the following error when starting BPS trunk build with registry
 mounts.

 [2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find
 DeploymentUnitDAO instance for package LoanService-8.
 [2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL
 package: LoanService.zip
 org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException:
 Cannot find DeploymentUnitDAO instance for package LoanService-8.
  at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645)
 at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506)
  at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210)
 at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:434)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Thanks,
 Krishantha.


 On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi,

 I was trying to start BPS server (trunk build) and got the following
 error. Further investigation reveals that issue caused after changing
 default offset value. Our system automation tests are failing due to this
 error. Please have a look.

 Exception
 =n
 [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
 DataSource at htds
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
  java.net.ConnectException: Connection refused]
 at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
  at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at
 org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
  at
 org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
 at
 org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
 at
 org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
  at
 org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
 at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
  at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
On Tue, Jan 17, 2012 at 3:15 PM, Waruna Ranasinghe war...@wso2.com wrote:

 Hi krishantha,

 this happens when the Registry and the BPEL databases are out of sync.


Thanks Waruna, you are correct.

-Krishantha.

 sent from my mobile.
 On Jan 17, 2012 3:11 PM, Krishantha Samaraweera krishan...@wso2.com
 wrote:

 Hi,

 I see the following error when starting BPS trunk build with registry
 mounts.

 [2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find
 DeploymentUnitDAO instance for package LoanService-8.
 [2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL
 package: LoanService.zip
 org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException:
 Cannot find DeploymentUnitDAO instance for package LoanService-8.
  at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645)
 at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506)
  at
 org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210)
 at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:434)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:359)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

 Thanks,
 Krishantha.


 On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi,

 I was trying to start BPS server (trunk build) and got the following
 error. Further investigation reveals that issue caused after changing
 default offset value. Our system automation tests are failing due to this
 error. Please have a look.

 Exception
 =n
 [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved
 external DataSource at htds
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
  java.net.ConnectException: Connection refused]
 at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
  at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at
 org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
  at
 org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
 at
 org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
 at
 org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
  at
 org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
 at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
  at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
 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:597)
 at
 

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Sanjaya Vithanagama
This is fixed with rev 119089.

On Tue, Jan 17, 2012 at 3:07 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Krishantha,

 I'll have a look into this.

 Regards,
 SanjayaV.

 On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi,

 I was trying to start BPS server (trunk build) and got the following
 error. Further investigation reveals that issue caused after changing
 default offset value. Our system automation tests are failing due to this
 error. Please have a look.

 Exception
 =

 [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
 DataSource at htds
 javax.naming.ServiceUnavailableException [Root exception is
 java.rmi.ConnectException: Connection refused to host: localhost; nested
 exception is:
  java.net.ConnectException: Connection refused]
 at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
  at
 com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
 at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
 at
 org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
  at
 org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
 at
 org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
 at
 org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
  at
 org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
 at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
  at
 org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
  at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
  at
 org.wso2.carbon.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140)
 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:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
  at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at