File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB build fails or JBoss fails? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB build fails or JBoss fails?" Watch "EJB build fails or JBoss fails?" New topic

EJB build fails or JBoss fails?

Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132
Hello all,

I am new to EJB and JBoss.
I want to know why I can't run my EJB project?

Backround detail:

Application Server: JBoss 3.2.3

IDE: Eclipse Ganymede v. 3.4.1

Project: EJB project EJB v. 2.0

Program: Session Bean Program

Elaboration: I create a TigerBean class. Now they say it will automatically create TigerSession and the build fails. The JBoss server failed to start.

may I know what is going wrong. In my EJB project it shows Red Mark also in ejb-jar.xml

When I simply start the JBoss server it shows following message:

1. Server JBoss v3.2.3 at localhost failed to start.

2. At console: It shows like this

16:43:28,296 INFO [Server] Starting JBoss (MX MicroKernel)...
16:43:28,302 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
16:43:28,306 INFO [Server] Home Dir: D:\sftwrs\application server\jboss\jboss-3.2.3
16:43:28,307 INFO [Server] Home URL: file:/D:/sftwrs/application server/jboss/jboss-3.2.3/
16:43:28,309 INFO [Server] Library URL: file:/D:/sftwrs/application server/jboss/jboss-3.2.3/lib/
16:43:28,313 INFO [Server] Patch URL: null
16:43:28,314 INFO [Server] Server Name: default
16:43:28,314 INFO [Server] Server Home Dir: D:\sftwrs\application server\jboss\jboss-3.2.3\server\default
16:43:28,372 INFO [Server] Server Home URL: file:/D:/sftwrs/application server/jboss/jboss-3.2.3/server/default/
16:43:28,373 INFO [Server] Server Data Dir: D:\sftwrs\application server\jboss\jboss-3.2.3\server\default\data
16:43:28,373 INFO [Server] Server Temp Dir: D:\sftwrs\application server\jboss\jboss-3.2.3\server\default\tmp
16:43:28,374 INFO [Server] Server Config URL: file:/D:/sftwrs/application server/jboss/jboss-3.2.3/server/default/conf/
16:43:28,375 INFO [Server] Server Library URL: file:/D:/sftwrs/application server/jboss/jboss-3.2.3/server/default/lib/
16:43:28,380 INFO [Server] Root Deployment Filename: jboss-service.xml
16:43:28,402 INFO [Server] Starting General Purpose Architecture (GPA)...
Failed to boot JBoss: JMImplementation:service=LoaderRepository,name=Default
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at org.jboss.system.server.ServerImpl.initBootLibraries(
at org.jboss.system.server.ServerImpl.doStart(
at org.jboss.system.server.ServerImpl.start(
at org.jboss.Main.boot(
at org.jboss.Main$
at Source)

My ejb module xml file looks like this:

Perform for today. Adapt for tomorrow.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

which version of EJB you use? sounds some what old one what about XDoclet classes(tool) ... search for ant +XDoclet stuff...
there is also eclipse plugin to correspondence of a particular server to build .ear(ejb)
Rahul Shilpakar
Ranch Hand

Joined: Aug 29, 2006
Posts: 132

EJB version is 2.0
and XDoclet version 1.2.3.

How can I solve problem?

Thank you.

I agree. Here's the link:
subject: EJB build fails or JBoss fails?
It's not a secret anymore!