[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Quartz Manager connecting to Quartz 1.8.5  XML
Forum Index -> Quartz
Author Message
ksghanta

neo

Joined: 07/14/2011 08:24:04
Messages: 4
Offline

I downloaded trial version of QM and pointing it against Quartz 1.8.5 app. I cannot establish the connection. The error message on QM is "Cannot find Attribute SchedulerName".
I started QM as standalone install, added System Props as in JMX configuration doc to the JVM of Quartz instance and added org.quartz.scheduler.jmx.export = true to quartz.properties file.
Apart from that I also added commons-modeler-2.0.1.jar to classpath of quartz app (without this, there were NoClassFound errors).
I was able to view the Quartz MBeans from JConsole as well.
However, the attribute on MBean is schedulerName but QM seems to be looking for SchedulerName (S is upper case) to locate the Scheduler instance. Could this be the problem?
regards!
[Thumb - myQuartz_jconsole.PNG]
 Filename myQuartz_jconsole.PNG [Disk] Download
 Description
 Filesize 118 Kbytes
 Downloaded:  117 time(s)

gkeim

ophanim

Joined: 12/05/2006 10:22:37
Messages: 685
Location: Terracotta, Inc.
Offline

The title of this message states Quartz version 1.8.5 but the MBean shows version 1.6.5.... I believe the MBean. ;^)

Gary Keim (terracotta developer) Want to post to this forum? Join the Terracotta Community
ksghanta

neo

Joined: 07/14/2011 08:24:04
Messages: 4
Offline

Yes, I noticed that. I am using Quartz 1.8.5 . I do not know where the version is being picked up from, any ideas? If its the MBean version, do you its compatibility with QM and Quartz versions?
Thanks in advance!
hhuynh

ophanim

Joined: 06/16/2006 11:54:06
Messages: 736
Offline

if you're using Maven, it's likely leaked in by other dependency.

try "mvn dependency:tree" and see which one.
ksghanta

neo

Joined: 07/14/2011 08:24:04
Messages: 4
Offline

gkeim, are you implying that QM is failing because the version is a unsupported version? The error message says QM is trying to locate an attribute 'SchedulerName' which my quartz agent should be reporting instead of 'schedulerName' or other way around, QM should be looking for correct attribute name. I'm not even sure that this typo in case is the issue. Any help from the bug database?
gkeim

ophanim

Joined: 12/05/2006 10:22:37
Messages: 685
Location: Terracotta, Inc.
Offline

Yes, QM works with 1.8 and greater. You can also look in ~/quartzmgr/logs/quartzmgr.log for any additional clues.

Gary Keim (terracotta developer) Want to post to this forum? Join the Terracotta Community
ksghanta

neo

Joined: 07/14/2011 08:24:04
Messages: 4
Offline

Not much help from the logs either

2011-07-14 12:06:59,503 [INFO ] com.evidentsoft.quartzmgr.server.core.QuartzManagerServiceImpl createJmxServiceUrl
2011-07-14 12:06:59,503 [INFO ] com.evidentsoft.quartzmgr.server.core.QuartzManagerServiceImpl prepareCredentialMap
2011-07-14 12:06:59,972 [ERROR] com.evidentsoft.quartzmgr.server.core.QuartzManagerServiceImpl connectServer failed for ConnectionIdentifier:IPORT. Detail : Cannot find attribute SchedulerName
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team