0 Replies Latest reply on Jun 15, 2005 11:04 PM by david su

    Jboss application server startup error

    david su Newbie

      Dear Sir/Madam,

      I'm new to Jboss. I have some problem when I start the Jboss application server. the followings are what i installed on my PC for j2ee/jboss environment.

      1. j2eesdk-1_4_01_2005Q1_windows application
      after installation, generate j2ee 1.4 SDK environment

      2. jdk-1_5_0_03-nb_4_1_win application
      after installation, generate j2se Development Kit 5.0 Update 3; j2se Runtime Environment 5.0 Update 3; NetBeans IDE 4.1

      3. jwsdp-1_5_windows-i586
      after installation, generate jwsdp 1.5

      4. j2ee-1_4_doc-tutorial_4 folder
      5. apache-ant-1.6.3 folder
      6. jboss-4.0.2 folder
      7. jbossj2ee-src.zip

      The following is only a part of the output when starting the Jboss application server. From the line of ?14:38:36,967 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ebankCustomer,service=EJB?, it starts to get more errors.

      I have spent quite a lot of time to look at this problem, however, I cannot solve it.

      Your quick help will be much appreciated.

      Thanks and regards,
      David Su

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\bin\\..
      .
      JAVA: E:\Program Files\Java\jdk1.5.0_03\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: E:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\bin\\run.jar
      .
      ===============================================================================
      .
      14:37:51,764 INFO [Server] Starting JBoss (MX MicroKernel)...
      14:37:51,764 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
      14:37:51,764 INFO [Server] Home Dir: F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2
      14:37:51,764 INFO [Server] Home URL: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/
      14:37:51,764 INFO [Server] Library URL: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/lib/
      14:37:51,764 INFO [Server] Patch URL: null
      14:37:51,764 INFO [Server] Server Name: default
      14:37:51,764 INFO [Server] Server Home Dir: F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\server\default
      14:37:51,779 INFO [Server] Server Home URL: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/
      14:37:51,795 INFO [Server] Server Data Dir: F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\server\default\data
      14:37:51,795 INFO [Server] Server Temp Dir: F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\server\default\tmp
      14:37:51,795 INFO [Server] Server Config URL: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/conf/
      14:37:51,795 INFO [Server] Server Library URL: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/lib/
      14:37:51,795 INFO [Server] Root Deployment Filename: jboss-service.xml
      14:37:51,795 INFO [Server] Starting General Purpose Architecture (GPA)...
      14:37:52,764 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
      14:37:52,764 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_03-b07,Sun Microsystems Inc.
      14:37:52,764 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      14:37:55,326 INFO [Server] Core system initialized
      14:37:59,873 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      14:38:00,045 INFO [WebService] Using RMI server codebase: http://home-ks1m8evvmd:8083/
      14:38:00,436 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      14:38:13,311 INFO [Embedded] Catalina naming disabled
      14:38:14,686 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      14:38:14,686 INFO [Catalina] Initialization processed in 1204 ms
      14:38:14,686 INFO [StandardService] Starting service jboss.web
      14:38:14,701 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
      14:38:14,904 INFO [StandardHost] XML validation disabled
      14:38:14,982 INFO [Catalina] Server startup in 296 ms
      14:38:15,342 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
      14:38:16,264 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
      14:38:17,936 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/tmp/deploy/tmp19873jboss-ws4ee-exp.war/
      14:38:18,311 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
      14:38:19,014 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      14:38:25,045 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
      14:38:26,873 INFO [MailService] Mail Service bound to java:/Mail
      14:38:28,123 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
      14:38:28,514 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
      14:38:28,951 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
      14:38:29,295 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
      14:38:29,561 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
      14:38:29,795 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/mail-ra.rar
      14:38:31,014 INFO [STDOUT] [Server@9c87c1]: [Thread[hypersonic-default,5,jboss]]: checkRunning(false) entered
      14:38:31,014 INFO [STDOUT] [Server@9c87c1]: [Thread[hypersonic-default,5,jboss]]: checkRunning(false) exited
      14:38:31,014 INFO [STDOUT] [Server@9c87c1]: Startup sequence initiated from main() method
      14:38:31,029 INFO [STDOUT] [Server@9c87c1]: Loaded properties from [F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\bin\server.properties]
      14:38:31,061 INFO [STDOUT] [Server@9c87c1]: Initiating startup sequence...
      14:38:31,061 INFO [STDOUT] [Server@9c87c1]: Server socket opened successfully in 0 ms.
      14:38:32,295 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
      14:38:32,467 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/jmx-console.war/
      14:38:32,998 INFO [STDOUT] [Server@9c87c1]: Database [index=0, id=0, db=file:F:\Java_Cpp\JBoss\jboss-4.0.2\jboss-4.0.2\server\default\data\hypersonic\default, alias=] opened sucessfully in 1859 ms.
      14:38:32,998 INFO [STDOUT] [Server@9c87c1]: Startup sequence completed in 1937 ms.
      14:38:32,998 INFO [STDOUT] [Server@9c87c1]: 2005-06-16 14:38:32.998 HSQLDB server 1.8.0 is online
      14:38:32,998 INFO [STDOUT] [Server@9c87c1]: To close normally, connect and execute SHUTDOWN SQL
      14:38:32,998 INFO [STDOUT] [Server@9c87c1]: From command line, use [Ctrl]+[C] to abort abruptly
      14:38:33,170 INFO [EARDeployer] Init J2EE application: file:/F:/Java_Cpp/JBoss/jboss-4.0.2/jboss-4.0.2/server/default/deploy/JBossDukesBank.ear
      14:38:34,467 INFO [EjbModule] Deploying CustomerBean
      14:38:34,998 INFO [EjbModule] Deploying AccountBean
      14:38:35,045 INFO [EjbModule] Deploying TxBean
      14:38:35,092 INFO [EjbModule] Deploying NextIdBean
      14:38:35,123 INFO [EjbModule] Deploying AccountControllerBean
      14:38:35,232 INFO [EjbModule] Deploying CustomerControllerBean
      14:38:35,373 INFO [EjbModule] Deploying TxControllerBean
      14:38:36,967 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ebankCustomer,service=EJB
      org.jboss.deployment.DeploymentException: Error: can't find data source: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: DefaultDS not bound)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:139)