Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » jmx access for virgo-tomcat-server-3.0.0.M05 is denied
jmx access for virgo-tomcat-server-3.0.0.M05 is denied [message #688500] Fri, 24 June 2011 20:06 Go to next message
Ming Qin is currently offline Ming QinFriend
Messages: 22
Registered: July 2009
Junior Member
My environment:
Window 7 professional 64 bit; jdk 1.6.26; virgo-tomcat-server-3.0.0.M05

After virgo was started up, I run portqry command to validate that jmx default port was up. Then Jconsole was fired up, choosing remote connection and entered localhost:9875, filling admin/springsource in user/password fields.

Jconsole connection was rejected.


I found another thread related to this issue http://www.eclipse.org/forums/index.php/m/646141/?srch=jmx+9875#msg_646141

So I tired on virgo-web-2.1.1 version, jmx connection was failed also.

Following is portqry result:

c:\Tools\PortQryV2>portqry -n localhost -e 9875

Querying target system called:

 localhost

Attempting to resolve name to IP address...


Name resolved to 127.0.0.1

querying...

TCP port 9875 (unknown service): LISTENING


Following is the console log for starting virgo-tomcat-server-3.0.0.M05 in clean mode

c:\>set JAVA_HOME=C:\Java\jdk1.6.0_26

c:\>set MAVEN_HOME=C:\Maven\apache-maven-2.2.1

c:\>set MAVEN_OPTS=-Xms128m -Xmx512m

c:\>set ANT_HOME=C:\ant\apache-ant-1.8.1

c:\>set ANT_OPTS=-XX:MaxPermSize=768m -Xmx512m

c:\>set SVN_HOME=C:\Program Files\CollabNet\Subversion Client

c:\>set CLASSPATH=.

c:\>set PATH=C:\ant\apache-ant-1.8.1\bin;C:\Java\jdk1.6.0_26\bin;C:\Program Files\CollabNet\Subversion Client;C:\Maven\apache-maven-2.2.1\bin;

c:\>java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

c:\>cd virgo-tomcat-server-3.0.0.M05

c:\virgo-tomcat-server-3.0.0.M05>cd bin

c:\virgo-tomcat-server-3.0.0.M05\bin>startup.bat -clean
'cscript' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
[2011-06-24 12:38:45.317] startup-tracker              <KE0001I> Kernel starting.
[2011-06-24 12:38:48.816] startup-tracker              <KE0002I> Kernel started.
[2011-06-24 12:38:49.016] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '3.0.0'.
[2011-06-24 12:38:49.876] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'.
[2011-06-24 12:38:50.109] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2011-06-24 12:38:50.177] system-artifacts             <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'.
[2011-06-24 12:38:50.229] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '3.0.0.M05'.
[2011-06-24 12:38:50.261] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '3.0.0.M05'.
[2011-06-24 12:38:50.521] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.equinox.ds' version '1.3.0.v20110124-0830'.
[2011-06-24 12:38:50.734] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.equinox.util' version '1.0.200.v20100503'.
[2011-06-24 12:38:50.970] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.osgi.services' version '3.3.0.v20110110'.
[2011-06-24 12:38:52.115] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'.
[2011-06-24 12:38:52.119] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2011-06-24 12:38:52.121] system-artifacts             <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'.
[2011-06-24 12:38:52.124] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '3.0.0.M05'.
[2011-06-24 12:38:52.126] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '3.0.0.M05'.
[2011-06-24 12:38:52.129] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.equinox.ds' version '1.3.0.v20110124-0830'.
[2011-06-24 12:38:52.132] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.equinox.util' version '1.0.200.v20100503'.
[2011-06-24 12:38:52.135] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.osgi.services' version '3.3.0.v20110110'.
[2011-06-24 12:38:52.137] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '3.0.0'.
[2011-06-24 12:38:52.206] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '3.0.0'.
[2011-06-24 12:38:52.217] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'.
[2011-06-24 12:38:52.247] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'.
[2011-06-24 12:38:52.250] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2011-06-24 12:38:53.020] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.extender' version '1.2.1'.
[2011-06-24 12:38:53.022] system-artifacts             <DE0004I> Starting bundle 'org.springframework.osgi.io' version '1.2.1'.
[2011-06-24 12:38:53.025] start-signalling-2           <DE0005I> Started bundle 'org.springframework.osgi.io' version '1.2.1'.
[2011-06-24 12:38:53.028] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.agent.dm' version '3.0.0.M05'.
[2011-06-24 12:38:53.032] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.agent.dm' version '3.0.0.M05'.
[2011-06-24 12:38:53.036] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.kernel.deployer.dm' version '3.0.0.M05'.
[2011-06-24 12:38:53.058] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.equinox.ds' version '1.3.0.v20110124-0830'.
[2011-06-24 12:38:53.072] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.equinox.util' version '1.0.200.v20100503'.
[2011-06-24 12:38:53.166] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.equinox.util' version '1.0.200.v20100503'.
[2011-06-24 12:38:53.258] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.equinox.ds' version '1.3.0.v20110124-0830'.
[2011-06-24 12:38:53.265] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.osgi.services' version '3.3.0.v20110110'.
[2011-06-24 12:38:53.271] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.osgi.services' version '3.3.0.v20110110'.
[2011-06-24 12:38:53.280] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.kernel.deployer.dm' version '3.0.0.M05'.
[2011-06-24 12:38:53.284] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.kernel.userregion.springdm' version '3.0.0'.
[2011-06-24 12:38:53.416] system-artifacts             <DE0000I> Installing plan 'org.eclipse.virgo.web.tomcat' version '3.0.0'.
[2011-06-24 12:38:53.587] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.core' version '2.0.0.M01'.
[2011-06-24 12:38:53.763] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.gemini.web.tomcat' version '2.0.0.M01'.
[2011-06-24 12:38:53.835] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.core' version '3.0.0.M05'.
[2011-06-24 12:38:53.865] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.dm' version '3.0.0.M05'.
[2011-06-24 12:38:54.834] system-artifacts             <DE0000I> Installing bundle 'org.eclipse.virgo.web.tomcat.support' version '3.0.0.M05'.
[2011-06-24 12:38:55.250] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.core' version '2.0.0.M01'.
[2011-06-24 12:38:55.255] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.gemini.web.tomcat' version '2.0.0.M01'.
[2011-06-24 12:38:55.259] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.core' version '3.0.0.M05'.
[2011-06-24 12:38:55.264] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.dm' version '3.0.0.M05'.
[2011-06-24 12:38:55.269] system-artifacts             <DE0001I> Installed bundle 'org.eclipse.virgo.web.tomcat.support' version '3.0.0.M05'.
[2011-06-24 12:38:55.273] system-artifacts             <DE0001I> Installed plan 'org.eclipse.virgo.web.tomcat' version '3.0.0'.
[2011-06-24 12:38:55.305] system-artifacts             <DE0004I> Starting plan 'org.eclipse.virgo.web.tomcat' version '3.0.0'.
[2011-06-24 12:38:55.317] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.core' version '2.0.0.M01'.
[2011-06-24 12:38:55.345] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.core' version '2.0.0.M01'.
[2011-06-24 12:38:55.348] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.gemini.web.tomcat' version '2.0.0.M01'.
[2011-06-24 12:38:56.140] system-artifacts             <TC0000I> Starting Tomcat.
[2011-06-24 12:38:56.177] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme http on port 8080.
[2011-06-24 12:38:56.191] system-artifacts             <TC0010I> Creating HTTP/1.1 connector with scheme https on port 8443.
[2011-06-24 12:38:56.198] system-artifacts             <TC0010I> Creating AJP/1.3 connector with scheme http on port 8009.
[2011-06-24 12:38:56.205] system-artifacts             <TC0001I> Started Tomcat.
[2011-06-24 12:38:56.219] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.core' version '3.0.0.M05'.
[2011-06-24 12:38:56.232] system-artifacts             <DE0004I> Starting bundle 'org.eclipse.virgo.web.dm' version '3.0.0.M05'.
[2011-06-24 12:38:56.237] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.web.dm' version '3.0.0.M05'.
[2011-06-24 12:38:56.240] system-artifacts             <DE0005I> Started bundle 'org.eclipse.virgo.web.tomcat.support' version '3.0.0.M05'.
[2011-06-24 12:38:56.373] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.gemini.web.tomcat' version '2.0.0.M01'.
[2011-06-24 12:38:56.392] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.web.core' version '3.0.0.M05'.
[2011-06-24 12:38:56.397] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.web.tomcat' version '3.0.0'.
[2011-06-24 12:38:56.407] sync Event Dispatcher Thread <UR0001I> User region ready.
[2011-06-24 12:38:57.416] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.admin-3.0.0
M05.plan'.
[2011-06-24 12:38:57.604] fs-watcher                   <DE0000I> Installing plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0'.
[2011-06-24 12:38:57.778] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.core' version '3.0.0.M05'.
[2011-06-24 12:39:03.645] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05'.
[2011-06-24 12:39:04.432] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.core' version '3.0.0.M05'.
[2011-06-24 12:39:04.449] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05'.
[2011-06-24 12:39:04.455] fs-watcher                   <DE0001I> Installed plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0'.
[2011-06-24 12:39:04.475] fs-watcher                   <DE0004I> Starting plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0'.
[2011-06-24 12:39:04.482] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.core' version '3.0.0.M05'.
[2011-06-24 12:39:04.556] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05'.
[2011-06-24 12:39:04.564] start-signalling-1           <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05' with cont
xt path '/admin'.
[2011-06-24 12:39:04.574] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.repository-
.0.0.M05.par'.
[2011-06-24 12:39:04.716] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.core' version '3.0.0.M05'.
[2011-06-24 12:39:05.097] fs-watcher                   <DE0000I> Installing par 'org.eclipse.virgo.apps.repository' version '3.0.0.M05'.
[2011-06-24 12:39:05.211] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.app
.repository.core' version '3.0.0.M05'.
[2011-06-24 12:39:05.438] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.app
.repository.web' version '3.0.0.M05'.
[2011-06-24 12:39:05.701] start-signalling-1           <WE0001I> Started web bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05' with conte
t path '/admin'.
[2011-06-24 12:39:05.708] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.apps.admin.web' version '3.0.0.M05'.
[2011-06-24 12:39:05.713] start-signalling-1           <DE0005I> Started plan 'org.eclipse.virgo.apps.admin.plan' version '3.0.0'.
[2011-06-24 12:39:05.945] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps
repository.core' version '3.0.0.M05'.
[2011-06-24 12:39:05.951] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps
repository.web' version '3.0.0.M05'.
[2011-06-24 12:39:05.962] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-synthetic.context' ver
ion '3.0.0.M05'.
[2011-06-24 12:39:05.969] fs-watcher                   <DE0001I> Installed par 'org.eclipse.virgo.apps.repository' version '3.0.0.M05'.
[2011-06-24 12:39:06.016] fs-watcher                   <DE0004I> Starting par 'org.eclipse.virgo.apps.repository' version '3.0.0.M05'.
[2011-06-24 12:39:06.024] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps.
epository.core' version '3.0.0.M05'.
[2011-06-24 12:39:06.047] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps.
epository.web' version '3.0.0.M05'.
[2011-06-24 12:39:06.060] start-signalling-1           <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.a
ps.repository.web' version '3.0.0.M05' with context path '/org.eclipse.virgo.apps.repository'.
[2011-06-24 12:39:06.066] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-synthetic.context' vers
on '3.0.0.M05'.
[2011-06-24 12:39:06.196] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-synthetic.context' versi
n '3.0.0.M05'.
[2011-06-24 12:39:06.200] fs-watcher                   <HD0001I> Hot deployer processing 'INITIAL' event for file 'org.eclipse.virgo.apps.splash-3.0.
.M05.jar'.
[2011-06-24 12:39:06.495] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps.r
pository.core' version '3.0.0.M05'.
[2011-06-24 12:39:06.690] fs-watcher                   <DE0000I> Installing bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05'.
[2011-06-24 12:39:06.944] fs-watcher                   <DE0001I> Installed bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05'.
[2011-06-24 12:39:06.980] fs-watcher                   <DE0004I> Starting bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05'.
[2011-06-24 12:39:06.985] start-signalling-2           <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05' with context
path '/'.
[2011-06-24 12:39:07.088] start-signalling-2           <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05' with context
ath '/'.
[2011-06-24 12:39:07.094] start-signalling-2           <DE0005I> Started bundle 'org.eclipse.virgo.apps.splash' version '3.0.0.M05'.
[2011-06-24 12:39:07.716] start-signalling-1           <WE0001I> Started web bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.ap
s.repository.web' version '3.0.0.M05' with context path '/org.eclipse.virgo.apps.repository'.
[2011-06-24 12:39:07.723] start-signalling-1           <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-3.0.0.M05-org.eclipse.virgo.apps.r
pository.web' version '3.0.0.M05'.
[2011-06-24 12:39:07.733] start-signalling-1           <DE0005I> Started par 'org.eclipse.virgo.apps.repository' version '3.0.0.M05'.



Re: jmx access for virgo-tomcat-server-3.0.0.M05 is denied [message #688503 is a reply to message #688500] Fri, 24 June 2011 20:13 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Hi,

One question:
You are trying the "pure" jconsole located in <jdk-home>/bin or you are trying jconsole.bat/sh provided in <Virgo-home>/bin

Regards
Violeta
Re: jmx access for virgo-tomcat-server-3.0.0.M05 is denied [message #688563 is a reply to message #688503] Fri, 24 June 2011 23:10 Go to previous message
Ming Qin is currently offline Ming QinFriend
Messages: 22
Registered: July 2009
Junior Member
Violeta:
After invoking following command, jmx console works.

c:\virgo-kernel-3.0.0.M05\bin>c:\virgo-kernel-3.0.0.M05\bin\jconsole.bat



Thank you
Previous Topic:Virgo IDE 1.0.0.M01 released
Next Topic:Adding bundle nature
Goto Forum:
  


Current Time: Thu Mar 28 20:31:26 GMT 2024

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

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

Back to the top