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

Jason Greene (JIRA) jira-events at lists.jboss.org
Thu Apr 21 14:27:12 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-8062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene reopened JBAS-8062:
--------------------------------



Due to feedback from the community, I have split the AS7 and AS6 projects and reopened all unscheduled AS6 issues that are a year or less old. This will make it easier community members to find and work on them.

Future releases beyond 6.1 can be done provided a community member steps up to coordinate them.

> Bug with deploying entity beans in JBoss 5 .....
> ------------------------------------------------
>
>                 Key: JBAS-8062
>                 URL: https://issues.jboss.org/browse/JBAS-8062
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-5.0.1.GA
>            Reporter: Nitesh S
>            Assignee: Alexey Loubyansky
>             Fix For: No Release
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list