Eric Guest
|
Posted: Thu Nov 25, 2004 9:57 am Post subject: Server type Runtime configurations run error |
|
|
i integration the JBoss3.x and BuilderX for develop EJB demo program(Cart),
after complete server side program, i add a server type runtime
configuration and according to the help document check following option:
Make project output path available on run
Make project libraries available on run
/////////////////////////////////////////////////////////////////////////////////////////////////////
When i check the second option and run the project, message pane show server
can not find dom4j class.
17:51:34,516 INFO [Server] Root Deployment Filename: jboss-service.xml
17:51:34,526 INFO [Server] Starting General Purpose Architecture (GPA)...
java.lang.NoClassDefFoundError: org/dom4j/Element
///////////////////////////////////////////////////////////////////////////////////////////
If check the second option, the server will deploy fail, and show folloing
error message:
17:52:44,817 INFO [MainDeployer] Starting deployment of package:
file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/CartModule.jar
17:52:45,258 WARN [verifier] EJB spec violation:
Bean : Cart
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java
class that implements the enterprise bean's business methods in the
<ejb-class> element.
Info : Class not found on 'convertapp.CartBean': Unexpected error during
load of: convertapp.CartBean, msg=javax/ejb/SessionBean
17:52:45,258 ERROR [MainDeployer] could not create deployment:
file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/CartModule.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans
failed, see above for error messages.
17:52:47,922 INFO [MainDeployer] Deployed package:
file:/D:/Tools/Java/jboss 3.2.4RC1 /server /default /deploy
/management/web-console.war
17:52:47,922 ERROR [URLDeploymentScanner] MBeanException: Incomplete
Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@8c6938c9{
url=file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/
CartModule.jar }
deployer: org.jboss.ejb.EJBDeployer@12789d2
status: Deployment FAILED reason: Verification of Enterprise Beans failed,
see above for error messages.
state: FAILED
watch:
file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/CartModule.jar
lastDeployed: 1101376364877
lastModified: 1101376366000
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
<none>
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@8c6938c9 {
url=file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/CartModule.jar
}
deployer: org.jboss.ejb.EJBDeployer@12789d2
status: Deployment FAILED reason: Verification of Enterprise Beans failed,
see above for error messages.
state: FAILED
watch:
file:/D:/Tools/Java/jboss-3.2.4RC1/server/default/deploy/CartModule.jar
lastDeployed: 1101376364877
lastModified: 1101376366000
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
<none>
|
|