Article View: borland.public.jbuilder.debugger
Article #186Server type Runtime configurations run error
From: Eric
Date: Thu, 25 Nov 2004 09:57
Date: Thu, 25 Nov 2004 09:57
91 lines
4070 bytes
4070 bytes
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>
Technical Details
Message-ID:
<41a5aca1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,fc5082ee707cca13,start X-Google-Attributes: gidff5c5,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Eric" <lcfre@hotmail.com> Newsgroups: borland.public.jbuilder.debugger Subject: Server type Runtime configurations run error Date: Thu, 25 Nov 2004 17:57:30 +0800 Lines: 93 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 61.185.224.112 Message-ID: <41a5aca1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101376673 61.185.224.112 (25 Nov 2004 01:57:53 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail