You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 15:04:19 UTC

[jira] Moved: (SUREFIRE-534) Xpp3Dom gets in the way of org.omg.CORBA.INITIALIZE

     [ http://jira.codehaus.org/browse/SUREFIRE-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MNG-3048 to SUREFIRE-534:
--------------------------------------------

    Affects Version/s:     (was: 2.0.6)
        Fix Version/s:     (was: Reviewed Pending Version Assignment)
          Component/s:     (was: Plugins and Lifecycle)
                  Key: SUREFIRE-534  (was: MNG-3048)
              Project: Maven Surefire  (was: Maven 2)

> Xpp3Dom gets in the way of org.omg.CORBA.INITIALIZE
> ---------------------------------------------------
>
>                 Key: SUREFIRE-534
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-534
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Emilian Bold
>
> I have a unit test which creates an InitialContext and connects to a Glassfish application. I'm using sunfire 2.1.3 (in order to -disableassertions).
> While creating the InitialContext, I get exception at the end of the post.
> Basically I have appserver-rt in the dependency list (in my local repository). This jar contains the com/sun/corba/ee/impl/orb/ORBImpl.class.
> maven-surefire-plugin is also configured this way in the build:
>                 <version>2.1.3</version>
>                 <configuration>
>                     <forkMode>pertest</forkMode> <!-- also "always" ? -->
>                     <argLine>-da</argLine>
>                     
>                     <!-- force the appserver ORB in front of the default one ?-->
>                     <childDelegation>true</childDelegation>
> Note my test with childDelegation which seems to do nothing in particular.
> org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.sun.corba.ee.impl.orb.ORBImpl  vmcid: 0x0  minor code: 0  completed: No
>         at org.omg.CORBA.ORB.create_impl(ORB.java:297)
>         at org.omg.CORBA.ORB.init(ORB.java:336)
>         at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:506)
>         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:264)
>         at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:141)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:175)
>         at com.example.xxx.xxx.TestMe.connect(TestParent.java:41)
>         at com.example.xxx.TestTransactions.setUp(TestTransactions.java:33)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
>         at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
>         at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:126)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)
> Caused by: java.lang.VerifyError: (class: com/sun/corba/ee/impl/orb/ORBImpl, method: create_context_list signature: ()Lorg/omg/CORBA/ContextList;) Incompatible argument to function
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at org.omg.CORBA.ORB.create_impl(ORB.java:295)
>         ... 32 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira