Hi friends,
im trying to work a sample ejb3 on my jboss 4.0.4, but when i deploy i get the following error. Can any one help me
==========================
==========
==========
==========
==========
==========
===
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-4.0.4.GA\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_10\bin
\java
.
JAVA_OPTS: -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttp.nonProxyHosts="loca
lhost|127.
0.0.1|Mpha
sis1234|gu
y.go.com" -Dhttps.proxyHost= -Dhttps.proxyPort= -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInt
erval=3600
000 -Dsun.rmi.dgc.server.gcInt
erval=3600
000
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_10\lib
\tools.jar
;C:\jboss-
4.0.4.GA\b
in\\run.ja
r
.
==========================
==========
==========
==========
==========
==========
===
.
16:21:37,053 INFO [Server] Starting JBoss (MX MicroKernel)...
16:21:37,063 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
16:21:37,073 INFO [Server] Home Dir: C:\jboss-4.0.4.GA
16:21:37,073 INFO [Server] Home URL: file:/C:/jboss-4.0.4.GA/
16:21:37,073 INFO [Server] Patch URL: null
16:21:37,073 INFO [Server] Server Name: default
16:21:37,073 INFO [Server] Server Home Dir: C:\jboss-4.0.4.GA\server\d
efault
16:21:37,073 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4.GA/se
rver/defau
lt/
16:21:37,364 INFO [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\d
efault\log
16:21:37,364 INFO [Server] Server Temp Dir: C:\jboss-4.0.4.GA\server\d
efault\tmp
16:21:37,364 INFO [Server] Root Deployment Filename: jboss-service.xml
16:21:38,014 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
16:21:38,014 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_10-b03,Sun Microsystems Inc.
16:21:38,014 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
16:21:38,645 INFO [Server] Core system initialized
16:21:42,741 INFO [Log4jService$URLWatchTime
rTask] Configuring from URL: resource:log4j.xml
16:21:45,746 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://10.196.132.10:38
73/]
16:21:46,627 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss-4.0.4.GA/se
rver/defau
lt/deploy/
ejb3-inter
ceptors-ao
p.xml
16:21:52,015 INFO [WebService] Using RMI server codebase:
http://Mphasis1234:8083/16:21:57,062 INFO [MailService] Mail Service bound to java:/Mail
16:21:57,943 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.Defa
ultSocketF
actory
16:21:57,973 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
16:21:59,255 INFO [Embedded] Catalina naming disabled
16:21:59,365 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
16:21:59,365 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
16:21:59,986 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
16:21:59,986 INFO [Catalina] Initialization processed in 621 ms
16:21:59,986 INFO [StandardService] Starting service jboss.web
16:21:59,996 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
16:22:00,076 INFO [StandardHost] XML validation disabled
16:22:00,096 INFO [Catalina] Server startup in 110 ms
16:22:00,327 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb
-tomcat55.
sar/ROOT.w
ar/
16:22:00,787 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
16:22:01,819 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp4
1159jbossw
s-exp.war/
16:22:02,089 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/manageme
nt/console
-mgr.sar/w
eb-console
.war/
16:22:03,862 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdb
c.rar
16:22:04,252 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
16:22:04,352 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
16:22:04,372 INFO [QuartzResourceAdapter] start quartz!!!
16:22:04,493 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
16:22:04,563 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
16:22:04,573 INFO [RAMJobStore] RAMJobStore initialized.
16:22:04,573 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
16:22:04,573 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:22:04,573 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_N
ON_CLUSTER
ED started.
16:22:06,065 INFO [ConnectionFactoryBindingS
ervice] Bound ConnectionManager 'jboss.jca:service=DataSou
rceBinding
,name=Defa
ultDS' to JNDI name 'java:DefaultDS'
16:22:06,475 INFO [A] Bound to JNDI name: queue/A
16:22:06,475 INFO [B] Bound to JNDI name: queue/B
16:22:06,475 INFO [C] Bound to JNDI name: queue/C
16:22:06,475 INFO [D] Bound to JNDI name: queue/D
16:22:06,475 INFO [ex] Bound to JNDI name: queue/ex
16:22:06,515 INFO [testTopic] Bound to JNDI name: topic/testTopic
16:22:06,515 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
16:22:06,556 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:22:06,566 INFO [testQueue] Bound to JNDI name: queue/testQueue
16:22:06,596 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
16:22:07,066 INFO [DLQ] Bound to JNDI name: queue/DLQ
16:22:07,297 INFO [ConnectionFactoryBindingS
ervice] Bound ConnectionManager 'jboss.jca:service=Connect
ionFactory
Binding,na
me=JmsXA' to JNDI name 'java:JmsXA'
16:22:08,208 INFO [Ejb3Deployment] EJB3 deployment time took: 801
16:22:08,238 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=Firs
tEjb3Tutor
ial.jar,un
itName=Fir
stEjb3Tuto
rial with dependencies:
16:22:08,238 INFO [JmxKernelAbstraction] jboss.jca:name=ejb3Example
DS,service
=ManagedCo
nnectionFa
ctory
16:22:08,348 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=FirstEjb3Tu
torial.jar
,name=Book
TestBean,s
ervice=EJB
3 with dependencies:
16:22:08,358 INFO [JmxKernelAbstraction] persistence.units:jar=Firs
tEjb3Tutor
ial.jar,un
itName=Fir
stEjb3Tuto
rial
16:22:08,548 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.4.GA/se
rver/defau
lt/deploy/
FirstEjb3T
utorial.ja
r
16:22:08,628 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-cons
ole.war/
16:22:08,849 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=Firs
tEjb3Tutor
ial.jar,un
itName=Fir
stEjb3Tuto
rial
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=ejb3Example
DS,service
=ManagedCo
nnectionFa
ctory
Depends On Me:
jboss.j2ee:jar=FirstEjb3Tu
torial.jar
,name=Book
TestBean,s
ervice=EJB
3
ObjectName: jboss.j2ee:jar=FirstEjb3Tu
torial.jar
,name=Book
TestBean,s
ervice=EJB
3
State: NOTYETINSTALLED
I Depend On:
persistence.units:jar=Firs
tEjb3Tutor
ial.jar,un
itName=Fir
stEjb3Tuto
rial
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=ejb3Example
DS,service
=ManagedCo
nnectionFa
ctory
State: NOTYETINSTALLED
Depends On Me:
persistence.units:jar=Firs
tEjb3Tutor
ial.jar,un
itName=Fir
stEjb3Tuto
rial
16:22:09,209 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
16:22:09,490 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:22:09,530 INFO [JkMain] Jk running ID=0 time=0/160 config=null
16:22:09,540 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 32s:176ms
it is a simple stateless bean. the client tries to invoke the service which prints out a string.
Thank you in advance.
Start Free Trial