Hello jboss-user,

I need to have mbean. Well, I wrote it and put its code into a sar file
together with jboss-service.xml.

Everything was ok but... I need to connect to database. I have mySQL
database attached to jboss and all ejbs work fine:
DEBUG [org.jboss.system.ServiceConfigurator]
  JndiName set to MYFavoriteDS in
  jboss.jca:service=LocalTxDS,name=MYFavoriteDS


Well, I do lookup for "java:/MYFavoriteDS". It worked for jboss2.4.4 but
now I got message:

ERROR [quartz.QuartzPersistence]
  DataSource init error: org.quartz.JobPersistenceException:
  Failed to obtain DB connection:
  java.sql.SQLException:
  Lookup failed for DataSource with URL 'java:/MYFavoriteDS' --
  javax.naming.NameNotFoundException:
  MYFavoriteDS not bound
  [See nested exception:
  java.sql.SQLException:
  Lookup failed for DataSource with URL 'java:/MYFavoriteDS' --
  javax.naming.NameNotFoundException:
  MYFavoriteDS not bound]


Vale! - Mikhail Akopov



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to