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.









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