• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting up MySQL DataSource

 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic