[JBoss JIRA] Created: (JBAS-5076) Loglevel TRACE doesn't work when defined in a SAR file
by Juergen Zimmermann (JIRA)
Loglevel TRACE doesn't work when defined in a SAR file
------------------------------------------------------
Key: JBAS-5076
URL: http://jira.jboss.com/jira/browse/JBAS-5076
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Logging
Affects Versions: JBossAS-4.2.2.GA
Environment: WinXP SP2, JDK 1.6.0_03, JBossAS 4.2.2, JBossWS 2.0.2
Reporter: Juergen Zimmermann
Assigned To: Scott M Stark
I've a SAR archive included in an EAR archive. The SAR archive contains log4j.xml (plus log4j.dtd):
<?xml version="1.0"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<category name="de.hska">
<priority value="TRACE"/>
</category>
</log4j:configuration>
However, the TRACE level cannot be utilized in a servlet class. Using DEBUG there is no problem. I also tried to add class="org.jboss.logging.XLevel", but the issue remains.
--
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, 3 months
[JBoss JIRA] Created: (JBAS-4313) Cluster looses his master
by Bernd Köcke (JIRA)
Cluster looses his master
-------------------------
Key: JBAS-4313
URL: http://jira.jboss.com/jira/browse/JBAS-4313
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Clustering
Affects Versions: JBossAS-4.2.0.CR1, JBossAS-4.0.5.GA, JBossAS-4.0.4.GA, JBossAS-4.0.2 Final
Environment: Linux 2.6.x, Sun-JVM 1.5.0_11-b03, 1.6.0-b105, JBoss 4.0.2.final, but the code which causes the problem seems to be present up to version 4.2.0.CR1, cluster with two or more nodes.
Reporter: Bernd Köcke
Assigned To: Brian Stansberry
In a cluster with two nodes (node_a and node_b) under a high workload it is possible that a restarted node, which is not the master, rejoins the cluster before the master recognised that the old node has gone away. The result is, that the restarted node seems to appear in the clusterview twice. The problem is the DistributedReplicantManagerImpl (DRMI) and ClusterPartition. Via the setCurrentState-method of DRMI on node_b the replicants-map is set, this map contains the old dead node node_bo. The key for the new node_b (node_bn) and the old one is the same: node_b:1199. When the master recognised that node_bo is dead he sends a new clusterview without the old node: node_a, node_b(n). But because of the implementation in HAPartitionImpl.getDeadMembers and DRMI.membershipChanged node_bo is never removed from the replicants map of node_bn's DRMI. If after this node_a is restarted, node_bn is the new master. JGroups knows this, but not the DRMI not and because of the old node in the replicants-map he returns 'false' from 'isMasterReplica' for every service. The restarted node_a is not the first in the clusterview and so there is no master. This situation is stable until node_bn is restarted.
The cause of the problem is the method ClusterPartition.generateUniqueNodeName. If the JNDI-Subsystem is working, the method generates this nodename: <server name>:<JNDI port>. This is not unique across a node restart. To 'solve' the problem I commented out the return statement for the JNDI-based nodename. Then the method generates a name like this: <server name>:<generated UID>. This is set as additional data in JGroups and in turn used as key in the various maps in DRMI. With this fix node_bo is removed from the replicants map. But the clusterview looks a little bit ugly because of the UID. May be that others want to stay with the JNDI-Port. So my suggestion would be to make it a configuration option, to use always the UID instead of the JNDI-Port and the default can be the JNDI-Port. Because it could be that someone uses the nodenames of the clusterview to determine the JNDI-Port of the other members.
But by changing this, I found a deadlock condition in DRMI. I will post another bugreport for this, it seems to affect only version 4.0.2.
--
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, 3 months
[JBoss JIRA] Created: (JBAOP-518) Post condition of InstanceAdvisorDelegate.initializeAspects is not aspect != null
by Carlo de Wolf (JIRA)
Post condition of InstanceAdvisorDelegate.initializeAspects is not aspect != null
---------------------------------------------------------------------------------
Key: JBAOP-518
URL: http://jira.jboss.com/jira/browse/JBAOP-518
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR3
Reporter: Carlo de Wolf
I have an instance advisor, but no instance aspects. This leads into:
java.lang.NullPointerException
at org.jboss.aop.InstanceAdvisorDelegate.getPerInstanceAspect(InstanceAdvisorDelegate.java:182)
at org.jboss.aop.GeneratedInstanceAdvisorMixin.getPerInstanceAspect(GeneratedInstanceAdvisorMixin.java:80)
at org.jboss.ejb3.test.ejbthree1023.DefaultLocalBean$DefaultLocalBeanInstanceAdvisor.getPerInstanceAspect(DefaultLocalBean$DefaultLocalBeanInstanceAdvisor.java)
(only reproducable with EJBTHREE-1174 patch #47)
--
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, 3 months
[JBoss JIRA] Created: (JBAS-5153) Pull web class loader creation into WarClassLoaderDeployer
by Scott M Stark (JIRA)
Pull web class loader creation into WarClassLoaderDeployer
----------------------------------------------------------
Key: JBAS-5153
URL: http://jira.jboss.com/jira/browse/JBAS-5153
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: ClassLoading, Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.Beta3
Reporter: Scott M Stark
Assigned To: Scott M Stark
Priority: Blocker
Fix For: JBossAS-5.0.0.Beta4
With the change to the new bundle class loader assumptions made by the WebCtxLoader about RepositoryClassLoader are no longer valid. We also need the web class loader available during the class loader phase for use by other deployers. For these reasons we need to get the WarClassLoaderDeployer running to establish the web container class loader.
--
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, 3 months