[JBoss JIRA] Created: (EJBTHREE-1292) NPE in InterceptorsFcatory Across TestSuite
by Andrew Lee Rubinger (JIRA)
NPE in InterceptorsFcatory Across TestSuite
-------------------------------------------
Key: EJBTHREE-1292
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1292
Project: EJB 3.0
Issue Type: Sub-task
Components: interceptors
Reporter: Andrew Lee Rubinger
Assigned To: Carlo de Wolf
Priority: Blocker
Fix For: AS 5.0.0.CR1
>From the "asynchronous" tests, for example:
Caused by: java.lang.NullPointerException
at org.jboss.ejb3.interceptors.aop.InterceptorsFactory.getLifeCycleInterceptors(InterceptorsFactory.java:283)
at org.jboss.ejb3.stateful.StatefulContainer.invokePrePassivate(StatefulContainer.java:586)
at org.jboss.ejb3.stateful.StatefulBeanContext.preReplicate(StatefulBeanContext.java:545)
at org.jboss.ejb3.cache.tree.StatefulTreeCache.putInCache(StatefulTreeCache.java:481)
at org.jboss.ejb3.cache.tree.StatefulTreeCache.create(StatefulTreeCache.java:145)
at org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:407)
at org.jboss.ejb3.session.SessionContainer.createSession(SessionContainer.java:489)
at org.jboss.ejb3.stateful.BaseStatefulRemoteProxyFactory.createProxyBusiness(BaseStatefulRemoteProxyFactory.java:102)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:847)
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:634)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:459)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:197)
--
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
18 years, 2 months
[JBoss JIRA] Created: (EJBTHREE-1340) Cleanup the ejb3/core cyclical dependencies on org.jboss.jbossas:main,system,system-jmx,mbeans,j2se
by Dimitris Andreadis (JIRA)
Cleanup the ejb3/core cyclical dependencies on org.jboss.jbossas:main,system,system-jmx,mbeans,j2se
---------------------------------------------------------------------------------------------------
Key: EJBTHREE-1340
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1340
Project: EJB 3.0
Issue Type: Task
Components: core
Reporter: Dimitris Andreadis
Fix For: HEAD
I've pointed org.jboss.jbossas:main,system,system-jmx,mbeans,j2se to the previous 5.0.0.Beta4
instead of 5.0.0-SNAPSHOT, to remove the snapshot dependency. This is what the other projects do (JBM, JBWS, etc.)
This always runs the risk of the core as libraries changing, so good integration testing is needed of ejb3 inside jbossAS.
Long term we want to:
1) review the dependency on those libraries and remove those that are not really necessary
2) create a proper SPI for the dependencies we cannot avoid.
This could be done post AS5 so I'm creating this as a reminder task.
--
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
18 years, 2 months
[JBoss JIRA] Created: (JBRULES-631) Return of serialize/deserialize - HashMap of Compiled Rule Bases.
by Joe Son (JIRA)
Return of serialize/deserialize - HashMap of Compiled Rule Bases.
-----------------------------------------------------------------
Key: JBRULES-631
URL: http://jira.jboss.com/jira/browse/JBRULES-631
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: All
Affects Versions: 3.0.1
Environment: Websphere 6.0.
Reporter: Joe Son
Assigned To: Mark Proctor
I'm trying to deserialize hashMap of compiled RuleBases back so that i can use it.
I've tried out different ideas but this one kinda kills me as to why i am getting this error.
It is compiled and serialized during the start up of the webserver (webapp). When the web app is restarted, it uses the same classloader to load the file from the disk.
I get this error below:
Am I getting this because of difference in classloader instances?
say first time around classloader instance A does the serialization. Then when it come time for deserialization during webapp restart, classloader instance B does the desrialize.
Could this cause such error below?
I'm also using JANINO compiler.
Please help.
java.lang.ClassNotFoundException: rules.Rule_dept00004_10_0ConsequenceInvoker
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.drools.rule.CompositePackageClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at org.drools.common.ObjectInputStreamWithLoader.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.util.ArrayList.readObject(ArrayList.java(Compiled Code))
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.util.ArrayList.readObject(ArrayList.java(Compiled Code))
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.util.HashMap.readObject(HashMap.java(Compiled Code))
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.util.HashMap.readObject(HashMap.java(Compiled Code))
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at org.drools.common.AbstractRuleBase.doReadExternal(Unknown Source)
at org.drools.reteoo.ReteooRuleBase.readExternal(Unknown Source)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1718)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.util.HashMap.readObject(HashMap.java(Compiled Code))
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java(Compiled Code))
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at com.nationwide.pc.util.RulesXmlUtilTest.getRuleBaseFromDisk(RulesXmlUtilTest.java:271)
at com.nationwide.pc.performers.eProcess.DroolsPerformerTest.initialize(DroolsPerformerTest.java:88)
at com.nationwide.pc.performers.framework.ServletFrameWork.init(ServletFrameWork.java:86)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:274)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1398)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:86)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:558)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:395)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:115)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:128)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:905)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:858)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1228)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startModule(ApplicationMgrImpl.java:1651)
at com.ibm.ws.runtime.component.ApplicationMgrImpl._startModule(ApplicationMgrImpl.java:1599)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$ApplicationNotifier.classChanged(ApplicationMgrImpl.java:1811)
at com.ibm.ws.classloader.ClassLoaderManager.checkAndNotify(ClassLoaderManager.java:536)
at com.ibm.ws.classloader.ClassLoaderManager.access$000(ClassLoaderManager.java:58)
at com.ibm.ws.classloader.ClassLoaderManager$ReloadTimerTask.alarm(ClassLoaderManager.java:604)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
--
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
18 years, 2 months
[JBoss JIRA] Created: (JBAS-5506) Deployment state is not set correctly deployments that have previously failed.
by Jay Howell (JIRA)
Deployment state is not set correctly deployments that have previously failed.
------------------------------------------------------------------------------
Key: JBAS-5506
URL: http://jira.jboss.com/jira/browse/JBAS-5506
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-4.2.2.GA
Reporter: Jay Howell
Assigned To: Scott M Stark
Once the deployment of a ear on JBOSS AS 4.2.2.AG has failed, the JMX method MainDeployer.listDeployed() keeps indicating that the deployment of the ear has failed, even when a later deployment of the fixed component succeeds.
Steps to reproduce
1. Start 4.2.2
2. Take EJB3Trail.ear and take out the application.xml file.
3. Deploy the ear. You get an exception and a failure.
Exception:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
Inside the MailDeployer.listDeployed() you see:
org.jboss.deployment.DeploymentInfo@6b37e2c9 { url=file:/root/jboss/4.2.2/build/output/jboss-4.2.2.GA/server/default/deploy/EJB3Trail.ear/ }
deployer: org.jboss.deployment.EARDeployer@e7d53
status: null
state: FAILED
watch: file:/root/jboss/4.2.2/build/output/jboss-4.2.2.GA/server/default/deploy/EJB3Trail.ear/
altDD: null
lastDeployed: 1210100865412
lastModified: 1210099024000
mbeans:
4. delete the ear in the deploy directory(complete undeploy)
5. Fix the ear by putting the application.xml back into the ear
6. Copy the ear back into the deploy directory
7. Look in the JMX console under MainDeployer.listDeployed
you will see that the state has not been updated...
org.jboss.deployment.DeploymentInfo@6b37e2c9 { url=file:/root/jboss/4.2.2/build/output/jboss-4.2.2.GA/server/default/deploy/EJB3Trail.ear/ }
deployer: org.jboss.deployment.EARDeployer@e7d53
status: null
state: FAILED
watch: file:/root/jboss/4.2.2/build/output/jboss-4.2.2.GA/server/default/deploy/EJB3Trail.ear/
altDD: null
lastDeployed: 1210100865412
lastModified: 1210099024000
mbeans:
But now all the other sub deployments in the ear appear.
This also seems to happen for war files and other deployments.
--
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
18 years, 2 months