Trunk upgrade to JGroups 2.5
                                
                                
                                
                                    
                                        by Brian Stansberry
                                    
                                
                                
                                        I just move AS trunk to JGroups 2.5.0.GA.  If your build complains about 
a version conflict with messaging, delete thirdparty/jboss/messaging and 
rebuild.
-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
                                
                         
                        
                                
                                18 years, 1 month
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
            
        
        
        
                
                        
                                
                                 
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Using the EJBTestCase to run tests in the appserver
                                
                                
                                
                                    
                                        by Adrian
                                    
                                
                                
                                        I made a small modification to the EJBTestCase so you can
use it more generically to run tests inside the appserver.
Before, it always started a UserTransaction which makes
it difficult to run tests where you want to start a
transaction yourself.
To workaround this issue, you can now say you
don't want the UserTransaction with an env-entry, e.g.
      <session>
         <description>JUnit Session Bean Test Runner</description>
         <ejb-name>EJBTestRunnerEJB</ejb-name>
         <home>org.jboss.test.util.ejb.EJBTestRunnerHome</home>
         <remote>org.jboss.test.util.ejb.EJBTestRunner</remote>
<ejb-class>org.jboss.test.util.ejb.EJBTestRunnerBean</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Bean</transaction-type>
         <env-entry>
            <env-entry-name>NO_USER_TRANSACTION</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>true</env-entry-value>
         </env-entry>
      </session>
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                                
                         
                        
                                
                                18 years, 1 month
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        org.jboss.util.threadpool.BasicThreadPool issue
                                
                                
                                
                                    
                                        by Anil Saldhana
                                    
                                
                                
                                        Adrian,
    with some progressive changes in my AS5 trunk workspace, while 
running one of the tests in the test suite, the server log is filling up 
with the following exception (it is reaching something like 800MB in log 
size)
=================
2007-09-11 09:40:10,843 DEBUG 
[org.jboss.util.threadpool.BasicThreadPool] Timeou
t monitor saw unexpected error
java.util.NoSuchElementException
        at java.util.AbstractQueue.remove(AbstractQueue.java:80)
        at 
org.jboss.util.threadpool.BasicThreadPool.getNextTimeout(BasicThreadPool.java:475)
        at 
org.jboss.util.threadpool.BasicThreadPool$TimeoutMonitor.run(BasicThreadPool.java:593)
        at java.lang.Thread.run(Thread.java:595)
=====================
I am still checking why this issue is happening.  But I see that you are 
making use of a PriorityQueue and whose remove is supposed to be safe 
from any exception.
Regards,
Anil
                                
                         
                        
                                
                                18 years, 1 month
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
                
                        
                                
                                 
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Strange thing in Jbossas with jboss-web.xml
                                
                                
                                
                                    
                                        by jean-frederic clere
                                    
                                
                                
                                        Hi,
I have the following jboss-web.xml:
+++
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Service Reference 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>
   <!-- Uncomment the security-domain to enable security. You will
      need to edit the htmladaptor login configuration to setup the
      login modules used to authentication users.
      <security-domain>java:/jaas/jmx-console</security-domain>
   -->
</jboss-web>
+++
It causes the following error:
+++
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse
source:
vfsfile:/home/jfclere/jbossas_head/build/output/jboss-5.0.0.Beta3/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml@3,12
        at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:184)
        at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:186)
        at
org.jboss.deployers.vfs.spi.deployer.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:120)
        ... 22 more
Caused by: org.xml.sax.SAXException: Element type "jboss-web" must be
declared. @
vfsfile:/home/jfclere/jbossas_head/build/output/jboss-5.0.0.Beta3/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml[3,12]
        at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:427)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
+++
Is that normal?
Cheers
Jean-Frederic
                                
                         
                        
                                
                                18 years, 1 month
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        javax.net.ServerSocketFactory not found?!?! 
                                
                                
                                
                                    
                                        by Kabir Khan
                                    
                                
                                
                                        I've just imported an updated jboss-head into Eclipse, and I get the 
following error in naming/src/main/org/jnp/server/Main.java:	
The type javax.net.ServerSocketFactory cannot be resolved. It is 
indirectly referenced from required .class files
Main.java imports that file, but should this not be part of the JRE 
System library?
                                
                         
                        
                                
                                18 years, 1 month