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

-- 
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

Reply via email to