Bugs item #841526, was opened at 2003-11-13 17:03
Message generated for change (Comment added) made by cooperfbi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=841526&group_id=22866

Category: Nukes
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Shawn Stephens (sstephens79)
Assigned to: Julien Viet (cooperfbi)
Summary: Could not load class

Initial Comment:
I just checked out nukes CVS and deployed it in JBoss-
3.2.3RC1 (Tomcat) and I get the following error when 
tryging to add the bb module.  Please see attached 
server log for more info.



2003-11-13 09:59:13,646 ERROR 
[org.jboss.deployment.scanner.URLDeploymentScanner] 
MBeanException: Exception in MBean 
operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
  <none>
Incompletely deployed packages:
  <none>
MBeans waiting for classes:
  <none>
MBeans waiting for other MBeans:
[ObjectName: nukes.modules:name=bb
 state: CREATED
 I Depend On:  nukes.modules:name=core
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Category
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Forum
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Group
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Option
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Poll
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Post
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Topic
 jboss.j2ee:service=EJB,jndiName=nukes/bb/User
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Utils
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Vote
 jboss.j2ee:service=EJB,jndiName=nukes/bb/Watch

 Depends On Me:  nukes.blocks:name=bb
, ObjectName: nukes.blocks:name=bb
 state: CREATED
 I Depend On:  nukes.modules:name=bb

 Depends On Me: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Watch
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Post
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Poll
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Forum
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Group
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Topic
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Option
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Category
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/Vote
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: , ObjectName: 
jboss.j2ee:service=EJB,jndiName=nukes/bb/User
 state: FAILED
 I Depend On: 
 Depends On Me:  nukes.modules:name=bb
org.jboss.deployment.DeploymentException: Could not 
load class: ]

----------------------------------------------------------------------

>Comment By: Julien Viet (cooperfbi)
Date: 2003-11-13 17:34

Message:
Logged In: YES 
user_id=337141

I will modify the build therefore to not overwrite with the default 
config file if it already exists.

----------------------------------------------------------------------

Comment By: Julien Viet (cooperfbi)
Date: 2003-11-13 17:19

Message:
Logged In: YES 
user_id=337141

Did you copy the file nukes/build/etc/local.properties-mysql in 
nukes/build/local.properties to setup the mysql database ?

Most of the time this error is seen when the preceding has not 
been done because the nukes-entity-command is a class name and 
the token in the EJB-JAR.XML is not replaced by the good value, so 
instead of having org.jboss.server.etc.... you have the token 
$nukes-entity-command@

you can check that by looking at the file :

nukes/bb/output/resources/nukes-bb-ejb-jar/META-INF/jbosscmp-
jdbc.xml which contains the entity commands tag

if you have @nukes-entity-command@, this is that error. 
Otherwise if this is a classname, then that means that class is not 
available in the server (unlikely). The value should be : 
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand


----------------------------------------------------------------------

Comment By: Shawn Stephens (sstephens79)
Date: 2003-11-13 17:15

Message:
Logged In: YES 
user_id=684706

for some reason nukes overwrite local.properties if the files 
date is different than the one it overwrite.  Solution, open file 
and paste in my-sql info.

----------------------------------------------------------------------

Comment By: Shawn Stephens (sstephens79)
Date: 2003-11-13 17:05

Message:
Logged In: YES 
user_id=684706

Search for "Could not load class" no quotes to find the error in 
the attached log file.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=841526&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to