JBoss is giving the following two errors when deploying an Entity Bean using MySql as
the data source. I can send any additional configuration files you wish to see. I do
have an application.xml file in the location where JBoss indicates the file is missing.
In reference to the first error, I did a search within the configuration files to find
where JBoss might be requesting the "30.mysql-ds.xml" file and found no file calling
for such a file. There is a "mysql-ds.xml" file in the location where JBoss says it is
looking for the "30.mysql-ds.xml" file.
Here are the log file errors from JBoss. Thank you for any assistance. I have been
working on this diligently for two grad school assignments but am stymied with the
projects due next Monday. I've researched JBoss and MySql issues for a week now.
Appreciate any direction.
Regards
Betty
JBoss jboss-3.2.1_tomcat-4.1.24
MySql 4.-.13-nt
jdk1.4.1_04
MyEclipse 3.0
2:56:52,964 ERROR [MainDeployer] Could not make local copy for
file:/C:/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/mysql-ds.xml
java.io.FileNotFoundException:
C:\jboss-3.2.1_tomcat-4.1.24\server\default\tmp\deploy\server\default\deploy\mysql-ds.xml\30.mysql-ds.xml
(The system cannot find the path specified)
2004-03-04 23:24:48,073 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner]
Failed to deploy: [EMAIL PROTECTED]
url=file:/C:/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/MSCO676Lab3.ear/,
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: exception in init of
file:/C:/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/MSCO676Lab3.ear/; - nested
throwable: (org.jboss.deployment.DeploymentException: No META-INF/application.xml
found)
Here is the mysql-ds.xml:
MySqlDS
jdbc:mysql//localhost:3306/addressList
com.mysql.jdbc.Driver
Here is the application.xml:
http://java.sun.com/dtd/application_1_3.dtd";>
MSCO676Lab3
MSCO676Lab3Web.war
/MSCO676Lab3Web
MSCO676Lab3EJB.jar
Here is my login-conf.xml also:
http://www.jboss.org/j2ee/dtd/security_config.dtd";>
guest
jboss.mq:service=StateManager
sa
sa
jboss.jca:service=LocalTxCM,name=DefaultDS
sysdba
sysdba
masterkey
jboss.jca:service=XaTxCM,name=FirebirdDS
guest
guest
guest
jboss.jca:service=TxCM,name=JmsXA
I read that I can use the getConnection(user,pswd) for login without defining a
security domain in the login-config.xml, but that if I did define one, it would take
precedence. As you can see, I have not done so.
Thanks to anyone who can read through all this and assist.
If I do need to create an entry in login-conf.xml,I would
appreciate some clarification on the entries. The module-opion name of "principal" -
how is that created in the database? I assume the username and password are those I
use in my getConnection request. I guess I don't understand the connection between the
login-conf and my application. My next class is a database admin class; but,
meanwhile, I'm a bit rusty and have been looking on the web but not finding
information aout the simple things sometimes.
A message at http://junlu.com/msg/36941.html indicates I do not have to have a
login-conf.xml entry for MySql, but some seem to think I cannot accomplish the
deployment without one. As always there are many paths to go down.
Thanks again,
Betty
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824482#3824482";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824482>Reply
to the post
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user