[JBoss JIRA] Created: (JBSER-110) Wrong field shown in throw exception string
by J.N. Niels (JIRA)
Wrong field shown in throw exception string
-------------------------------------------
Key: JBSER-110
URL: https://jira.jboss.org/jira/browse/JBSER-110
Project: JBoss Serialization
Issue Type: Bug
Environment: JBoss 4.2.2
Reporter: J.N. Niels
Assignee: Clebert Suconic
Priority: Minor
In class StreamingClass.java an exception is thrown at
throw new IOException ("Field hash " + fieldOnHash + " is not available on current classPath for class " + className);
but the fieldOnHash is in this case always null, so it may take a whole day to track down which field actually gives the problem (like it happened to me today!). Please change this into what is ment originally:
throw new IOException ("Field hash " + hashField + " is not available on current classPath for class " + className);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBAS-6269) regression - org.jboss.test.refs.test.ResourceResolutionUnitTestCase.testClientORBResources
by Dimitris Andreadis (JIRA)
regression - org.jboss.test.refs.test.ResourceResolutionUnitTestCase.testClientORBResources
-------------------------------------------------------------------------------------------
Key: JBAS-6269
URL: https://jira.jboss.org/jira/browse/JBAS-6269
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: EJB3, Test Suite
Reporter: Dimitris Andreadis
Assignee: Andrew Lee Rubinger
Priority: Critical
Fix For: JBossAS-5.0.0.GA
It started failing after the last jboss-ejb3-as-int:1.0.0-Beta9 upgrade:
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-Test...
---------------------- client side ----------------------
javax.naming.NameNotFoundException: refs-clientorb not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
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)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.ejb3.client.ClientLauncher.loadClassPath(ClientLauncher.java:128)
at org.jboss.ejb3.client.ClientLauncher.launch(ClientLauncher.java:173)
at org.jboss.test.refs.test.ResourceResolutionUnitTestCase.testClientORBResources(ResourceResolutionUnitTestCase.java:137)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
------------------ server side ----------------------------------------
22:41:31,859 ERROR [AbstractKernelController] Error installing to Real: name=vfs
zip:/X:/svn/jboss-head/testsuite/output/lib/refs-resources.ear state=PreReal mod
e=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying refs-resources-ejb.
jar: failed to initialize bean container
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:203)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:104)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internal
Deploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:545)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.redeploy(MainDeployer.java:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerA
daptorService.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:140)
at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(Serial
izableInterceptor.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(JRMPProxyFac
tory.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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:855)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
422)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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:4
66)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: failed to initialize bean container
at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:249)
at org.jboss.ejb3.session.SessionContainer.<init>(SessionContainer.java:
117)
at org.jboss.ejb3.session.SessionSpecContainer.<init>(SessionSpecContain
er.java:71)
at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer
.java:116)
at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3Annota
tionHandler.java:310)
at org.jboss.ejb3.Ejb3DescriptorHandler.getStatelessContainer(Ejb3Descri
ptorHandler.java:498)
at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHand
ler.java:203)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:668)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:628)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:610)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:573)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:488)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
... 69 more
Caused by: java.lang.NullPointerException
at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptorFactory.c
reatePerClass(CachedConnectionInterceptorFactory.java:54)
at org.jboss.aop.microcontainer.beans.DelegatingBeanAspectFactory.create
PerClass(DelegatingBeanAspectFactory.java:94)
at org.jboss.aop.Advisor.addPerClassAspect(Advisor.java:1264)
at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedIntercepto
rFactory.java:75)
at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:1318)
at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.createInte
rceptorChain(ManagedObjectAdvisor.java:141)
at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:1932)
at org.jboss.aop.MethodMatchInfo.applyBinding(MethodMatchInfo.java:152)
at org.jboss.aop.MethodMatchInfo.overridePopulateBindings(MethodMatchInf
o.java:143)
at org.jboss.aop.MethodMatchInfo.populateBindings(MethodMatchInfo.java:9
2)
at org.jboss.aop.Advisor.finalizeMethodChain(Advisor.java:1543)
at org.jboss.aop.ClassAdvisor.finalizeChains(ClassAdvisor.java:739)
at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:
607)
at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:304)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:274)
at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.initialize
(ManagedObjectAdvisor.java:174)
at org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor.initialize(ExtendedMa
nagedObjectAdvisor.java:70)
at org.jboss.ejb3.interceptors.container.AbstractContainer.initializeAdv
isor(AbstractContainer.java:162)
at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:206)
at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:245)
... 81 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBMETA-152) @RolesAllowed in hierarchy are additive, should be overridden
by Andrew Lee Rubinger (JIRA)
@RolesAllowed in hierarchy are additive, should be overridden
-------------------------------------------------------------
Key: JBMETA-152
URL: https://jira.jboss.org/jira/browse/JBMETA-152
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.CR9
Environment: Affects "security5" EJB3 TestSuite, for example
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0.GA
EJB3 Core Specification 17.3.2.1:
"If a method M of class S overrides a business method defined by a superclass of S, the method
permissions value of M is determined by the above rules as applied to class S."
As it stands, the following construct:
public class SecureServiceBeanBase implements SecureService
{
@RolesAllowed(SecureService.ROLES_BEAN_BASE)
public void someMethod()
{
return;
}
}
@Stateless
@Local(SecureService.class)
public class SecureServiceBean extends SecureServiceBeanBase implements SecureService
{
@Override
@RolesAllowed(SecureService.ROLES_EJB)
public void someMethod()
{
return;
}
}
...results in two method permissions for "someMethod".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 5 months
[JBoss JIRA] Created: (JBMESSAGING-1097) Cleaning JBM Tables During Startup
by Tyronne Wickramarathne (JIRA)
Cleaning JBM Tables During Startup
----------------------------------
Key: JBMESSAGING-1097
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1097
Project: JBoss Messaging
Issue Type: Feature Request
Components: Messaging Core Persistence
Affects Versions: 1.4.0.GA
Environment: JBossAS-4.2.0-GA
JBossMessaging-1.4.0-GA
Reporter: Tyronne Wickramarathne
Assigned To: Tim Fox
Fix For: 1.4.0.SP1
need to remove persisted messages during the server startup from the database, without processing them. it becomes a very resource intensive operation as the volume of the persisted messages increased. eg : when this amount exceeds 100K+ during the startup, there should be a mechanism to flush, instead of forcing the subscribers to process them, potentially taking hours, only to require a more intensive system resources.
--
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
15 years, 5 months