[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Administrating equinox in production

Is the OOME easily reproducible? If so, please follow up and open a bug.
Unfortunately the console is currently limited to a single connection. There are also various http consoles to look at from both knopflerfish and felix (both require some tweaking) however IMO the console is still the best bet.
It might be worth a look to see what changes are involved to support multiple telnet connections as most of the support is localized close to the FrameworkConsole class.


Inactive hide details for "Miguel Cabeza Cabrera" ---12/02/2008 07:41:37 AM---Hey guys,"Miguel Cabeza Cabrera" ---12/02/2008 07:41:37 AM---Hey guys,


"Miguel Cabeza Cabrera" <m.c.c@xxxxxx>




12/02/2008 07:41 AM


[equinox-dev] Administrating equinox in production

Hey guys,

I've doing some development with equinox and I want to bring it into production. I was quite happy with using console over telnet, but there is a problem.

I'm using framework org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar and first problem is you can connect via telnet only once. Well I couldn't connect more than once.

After doing following we got sometimes interesting problems:
echo disconnect | telnet localhost 1923

JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP007I JVM Requesting Snap dump using '/home/importer/Snap.20081202.125141.5210320.0001.trc'
JVMDUMP010I Snap dump written to /home/importer/Snap.20081202.125141.5210320.0001.trc
JVMDUMP007I JVM Requesting Heap dump using '/home/importer/heapdump.20081202.125141.5210320.0002.phd'
JVMDUMP010I Heap dump written to /home/importer/heapdump.20081202.125141.5210320.0002.phd
JVMDUMP007I JVM Requesting Java dump using '/home/importer/javacore.20081202.125141.5210320.0003.txt'
JVMDUMP010I Java dump written to /home/importer/javacore.20081202.125141.5210320.0003.txt
JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
Exception in thread "OSGi Console" java.lang.OutOfMemoryError
       at java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:335)
       at java.lang.StringBuffer.append(StringBuffer.java:111)
       at java.io.BufferedReader.readLine(BufferedReader.java:356)
       at java.io.BufferedReader.readLine(BufferedReader.java:373)
       at org.eclipse.osgi.framework.internal.core.FrameworkConsole.getInput(FrameworkConsole.java:350)
       at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.confirm(FrameworkCommandInterpreter.java:452)
       at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter._disconnect(FrameworkCommandInterpreter.java:425)
       at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:136)
       at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:302)
       at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:287)
       at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:223)
       at java.lang.Thread.run(Thread.java:735)

So my question. How can I administrate equinox via telnet or on another way so more computer can connect to. The problem is that if someone connects to telnet and stays connected nobody different can do anything on equinox.

Maybe someone have a hint or some interesting bundle.


Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!*
equinox-dev mailing list

GIF image

GIF image