THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Open the web.xml file located in the <session_home>/src/webapp/WEB-INF directory and make sure the following taglib element is not commented out.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
... <taglib> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> <taglib-location>/WEB-INF/tld/c.tld</taglib-location> </taglib> ... |
...
The following example shows the JBoss deployment descriptor.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0"?> <jboss> <container-configurations> <container-configuration> <container-name>Standard BMP EntityBean</container-name> <commit-option>A</commit-option> </container-configuration> </container-configurations> <enterprise-beans> <entity> <ejb-name>CustomerEJB</ejb-name> <jndi-name>CustomerHomeRemote</jndi-name> <resource-ref> <res-ref-name>jdbc/ibm-demo</res-ref-name> <jndi-name>java:/DefaultDS</jndi-name> </resource-ref> <configuration-name>Standard BMP EntityBean</configuration-name> </entity> <session> <ejb-name>LoanManagerEJB</ejb-name> <jndi-name>LoanManagerHomeRemote</jndi-name> <ejb-ref> <ejb-ref-name>ejb/CustomerHomeRemote</ejb-ref-name> <jndi-name>CustomerHomeRemote</jndi-name> </ejb-ref> </session> <session> <ejb-name>StatefulLoanManagerEJB</ejb-name> <jndi-name>StatefulLoanManagerHomeRemote</jndi-name> <ejb-ref> <ejb-ref-name>ejb/CustomerHomeRemote</ejb-ref-name> <jndi-name>CustomerHomeRemote</jndi-name> </ejb-ref> </session> </enterprise-beans> </jboss> |
Compare it with the contents of the Geronimo deployment plan shown in the following example.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" xmlns:naming="http://geronimo.apache.org/xml/ns/naming" xmlns:security="http://geronimo.apache.org/xml/ns/security" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment" configId="geronimo/SessionBeanDemo/1.0/car" parentId="geronimo/j2ee-server/1.0/car"> <enterprise-beans> <entity> <ejb-name>CustomerEJB</ejb-name> <jndi-name>CustomerHomeRemote</jndi-name> <local-jndi-name></local-jndi-name> <resource-ref> <ref-name>jdbc/ibm-demo</ref-name> <resource-link>SystemDatasource</resource-link> </resource-ref> </entity> <session> <ejb-name>LoanManagerEJB</ejb-name> <jndi-name>LoanManagerHomeRemote</jndi-name> <ejb-ref> <ref-name>ejb/CustomerHomeRemote</ref-name> <ejb-link>CustomerEJB</ejb-link> </ejb-ref> </session> <session> <ejb-name>StatefulLoanManagerEJB</ejb-name> <jndi-name>StatefulLoanManagerHomeRemote</jndi-name> <ejb-ref> <ref-name>ejb/CustomerHomeRemote</ref-name> <ejb-link>CustomerEJB</ejb-link> </ejb-ref> </session> </enterprise-beans> </openejb-jar> |
...
Open the web.xml file located in the <session_home>/src/webapp/WEB-INF directory and comment out the following taglib element:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
... <!-- <taglib> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> <taglib-location>/WEB-INF/tld/c.tld</taglib-location> </taglib> --> ... |
...