[wsas-java-dev] [jira] Created: (WSAS-228) Service upload does not work

Saminda Wishwajith Abeyruwan (JIRA) jira at wso2.org
Mon May 14 07:11:02 PDT 2007


Service upload does not work
----------------------------

                 Key: WSAS-228
                 URL: http://www.wso2.org/jira/browse/WSAS-228
             Project: WSO2 WSAS-Java
          Issue Type: Bug
         Environment: Any
            Reporter: Saminda Wishwajith Abeyruwan 
         Assigned To: Afkham Azeez
            Priority: Blocker


1. Create a service archive using Dump AAR to say to the distributed echo service
2. Delete the echo service. 
3. Restart the system
4. Upload the archive created by Dump AAR. Axis2 will be deployed the service with no exception. But WSAS database gives the following error,

 Unable to handle new service group addition
org.hibernate.PropertyValueException: not-null property references a null or transient value: org.wso2.wsas.persistence.dataobject.ServiceGroupParameterDO.serviceGroup
        at org.hibernate.engine.Nullability.checkNullability(Nullability.java:72)
        at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:265)
        at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167)
        at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:114)
        at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
        at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
        at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
        at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:613)
        at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:587)
        at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:591)
        at org.wso2.wsas.persistence.PersistenceManager.handleNewServiceGroupAddition(PersistenceManager.java:1028)
        at org.wso2.wsas.deployment.DeploymentInterceptor.serviceGroupUpdate(DeploymentInterceptor.java:72)
        at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:519)
        at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:269)
        at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:435)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:83)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:146)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:577)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:133)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:279)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:188)
        at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:273)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
        at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR [2007-05-14 19:27:15,685]  Could not synchronize database state with session
org.hibernate.TransientObjectException: org.wso2.wsas.persistence.dataobject.ServiceGroupDO
        at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
        at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
        at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:71)
        at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1826)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2172)
        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2118)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2374)
        at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:91)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
        at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
        at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
        at org.wso2.wsas.persistence.PersistenceManager.handleNewServiceGroupAddition(PersistenceManager.java:1037)
        at org.wso2.wsas.deployment.DeploymentInterceptor.serviceGroupUpdate(DeploymentInterceptor.java:72)
        at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:519)
        at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:269)
        at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:435)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:83)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:146)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:577)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:133)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:279)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:188)
        at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:273)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
        at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR [2007-05-14 19:27:15,694]  Could not handle initialization of new service group [echox]
org.hibernate.TransientObjectException: org.wso2.wsas.persistence.dataobject.ServiceGroupDO
        at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
        at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
        at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:71)
        at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:1826)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2172)
        at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2118)
        at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2374)
        at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:91)
        at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
        at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
        at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
        at org.wso2.wsas.persistence.PersistenceManager.handleNewServiceGroupAddition(PersistenceManager.java:1037)
        at org.wso2.wsas.deployment.DeploymentInterceptor.serviceGroupUpdate(DeploymentInterceptor.java:72)
        at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:519)
        at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:269)
        at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:435)
        at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:83)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:146)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:577)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:133)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:279)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:188)
        at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:273)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
        at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
org.hibernate.PropertyValueException: not-null property references a null or transient value: org.wso2.wsas.persistence.dataobject.ServiceDO.serviceGroup


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        




More information about the Wsas-java-dev mailing list