[jboss-jira] [JBoss JIRA] Created: (JBAS-8062) Bug with deploying entity beans in JBoss 5 .....

Nitesh S (JIRA) jira-events at lists.jboss.org
Thu Jun 3 04:03:47 EDT 2010


Bug with deploying entity beans in JBoss 5 .....
------------------------------------------------

                 Key: JBAS-8062
                 URL: https://jira.jboss.org/browse/JBAS-8062
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB2
    Affects Versions: JBossAS-5.0.1.GA
            Reporter: Nitesh S
            Assignee: Alexey Loubyansky


JBoss version 
------------------------------------------------------------------
JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)


jboss.xml
------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<jboss>

<enterprise-beans>
<entity>
<ejb-name>MyFramework</ejb-name>
<local-jndi-name>JNDI_MyFramework</local-jndi-name>
<configuration-name>LEVEL 2</configuration-name>
</entity>
</enterprise-beans>

<container-configurations>

<container-configuration extends="Standard CMP 2.x EntityBean">
<container-name>LEVEL 1</container-name>
<container-cache-conf>
<cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
<cache-policy-conf>
<min-capacity>50</min-capacity>
<max-capacity>5000</max-capacity>
<overager-period>300</overager-period>
<max-bean-age>7200</max-bean-age>
<resizer-period>400</resizer-period>
<max-cache-miss-period>60</max-cache-miss-period>
<min-cache-miss-period>1</min-cache-miss-period>
<cache-load-factor>0.75</cache-load-factor>
</cache-policy-conf>
</container-cache-conf>
</container-configuration>

<container-configuration extends="LEVEL 1">
<container-name>LEVEL 2</container-name>
<insert-after-ejb-post-create>true</insert-after-ejb-post-create>
</container-configuration>

</container-configurations>

</jboss>

------------------------------------------------------------------

When I started server with above configurations, it results in... 
and did not start...

12:41:18,126 INFO  [EjbModule] Deploying MyFramework
12:41:18,303 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=MyFramework Deployment=vfszip:/D:/digite/jboss5/server/nitesh/deploy/niteshejbs.jar/
12:41:18,303 WARN  [EjbModule] There are no interceptors configured. Check the standardjboss.xml file

------------------------------------------------------------------

When I changed entity configurations to "LEVEL 1", following way, it worked....

<entity>
<ejb-name>MyFramework</ejb-name>
<local-jndi-name>JNDI_MyFramework</local-jndi-name>
<configuration-name>LEVEL 1</configuration-name>
</entity>

12:51:21,881 INFO  [EjbModule] Deploying MyFramework
12:51:22,049 WARN  [EjbModule] EJB configured to bypass security. Please verify if this is intended. Bean=MyFramework Deployment=vfszip:/D:/digite/jboss5/server/nitesh/deploy/niteshejbs.jar/


When "LEVEL 2" configuration is given to entity, it is not inheriting interceptors from standardjboss.xml
It is issue only in JBoss 5 .....

"LEVEL 2" configuration works fine when deployed in JBoss 4.2.3 ......

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list