Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Geronimo startup problem

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
wai yung

Geronimo startup problem

#1 Post by wai yung »

I encountered error when I start up geronimo.
I posted my bug to geronimo , and then HOWL.
Hope someone may give me a pointer on this.
Thanks,
wai yung

-----------------------------
Bugs item #304372, was opened at 2005-12-13 06:38
You can respond by visiting:
http://forge.objectweb.org/tracker/?fun ... roup_id=92

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: wai yung (waiyung)
Assigned to: Nobody (None)
Summary: geronimo startup error

Initial Comment:
This is the original post.
Any help will be appreciated.

Aaron Mulder updated GERONIMO-1342:
-----------------------------------

Fix Version: 1.1

I've never seen this before. Can you post the stack trace to HOWL and ask if they
have any pointers for us as to what might be going on? It may also be helpful to
note which JVM and kernel version and all you're using, since it seems to be rooted
in an NIO error (Caused by: java.io.IOException: Value too large for defined data
type at sun.nio.ch.FileChannelImpl.lock0(Native Method))

> Startup error
> -------------
>
> Key: GERONIMO-1342
> URL: http://issues.apache.org/jira/browse/GERONIMO-1342
> Project: Geronimo
> Type: Bug
> Versions: 1.0-M5
> Environment: Debian
> Reporter: wai yung
> Fix For: 1.1

>
> I got this error when I try to start the app server.
> Tried to changed some values to feed the Howl but it didn't work.
> What could be the causes ?
> Thanks,
> Wai Yung
> ------------- Exceptions -----------------------------------------------------
> waiyung:/usr/local/share/geronimo-1.0-M5/bin# ./startup.sh
> Booting Geronimo Kernel (in Java 1.5.0_05)...
> Starting Geronimo Application Server
> [***> ] 25% 5s Starting org/apache/geronimo/Server
22:49:21,449
ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state:
objectName="geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=TransactionLog,name=HOWLTransactionLog"
> org.objectweb.howl.log.LogConfigurationException: java.io.IOException: Value too
large for defined data type
> at org.objectweb.howl.log.LogFile.open(LogFile.java:179)
> at org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:735)
> at org.objectweb.howl.log.Logger.open(Logger.java:291)
> at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:852)
> at org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:217)
> at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:891)
> at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
> at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
> at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
> at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
> at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
> at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:140)
> at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:497)
> at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:210)
> at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:233)
> at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:78)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:316)
> Caused by: java.io.IOException: Value too large for defined data type
> at sun.nio.ch.FileChannelImpl.lock0(Native Method)
> at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:822)
> at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
> at org.objectweb.howl.log.LogFile.open(LogFile.java:177)
> ... 16 more


----------------------------------------------------------------------

>Comment By: Michael Giroux (girouxm)
Date: 2005-12-13 07:19

Message:
Logged In: YES
user_id=343

I have never seen this exception thrown by the java.nio
runtime. The call to tryLock() is at line 182 in the
current HOWL 1.0 source, so you might start by downloading
the current distribution from
http://forge.objectweb.org/project/show ... roup_id=92
or rebuilding with CVS TAG HOWL_1_0_0.

The error message "Value too large" in relation to tryLock()
which has no parameters suggests that maybe the file has
been locked multiple times. Not sure how this would occur
in your environment, and I'm not sure this is even the
problem, but I really have no other clues.

I'm not able to reproduce on a Windows platform.
sun.nio.ch.FileChannelImpl.lock0 is a native method, so the
promblem might be platform related. You might try posting
the question to a Debian group.

----------------------------------------------------------------------

You can respond by visiting:
http://forge.objectweb.org/tracker/?fun ... roup_id=92

Download this as a file

michael.giroux@bull.com

What JVM are you using?

#2 Post by michael.giroux@bull.com »

Which JVM (vendor and release) are you using?

Post Reply