Advertisement

01.11.2007 at 04:27PM PST, ID: 22119937
[x]
Attachment Details

Configuring Jboss 4.0.4 for EJB3

Asked by dolphin_g in Application Servers

Tags: jboss, ejb3

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="localhost|127.0.0.1|Mphasis1234|guy.go.com" -Dhttps.proxyHost= -Dhttps.proxyPort= -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
.
  CLASSPATH: C:\Program Files\Java\jdk1.5.0_10\lib\tools.jar;C:\jboss-4.0.4.GA\bin\\run.jar
.
===============================================================================
.
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\default
16:21:37,073 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.4.GA/server/default/
16:21:37,364 INFO  [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\default\log
16:21:37,364 INFO  [Server] Server Temp Dir: C:\jboss-4.0.4.GA\server\default\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$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
16:21:45,746 INFO  [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://10.196.132.10:3873/]
16:21:46,627 INFO  [AspectDeployer] Deployed AOP: file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.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.DefaultSocketFactory
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.war/
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/tmp41159jbossws-exp.war/
16:22:02,089 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/

16:22:03,862 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.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_$_NON_CLUSTERED started.
16:22:06,065 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' 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  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=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=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial with dependencies:
16:22:08,238 INFO  [JmxKernelAbstraction]       jboss.jca:name=ejb3ExampleDS,service=ManagedConnectionFactory
16:22:08,348 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3 with dependencies:
16:22:08,358 INFO  [JmxKernelAbstraction]       persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
16:22:08,548 INFO  [EJB3Deployer] Deployed: file:/C:/jboss-4.0.4.GA/server/default/deploy/FirstEjb3Tutorial.jar
16:22:08,628 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
16:22:08,849 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial
  State: NOTYETINSTALLED
  I Depend On:
    jboss.jca:name=ejb3ExampleDS,service=ManagedConnectionFactory
  Depends On Me:
    jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3

ObjectName: jboss.j2ee:jar=FirstEjb3Tutorial.jar,name=BookTestBean,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=ejb3ExampleDS,service=ManagedConnectionFactory
  State: NOTYETINSTALLED
  Depends On Me:
    persistence.units:jar=FirstEjb3Tutorial.jar,unitName=FirstEjb3Tutorial


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
[+][-]02.04.2007 at 02:59PM PST, ID: 18464758

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.06.2007 at 12:01PM PST, ID: 18479247

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.06.2007 at 12:55PM PST, ID: 18479663

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Application Servers
Tags: jboss, ejb3
Sign Up Now!
Solution Provided By: ramazanyich
Participating Experts: 1
Solution Grade: C
 
 
[+][-]06.18.2007 at 01:21PM PDT, ID: 19310316

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32