You should download and read the getting started guide.

Your post will mislead people.

1) The client jars are in ${JBOSS.HOME}/client, you are using copies of the server
jars. The WIKI even says compile it with jbossall-client.jar from that directory.

2) If you are not going to use jbossall-client.jar, you should use jboss-j2ee.jar not 
j2ee.jar. 
If you read the license carefully, you are not allowed to distribute j2ee.jar. 
If you have an older version, you are not even allowed to use it in a production 
application
http://java.sun.com/j2ee/sdk_1.3/faq.html#licensing

3) Inside the jboss server, creating a remote jndi context and
lookup("ConnectionFactory") are both inappropriate. 
In a true j2ee web application you should resource-refs.
It is upto the person doing the deployment whether they want to use a remote
connection factory.

If you do think the posts on the WIKI are incomplete, you can "Edit this page".

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843025#3843025

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843025


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to