tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaloyan Raev (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENEJB-876) Restart fails
Date Mon, 04 Aug 2008 11:30:45 GMT

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

Kaloyan Raev resolved OPENEJB-876.
----------------------------------

    Resolution: Fixed

Thanks, Jonathan!
I haven't tried the 3.1 runtime, but with 3.0.0 I am not able to reproduce the problem any
more. 

> 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
>         Attachments: error with OpenEJB 3.1-SNAPSHOT.jpg
>
>
> 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.


Mime
View raw message