Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

J2EE RI w/ MySQL  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to get the J2EE RI ( 1.3 ) to work with MySQL?
this is my configuration:
Data Sources ( Standard ) :=
driver class = com.mysql.jdbc.Driver
driver url = jdbc:mysql://localhost/weblogic:3306
JNDI Name = jdbc/MySql
user

Deployment settings :=
Database JNDI name = jdbc/MySql

However, when I try to Generate the default SQL, I got an exception:
ERROR: while generating SQL
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Error connecting to database; nested exception is:
javax.naming.NameNotFoundException: MySql__pm not found

Does anyone know what the heck MySql__pm is?
I am very confused.
Any help will be appreciated.
Thanks.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!