[JBoss JIRA] Created: (JBAS-7166) org.jboss.Shutdown to use org.jboss.naming.NamingProviderURLWriter persist file
by Juergen none (JIRA)
org.jboss.Shutdown to use org.jboss.naming.NamingProviderURLWriter persist file
-------------------------------------------------------------------------------
Key: JBAS-7166
URL: https://jira.jboss.org/jira/browse/JBAS-7166
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Naming
Affects Versions: JBossAS-5.1.0.GA
Environment: 15:59:02,389 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc.
15:59:02,390 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
15:59:02,390 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.0-b16,Sun Microsystems Inc.
15:59:02,390 INFO [ServerInfo] OS-System: Linux 2.6.9-22.0.1.ELsmp,amd64
Reporter: Juergen none
Assignee: Scott M Stark
i would like to see org.jboss.Shutdown in bin/shutdown.jar make use of persist file created by org.jboss.naming.NamingProviderURLWriter containing jnp service url
i probably can do something like "java -jar shutdown.jar -s `cat jnp-service.url` -S" but it depends on OS
--
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, 2 months
[JBoss JIRA] Created: (JBRULES-2762) ArrayIndexOutOfBoundsException in org.drools.core.util.AbstractHashTable
by Lubos Pechac (JIRA)
ArrayIndexOutOfBoundsException in org.drools.core.util.AbstractHashTable
------------------------------------------------------------------------
Key: JBRULES-2762
URL: https://jira.jboss.org/browse/JBRULES-2762
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.1.1.FINAL
Environment: JBoss 5.1 on JDK6, 64bit Windows Server
Reporter: Lubos Pechac
Assignee: Mark Proctor
Exception occures at:
org.drools.core.util.AbstractHashTable$HashTableIterator.next(AbstractHashTable.java:317)
in Drools 5.1.1 when calling insert() on just created StatefulKnowledgeSession.
I found similar issues reported for LeftTupleIndexHashTable, it had to do with initializing row to -1 instead of 0 or something similar. I see that fixed in Left/RightTupleIndexHashTable but it seems to me like it is still present in AbstractHashTable.
The bug occures randomly (inserting the same data), usualy under load. The index is either -1 or too high. I create multiple sessions in threads from one KnowledgeBase, sessions are not shared. The sessions are relatively short living, about 100ms max.
Stack trace I got is:
java.lang.ArrayIndexOutOfBoundsException: 16
at org.drools.core.util.AbstractHashTable$HashTableIterator.next(AbstractHashTable.java:317)
at org.drools.reteoo.EntryPointNode.updateSink(EntryPointNode.java:323)
at org.drools.reteoo.ObjectTypeNode.attach(ObjectTypeNode.java:303)
at org.drools.reteoo.builder.PatternBuilder.attachObjectTypeNode(PatternBuilder.java:257)
at org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:92)
at org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:68)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:981)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:917)
at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:251)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBAS-8587) Error during shutdown
by Stefano Maestri (JIRA)
Error during shutdown
---------------------
Key: JBAS-8587
URL: https://jira.jboss.org/browse/JBAS-8587
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Alpha1
Reporter: Stefano Maestri
Assignee: Brian Stansberry
I'm getting this stack trace time to time during server shutdown (both domain and standalone)
[Server:server-two] 21:30:17,768 WARN [org.jboss.messaging] (pool-1-thread-4) failed to destroy jms topic: testTopic: javax.naming.NameNotFoundException: Name 'topic' not found in context ''
[Server:server-two] at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:66)
[Server:server-two] at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:355)
[Server:server-two] at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:311)
[Server:server-two] at org.jboss.as.naming.InMemoryNamingStore.unbind(InMemoryNamingStore.java:138)
[Server:server-two] at org.jboss.as.naming.NamingContext.unbind(NamingContext.java:257)
[Server:server-two] at org.jboss.as.naming.NamingContext.unbind(NamingContext.java:266)
[Server:server-two] at javax.naming.InitialContext.unbind(InitialContext.java:433) [:1.6.0_18]
[Server:server-two] at org.hornetq.jms.server.impl.JMSServerManagerImpl.removeFromJNDI(JMSServerManagerImpl.java:1630)
[Server:server-two] at org.hornetq.jms.server.impl.JMSServerManagerImpl.destroyTopic(JMSServerManagerImpl.java:644)
[Server:server-two] at org.jboss.as.messaging.jms.JMSTopicService.stop(JMSTopicService.java:64)
[Server:server-two] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:983)
[Server:server-two] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_18]
[Server:server-two] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_18]
[Server:server-two] at java.lang.Thread.run(Thread.java:636) [:1.6.0_18]
[Server:server-two]
[Server:server-three] 21:30:17,774 INFO [org.jboss.as.deployment] (pool-1-thread-4) Undeployed jdbc-local.rar
[Server:server-three] 21:30:17,774 INFO [org.jboss.as.deployment] (pool-1-thread-4) Undeployed jdbc-xa.rar
[Server:server-one] 21:30:17,766 WARN [org.jboss.messaging] (pool-1-thread-4) failed to destroy jms topic: testTopic: javax.naming.NameNotFoundException: Name 'topic' not found in context ''
[Server:server-one] at org.jboss.as.naming.util.NamingUtils.nameNotFoundException(NamingUtils.java:66)
[Server:server-one] at org.jboss.as.naming.InMemoryNamingStore$NodeTraversingVisitor.visit(InMemoryNamingStore.java:355)
[Server:server-one] at org.jboss.as.naming.InMemoryNamingStore$ContextNode.accept(InMemoryNamingStore.java:311)
[Server:server-one] at org.jboss.as.naming.InMemoryNamingStore.unbind(InMemoryNamingStore.java:138)
[Server:server-one] at org.jboss.as.naming.NamingContext.unbind(NamingContext.java:257)
[Server:server-one] at org.jboss.as.naming.NamingContext.unbind(NamingContext.java:266)
[Server:server-one] at javax.naming.InitialContext.unbind(InitialContext.java:433) [:1.6.0_18]
[Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.removeFromJNDI(JMSServerManagerImpl.java:1630)
[Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.destroyTopic(JMSServerManagerImpl.java:644)
[Server:server-one] at org.jboss.as.messaging.jms.JMSTopicService.stop(JMSTopicService.java:64)
[Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:983)
[Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_18]
[Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_18]
[Server:server-one] at java.lang.Thread.run(Thread.java:636) [:1.6.0_18]
[Server:server-one]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months
[JBoss JIRA] Created: (JBRULES-2771) NPE in update call from wrong WM Entry Point
by Wolfgang Laun (JIRA)
NPE in update call from wrong WM Entry Point
--------------------------------------------
Key: JBRULES-2771
URL: https://jira.jboss.org/browse/JBRULES-2771
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.1.1.FINAL
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.0.M1
This sequence of statements disagrees with the documentation:
WorkingMemoryEntryPoint entryPoint = kSession.getWorkingMemoryEntryPoint( "epn" );
FactHandle fh = entryPoint.insert( fact );
kSession.update( fh, fact ); // should be done using entryPoint.update
But this causes (in 5.1.1) a NPE
Exception in thread "main" java.lang.NullPointerException
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1379)
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1338)
at org.drools.impl.StatefulKnowledgeSessionImpl.update(StatefulKnowledgeSessionImpl.java:266)
at event.Main.execute(Main.java:153)
at event.Main.main(Main.java:164)
This is the line:
if ( this.maintainTms ) {
status = ((InternalFactHandle) factHandle).getEqualityKey().getStatus();
}
and similar code can be found in trunk, so I suppose this is still possible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months