ok, added a conditional exclude. Please try this. http://svn.apache.org/viewvc?view=rev&revision=447943
thanks, dims On 9/19/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote:
Hi dims, Adding mx4j-jmx-3.0.1.jar got rid of the NoClassDefFoundError. But the test still fails: test report : [1] Thanks, Ruchith [1] http://rafb.net/paste/results/rfN9OG76.html On 9/20/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > How about this one? > > http://www.ibiblio.org/maven/mx4j/jars/mx4j-jmx-3.0.1.jar > > -- dims > > On 9/19/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote: > > Hi dims, > > > > geronimo-j2ee-management_1.0_spec-1.0.1.jar [1] only contains > > javax.management.j2ee.* stuff :-( > > > > Therefore we don't have javax.management.MalformedObjectNameException > > even if we add the dependency. > > > > Thanks, > > Ruchith > > > > [1] http://www.ibiblio.org/maven/org.apache.geronimo.specs/jars/geronimo-j2ee-management_1.0_spec-1.0.1.jar > > > > On 9/19/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > > Please try adding the following dependency to project.xml under > > > modules/integration > > > > > > <dependency> > > > <groupId>org.apache.geronimo.specs</groupId> > > > <artifactId>geronimo-j2ee-management_1.0_spec</artifactId> > > > </dependency> > > > > > > thanks, > > > dims > > > > > > On 9/19/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote: > > > > Hi Devs, > > > > > > > > I'm experiencing an Axis2 build failure (on JDK 1.4) due to the > > > > failure of one of the integration tests: > > > > org.apache.axis2.jms.JMSEchoRawXMLTest > > > > > > > > I noticed the following at the top of the stack trace in the test report: > > > > > > > > javax/management/MalformedObjectNameException > > > > java.lang.NoClassDefFoundError: javax/management/MalformedObjectNameException > > > > > > > > Seems like MalformedObjectNameException is available from JDK 1.5 [1]. > > > > > > > > The full test report is attached: [2] > > > > > > > > Thanks, > > > > Ruchith > > > > > > > > [1] http://java.sun.com/j2se/1.5.0/docs/api/javax/management/MalformedObjectNameException.html > > > > > > > > [2] > > > > ---------------------------------------------------------------------------------------- > > > > Testsuite: org.apache.axis2.jms.JMSEchoRawXMLTest > > > > Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 3.417 sec > > > > > > > > ------------- Standard Error ----------------- > > > > log4j:WARN No appenders could be found for logger > > > > (org.apache.activemq.broker.BrokerService). > > > > log4j:WARN Please initialize the log4j system properly. > > > > ------------- ---------------- --------------- > > > > Testcase: testEchoXMLASync(org.apache.axis2.jms.JMSEchoRawXMLTest): > > > > Caused an ERROR > > > > javax/management/MalformedObjectNameException > > > > java.lang.NoClassDefFoundError: javax/management/MalformedObjectNameException > > > > at org.apache.activemq.broker.BrokerService.getManagementContext(BrokerService.java:610) > > > > at org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:933) > > > > at org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888) > > > > at org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:143) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:133) > > > > at org.apache.axis2.jms.JMSEchoRawXMLTest.setUp(JMSEchoRawXMLTest.java:82) > > > > > > > > > > > > Testcase: testEchoXMLSync(org.apache.axis2.jms.JMSEchoRawXMLTest): > > > > Caused an ERROR > > > > Journal is already opened by this application. > > > > java.io.IOException: Journal is already opened by this application. > > > > at org.apache.activeio.journal.active.ControlFile.lock(ControlFile.java:76) > > > > at org.apache.activeio.journal.active.LogFileManager.initialize(LogFileManager.java:120) > > > > at org.apache.activeio.journal.active.LogFileManager.<init>(LogFileManager.java:101) > > > > at org.apache.activeio.journal.active.JournalImpl.<init>(JournalImpl.java:99) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createJournal(DefaultPersistenceAdapterFactory.java:198) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal(DefaultPersistenceAdapterFactory.java:134) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersistenceAdapter(DefaultPersistenceAdapterFactory.java:63) > > > > at org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:968) > > > > at org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:559) > > > > at org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:929) > > > > at org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888) > > > > at org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:143) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:133) > > > > at org.apache.axis2.jms.JMSEchoRawXMLTest.setUp(JMSEchoRawXMLTest.java:82) > > > > > > > > > > > > Testcase: testEchoXMLCompleteSync(org.apache.axis2.jms.JMSEchoRawXMLTest): > > > > Caused an ERROR > > > > Journal is already opened by this application. > > > > java.io.IOException: Journal is already opened by this application. > > > > at org.apache.activeio.journal.active.ControlFile.lock(ControlFile.java:76) > > > > at org.apache.activeio.journal.active.LogFileManager.initialize(LogFileManager.java:120) > > > > at org.apache.activeio.journal.active.LogFileManager.<init>(LogFileManager.java:101) > > > > at org.apache.activeio.journal.active.JournalImpl.<init>(JournalImpl.java:99) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createJournal(DefaultPersistenceAdapterFactory.java:198) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal(DefaultPersistenceAdapterFactory.java:134) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersistenceAdapter(DefaultPersistenceAdapterFactory.java:63) > > > > at org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:968) > > > > at org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:559) > > > > at org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:929) > > > > at org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888) > > > > at org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:143) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:133) > > > > at org.apache.axis2.jms.JMSEchoRawXMLTest.setUp(JMSEchoRawXMLTest.java:82) > > > > > > > > > > > > Testcase: testEchoXMLSyncMC(org.apache.axis2.jms.JMSEchoRawXMLTest): > > > > Caused an ERROR > > > > Journal is already opened by this application. > > > > java.io.IOException: Journal is already opened by this application. > > > > at org.apache.activeio.journal.active.ControlFile.lock(ControlFile.java:76) > > > > at org.apache.activeio.journal.active.LogFileManager.initialize(LogFileManager.java:120) > > > > at org.apache.activeio.journal.active.LogFileManager.<init>(LogFileManager.java:101) > > > > at org.apache.activeio.journal.active.JournalImpl.<init>(JournalImpl.java:99) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createJournal(DefaultPersistenceAdapterFactory.java:198) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal(DefaultPersistenceAdapterFactory.java:134) > > > > at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersistenceAdapter(DefaultPersistenceAdapterFactory.java:63) > > > > at org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:968) > > > > at org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:559) > > > > at org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:929) > > > > at org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888) > > > > at org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:143) > > > > at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:133) > > > > at org.apache.axis2.jms.JMSEchoRawXMLTest.setUp(JMSEchoRawXMLTest.java:82) > > > > > > > > > > > > ---------------------------------------------------------------------------------------- > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > www.ruchith.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- www.ruchith.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]