Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » virgo-web-server-2.1.0.RELEASE/bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found(cannot shutdown the virgo server when started specifying a different port number)
virgo-web-server-2.1.0.RELEASE/bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found [message #649594] Wed, 19 January 2011 20:38 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: January 2011
Junior Member
I started the virgo server "virgo-web-server-2.1.0.RELEASE.zip" using the following command :
./startup.sh -clean -jmxport 9877

When I try to shutdown the server using the following command I get this error:

-bash-3.00$ ./shutdown.sh -jmxport 9877
/nc/drciload/DRCiFramework/ch/virgo-web-server-2.1.0.RELEASE /bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found
/nc/drciload/DRCiFramework/ch/virgo-web-server-2.1.0.RELEASE /bin/dmk.sh: line 210: OTHER_ARGS+= 9877: command not found
The Server could not be reached, it may already be stopped.

I am able to shutdown if I start the server using the default port without specifying the jmxport argument.

My environment is AIX 5.3.
Java version is :
-bash-3.00$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr9-20101125_01(SR9))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr9-20101124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT - r9_20101028_17488ifx2
GC - 20101027_AA)
JCL - 20101119_01

Re: virgo-web-server-2.1.0.RELEASE/bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found [message #649688 is a reply to message #649594] Thu, 20 January 2011 10:33 Go to previous messageGo to next message
Chris Frost is currently offline Chris FrostFriend
Messages: 230
Registered: January 2010
Location: Southampton, England
Senior Member

Hi,

I just had a go at reproducing this and can't get it to fail. (Mac + Java 1.6.0_22) Is there any chance you could try this on a different Java implementation to narrow down the cause? I ask as we have had issues with the IBM vm before.

I'll try this on AIX later and see if that works (or fails as it may be). Can't do it now as the AIX box isn't responding, I'm sure it will wake up later.

Chris.


------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Re: virgo-web-server-2.1.0.RELEASE/bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found [message #650085 is a reply to message #649594] Fri, 21 January 2011 16:48 Go to previous messageGo to next message
Chris Frost is currently offline Chris FrostFriend
Messages: 230
Registered: January 2010
Location: Southampton, England
Senior Member

Hi,

Seems the AIX box isn't available so I can't try it out, apologies. Do you have any ability to try it on a different JVM?

Chris.


------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Re: virgo-web-server-2.1.0.RELEASE/bin/dmk.sh: line 210: OTHER_ARGS+= -jmxport: command not found [message #650108 is a reply to message #650085] Fri, 21 January 2011 18:40 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: January 2011
Junior Member
Hi,

we have try virgo 2.0 release in the aix box. we found that something wrong with the IMB JDK SR9 .please find our observations below

1. shutdown.sh won't take any arguments. (ex - immediate , jmxport ) we fixed that by editing the dmk.sh

2. when start up the server in the normal mode (without -clean) it gives an error. in sun sdk it will start as usual.

3. with the IMB JDK server shut down with an error as follows - this is a huge stack trace and this is a portion of it.


[2011-01-21 12:40:13.687] System Bundle Shutdown o.e.v.kernel.userregion.internal.equinox.KernelBundleClassLo ader Failure when clearing JDBC drivers for KernelBundleClassLoader: [bundle=com.springsource.javax.servlet.jsp.jstl_1.1.2] java.lang.NoSuchFieldException: writeDrivers
at java.lang.Class.getDeclaredFieldImpl(Native Method)
at java.lang.Class.getDeclaredField(Class.java:507)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.clearJdbcDrivers(KernelBundleClassLoader.ja va:273)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.close(KernelBundleClassLoader.java:261)
at org.eclipse.osgi.internal.loader.BundleLoader.close(BundleLo ader.java:317)
at org.eclipse.osgi.internal.loader.BundleLoader.closeBundleLoa der(BundleLoader.java:1249)
at org.eclipse.osgi.framework.internal.core.BundleHost.refresh( BundleHost.java:131)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.u nloadAllBundles(StartLevelManager.java:657)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:262)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.s hutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl e.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Fra mework.java:588)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundl e$1.run(InternalSystemBundle.java:243)
at java.lang.Thread.run(Thread.java:735)



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

it seems this is due to the IMB JDK becouse in the windows env also we are getting the same when pointed to IMB jdk. but with sun JDK this was fine.

Thanks for your turn over.

Previous Topic:Virgo and log4j
Next Topic:No source with remote repository
Goto Forum:
  


Current Time: Mon Dec 09 11:23:52 GMT 2024

Powered by FUDForum. Page generated in 0.03391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top