[JBoss JIRA] (AS7-6849) ClassLoader memory leak with MDB
by Vlad Arkhipov (JIRA)
Vlad Arkhipov created AS7-6849:
----------------------------------
Summary: ClassLoader memory leak with MDB
Key: AS7-6849
URL: https://issues.jboss.org/browse/AS7-6849
Project: Application Server 7
Issue Type: Bug
Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
Reporter: Vlad Arkhipov
There are still some references to MDB class (NOT to the *instance*) if you undeploy an archive from the AS. Sooner or later it leads to OutOfMemory Permgen exception after multiple redeployments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-5651) EE subsystem global modules should support annotation flag
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/AS7-5651?page=com.atlassian.jira.plugin.s... ]
Stuart Douglas resolved AS7-5651.
---------------------------------
Fix Version/s: 8.0.0.Alpha1
Resolution: Done
> EE subsystem global modules should support annotation flag
> ----------------------------------------------------------
>
> Key: AS7-5651
> URL: https://issues.jboss.org/browse/AS7-5651
> Project: Application Server 7
> Issue Type: Feature Request
> Components: EE
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: James Livingston
> Assignee: Stuart Douglas
> Fix For: 8.0.0.Alpha1
>
>
> Annotation indexes aren't imported with modules by default, but you can specify the annotation flag in the manifest Dependencies line or the annotation attribute in jboss-deployment-structure.xml.
> The EE subsystem's global modules section does not let you specify that option, which means you can't define EJB interceptors and similar things in global modules. It should let you do that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (DROOLS-100) DRL compiler accepts rules extending non-existing rules
by Davide Sottara (JIRA)
Davide Sottara created DROOLS-100:
-------------------------------------
Summary: DRL compiler accepts rules extending non-existing rules
Key: DROOLS-100
URL: https://issues.jboss.org/browse/DROOLS-100
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 5.5, 6.0.0.Alpha1
Reporter: Davide Sottara
Assignee: Mario Fusco
Fix For: 5.6, 6.0.0.Beta2
rule "X" extends "Y"
is accepted even if no rule "Y" is available. "X" will be created with local conditions and actions only.
This is extremely dangerous and very difficult to debug in two cases:
- rule "Y" exists but is in a different package (not supported)
- rule "Y*" exists and "Y" is a spelling mistake
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6815) Jboss7.1.1 EJB2 Entity Finder Return NULL attribute
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/AS7-6815?page=com.atlassian.jira.plugin.s... ]
Stuart Douglas commented on AS7-6815:
-------------------------------------
So you are saying that is not reproducable on EAP 6.1.0.Alpha1? If not then this means it has already been fixed.
> Jboss7.1.1 EJB2 Entity Finder Return NULL attribute
> ---------------------------------------------------
>
> Key: AS7-6815
> URL: https://issues.jboss.org/browse/AS7-6815
> Project: Application Server 7
> Issue Type: Task
> Components: Application Client
> Affects Versions: 7.1.1.Final
> Environment: Windows 7, JDK1.6 , Jboss7.1.1
> Reporter: yan chiou tua
> Assignee: Stuart Douglas
> Labels: EJB2, Entity, Finder, Jboss7.1.1, NULL, Return, attribute
>
> Hi,
> I am migrating EJB2 project to Jboss7.1.1 from Jboss4.2.2 and encounter below error. Thanks and appreciated if any help or quick feedback as this is an *urgent* project migration for me. Previuosly this EJB2 project is running no problem on Jboss4.2.2 and Jboss6 (i have try on Jboss6 before go to Jboss7) which I able to get the value from entity finder.
> I have attached errors message and my code snippet as below:-
> 15:06:19,139 ERROR [org.jboss.ejb3.invocation] (http-LOCALHOST-127.0.0.1-8088-1) JBAS014134: EJB Invocation failed on component UserLogging for method public abstract com.xxx.adminData.userLogin.model.UserLoggingModel *com.xxx.adminData.userLogin.ejb.UserLogging.getModel()*: javax.ejb.EJBTransactionRolledbackException
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:139) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:204) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:306) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanPrimaryKeyInterceptor.processInvocation(EntityBeanPrimaryKeyInterceptor.java:52) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at com.xxx.adminData.userLogin.ejb.UserLogging$$$view320.getModel(Unknown Source) [eportal.jar:]
> at com.xxx.adminData.userLogin.controller.SessionControllerEJB.addUserLogging(SessionControllerEJB.java:71) [eportal.jar:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_03]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_03]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_03]
> at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_03]
> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:202) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:306) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at com.xxx.adminData.userLogin.controller.SessionController$$$view324.addUserLogging(Unknown Source) [eportal.jar:]
> at com.xxx.adminData.userLogin.controller.UserLoginControllerEJB.login(UserLoginControllerEJB.java:158) [eportal.jar:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_03]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_03]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_03]
> at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_03]
> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at com.xxx.adminData.userLogin.controller.UserLoginController$$$view341.login(Unknown Source) [eportal.jar:]
> at com.xxx.adminApp.web.login.LoginHelper.login(LoginHelper.java:157) [eportal.jar:]
> at org.apache.jsp.WEB_002dINF.jsp.common.loginAction_jsp._jspService(loginAction_jsp.java:80)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622)
> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560)
> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488)
> at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) [org.springframework.web.servlet-3.0.5.RELEASE.jar:3.0.5.RELEASE]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840)
> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622)
> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560)
> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488)
> at com.xxx.adminApp.web.URLRequestFilter.doFilter(URLRequestFilter.java:255) [eportal.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at com.xxx.adminApp.web.CompressionFilter.doFilter(CompressionFilter.java:248) [eportal.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at com.xxx.adminApp.web.XSSFilter.doFilter(XSSFilter.java:52) [eportal.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)
> at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_03]
> *Caused by: java.lang.NullPointerException*
> at org.jboss.as.ejb3.component.entity.entitycache.ReferenceCountingEntityCache$CacheEntry.access$000(ReferenceCountingEntityCache.java:146) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.component.entity.entitycache.ReferenceCountingEntityCache.get(ReferenceCountingEntityCache.java:70) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanAssociatingInterceptor.processInvocation(EntityBeanAssociatingInterceptor.java:61) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:202) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> ... 160 more
> +standalone-full-ha.xml on data source configuration part+
> <datasource jndi-name="java:/xxDS" pool-name="xxDS" enabled="true" use-java-context="true">
> ...
> </datasource>
> <driver name="sqlserver" module="com.microsoft.sqlserver">
> <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
> <xa-datasource-class>com.microsoft.sqlserver.jdbc.SQLServerXADataSource</xa-datasource-class>
> </driver>
> +ejb-jar.xml+
> <?xml version="1.0" encoding="UTF-8"?>
> <ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd" version="3.1">
> <enterprise-beans>
> <session>
> <description>Session Controller</description>
> <ejb-name>SessionController</ejb-name>
> <local-home>com.xxx.adminData.userLogin.controller.SessionControllerHome</local-home>
> <local>com.xxx.adminData.userLogin.controller.SessionController</local>
> <ejb-class>com.xxx.adminData.userLogin.controller.SessionControllerEJB</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> <ejb-local-ref>
> <ejb-ref-name>adminData/ejb/UserLogging</ejb-ref-name>
> <ejb-ref-type>Entity</ejb-ref-type>
> <local-home>com.xxx.adminData.userLogin.ejb.UserLoggingHome</local-home>
> <local>com.xxx.adminData.userLogin.ejb.UserLogging</local>
> <ejb-link>UserLogging</ejb-link>
> </ejb-local-ref>
> </session>
> <entity>
> <description>User Logging</description>
> <ejb-name>UserLogging</ejb-name>
> <local-home>com.xxx.adminData.userLogin.ejb.UserLoggingHome</local-home>
> <local>com.xxx.adminData.userLogin.ejb.UserLogging</local>
> <ejb-class>com.xxx.adminData.userLogin.ejb.UserLoggingEJB</ejb-class>
> <persistence-type>Container</persistence-type>
> <prim-key-class>com.xxx.adminData.userLogin.ejb.UserLoggingPK</prim-key-class>
> <reentrant>true</reentrant>
> <cmp-version>2.x</cmp-version>
> <abstract-schema-name>USER_LOGGING</abstract-schema-name>
> <cmp-field>
> <field-name>loggingId</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>userId</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>organizationId</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>loginTimeStamp</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>logoutTimeStamp</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>systemTypeId</field-name>
> </cmp-field>
> <cmp-field>
> <field-name>systemId</field-name>
> </cmp-field>
> <query>
> <query-method>
> <method-name>findCurrentUserLogin</method-name>
> <method-params>
> <method-param>java.lang.String</method-param>
> </method-params>
> </query-method>
> <ejb-ql>select OBJECT(e) from USER_LOGGING e where e.userId = ?1 and e.logoutTimeStamp = e.loginTimeStamp</ejb-ql>
> </query>
> </entity>
> </enterprise-beans>
> </ejb-jar>
> +jbosscmp-jdbc.xml+
> <?xml version="1.0" encoding="UTF-8"?>
> <jbosscmp-jdbc>
> <defaults>
> <datasource>java:/xxDS</datasource>
> </defaults>
> <enterprise-beans>
> <entity>
> <ejb-name>UserLogging</ejb-name>
> <table-name>USER_LOGGING</table-name>
> <create-table>false</create-table>
> <remove-table>false</remove-table>
> <cmp-field>
> <field-name>loggingId</field-name>
> <column-name>loggingId</column-name>
> <jdbc-type>VARCHAR</jdbc-type>
> <sql-type>VARCHAR(35)</sql-type>
> </cmp-field>
> <cmp-field>
> <field-name>userId</field-name>
> <column-name>userId</column-name>
> <jdbc-type>VARCHAR</jdbc-type>
> <sql-type>VARCHAR(20)</sql-type>
> </cmp-field>
> <cmp-field>
> <field-name>organizationId</field-name>
> <column-name>organizationId</column-name>
> <jdbc-type>VARCHAR</jdbc-type>
> <sql-type>VARCHAR(26)</sql-type>
> </cmp-field>
> <cmp-field>
> <field-name>loginTimeStamp</field-name>
> <column-name>loginTimeStamp</column-name>
> </cmp-field>
> <cmp-field>
> <field-name>logoutTimeStamp</field-name>
> <column-name>logoutTimeStamp</column-name>
> </cmp-field>
> <cmp-field>
> <field-name>systemTypeId</field-name>
> <column-name>systemTypeId</column-name>
> </cmp-field>
> <cmp-field>
> <field-name>systemId</field-name>
> <column-name>systemId</column-name>
> </cmp-field>
> </entity>
> </enterprise-beans>
> </jbosscmp-jdbc>
> +SessionControllerEJB.java+
> public String addUserLogging(UserLoginModel model){
> InitialContext initial = new InitialContext();
> UserLoggingHome userLoggingHome = (UserLoggingHome) PortableRemoteObject.narrow(initial.lookup("java:app/xxx/UserLogging!com.xxx.adminData.userLogin.ejb.UserLoggingHome"),
> UserLoggingHome.class);
> UserLogging userlogging = *userLoggingHome.findCurrentUserLogin(model.getUserId())*;
> }
> +UserLogging.java+
> public interface UserLogging extends EJBLocalObject {
> public UserLoggingModel getModel();
> public String getLoggingId();
> public void setLoggingId(String loggingId);
> ...
> }
> +UserLoggingHome.java+
> public interface UserLoggingHome extends EJBLocalHome {
> public UserLogging findCurrentUserLogin(String user) throws FinderException;
> ...
> }
> +UserLoggingEJB.java+
> public abstract class UserLoggingEJB implements EntityBean {
> private EntityContext ctx;
> public String loggingId;
> public String userId;
> public String organizationId;
> public Timestamp loginTimeStamp;
> public Timestamp logoutTimeStamp;
> public long systemTypeId;
> public long systemId;
> public abstract String getLoggingId();
> public abstract void setLoggingId(String loggingId);
> public UserLoggingModel getModel() {
> UserLoggingModel userLoggingModel = new UserLoggingModel(getLoggingId(), getUserId(), getOrganizationId(), getLoginTimeStamp(),
> getLogoutTimeStamp());
> return userLoggingModel;
> }
> ...
> }
> Thanks in advanced!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (AS7-6428) Using Session Scope CDI bean does not work in a HttpSessionListener
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/AS7-6428?page=com.atlassian.jira.plugin.s... ]
Stuart Douglas resolved AS7-6428.
---------------------------------
Assignee: Stuart Douglas (was: Remy Maucherat)
Fix Version/s: 8.0.0.Alpha1
(was: No Release)
Resolution: Done
> Using Session Scope CDI bean does not work in a HttpSessionListener
> -------------------------------------------------------------------
>
> Key: AS7-6428
> URL: https://issues.jboss.org/browse/AS7-6428
> Project: Application Server 7
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: 7.1.1.Final
> Environment: linux 64bits, win7 64 bits
> Reporter: nicolas marchais
> Assignee: Stuart Douglas
> Fix For: 8.0.0.Alpha1
>
>
> JBoss AS 7.1.x has a bug with using session bean scope in a HttpSessionListener.
> When i inject a session scope bean in a HttpSessionListener and i try to populate attribute in sessionCreated() method many HttpSession are created by JBoss AS. Is it normal the a web server create many Http session for the same request ?
> Normally, this behaviour should work. See : http://docs.jboss.org/cdi/api/1.1-PRD/javax/enterprise/context/SessionSco...
> I did a light Web Project to explain the problem with 1 JSP, 1 SessionScope bean and 1 HttpSessionListener.
> Here is the code.
> JSP page :
> <%@ page language="java" contentType="text/html; charset=UTF-8"
> pageEncoding="UTF-8"%>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>Insert title here</title>
> </head>
> <body>
> </body>
> </html>
> SessionScope bean :
> @Named
> @SessionScoped
> public class UserState implements Serializable {
> private int state;
> public int getState() {
> return state;
> }
> public void setState(int state) {
> this.state = state;
> }
> }
> HttpSessionListener :
> @WebListener
> public class SessionListener implements HttpSessionListener {
> @Inject private UserState userState;
>
> @Override
> public void sessionCreated(HttpSessionEvent event) {
> System.out.println("New HTTP Session created : " + event.getSession().getId());
> userState.setState(2);
> }
> @Override
> public void sessionDestroyed(HttpSessionEvent event) {}
> }
> After execution, you can read in the console at least 2 http session creation like this :
> New HTTP Session created : zvlF6vGLP1AaXM-rzFU02wAJ.undefined
> New HTTP Session created : TlrmmA8Eu4v32SHDT0QBBZza.undefined
> The first session seams to be the one which is used by the client. There is one more problem : The polutated attributes of the session scope bean are ignored after HttpSessionListener execution. At the end all session scope attributes are null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (DROOLS-98) TypeDeclarations for Java classes used in Patterns are created in the wrong package
by Davide Sottara (JIRA)
[ https://issues.jboss.org/browse/DROOLS-98?page=com.atlassian.jira.plugin.... ]
Davide Sottara closed DROOLS-98.
--------------------------------
Resolution: Duplicate Issue
Created twice as DROOLS-99 due to a browser glitch
> TypeDeclarations for Java classes used in Patterns are created in the wrong package
> -----------------------------------------------------------------------------------
>
> Key: DROOLS-98
> URL: https://issues.jboss.org/browse/DROOLS-98
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 5.5, 6.0.0.Alpha1
> Reporter: Davide Sottara
> Assignee: Mario Fusco
> Fix For: 5.6, 6.0.0.Beta1
>
>
> when a rule uses a java class in a pattern:
> package my.test
> import org.drools.Cheese
> rule R when Cheese() then end
> a TypeDeclaration for org.drools.Cheese is generated, but ends up being
> attached to the rule package "my.test" instead of the natural class package
> "org.drools".
> This prevents an efficient later lookup of the declaration using the class
> name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (DROOLS-99) TypeDeclarations for Java classes used in Patterns are created in the wrong package
by Davide Sottara (JIRA)
Davide Sottara created DROOLS-99:
------------------------------------
Summary: TypeDeclarations for Java classes used in Patterns are created in the wrong package
Key: DROOLS-99
URL: https://issues.jboss.org/browse/DROOLS-99
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 5.5, 6.0.0.Alpha1
Reporter: Davide Sottara
Assignee: Mario Fusco
Fix For: 5.6, 6.0.0.Beta1
when a rule uses a java class in a pattern:
package my.test;
import org.drools.Cheese;
rule R when Cheese() then end
a TypeDeclaration for that class (e.g.Cheese) is created, but is assigned
to the rule package ("my.test") rather than to the natural class package
("org.drools"). This prevents an efficient later lookup of the typeDeclaration
using the class name as a key.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months