Unable to deploy spring service...

Hi, all

Via the GS UI and CLI, I have been unable to deploy a spring service. I am using the following service deployment descriptor:

{code} <gs-deployment name="EchoPersistenceService"> <codebase adaptive="no">&CodeServerURL;</codebase> <groups includeglobaldecl="no"> <group>gigaspaces-1506</group> </groups> <servicebean name="EchoPersistenceService" autoadvertise="yes" discoverymanagementpooling="yes" matchonname="yes" provisiontype="dynamic"> <interfaces> <interface>gov.cdc.biosense.persistence.service.EchoPersistenceService</interface> <resources algorithm="sha" computehttpmd="yes"> <jar>biosense.persistence-2.0-SNAPSHOT.jar</jar> </resources> </interfaces> <implementationclass>gov.cdc.biosense.persistence.service.DefaultEchoPersistenceService <resources algorithm="sha" computehttpmd="yes"> <sharedcomponent> <classname>org.springframework.context.ApplicationContext</classname> <jar>biosense.persistence-2.0-SNAPSHOT.jar</jar> <jar>antlr-2.7.6rc1.jar</jar> <jar>asm-1.5.3.jar</jar> <jar>asm-attrs-1.5.3.jar</jar> <jar>cglib-2.1_3.jar</jar> <jar>commons-beanutils-1.6.jar</jar> <jar>commons-collections-2.1.1.jar</jar> <jar>commons-dbcp-1.2.jar</jar> <jar>commons-digester-1.7.jar</jar> <jar>commons-lang-2.1.jar</jar> <jar>commons-logging-1.0.4.jar</jar> <jar>commons-pool-1.2.jar</jar> <jar>dom4j-1.6.1.jar</jar> <jar>ehcache-1.1.jar</jar> <jar>gigaspaces-5.1m2.jar</jar> <jar>hibernate-3.2.0.cr1.jar</jar> <jar>hibernate-annotations-3.2.0.cr1.jar</jar> <jar>hsqldb-1.8.0.4.jar</jar> <jar>javaspaces-0.5.jar</jar> <jar>jini-core-2.1.jar</jar> <jar>jini-ext-2.1.jar</jar> <jar>jta-1.0.1B.jar</jar> <jar>persistence-api-1.0.jar</jar> <jar>spring-2.0-rc3.jar</jar> <jar>velocity-1.4.jar</jar> <jar>xml-apis-1.0.b2.jar</jar> <jar>xercesImpl-2.0.2.jar</jar> </sharedcomponent> </resources> </implementationclass> <configuration includeglobaldecl="no"> <component name="spring"> <parameter name="config"> new String [] { "$codebase/echo-persistence-service-context.xml" } </parameter> </component> <component name="service.load"> <parameter name="serviceBeanFactory" value="new com.gigaspaces.grid.bean.SpringBeanFactory()"/> </component> </configuration> <maintain>1</maintain> </servicebean> {code}

Please, note that I'm using spring 2.0-rc3.

And I'm using the following overrides:

{code} <overrides> <component name="com.gigaspaces.start"> <parameter name="addHttpRoots"> <parameter name="httpPort" value="9010"/> </component> </overrides> {code}

The actual process of deploying this service, via the UI or CLI, initially appears to be successful. Yet the UI indicates that the service is Broken, and the CLI indicates the following:

gs> list gsc total 1 [1] Grid Service Container gs-grid funkmi-7w4l3b1.us. GigaSpace gigaspaces-1506 5 minutes, 44 seconds gs> list gsm total 1 [1] Grid Service Manager gs-grid funkmi-7w4l3b1.us. GigaSpace Service Deployment role=primary GigaSpace planned=1 actual=1 pending=0 id=1 10.0.1.13 EchoPersistenceService role=primary EchoPersistenceService planned=1 actual=0 pending=0

As you can, the EchoPersistenceService has not been actually deployed, or at least that's the way I read it. Moreover, there are no log entries that indicate such a service deployment failure. In other words, I have no clue as to why my service has not been deployed.

Any ideas and/or comments on this issue would be greatly appreciated;)

Thanks, Mike

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2247]{quote}

asked 2006-08-19 13:30:00 -0600

javawerks gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete