Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up MySQL DataSource

 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like this has been discussed in the past, but I haven't found anything that helps directly with my problem. Please excuse me for asking the question again.

Anyway, I am actually testing someone else's code for a review of a TopCoder component, so the changes I can make are limited to configuring the environment. Basically, the component needs to use MySQL through JBoss. So far, I've resolved many of the errors I was getting. However, I'm stuck on the current one:

01:00:46,458 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxDS,name=MySqlDS
org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:321)

The component comes with several files that I've copied into the $JBOSS_HOME/server/default/deploy directory. This includes a mysql-service.xml file and another file called security.ear. I am pretty sure the later file contains the .class files for the component I'm testing.

Anyways, I am wondering whether this error is caused by some problem in the mysql-service.xml file or if I need to configure something else in the environment.

Geez, I hope this isn't too confusing. Any help will be greatly appreciated.

Thanks,

Layne
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic