On the same machine as you're running the JMS example, can you run: mysql -h localhost -u jms -p jms jms
And it works? If so, try enabling debug logging for the whole ActiveMQ and OpenEJB and send that. Q >> 2. I'm planning to use JMS in the near future. >> My plan is to use ActiveMQ in embedded mode, mostly because of the simple >> setup and speed (same JVM). But is this OK ? >> I've done some testing trying to use MySQL for storing messages, but it >> doesn't seem to work (no tables are created in the database scheme?!?!) My >> setup is : >> ------------------------------------------------------------- >> <Resource id="My JMS Resource Adapter" type="ActiveMQResourceAdapter"> >> # Broker configuration URI as defined by ActiveMQ >> # see http://activemq.apache.org/broker-configuration-uri.html >> >> BrokerXmlConfig broker:(tcp://localhost:61616)?useJmx=false >> >> # Broker address >> >> ServerUrl vm://localhost?async=true >> >> # DataSource for persistence messages >> >> DataSource jmsDatabase >> </Resource> >> >> <Resource id="jmsDatabase" type="DataSource"> >> JdbcDriver com.mysql.jdbc.Driver >> JdbcUrl jdbc:mysql://localhost:3306/jms >> UserName jms >> Password jms >> ValidationQuery select 1 >> MinIdle 2 >> MaxIdle 10 >> MaxActive 50 >> MaxWait 10000 >> InitialSize 2 >> JtaManaged false >> </Resource> >> >> Best regards >> Martin >> > > It should work. > Do you have a runnable example? > If so, can you send us a sample to reproduce the issue? > > Hope it helps, > Jean-Louis > > > -- > View this message in context: > http://old.nabble.com/Where-to-place-my-third-party-jars---tp26495607p26497483.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > >
