You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Karan Malhi <ka...@gmail.com> on 2008/07/30 17:34:11 UTC

Re: [jira] Commented: (OPENEJB-876) Restart fails

I do not know the answer to this.
Jonathan might be able to respond to it.

On Wed, Jul 30, 2008 at 10:49 AM, Kaloyan Raev (JIRA) <ji...@apache.org>wrote:

>
>    [
> https://issues.apache.org/jira/browse/OPENEJB-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618369#action_12618369]
>
> Kaloyan Raev commented on OPENEJB-876:
> --------------------------------------
>
> Thanks! Unfortunately, the eclipse plugin does not yet support 3.1 builds.
> I have tried renaming the jars "3.1-SNAPSHOT" --> "3.0", but the startup
> from Eclipse fails with: "java.lang.ClassNotFoundException:
> org.apache.openejb.loader.SystemClassPath"
> Any hints how to easily run the snapshot with the eclipse plugin?
>
> > Restart fails
> > -------------
> >
> >                 Key: OPENEJB-876
> >                 URL: https://issues.apache.org/jira/browse/OPENEJB-876
> >             Project: OpenEJB
> >          Issue Type: Bug
> >          Components: eclipse
> >            Reporter: Kaloyan Raev
> >            Assignee: Jonathan Gallimore
> >
> > This happen sometimes, when I use the Restart action in the Servers view.
> The stop is successful, but the start fails with "Unable to obtain lock on
> D:\eclipse\openejb-3.0\txlog\howl_1.log" error (see full stack trace) below.
> > It seems that the OpenEJB server adapter returns the control to the
> Servers Tools framework too early. An simple sleep of 1 second would help a
> lot, if a better solution is not possible.
> > Apache OpenEJB 3.0    build: 20080408-04:13
> > http://openejb.apache.org/
> > org.apache.openejb.OpenEJBException:
> org.apache.xbean.recipe.ConstructionException: Error invoking factory
> method: public static
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> org.apache.openejb.resource.GeronimoTransactionManagerFactory.create(int,byte[],java.lang.String,int,boolean,boolean,int,java.lang.String,java.lang.String,java.lang.String,int,int,int,int,int)
> throws java.lang.Exception: Error invoking factory method: public static
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> org.apache.openejb.resource.GeronimoTransactionManagerFactory.create(int,byte[],java.lang.String,int,boolean,boolean,int,java.lang.String,java.lang.String,java.lang.String,int,int,int,int,int)
> throws java.lang.Exception
> >       at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:263)
> >       at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149)
> >       at org.apache.openejb.OpenEJB.init(OpenEJB.java:288)
> >       at org.apache.openejb.server.Server.init(Server.java:63)
> >       at org.apache.openejb.server.Main.initServer(Main.java:155)
> >       at org.apache.openejb.server.Main.main(Main.java:128)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >       at java.lang.reflect.Method.invoke(Unknown Source)
> >       at org.apache.openejb.cli.MainImpl.main(MainImpl.java:151)
> >       at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:103)
> > Caused by: org.apache.xbean.recipe.ConstructionException: Error invoking
> factory method: public static
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> org.apache.openejb.resource.GeronimoTransactionManagerFactory.create(int,byte[],java.lang.String,int,boolean,boolean,int,java.lang.String,java.lang.String,java.lang.String,int,int,int,int,int)
> throws java.lang.Exception
> >       at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:721)
> >       at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:268)
> >       at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> >       at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> >       at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
> >       at
> org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:1058)
> >       at
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:322)
> >       at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:250)
> >       ... 11 more
> > Caused by: org.objectweb.howl.log.LogConfigurationException: Unable to
> obtain lock on D:\eclipse\openejb-3.0\txlog\howl_1.log
> >       at org.objectweb.howl.log.LogFile.open(LogFile.java:191)
> >       at
> org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:784)
> >       at org.objectweb.howl.log.Logger.open(Logger.java:303)
> >       at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893)
> >       at
> org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:224)
> >       at
> org.apache.openejb.resource.GeronimoTransactionManagerFactory.create(GeronimoTransactionManagerFactory.java:76)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >       at java.lang.reflect.Method.invoke(Unknown Source)
> >       at
> org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:711)
> >       ... 18 more
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Karan Singh Malhi