Hi all and sorry about the double-post, but I reckoned this is a more appropriate place for my question.
I have JBoss 4.2.1 installed on a local Windows XP Pro pc, with Java 1.6, JRE 1.6, MySQL 5 installed. The application I'm working on builds an EAR file and deploys it in JBoss. However once JBoss tries to initialize this EJB app, I get loads of errors (see below) starting off with ClassNotFound exception and then basically downhill from there. The curious thing is the exact same EAR file deploys perfectly on another machine with the same basic configuration. I have been comparing and checking xml files and property files line by line for two days - nothing. Could someone please tell me what's going wrong here, and how can I fix it? Thanks. Regards, Les 12:07:42,484 INFO [Server] Starting JBoss (MX MicroKernel)... 12:07:42,484 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605) 12:07:42,484 INFO [Server] Home Dir: C:\JBoss\jboss-4.2.1.GA 12:07:42,484 INFO [Server] Home URL: file:/C:/JBoss/jboss-4.2.1.GA/ 12:07:42,484 INFO [Server] Patch URL: null 12:07:42,484 INFO [Server] Server Name: default 12:07:42,484 INFO [Server] Server Home Dir: C:\JBoss\jboss-4.2.1.GA\server\default 12:07:42,484 INFO [Server] Server Home URL: file:/C:/JBoss/jboss-4.2.1.GA/server/default/ 12:07:42,484 INFO [Server] Server Log Dir: C:\JBoss\jboss-4.2.1.GA\server\default\log 12:07:42,484 INFO [Server] Server Temp Dir: C:\JBoss\jboss-4.2.1.GA\server\default\tmp 12:07:42,500 INFO [Server] Root Deployment Filename: jboss-service.xml 12:07:42,750 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc. 12:07:42,750 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_03-b05,Sun Microsystems Inc. 12:07:42,750 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 12:07:43,093 INFO [Server] Core system initialized 12:07:44,968 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 12:07:44,968 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 12:07:45,390 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 12:07:45,390 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 12:07:45,578 INFO [TransactionManagerService] Starting recovery manager 12:07:45,656 INFO [TransactionManagerService] Recovery manager started 12:07:45,656 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 12:07:47,875 INFO [EJB3Deployer] Starting java:comp multiplexer 12:07:49,265 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756) 12:07:50,421 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jre1.6.0_03\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Java\jdk1.6.0_03\bin\..\jre\bin\client;C:\Java\jdk1.6.0_03\bin\..\jre\bin;C:\Java\jdk1.6.0_03\bin;C:\JBoss\jboss-4.2.1.GA\bin;C:\Ant\apache-ant-1.7.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MySQL\MySQL Server 5.0\bin 12:07:50,468 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 12:07:50,468 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 12:07:50,468 INFO [Catalina] Initialization processed in 225 ms 12:07:50,468 INFO [StandardService] Starting service jboss.web 12:07:50,484 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA 12:07:50,531 INFO [Catalina] Server startup in 49 ms 12:07:50,625 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 12:07:51,187 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 12:07:51,375 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp65044jbossws-context-exp.war/ 12:07:51,484 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 12:07:52,296 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 12:07:52,750 INFO [MailService] Mail Service bound to java:/WinstantMail 12:07:52,906 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 12:07:52,953 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 12:07:52,984 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 12:07:53,031 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 12:07:53,078 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 12:07:53,125 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 12:07:53,125 INFO [QuartzResourceAdapter] start quartz!!! 12:07:53,187 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 12:07:53,218 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 12:07:53,218 INFO [RAMJobStore] RAMJobStore initialized. 12:07:53,218 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 12:07:53,218 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 12:07:53,218 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 12:07:53,984 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 12:07:54,234 INFO [A] Bound to JNDI name: queue/A 12:07:54,234 INFO [B] Bound to JNDI name: queue/B 12:07:54,234 INFO [C] Bound to JNDI name: queue/C 12:07:54,234 INFO [D] Bound to JNDI name: queue/D 12:07:54,234 INFO [ex] Bound to JNDI name: queue/ex 12:07:54,250 INFO [testTopic] Bound to JNDI name: topic/testTopic 12:07:54,265 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 12:07:54,265 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 12:07:54,265 INFO [testQueue] Bound to JNDI name: queue/testQueue 12:07:54,296 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 12:07:54,328 INFO [DLQ] Bound to JNDI name: queue/DLQ 12:07:54,453 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 12:07:54,515 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=WinstantDS' to JNDI name 'java:WinstantDS' 12:07:54,531 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 12:07:54,750 INFO [EARDeployer] Init J2EE application: file:/C:/JBoss/jboss-4.2.1.GA/server/default/deploy/winstant_ear.ear 12:08:05,093 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=winstant_ejb.jar java.lang.ClassNotFoundException: No ClassLoaders found for: com.winstant.ejb.SettingsEAOImpl at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) and on and on.. then ... at java.lang.Thread.run(Unknown Source) 12:08:08,359 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/C:/JBoss/jboss-4.2.1.GA/server/default/deploy/winstant_ear.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: URL file:/C:/JBoss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp65074winstant_ear.ear-contents/boma_web-exp.war/ deployment failed state: FAILED watch: file:/C:/JBoss/jboss-4.2.1.GA/server/default/deploy/winstant_ear.ear altDD: null lastDeployed: 1196248084859 lastModified: 1196248074750 mbeans: persistence.units:ear=winstant_ear.ear,unitName=winstant state: Started --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:service=EJB3,module=winstant_ejb.jar State: FAILED Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: com.winstant.ejb.SettingsEAOImpl ObjectName: jboss.web.deployment:war=boma_web.war,id=-1105637900 State: FAILED Reason: org.jboss.deployment.DeploymentException: URL file:/C:/JBoss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp65074winstant_ear.ear-contents/boma_web-exp.war/ deployment failed --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.j2ee:service=EJB3,module=winstant_ejb.jar State: FAILED Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: com.winstant.ejb.SettingsEAOImpl ObjectName: jboss.web.deployment:war=boma_web.war,id=-1105637900 State: FAILED Reason: org.jboss.deployment.DeploymentException: URL file:/C:/JBoss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp65074winstant_ear.ear-contents/boma_web-exp.war/ deployment failed 12:08:08,453 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 12:08:08,468 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 12:08:08,484 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 25s:984ms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108460#4108460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108460 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
