[JBoss JIRA] Created: (JBAOP-482) AOP gives non-descriptive exception when annotation creation of an expression fails
by Carlo de Wolf (JIRA)
AOP gives non-descriptive exception when annotation creation of an expression fails
-----------------------------------------------------------------------------------
Key: JBAOP-482
URL: http://jira.jboss.com/jira/browse/JBAOP-482
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Carlo de Wolf
The runtime exception at AnnotationRepository:115 should have the expr in the message.
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchFieldException: class
at org.jboss.aop.annotation.AnnotationRepository.extractAnnotation(AnnotationRepository.java:115)
at org.jboss.aop.annotation.AnnotationRepository.resolveClassAnnotation(AnnotationRepository.java:83)
at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:354)
at org.jboss.ejb3.EJBContainer.getAnnotation(EJBContainer.java:1104)
at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:97)
at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:137)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:47)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:96)
at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:90)
at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:151)
at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:323)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:384)
at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)
at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:37)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:65)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:729)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:782)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:670)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:496)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:355)
at org.jboss.deployment.services.DeploymentManagerService.deploy_phase2(DeploymentManagerService.java:412)
at org.jboss.deployment.services.DeploymentManagerService.deploy(DeploymentManagerService.java:295)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:815)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:416)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: class
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:239)
at org.jboss.annotation.factory.ast.ASTIdentifier.jjtAccept(ASTIdentifier.java:37)
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:108)
at org.jboss.annotation.factory.ast.ASTSingleMemberValue.jjtAccept(ASTSingleMemberValue.java:41)
at org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:352)
at org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:380)
at org.jboss.aop.annotation.AnnotationRepository.extractAnnotation(AnnotationRepository.java:111)
... 98 more
Caused by: java.lang.NoSuchFieldException: class
at java.lang.Class.getField(Class.java:1507)
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:220)
... 104 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Commented: (JBAS-1436) Improved management
by Scott Hasse (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1436?page=comments#action_12387739 ]
Scott Hasse commented on JBAS-1436:
-----------------------------------
While this work is going on it might be interesting to review what the competition provides in terms of JCA pool management diagnostic information:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/co...
specifically, we use the "JDBC time" as a metric. However, it would be even more useful if there were something like lifetime, hourly and 5 minute averages for JDBC time. If you have salesforce access, the case there is:
https://network.jboss.com/jbossnetwork/restricted/caseDetail.html?caseId=...
> Improved management
> -------------------
>
> Key: JBAS-1436
> URL: http://jira.jboss.com/jira/browse/JBAS-1436
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Adrian Brock
> Assigned To: Weston Price
> Priority: Minor
>
> Forum Discussion Thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48682
> **This is a holder issue. Each section should be raised as a new issue as it is
> developed with a link from this issue.**
> There are a number of areas in JCA that need better management capabilities.
> Some of these stats may also reveal the need for new configuration/tuning parameters.
> In core JCA:
> 1) Better visibility on the ManagedConnectionFactory.
> This is currently a DynamicMBean that provides basic config parameters, but we could also
> provide a proxy/wrapper to provide statistics of operations on the factory and its
> ManagedConnections.
> a) createManagedConnections
> b) matchManagedConnections
> c) events on from the listeners
> 2) Better visibility of the Pool(s)
> Only top level statistics are provided (you cannot see the subpools).
> The statistics are also not synchronized with the pool (for performance reasons
> and also the fact that each stat is retrieved on individual MBean getAttribute requests)
> Additional statistics could include wait times when requests are waiting on an empty pool,
> idle time of unused connections, etc.
> 3) Better visibility of the ConnectionManager
> Currently this has no visibility for management.
> Its main responsibilties are transactions enlistment and security.
> e.g. This could show how long is wasted because <track-connection-by-tx/> does not
> return the connection the pool until transaction completion.
> 4) JDBC resource adapter
> PreparedStatementCache stats
> Query time stats
> etc.
> 5) JMS resource adapter
> Message send/receive stats
> 6) Inbound messaging
> Stats for message delivery
> 7) Transaction inflow
> Stats for transaction inflow and also display a list of current inbound transactions
> 8) Work management
> Stats for the work management pools and timers
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JBRULES-1173) java.lang.ArrayIndexOutOfBoundsException: 2 in file named "TupleIndexHashTable.java" in toArray() Method. I have fix and works fine.
by Nageshwar Kunichetty (JIRA)
java.lang.ArrayIndexOutOfBoundsException: 2 in file named "TupleIndexHashTable.java" in toArray() Method. I have fix and works fine.
------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-1173
URL: http://jira.jboss.com/jira/browse/JBRULES-1173
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Reteoo
Affects Versions: 4.0.0.MR3
Environment: windows XP
Reporter: Nageshwar Kunichetty
Assigned To: Mark Proctor
Fix For: 4.0.0.MR3
Sometimes while asserting specific facts I get the following exception in drools-core-4.0.0 :
> java.lang.ArrayIndexOutOfBoundsException: 26
> at org.drools.util.TupleIndexHashTable.toArray(TupleIndexHashTable.java:178)
> at org.drools.reteoo.CollectNode.assertObject(CollectNode.java:212)
> at org.drools.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:317)
> at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:183)
> at org.drools.reteoo.Rete.assertObject(Rete.java:121)
> at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:201)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (EJBTHREE-1115) CLONE -Allow a default <security-domain> element in jboss.xml
by Gunnar Grim (JIRA)
CLONE -Allow a default <security-domain> element in jboss.xml
-------------------------------------------------------------
Key: EJBTHREE-1115
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1115
Project: EJB 3.0
Issue Type: Feature Request
Environment: - Jboss 4.0.3RC1, installed with the installer using the all configuration
- Windows 2000
Reporter: Gunnar Grim
Assigned To: William DeCoste
I'm using the DatabaseServerLoginModule to map principal and roles (client uses ClientLoginModule)
I have a one SLSB with the following security definitions:
@SecurityDomain("testApp-server")
public class....... {
@RolesAllowed("admin")
public int add(int a, int b) {...}
}
Everything works fine - but I want to move the security domain's declaration to the DD:
I removed the '@SecurityDomain' annotation and added a
<security-domain>java:/jaas/testApp-server</security-domain> element to my jboss-app.xml file.
It doesn't work - everyone can access my "secured" method.
Additional tests I did:
A. I know that the jboss-app.xml is being loaded since I added a service module (SAR) into it - and it is being loaded
B. I tried to replace the name of the security domain with an none-exist security domain and again
nothing happends (not even an error message)
C. I tried both static login configuration (server/conf/login-config.xml) and a dynamic one (using the
DynamicLoginConfig) - yet, nothing happends
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (JBPORTAL-1732) Cannot change roles of user names containing a backslash character
by Luc Boudreau (JIRA)
Cannot change roles of user names containing a backslash character
------------------------------------------------------------------
Key: JBPORTAL-1732
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1732
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.6.2 Final
Environment: Any
Reporter: Luc Boudreau
Priority: Critical
In our LDAP directory, the usernames are prefixed with the domain name followed by a backslash followed by the username.
ie. DOMAIN\username
I get the following error while changing the roles of such a user. Clearly, the backslash is interpreted as-is ans creates an escaped character.
2007-10-02 10:59:47,735 ERROR [STDERR] org.jboss.portal.identity.NoSuchUserException: No such user No such user SIoudrel
2007-10-02 10:59:47,736 ERROR [STDERR] at org.jboss.portal.identity.db.HibernateUserModuleImpl.findUserByUserName(HibernateUserModuleImpl.java:97)
2007-10-02 10:59:47,736 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor513.invoke(Unknown Source)
2007-10-02 10:59:47,736 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-10-02 10:59:47,736 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-10-02 10:59:47,736 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-10-02 10:59:47,737 ERROR [STDERR] at $Proxy249.findUserByUserName(UnknownSource)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.portal.core.identity.ui.common.IdentityUserBean.findUserByUserName(IdentityUserBean.java:140)
2007-10-02 10:59:47,737 ERROR [STDERR] at org.jboss.portal.core.identity.ui.actions.AssignRoleAction.assignRoles(AssignRoleAction.java:111)
2007-10-02 10:59:47,737 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-10-02 10:59:47,737 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month