> The problem is in the XDoclet tags. > It should be: > > * @jmx:mbean > * name="jboss.persistence:service=IDGeneratorFactory,type=HiLo" > * extends="org.jboss.system.ServiceMBean"
Ok, I made the change to HiLoIDGeneratorFactory.java, and rebuilt the persistence module. The binding now appears to be functional. Unfortunately, I have encountered a further error. The log file transcript is below. > P.S. What does your deployment descriptor look like? > Are all the attributes really empty? That was typo while copying from the webpage: DataSource = java:/DefaultDS ColumnName = ID TableName = JBOSS_SEQUENCE StateString = Started BlockSize = 5 State = 3 ColumnSQLType = INTEGER TransactionManager = java:/TransactionManager Name HiLoIDGeneratorFactory FactoryName = java:/HiLoIDGeneratorFactory Regards, Jon Mann 2003-10-02 01:23:36,490 ERROR [org.jboss.persistence.jbossdo.deployment.JDOModule] Initialization failed org.jboss.deployment.DeploymentException: Could not create PersistenceManagerFactory.; - nested throwable: (MBeanException: org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl constructor has thrown an exception: org.jboss.deployment.Deploy mentException: Could not create KeyGenerator instance.; - nested throwable: (java.lang.NullPointerException) Cause: org.jboss.deployment.DeploymentException: Could not create KeyGenerator instance.; - nested throwable: (java.lang.Nul lPointerException)) at org.jboss.persistence.jbossdo.deployment.JDOModule.createPersistenceManagerFactory(JDOModule.java:91) at org.jboss.persistence.jbossdo.deployment.JDOModule.createService(JDOModule.java:65) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy13.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:310) at org.jboss.system.ServiceController.create(ServiceController.java:243) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy16.create(Unknown Source) at org.jboss.persistence.jbossdo.deployment.JDODeployer.create(JDODeployer.java:173) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:536) Caused by: MBeanException: org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl constructor has thrown an exception: org.jboss.deployment.DeploymentException: Could not create KeyGenerator instance.; - nested throwable: (java.lang.NullPointe rException) Cause: org.jboss.deployment.DeploymentException: Could not create KeyGenerator instance.; - nested throwable: (java.lang.Nul lPointerException) at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:893) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:851) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:263) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:304) at org.jboss.persistence.jbossdo.deployment.JDOModule.createPersistenceManagerFactory(JDOModule.java:77) ... 67 more On Thu, Oct 02, 2003 at 12:52:26AM +0100, Adrian Brock wrote: > The problem is in the XDoclet tags. > It should be: > > * @jmx:mbean > * name="jboss.persistence:service=IDGeneratorFactory,type=HiLo" > * extends="org.jboss.system.ServiceMBean" > > Note the extends tag. > > ServiceMBean exposes the lifecycle operations, > without it [create/start]Service aren't invoked so it never > binds into jndi > For the same reason, the service state is missing. > > P.S. What does your deployment descriptor look like? > Are all the attributes really empty? > > Regards, > Adrian > > On Thu, 2003-10-02 at 00:28, J.Mann wrote: > > I cannot find a "state" within the "IDGeneratorFactory" page: > > > > Domain Name: jboss.persistence > > service: IDGeneratorFactory > > type: HiLo > > MBean Java Class: org.jboss.persistence.idgen.hilo.HiLoIDGeneratorFactory > > > > MBean description: Management Bean. > > > > List of MBean attributes: > > Name Type Access Value Description > > DataSource java.lang.String RW MBean Attribute. > > ColumnName java.lang.String RW MBean Attribute. > > TableName java.lang.String RW MBean Attribute. > > BlockSize int RW MBean Attribute. > > ColumnSQLType java.lang.String RW MBean Attribute. > > TransactionManager java.lang.String RW MBean Attribute. > > FactoryName java.lang.String RW MBean Attribute. > > > > Below is a transcript from the server.log when I deploy the > > "hilo-idgen-service.xml" file: > > > > Regards, > > Jon Mann. > > > > > > 2003-10-02 00:18:34,454 INFO [org.jboss.deployment.MainDeployer] Starting > > deployment of package: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,455 DEBUG [org.jboss.deployment.MainDeployer] Starting > > deployment (init step) of package at: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,455 DEBUG [org.jboss.deployment.MainDeployer] using deployer > > [EMAIL PROTECTED] > > 2003-10-02 00:18:34,460 DEBUG [org.jboss.deployment.SARDeployer] about to copy 0 > > local directories > > 2003-10-02 00:18:34,461 DEBUG [org.jboss.deployment.SARDeployer] looking for > > nested deployments in : > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,463 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] > > handleNotification: > > javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment.SubDeployer.init,sequenceNumber=105,timeStamp=1065050314461,message=null,[EMAIL > > PROTECTED] { > > url=file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > } > > deployer: [EMAIL PROTECTED] > > status: null > > state: INIT_DEPLOYER > > watch: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > lastDeployed: 0 > > lastModified: 0 > > mbeans: > > ] > > 2003-10-02 00:18:34,463 DEBUG [org.jboss.deployment.DeploymentInfo] > > createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: > > JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, > > configParserClassName: null, repositoryConfig: null) > > 2003-10-02 00:18:34,463 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx > > UCL with url > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/tmp/deploy/tmp37491hilo-idgen-service.xml > > 2003-10-02 00:18:34,463 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] > > Adding [EMAIL PROTECTED] > > url=file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/tmp/deploy/tmp37491hilo-idgen-service.xml > > ,addedOrder=0} > > 2003-10-02 00:18:34,464 DEBUG [org.jboss.deployment.MainDeployer] found 0 > > subpackages of > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,464 DEBUG [org.jboss.deployment.MainDeployer] Watching new > > file: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,464 DEBUG [org.jboss.deployment.MainDeployer] create step for > > deployment > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,464 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, > > create step: url > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,465 DEBUG [org.jboss.deployment.SARDeployer] Registering > > service UCL=jmx.loading:UCL=966905 > > 2003-10-02 00:18:34,466 DEBUG [org.jboss.system.ServiceCreator] About to create > > bean: jboss.persistence:service=IDGeneratorFactory,type=HiLo with code: > > org.jboss.persistence.idgen.hilo.HiLoIDGeneratorFactory > > 2003-10-02 00:18:34,480 DEBUG [org.jboss.system.ServiceCreator] Created bean: > > jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,481 DEBUG [org.jboss.system.ServiceConfigurator] FactoryName > > set to java:/HiLoIDGeneratorFactory in > > jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,482 DEBUG [org.jboss.system.ServiceConfigurator] DataSource > > set to java:/DefaultDS in jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,484 DEBUG [org.jboss.system.ServiceConfigurator] > > TransactionManager set to java:/TransactionManager in > > jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,485 DEBUG [org.jboss.system.ServiceConfigurator] TableName set > > to JBOSS_SEQUENCE in jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,486 DEBUG [org.jboss.system.ServiceConfigurator] ColumnName > > set to ID in jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,487 DEBUG [org.jboss.system.ServiceConfigurator] ColumnSQLType > > set to INTEGER in jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,488 DEBUG [org.jboss.system.ServiceConfigurator] BlockSize set > > to 5 in jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,488 DEBUG [org.jboss.system.ServiceController] Creating > > service jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,488 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] > > handleNotification: > > javax.management.Notification[source=jboss.system:service=ServiceController,type= > > org.jboss.system.ServiceMBean.create,sequenceNumber=94,timeStamp=1065050314488,message=null,userData=jboss.persistence:service=IDGeneratorFactory,type=HiLo] > > 2003-10-02 00:18:34,489 DEBUG > > [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find > > factory for event: > > javax.management.Notification[source=jboss.system:service=ServiceController,type= > > org.jboss.system.ServiceMBean.create,sequenceNumber=94,timeStamp=1065050314488,message=null,userData=jboss.persistence:service=IDGeneratorFactory,type=HiLo] > > 2003-10-02 00:18:34,489 DEBUG [org.jboss.system.ServiceController] Creating > > dependent components for: jboss.persistence:service=IDGeneratorFactory,type=HiLo > > dependents are: [] > > 2003-10-02 00:18:34,489 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] > > handleNotification: > > javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment.SubDeployer.create,sequenceNumber=106,timeStamp=1065050314489,message=null,[EMAIL > > PROTECTED] { > > url=file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > } > > deployer: [EMAIL PROTECTED] > > status: null > > state: CREATE_DEPLOYER > > watch: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > lastDeployed: 1065050314464 > > lastModified: 1065050314000 > > mbeans: > > jboss.persistence:service=IDGeneratorFactory,type=HiLo (state not available) > > ] > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.deployment.MainDeployer] Done with create > > step of deploying hilo-idgen-service.xml > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment > > start > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, > > start step: url > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.system.ServiceController] starting > > service jboss.persistence:service=IDGeneratorFactory,type=HiLo > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.system.ServiceController] Starting > > dependent components for: jboss.persistence:service=IDGeneratorFactory,type=HiLo > > dependent components: [] > > 2003-10-02 00:18:34,490 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] > > handleNotification: > > javax.management.Notification[source=jboss.system:service=ServiceDeployer,type=org.jboss.deployment.SubDeployer.start,sequenceNumber=107,timeStamp=1065050314490,message=null,[EMAIL > > PROTECTED] { > > url=file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > } > > deployer: [EMAIL PROTECTED] > > status: Starting > > state: START_DEPLOYER > > watch: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > lastDeployed: 1065050314464 > > lastModified: 1065050314000 > > mbeans: > > jboss.persistence:service=IDGeneratorFactory,type=HiLo (state not available) > > ] > > 2003-10-02 00:18:34,518 DEBUG [org.jboss.management.j2ee.ServiceModule] > > postRegister(), parent: jboss.management.local:j2eeType=J2EEServer,name=Local > > 2003-10-02 00:18:34,518 DEBUG [org.jboss.management.j2ee.ServiceModule] Created > > JSR-77 ServiceModule, name: hilo-idgen-service.xml > > 2003-10-02 00:18:34,518 DEBUG > > [org.jboss.management.j2ee.factory.ServiceModuleFactory] Created ServiceModule: > > jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=hilo-idgen-service.xml > > 2003-10-02 00:18:34,520 DEBUG [org.jboss.management.j2ee.MBean] postRegister(), > > parent: > > jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=hilo-idgen-service.xml > > 2003-10-02 00:18:34,520 DEBUG > > [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean, name: > > jboss.persistence:service=IDGeneratorFactory,type=HiLo, SAR Module: > > jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=hilo-idgen-service.xml > > 2003-10-02 00:18:34,521 DEBUG [org.jboss.deployment.MainDeployer] End deployment > > start on package: hilo-idgen-service.xml > > 2003-10-02 00:18:34,521 INFO [org.jboss.deployment.MainDeployer] Deployed > > package: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > 2003-10-02 00:18:34,521 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] > > Watch URL for: > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > -> > > file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Oct 01, 2003 at 11:12:49PM +0100, Adrian Brock wrote: > > > Go back to the HiLoGenerator MBean > > > what "state" does it have, is it "started"? > > > > > > If not, post the error from the log/server.log > > > when it was deploying. > > > > > > Regards, > > > Adrian > > > > > > On Wed, 2003-10-01 at 23:00, J.Mann wrote: > > > > I cannot see "HiLoIDGeneratorFactory" on the JNDIView page. > > > > > > > > Below "java: Namespace" appears: > > > > > > > > +- XAConnectionFactory > > > > +- DefaultDS > > > > +- SecurityProxyFactory > > > > +- DefaultJMSProvider > > > > +- MySqlDS > > > > +- comp > > > > +- ConnectionFactory > > > > +- JmsXA > > > > +- jaas > > > > | +- JmsXARealm > > > > | +- jbossmq > > > > | +- HsqlDbRealm > > > > +- timedCacheFactory > > > > Failed to lookup: timedCacheFactory, errmsg=null > > > > +- TransactionPropagationContextExporter > > > > +- Mail > > > > +- StdJMSPool > > > > +- appDS > > > > +- TransactionPropagationContextImporter > > > > +- TransactionManager > > > > > > > > Below "Global JNDI Namespace" appears: > > > > > > > > +- jmx > > > > | +- invoker > > > > | | +- RMIAdaptor (proxy: $Proxy24 implements interface > > > > org.jboss.jmx.adaptor.rmi.RMIAdaptor) > > > > | +- rmi > > > > | | +- RMIAdaptor > > > > +- OIL2XAConnectionFactory > > > > +- HTTPXAConnectionFactory > > > > +- ConnectionFactory > > > > +- UserTransactionSessionFactory > > > > +- HTTPConnectionFactory > > > > +- XAConnectionFactory > > > > +- invokers > > > > | +- kimbull.countersnipe.com > > > > | | +- pooled > > > > | | +- jrmp > > > > | | +- http > > > > +- UserTransaction > > > > +- UILXAConnectionFactory > > > > +- RMIXAConnectionFactory > > > > +- UIL2XAConnectionFactory > > > > +- topic > > > > | +- testDurableTopic > > > > | +- testTopic > > > > | +- securedTopic > > > > +- queue > > > > | +- A > > > > | +- testQueue > > > > | +- ex > > > > | +- DLQ > > > > | +- D > > > > | +- C > > > > | +- B > > > > +- console > > > > | +- PluginManager (proxy: $Proxy19 implements interface > > > > org.jboss.console.manager.PluginManagerMBean) > > > > +- UIL2ConnectionFactory > > > > +- jmx:kimbull.countersnipe.com:rmi > > > > +- UILConnectionFactory > > > > +- RMIConnectionFactory > > > > +- ejb > > > > | +- mgmt > > > > | | +- MEJB (proxy: $Proxy31 implements interface > > > > javax.management.j2ee.ManagementHome,interface javax.ejb.Handle) > > > > +- OIL2ConnectionFactory > > > > +- UUIDKeyGeneratorFactory > > > > > > > > > > > > Thanks, > > > > Jon Mann > > > > > > > > > > > > On Wed, Oct 01, 2003 at 09:06:37PM +0100, Adrian Brock wrote: > > > > > jboss > > > > > > > > > > * service=JNDIView > > > > > > > > > > Then click the "list" operation > > > > > > > > > > Regards, > > > > > Adrian > > > > > > > > > > On Wed, 2003-10-01 at 20:58, J.Mann wrote: > > > > > > > java:/HiLoIDGeneratorFactory > > > > > > > > > > > > The following appears on the /jmx-console page: > > > > > > > > > > > > jboss.persistence > > > > > > > > > > > > * service=IDGeneratorFactory,type=HiLo > > > > > > * service=UUIDGeneratorFactory,type=UUID > > > > > > > > > > > > How do I access JNDIView? > > > > > > > > > > > > Regards, > > > > > > Jon Mann. > > > > > > > > > > > > > > > > > > On Wed, Oct 01, 2003 at 10:18:36PM +0300, Alexey Loubyansky wrote: > > > > > > > java:/HiLoIDGeneratorFactory > > > > > > > > > > > > > > And JNDIView can be found at http://localhost:8080/jmx-console > > > > > > > > > > > > > > J.Mann wrote: > > > > > > > > > > > > > > >See what with JNDIView? > > > > > > > > > > > > > > > >Cheers, > > > > > > > >Jon Mann > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >On Wed, Oct 01, 2003 at 09:11:33PM +0300, Alexey Loubyansky wrote: > > > > > > > > > > > > > > > >>So, you can't see it with the JNDIView? > > > > > > > >> > > > > > > > >>alex > > > > > > > >> > > > > > > > >>J.Mann wrote: > > > > > > > >> > > > > > > > >> > > > > > > > >>>I deployed hilo-idgen-service.xml and uuid-idgen-service.xml from the > > > > > > > >>>directory you specified. > > > > > > > >>> > > > > > > > >>>They appear to deploy correctly (from the jboss boot process): > > > > > > > >>> > > > > > > > >>>18:31:50,731 INFO [MainDeployer] Starting deployment of package: > > > > > > > >>>file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > > > > > > >>>18:31:50,842 INFO [MainDeployer] Deployed package: > > > > > > > >>>file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/hilo-idgen-service.xml > > > > > > > >>>18:31:50,843 INFO [MainDeployer] Starting deployment of package: > > > > > > > >>>file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/uuid-idgen-service.xml > > > > > > > >>>18:31:50,991 INFO [MainDeployer] Deployed package: > > > > > > > >>>file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/uuid-idgen-service.xml > > > > > > > >>> > > > > > > > >>>But then during the deployment of my app: > > > > > > > >>> > > > > > > > >>>18:31:54,870 INFO [MainDeployer] Starting deployment of package: > > > > > > > >>>file:/var/local/jon/jboss-head-snapshot/build/output/jboss-4.0.0DR3/server/default/deploy/app.jar > > > > > > > >>>18:31:55,416 INFO [JDOModule] Creating > > > > > > > >>>18:33:06,902 ERROR [JDOModule] Initialization failed > > > > > > > >>>org.jboss.deployment.DeploymentException: Could not create > > > > > > > >>>PersistenceManagerFactory.; - nested throwable: (MBeanException: > > > > > > > >>>org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl > > > > > > > >>>constructor > > > > > > > >>>has thrown an exception: org.jboss.deployment.DeploymentException: > > > > > > > >>>Could > > > > > > > >>>not find java:/HiLoIDGeneratorFactory; - nested throwable: > > > > > > > >>>(javax.naming.NameNotFoundException: HiLoIDGeneratorFactory not bound) > > > > > > > >>>Cause: org.jboss.deployment.DeploymentException: Could not find > > > > > > > >>>java:/HiLoIDGeneratorFactory; - nested throwable: > > > > > > > >>>(javax.naming.NameNotFoundException: HiLoIDGeneratorFactory not > > > > > > > >>>bound)) > > > > > > > >>> > > > > > > > >>> > > > > > > > >>>Thanks, > > > > > > > >>>Jon Mann > > > > > > > >>> > > > > > > > >>> > > > > > > > >>> > > > > > > > >>> > > > > > > > >>>On Wed, Oct 01, 2003 at 07:23:53PM +0300, Alexey Loubyansky wrote: > > > > > > > >>> > > > > > > > >>> > > > > > > > >>>>In jboss-head\persistence\src\etc\examples\idgen\ you will find to > > > > > > > >>>>files. One of them is hilo-idgen-service.xml. Try to deploy it > > > > > > > >>>>before > > > > > > > >>>>your application. Please, let me know how whether it solved the > > > > > > > >>>>problem > > > > > > > >>>>;) > > > > > > > >>>> > > > > > > > >>>>Thanks, > > > > > > > >>>> > > > > > > > >>>>alex > > > > > > > >>>> > > > > > > > >>>>J.Mann wrote: > > > > > > > >>>> > > > > > > > >>>> > > > > > > > >>>> > > > > > > > >>>>>Hello folks! > > > > > > > >>>>> > > > > > > > >>>>>I am trying to build JBoss from CVS, with the Persistence/JBossDO > > > > > > > >>>>>functionality. > > > > > > > >>>>> > > > > > > > >>>>>I have been using the last developer release, but I want access to > > > > > > > >>>>>the > > > > > > > >>>>>latest fixes in CVS. > > > > > > > >>>>> > > > > > > > >>>>>Here are the actions I take, on a daily snapshot... > > > > > > > >>>>> > > > > > > > >>>>>Build the server and jbossDO: > > > > > > > >>>>> > > > > > > > >>>>> build/build.sh > > > > > > > >>>>> build/build.sh -Dmodules=persistence > > > > > > > >>>>> > > > > > > > >>>>>Copy JBossDO to the server > > > > > > > >>>>>(from instructions provided by Alex Loubyansky): > > > > > > > >>>>> > > > > > > > >>>>> cp persistence/output/lib/jboss-persistence.jar \ > > > > > > > >>>>> build/output/jboss-4.0.0DR3/server/default/lib/ > > > > > > > >>>>> > > > > > > > >>>>> cp persistence/output/lib/jboss-persistence-client.jar \ > > > > > > > >>>>> build/output/jboss-4.0.0DR3/client/ > > > > > > > >>>>> > > > > > > > >>>>> cp persistence/output/lib/jbossdo.sar \ > > > > > > > >>>>> build/output/jboss-4.0.0DR3/server/default/deploy/ > > > > > > > >>>>> > > > > > > > >>>>>Install the MySQL JDBC connector: > > > > > > > >>>>> > > > > > > > >>>>> cp mysql-connector-java-3.0.8-stable-bin.jar \ > > > > > > > >>>>> build/output/jboss-4.0.0DR3/server/default/lib/ > > > > > > > >>>>> > > > > > > > >>>>>Deploy my app to jboss: > > > > > > > >>>>> > > > > > > > >>>>> cd myapp > > > > > > > >>>>> ant > > > > > > > >>>>> cp db1-ds.xml > > > > > > > >>>>> build/output/jboss-4.0.0DR3/server/default/deploy/ > > > > > > > >>>>> cp db2-ds.xml > > > > > > > >>>>> build/output/jboss-4.0.0DR3/server/default/deploy/ > > > > > > > >>>>> > > > > > > > >>>>>Boot jboss: > > > > > > > >>>>> > > > > > > > >>>>> cd build/output/jboss-4.0.0DR3 > > > > > > > >>>>> bin/run.sh > > > > > > > >>>>> > > > > > > > >>>>>However, I encounter errors, during the deployment of my app: > > > > > > > >>>>> > > > > > > > >>>>> 16:02:04,258 INFO [JDOModule] Creating > > > > > > > >>>>> 16:02:35,631 ERROR [JDOModule] Initialization failed > > > > > > > >>>>> > > > > > > > >>>>> org.jboss.deployment.DeploymentException: Could not create > > > > > > > >>>>> PersistenceManagerFactory.; - nested throwable: > > > > > > > >>>>> (MBeanException: > > > > > > > >>>>> org.jboss.persistence.jbossdo.PersistenceManagerFactoryImpl > > > > > > > >>>>> constructor > > > > > > > >>>>> has thrown an exception: > > > > > > > >>>>> org.jboss.deployment.DeploymentException: > > > > > > > >>>>> Could > > > > > > > >>>>> not find java:/HiLoIDGeneratorFactory; - nested throwable: > > > > > > > >>>>> (javax.naming.NameNotFoundException: HiLoIDGeneratorFactory > > > > > > > >>>>> not > > > > > > > >>>>> bound) > > > > > > > >>>>> Cause: org.jboss.deployment.DeploymentException: Could not find > > > > > > > >>>>> java:/HiLoIDGeneratorFactory; - nested throwable: > > > > > > > >>>>> (javax.naming.NameNotFoundException: HiLoIDGeneratorFactory > > > > > > > >>>>> not > > > > > > > >>>>> bound)) > > > > > > > >>>>> > > > > > > > >>>>>Why would java:/HiLoIDGeneratorFactory not be bound? > > > > > > > >>>>> > > > > > > > >>>>>I did notice a lack of hilo-idgen-service.xml, so did a copy: > > > > > > > >>>>> > > > > > > > >>>>> cp > > > > > > > >>>>> persistence/output/etc/examples/idgen/hilo-idgen-service.xml \ > > > > > > > >>>>> buid/output/jboss-4.0.0DR3/server/default/deploy > > > > > > > >>>>> > > > > > > > >>>>>But I encounter the same error during boot. > > > > > > > >>>>> > > > > > > > >>>>>Any pointers would be greatly appreciated. > > > > > > > >>>>> > > > > > > > >>>>>Thanks for your time. > > > > > > > >>>>> > > > > > > > >>>>>Regards, > > > > > > > >>>>>Jon Mann. > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>>> > > > > > > > >>>> > > > > > > > >>>> > > > > > > > >>>> > > > > > > > >>>> > > > > > > > >>>>------------------------------------------------------- > > > > > > > >>>>This sf.net email is sponsored by:ThinkGeek > > > > > > > >>>>Welcome to geek heaven. > > > > > > > >>>>http://thinkgeek.com/sf > > > > > > > >>>>_______________________________________________ > > > > > > > >>>>JBoss-user mailing list > > > > > > > >>>>[EMAIL PROTECTED] > > > > > > > >>>>https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > >>> > > > > > > > >>> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >>------------------------------------------------------- > > > > > > > >>This sf.net email is sponsored by:ThinkGeek > > > > > > > >>Welcome to geek heaven. > > > > > > > >>http://thinkgeek.com/sf > > > > > > > >>_______________________________________________ > > > > > > > >>JBoss-user mailing list > > > > > > > >>[EMAIL PROTECTED] > > > > > > > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > > > Welcome to geek heaven. > > > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > > > JBoss-user mailing list > > > > > > > [EMAIL PROTECTED] > > > > > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > -- > > > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > > Adrian Brock > > > > > Director of Support > > > > > Back Office > > > > > JBoss Group, LLC > > > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > JBoss-user mailing list > > > > > [EMAIL PROTECTED] > > > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > -- > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > Adrian Brock > > > Director of Support > > > Back Office > > > JBoss Group, LLC > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > -- > xxxxxxxxxxxxxxxxxxxxxxxx > Adrian Brock > Director of Support > Back Office > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Jon Mann Countersnipe UK Email: [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user