<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
Hi,<BR>
 <BR>
Recently i have installed jboss-5.0.0.CR2 on fedora linux. I want to use MySQL database for JBM Queue. Default JBM which is 1.4.1 runs fine with MySQL, but I want to use messaging 2.0 with Jboss 5.0.0.CR2. I have installed messaging 2.0 with JBoss, but when i run it as <B>run.sh -c all-with-jbm2 </B>, it runs fine. It creates all JBM related tables in the database, but when i try to send messages using our application it is not inserting into those table, however my application pics up the data from somewhere and operate on that accordingly.<BR>
<BR>
Can any one tell me&nbsp; wjy is it so. Also when i run jboss it starts both the messaging server i.e. JBoss Messaging Server version 2.0.0.BETA4 (maggot, 104) started<BR>
 and&nbsp; [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started. <BR>
Please help me out. Jboss log is as follows<BR>
<BR>
=========================================================================<BR>
 /opt/jboss-5.0.0.CR2/bin/run.sh -c all-with-jbm2<BR>
=========================================================================<BR>
<BR>
&nbsp; JBoss Bootstrap Environment<BR>
<BR>
&nbsp; JBOSS_HOME: /opt/jboss-5.0.0.CR2<BR>
<BR>
&nbsp; JAVA: /usr/java/java-1.6.0-openjdk-1.6.0.0/bin/java<BR>
<BR>
&nbsp; JAVA_OPTS: -Dprogram.name=run.sh -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.library.path=/opt/jboss-5.0.0.CR2/bin/META-INF/lib/linux2/x86<BR>
<BR>
&nbsp; CLASSPATH: /opt/jboss-5.0.0.CR2/bin/run.jar:/usr/java/java-1.6.0-openjdk-1.6.0.0/lib/tools.jar<BR>
<BR>
=========================================================================<BR>
<BR>
09:18:41,762 INFO&nbsp; [ServerImpl] Starting JBoss (Microcontainer)...<BR>
09:18:41,763 INFO&nbsp; [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)<BR>
09:18:41,765 INFO&nbsp; [ServerImpl] Home Dir: /opt/jboss-5.0.0.CR2<BR>
09:18:41,765 INFO&nbsp; [ServerImpl] Home URL: file:/opt/jboss-5.0.0.CR2/<BR>
09:18:41,765 INFO&nbsp; [ServerImpl] Library URL: file:/opt/jboss-5.0.0.CR2/lib/<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Patch URL: null<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Name: all-with-jbm2<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Home Dir: /opt/jboss-5.0.0.CR2/server/all-with-jbm2<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Home URL: file:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Data Dir: /opt/jboss-5.0.0.CR2/server/all-with-jbm2/data<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Temp Dir: /opt/jboss-5.0.0.CR2/server/all-with-jbm2/tmp<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Config URL: file:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/conf/<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Server Library URL: file:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/lib/<BR>
09:18:41,766 INFO&nbsp; [ServerImpl] Root Deployment Filename: jboss-service.xml<BR>
09:18:42,703 INFO&nbsp; [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/conf/bootstrap.xml<BR>
09:18:43,801 INFO&nbsp; [CopyMechanism] VFS temp dir: /opt/jboss-5.0.0.CR2/server/all-with-jbm2/tmp<BR>
09:18:43,858 INFO&nbsp; [ZipEntryContext] VFS force nested jars copy-mode is enabled.<BR>
09:18:45,941 INFO&nbsp; [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.<BR>
09:18:45,941 INFO&nbsp; [ServerInfo] Java VM: OpenJDK Server VM 1.6.0-b09,Sun Microsystems Inc.<BR>
09:18:45,941 INFO&nbsp; [ServerInfo] OS-System: Linux 2.6.25-14.fc9.i686,i386<BR>
09:18:47,879 INFO&nbsp; [MetaDataAwareProfile] Using profile root:/opt/jboss-5.0.0.CR2/server/all-with-jbm2<BR>
09:18:51,567 INFO&nbsp; [WebService] Using RMI server codebase: <A HREF="http://127.0.0.1:8083/">http://127.0.0.1:8083/</A><BR>
09:19:02,308 WARN&nbsp; [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for&nbsp; vfsfile:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config<BR>
09:19:02,991 INFO&nbsp; [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@1ddff76 for <A HREF="mailto:BaseClassLoader@1b181f1">BaseClassLoader@1b181f1</A>{vfsfile:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/ejb3-interceptors-aop.xml}<BR>
09:19:03,096 INFO&nbsp; [AspectDeployer] Deploying AOP annotations into org.jboss.aop.AspectManager@1ddff76 for <A HREF="mailto:BaseClassLoader@d67f82">BaseClassLoader@d67f82</A>{vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/cluster/jbossweb-cluster.aop}<BR>
09:19:03,101 INFO&nbsp; [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@1ddff76 for <A HREF="mailto:BaseClassLoader@d67f82">BaseClassLoader@d67f82</A>{vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/cluster/jbossweb-cluster.aop}<BR>
09:19:10,527 INFO&nbsp; [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha<BR>
09:19:11,377 INFO&nbsp; [CorbaNamingService] CORBA Naming Started<BR>
09:19:13,555 INFO&nbsp; [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector<BR>
09:19:13,699 INFO&nbsp; [MailService] Mail Service bound to java:/Mail<BR>
09:19:15,195 INFO&nbsp; [SnmpAgentService] SNMP agent going active<BR>
09:19:16,197 INFO&nbsp; [DefaultPartition] Initializing partition DefaultPartition<BR>
09:19:16,249 INFO&nbsp; [STDOUT] <BR>
-------------------------------------------------------<BR>
GMS: address is 127.0.0.1:36385<BR>
-------------------------------------------------------<BR>
09:19:16,337 INFO&nbsp; [STDOUT] <BR>
-------------------------------------------------------<BR>
GMS: address is 127.0.0.1:36385<BR>
-------------------------------------------------------<BR>
09:19:18,353 INFO&nbsp; [DefaultPartition] Number of cluster members: 1<BR>
09:19:18,353 INFO&nbsp; [DefaultPartition] Other members: 0<BR>
09:19:18,355 INFO&nbsp; [RPCManagerImpl] Received new cluster view: [127.0.0.1:36385|0] [127.0.0.1:36385]<BR>
09:19:18,359 INFO&nbsp; [RPCManagerImpl] Cache local address is 127.0.0.1:36385<BR>
09:19:18,373 INFO&nbsp; [ComponentRegistry] JBoss Cache version: JBossCache 'Poblano' 2.2.0.GA<BR>
09:19:18,373 INFO&nbsp; [DefaultPartition] Fetching serviceState (will wait for 30000 milliseconds):<BR>
09:19:18,373 INFO&nbsp; [DefaultPartition] State could not be retrieved (we are the first member in group)<BR>
09:19:18,926 INFO&nbsp; [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=/127.0.0.1<BR>
09:19:18,931 INFO&nbsp; [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100<BR>
09:19:18,966 INFO&nbsp; [NativeServerConfig] JBoss Web Services - Stack Native Core<BR>
09:19:18,966 INFO&nbsp; [NativeServerConfig] 3.0.3.GA<BR>
09:19:19,668 ERROR [STDERR] Sep 1, 2009 9:19:19 AM org.jboss.messaging.core.logging.Logger info<BR>
INFO: live server is starting..<BR>
09:19:19,715 ERROR [STDERR] Sep 1, 2009 9:19:19 AM org.jboss.messaging.core.logging.Logger warn<BR>
WARNING: It has been detected that the cluster admin user and password which are used to replicate management operation from one node to the other have not been changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.<BR>
09:19:19,789 ERROR [STDERR] Sep 1, 2009 9:19:19 AM org.jboss.messaging.core.logging.Logger info<BR>
INFO: AIO journal selected<BR>
09:19:19,958 ERROR [STDERR] Sep 1, 2009 9:19:19 AM org.jboss.messaging.core.logging.Logger info<BR>
INFO: AIO loaded successfully<BR>
09:19:21,666 ERROR [STDERR] Sep 1, 2009 9:19:21 AM org.jboss.messaging.core.logging.Logger warn<BR>
WARNING: There is no backup connector with name 'netty' deployed.<BR>
09:19:21,902 ERROR [STDERR] Sep 1, 2009 9:19:21 AM org.jboss.messaging.core.logging.Logger info<BR>
INFO: JBoss Messaging Server version 2.0.0.BETA4 (maggot, 104) started<BR>
09:19:22,196 INFO&nbsp; [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.<BR>
09:19:22,197 INFO&nbsp; [TransactionManagerService] Setting up property manager MBean and JMX layer<BR>
09:19:22,379 INFO&nbsp; [TransactionManagerService] Initializing recovery manager<BR>
09:19:22,859 INFO&nbsp; [TransactionManagerService] Recovery manager configured<BR>
09:19:22,859 INFO&nbsp; [TransactionManagerService] Binding TransactionManager JNDI Reference<BR>
09:19:22,881 INFO&nbsp; [TransactionManagerService] Starting transaction recovery manager<BR>
09:19:23,203 INFO&nbsp; [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jboss-5.0.0.CR2/bin/META-INF/lib/linux2/x86<BR>
09:19:23,251 INFO&nbsp; [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080<BR>
09:19:23,252 INFO&nbsp; [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009<BR>
09:19:23,252 INFO&nbsp; [Catalina] Initialization processed in 168 ms<BR>
09:19:23,252 INFO&nbsp; [StandardService] Starting service jboss.web<BR>
09:19:23,254 INFO&nbsp; [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7<BR>
09:19:23,300 INFO&nbsp; [Catalina] Server startup in 47 ms<BR>
09:19:23,355 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=httpha-invoker.sar/invoker.war<BR>
09:19:24,255 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war<BR>
09:19:24,287 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/juddi, vfsUrl=juddi-service.sar/juddi.war<BR>
09:19:24,322 INFO&nbsp; [RegistryServlet] Loading jUDDI configuration.<BR>
09:19:24,337 INFO&nbsp; [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties<BR>
09:19:24,337 INFO&nbsp; [RegistryServlet] Initializing jUDDI components.<BR>
09:19:24,427 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war<BR>
09:19:24,706 INFO&nbsp; [RARDeployment] Required license terms exist, view vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/jboss-local-jdbc.rar/META-INF/ra.xml<BR>
09:19:24,719 INFO&nbsp; [RARDeployment] Required license terms exist, view vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml<BR>
09:19:24,820 INFO&nbsp; [RARDeployment] Required license terms exist, view vfsfile:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/jms-ra.rar/META-INF/ra.xml<BR>
09:19:24,834 ERROR [STDERR] Sep 1, 2009 9:19:24 AM org.jboss.messaging.core.logging.Logger info<BR>
INFO: JBoss Messaging resource adaptor started<BR>
09:19:24,876 INFO&nbsp; [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'<BR>
09:19:24,883 INFO&nbsp; [RARDeployment] Required license terms exist, view vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/mail-ra.rar/META-INF/ra.xml<BR>
09:19:24,905 INFO&nbsp; [RARDeployment] Required license terms exist, view vfszip:/opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/quartz-ra.rar/META-INF/ra.xml<BR>
09:19:24,990 INFO&nbsp; [SimpleThreadPool] Job execution threads will use class loader of thread: main<BR>
09:19:25,015 INFO&nbsp; [QuartzScheduler] Quartz Scheduler v.1.5.2 created.<BR>
09:19:25,019 INFO&nbsp; [RAMJobStore] RAMJobStore initialized.<BR>
09:19:25,019 INFO&nbsp; [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'<BR>
09:19:25,019 INFO&nbsp; [StdSchedulerFactory] Quartz scheduler version: 1.5.2<BR>
09:19:25,020 INFO&nbsp; [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.<BR>
09:19:25,080 INFO&nbsp; [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MysqlDS' to JNDI name 'java:MysqlDS'<BR>
09:19:25,120 INFO&nbsp; [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=SQLBOXDS' to JNDI name 'java:SQLBOXDS'<BR>
09:19:25,143 INFO&nbsp; [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'<BR>
09:19:25,524 WARN&nbsp; [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))<BR>
09:19:25,572 INFO&nbsp; [SimpleThreadPool] Job execution threads will use class loader of thread: main<BR>
09:19:25,573 INFO&nbsp; [QuartzScheduler] Quartz Scheduler v.1.5.2 created.<BR>
09:19:25,574 INFO&nbsp; [JobStoreCMT] Using db table-based data access locking (synchronization).<BR>
09:19:25,619 INFO&nbsp; [JobStoreCMT] Removed 0 Volatile Trigger(s).<BR>
09:19:25,619 INFO&nbsp; [JobStoreCMT] Removed 0 Volatile Job(s).<BR>
09:19:25,620 INFO&nbsp; [JobStoreCMT] JobStoreCMT initialized.<BR>
09:19:25,620 INFO&nbsp; [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.<BR>
09:19:25,620 INFO&nbsp; [StdSchedulerFactory] Quartz scheduler version: 1.5.2<BR>
09:19:25,638 INFO&nbsp; [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.<BR>
09:19:25,640 INFO&nbsp; [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.<BR>
09:19:25,640 INFO&nbsp; [JobStoreCMT] Recovery complete.<BR>
09:19:25,640 INFO&nbsp; [JobStoreCMT] Removed 0 'complete' triggers.<BR>
09:19:25,640 INFO&nbsp; [JobStoreCMT] Removed 0 stale fired job entries.<BR>
09:19:25,643 INFO&nbsp; [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.<BR>
09:19:25,731 WARN&nbsp; [JDBCPersistenceManager] <BR>
<BR>
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEATABLE_READ.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Using an isolation level more strict than READ_COMMITTED may lead to deadlock.<BR>
<BR>
09:19:25,985 INFO&nbsp; [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started<BR>
09:19:26,054 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war<BR>
09:19:26,084 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war<BR>
09:19:26,120 INFO&nbsp; [TomcatDeployment] deploy, ctxPath=/psms, vfsUrl=psms.war<BR>
09:19:26,181 INFO&nbsp; [PsmsLogger] [log4j.properties PATH] : /opt/jboss-5.0.0.CR2/server/all-with-jbm2/deploy/psms.war/WEB-INF/classes/log4j.properties<BR>
09:19:26,258 INFO&nbsp; [KannelRoute] INIT KANNELROUTE: 1 192.168.1.140:1223/cgi-bin/sendsms SMSC: fake<BR>
09:19:26,259 INFO&nbsp; [KannelRoute] INIT KANNELROUTE: 10 192.168.1.132:1223/cgi-bin/sendsms SMSC: fake1<BR>
09:19:26,282 INFO&nbsp; [CreditCache] SparseListMatrix Initialized.<BR>
09:19:26,287 INFO&nbsp; [JMSReceiver] Intializing JMS Receiver.<BR>
09:19:26,711 INFO&nbsp; [InitRoute] Queue initialized properly<BR>
09:19:26,746 INFO&nbsp; [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080<BR>
09:19:26,765 INFO&nbsp; [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009<BR>
09:19:26,772 INFO&nbsp; [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)] Started in 44s:998ms<BR>
<BR>
<BR>
<BR>
Thanks!!<BR>
<BR>
<BR>
</BODY>
</HTML>