aspose file tools*
The moose likes JBoss/WildFly and the fly likes Setting up MySQL DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Setting up MySQL DataSource" Watch "Setting up MySQL DataSource" New topic
Author

Setting up MySQL DataSource

Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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


Java API Documentation
The Java Tutorial
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Setting up MySQL DataSource