tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Closed: (OPENEJB-1300) Possible Windows jvm bug results in "java.lang.ClassCastException: org.apache.xbean.recipe.ObjectRecipe cannot be cast to ...."
Date Tue, 19 Oct 2010 02:34:26 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Blevins closed OPENEJB-1300.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.2-beta-1)

> Possible Windows jvm bug results in "java.lang.ClassCastException: org.apache.xbean.recipe.ObjectRecipe
cannot be cast to ...." 
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1300
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1300
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: container system
>    Affects Versions: 3.1, 3.1.1, 3.1.2
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 3.1.3
>
>
> This was only reported recently but could have potentially affected other releases and
may be related to specific windows JVM versions:
> ERROR - Application could not be deployed:  classpath.ear
> org.apache.openejb.OpenEJBException: Creating application failed: classpath.ear: Error
deploying 'CalculatorImpl'.  Exception: class java.lang.ClassCastException: org.apache.xbean.recipe.ObjectRecipe
cannot be cast to org.apache.openejb.util.Pool$Builder: org.apache.xbean.recipe.ObjectRecipe
cannot be cast to org.apache.openejb.util.Pool$Builder
>         at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:670)
>         at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:448)
>         at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:366)
>         at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
>         at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:125)
>         at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:60)
>         at org.apache.openejb.OpenEJB.init(OpenEJB.java:271)
>         at org.apache.openejb.OpenEJB.init(OpenEJB.java:250)
>         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:597)
>         at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>         at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>         at org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>         at org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:197)
>         at org.superbiz.calculator.CalculatorTest.setUp(CalculatorTest.java:35)
>         at junit.framework.TestCase.runBare(TestCase.java:128)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:228)
>         at junit.framework.TestSuite.run(TestSuite.java:223)
>         at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>         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:597)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
> Caused by: org.apache.openejb.OpenEJBException: Error deploying 'CalculatorImpl'.  Exception:
class java.lang.ClassCastException: org.apache.xbean.recipe.ObjectRecipe cannot be cast to
org.apache.openejb.util.Pool$Builder: org.apache.xbean.recipe.ObjectRecipe cannot be cast
to org.apache.openejb.util.Pool$Builder
>         at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:598)
>         ... 38 more
> Caused by: java.lang.ClassCastException: org.apache.xbean.recipe.ObjectRecipe cannot
be cast to org.apache.openejb.util.Pool$Builder
>         at org.apache.openejb.core.stateless.StatelessInstanceManager.deploy(StatelessInstanceManager.java:415)
>         at org.apache.openejb.core.stateless.StatelessContainer.deploy(StatelessContainer.java:114)
>         at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:595)
>         ... 38 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message