[jboss-user] [Installation, Configuration & DEPLOYMENT] - Persistence config with mysql.

2lopez do-not-reply at jboss.com
Mon Apr 21 12:03:15 EDT 2008


Hi there.

I'm working on the maintenance of an app running jboss 4.0.4. I'm the only person on the project so I've to configure everything on my own.

It's a simple struts app with a MySQL database. Everything seems ok, I followed strictly the instructions on this page: http://wiki.jboss.org/wiki/SetUpAMysqlDatasource

But when I start the server, I get this log:=========================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/encore/jboss-4.0.4.GA
  | 
  |   JAVA: /usr/local/jdk1.5/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
  | 
  |   CLASSPATH: /home/encore/jboss-4.0.4.GA/bin/run.jar:/usr/local/jdk1.5/lib/tools.jar
  | 
  | =========================================================================
  | 
  | 17:26:46,025 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 17:26:46,026 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
  | 17:26:46,027 INFO  [Server] Home Dir: /home/encore/jboss-4.0.4.GA
  | 17:26:46,027 INFO  [Server] Home URL: file:/home/encore/jboss-4.0.4.GA/
  | 17:26:46,028 INFO  [Server] Patch URL: null
  | 17:26:46,028 INFO  [Server] Server Name: default
  | 17:26:46,028 INFO  [Server] Server Home Dir: /home/encore/jboss-4.0.4.GA/server/default
  | 17:26:46,028 INFO  [Server] Server Home URL: file:/home/encore/jboss-4.0.4.GA/server/default/
  | 17:26:46,029 INFO  [Server] Server Log Dir: /home/encore/jboss-4.0.4.GA/server/default/log
  | 17:26:46,029 INFO  [Server] Server Temp Dir: /home/encore/jboss-4.0.4.GA/server/default/tmp
  | 17:26:46,065 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 17:26:46,545 INFO  [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
  | 17:26:46,545 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
  | 17:26:46,545 INFO  [ServerInfo] OS-System: Linux 2.6.22-14-generic,i386
  | 17:26:47,330 INFO  [Server] Core system initialized
  | 17:27:00,604 INFO  [WebService] Using RMI server codebase: http://encore-portatil:8083/
  | 17:27:00,626 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
  | 17:27:01,268 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
  | 17:27:05,845 INFO  [MailService] Mail Service bound to java:/Mail
  | 17:27:06,661 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
  | 17:27:06,712 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
  | 17:27:06,838 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
  | 17:27:06,881 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
  | 17:27:06,960 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
  | 17:27:07,489 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=cacv2' to JNDI name 'cacv2'
  | 17:27:07,548 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | org.jboss.deployment.DeploymentInfo at fef83e5 { url=file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war
  |   altDD: null
  |   lastDeployed: 1208791627547
  |   lastModified: 1208791627000
  |   mbeans:
  | 
  | --- Incompletely deployed packages ---
  | org.jboss.deployment.DeploymentInfo at fef83e5 { url=file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/home/encore/jboss-4.0.4.GA/server/default/deploy/CAC.war
  |   altDD: null
  |   lastDeployed: 1208791627547
  |   lastModified: 1208791627000
  |   mbeans:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: CONFIGURED
  |   I Depend On:
  |     jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
  |   State: CONFIGURED
  |   I Depend On:
  |     jboss:service=TransactionManager
  |     jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  |     jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |     jboss:service=KeyGeneratorFactory,type=HiLo
  | 
  | 
  | 17:27:07,902 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 21s:834ms
  | 17:28:20,396 INFO  [Server] Runtime shutdown hook called, forceHalt: true
  | 17:28:20,396 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
  | 17:28:20,400 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=cacv2' from JNDI name 'cacv2'
  | 17:28:20,467 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
  | 17:28:22,701 INFO  [Server] Shutdown complete
  | Shutdown complete
  | Halting VM

Does anyone have an idea that where is the problem? Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145583#4145583

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145583



More information about the jboss-user mailing list