I don't know why you'd get the cnfe but I think I probably fixed the 2nd
problem in HEAD.  Let me know if not.

thanks
david jencks

On 2002.09.14 13:38:50 -0400 Dain Sundstrom wrote:
> Deployment is still hosed in HEAD.
> 
> I am working on the Forums/JBoss code and when I deploy I copy the mysql 
> driver jar, mysql-ds.xml and jboss-forum.jar into the deploy directory. 
>     When I do this I get the following error (6 times):
> 
> 12:27:44,834 ERROR [MainDeployer] could not start deployment: 
> 
>file:/C:/work/jboss/jboss-head/build/output/jboss-4.0.0alpha/server/default/deploy/jboss-forum.jar
> org.jboss.deployment.DeploymentException: Could not deploy 
> 
>file:/C:/work/jboss/jboss-head/build/output/jboss-4.0.0alpha/server/default/deploy/jboss-forum.jar;
> 
> - nested throwable: (org.jboss.deployment.DeploymentException: Error 
> while fixing table name; - nested throwable: 
> (org.jboss.util.NestedSQLException: Failed to register driver for: 
> org.gjt.mm.mysql.Driver; - nested throwable: 
> (java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver); - nested 
> throwable: (org.jboss.resource.ResourceException: Failed to register 
> driver for: org.gjt.mm.mysql.Driver;
>   - nested throwable: (java.lang.ClassNotFoundException: 
> org.gjt.mm.mysql.Driver)
> )))
>          at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:441)
> <snip/>
>   + nested throwable:
> org.jboss.deployment.DeploymentException: Error while fixing table name; 
> - nested throwable: (org.jboss.util.NestedSQLException: Failed to 
> register driver for:
> org.gjt.mm.mysql.Driver; - nested throwable: 
> (java.lang.ClassNotFoundException:
> org.gjt.mm.mysql.Driver); - nested throwable: 
> (org.jboss.resource.ResourceException: Failed to register driver for: 
> org.gjt.mm.mysql.Driver; - nested throwable:
>   (java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver)))
>          at 
> org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:67)
>          at 
> 
>org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntityBridge.java:118)
>          at 
> 
>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:397)
>          at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339)
> 
> This happens even thought the driver deploys without error and this 
> class is in the driver jar.
> 
> Then if I try to redeploy the application to after fiddling with the 
> config files, I get the following different error:
> 
> 12:34:44,668 ERROR [URLDeploymentScanner] Failed to deploy: 
> org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@33980973{ 
> 
>url=file:/C:/work/jboss/jboss-head/build/output/jboss-4.0.0alpha/server/default/deploy/jboss-forum.jar,
> 
> deployedLastModified=1032024459577 }
> org.jboss.deployment.DeploymentException: error in create of EjbModule: 
> 
>file:/C:/work/jboss/jboss-head/build/output/jboss-4.0.0alpha/server/default/deploy/jboss
> -forum.jar; - nested throwable: 
> (javax.management.InstanceAlreadyExistsException
> : jboss.j2ee:service=EJB,jndiName=forum/Message already registered.)
>          at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:416)
>          at run(AbstractDeploymentScanner.java:177)
> <snip/>
>   + nested throwable:
> javax.management.InstanceAlreadyExistsException: 
> jboss.j2ee:service=EJB,jndiName=forum/Message already registered.
>          at 
> org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:641)
>          at 
> 
>org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:203)
>          at java.lang.reflect.Method.invoke(Native Method)
>          at 
> 
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> 
> This error happens even if I delete the file wait 30 seconds and copy in 
> a new one.
> 
> WTF?
> 
> -dain
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to