Solved

how to deploy the jboss2.2.2?

Posted on 2002-03-15
2
216 Views
Last Modified: 2010-03-31
hi everybody,
  I try to run an very simple entity bean with CMP at jboss2.2.2. I use mySQL database, and I have copied the mySQL JDBC driver jar file to the jboss\lib\ext directory.
I also can write a JAWS file for my bean, the problem is that i don't know how to change some files under the jboss\conf\default directory.
thanks.
0
Comment
Question by:lisayan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
cxj97c earned 50 total points
ID: 6871597
Hi

I am not sure exactly what your problem is but, the files that you need to change in the jboss\conf\ is jboss.jcml!!

jboss.jcml:
Add "org.gjt.mm.mysql.Driver," to the other list of drivers

Note, don't forget the comma. The line should read something like:

     <attribute name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver</attribute>


<mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=mySQLDB">
<attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="PoolName">mySQLDB</attribute>
<attribute name="URL">jdbc:mysql://host/databasename</attribute>
<attribute name="JDBCUser">username</attribute>
<attribute name="Password">password</attribute>
</mbean>

hope it helps.
0
 

Expert Comment

by:cxj97c
ID: 6871606
Also make sure that "mySQLDB" part matches to the one in standardjaws.jcml

0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Running JavaFX on JDeveloper 12C 1 116
jboss 7.1 start up error 1 85
jmss example java 2 48
How to find out if all executorservice threads have finished 2 15
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question