Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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
xml
xml
borderStylesolid
titleExcerpt from the web.xml filexml
...
	 <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
xml
borderStylesolid
titlejboss.xmlxml
<?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
xml
xml
borderStylesolid
titleopenejb-jar.xmlxml
<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
xml
xml
borderStylesolid
titleExcerpt from the web.xml filexml
...
<!--	 <taglib>
	 	<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
		<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
	</taglib> -->
...

...