Applies to:JBoss 3.2 Oracle 9i ANT Description:Error with ejb-jar.xml when running the client code. Cause:References in ejb-jar.xml and datasource are not correctly setup.
JAVA-EJB error, j, lrm-00118: syntax error at '=' at the end of input, oracle
Follow these steps to do a context.lookup(“java:comp/env/OracleDS”): 1. In ejb-jar.xml file, include the following lines: OracleDS javax.sql.DataSource Container 2. Map the datasource declaration and reference in ejb-jar.xml: OracleDS java:/OracleDS
Follow these steps to do a context.lookup(“java:comp/env/OracleDS”):
OracleDS
javax.sql.DataSource
Container
OracleDS
java:/OracleDS
1. In ejb-jar.xml file, include the following lines:
2. Map the datasource declaration and reference in ejb-jar.xml: