Author |
Message |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
Sorry that I missed the last part
 |
 |
keep in mind the authentication you see is me using the command line (cons.sh) to connect to the master running with distributed server mode and remote control enabled. So i am testing local not over network. |
In order for that to work the agent must have its remote control port 1097 enabled, which agents don't have enabled by default. I guess it is enabled? Right?
Would you please try normal scheduler-agent connection, because the mixing of all these things is very confusing and it becomes hard to understand what is what in the debug log.
The remote control and scheduler-agent communications are very different internally and cannot be used as a test substitute.
Thanks.
|
|
Mon Mar 03, 2008 12:46 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
its was an install from the download. I have tried to connect to it when its running the 30 day free trial and with a valid license we purchased. The master is running in gui and actually tells you when your connecting to an agent with the same license it doesnt in this case. I know that because we intentionally put the same license on agent as the master and it didnt change the results at all. I dont think its getting to the point where it checks that.
|
|
Mon Mar 03, 2008 1:28 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
I found the license issue in the trace file. That's why I asked if the license is valid. Would you please remove the license file to avoid unnecessary side effects and post a new trace?
|
|
Mon Mar 03, 2008 1:37 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
sorry i was sent an email from your support that asked me start the master in nogui on the 64 bit server and use the command line to connect. I think maybe more than one person there is working on this, not that i dont appreciate the help because i do. Its just that i am getting seperate request via email as I am on the forums. Here is the debug log for a normal connect from the master to the agent on 64 bit server that isnt working.
Here is what you asked for the debug off the master that wont connect to the agent
-03-03 12:36:43,156 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.agent.remote.AgentServerImpl - testConnection
java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.softtreetech.jscheduler.business.agent.remote.RemoteAgentImpl_Stub.checkLicense(Unknown Source)
at com.softtreetech.jscheduler.business.agent.remote.AgentServerImpl.testConnection(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K$4.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K.while.for(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.H$12.super(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.O0OO.actionPerformed(Unknown Source)
at com.softtreetech.jscheduler.ui.A.E$5.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2008-03-03 12:38:21,875 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.OooO - shutdown() start
2008-03-03 12:38:21,875 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.runner.JobExecutorImpl - killAll() start
2008-03-03 12:38:21,921 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.OooO - shutdown() end
2008-03-03 12:38:35,015 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2008-03-03 12:38:35,015 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2008-03-03 12:38:35,281 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2008-03-03 12:38:35,656 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2008-03-03 12:38:35,796 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2008-03-03 12:38:35,812 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2008-03-03 12:38:35,828 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2008-03-03 12:38:36,343 [main] DEBUG com.softtreetech.jscheduler.business.jobtemplates.JobTemplateSetImpl - loadDescription: path: Template/test_template.ini
2008-03-03 12:38:40,093 [main] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): totalRecordsNumber: 16
2008-03-03 12:38:40,093 [main] DEBUG com.softtreetech.jscheduler.db.drivers.file.FileJobDbStorage - buildIndex(): deletedRecordsNumber: 4
2008-03-03 12:38:40,359 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : end
2008-03-03 12:38:40,359 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : end
2008-03-03 12:45:05,390 [AWT-EventQueue-0] DEBUG com.softtreetech.jscheduler.business.agent.remote.AgentServerImpl - testConnection
java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.softtreetech.jscheduler.business.agent.remote.RemoteAgentImpl_Stub.checkLicense(Unknown Source)
at com.softtreetech.jscheduler.business.agent.remote.AgentServerImpl.testConnection(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K$4.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.softtreetech.jscheduler.ui.ooOO.K.while.for(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.H$12.super(Unknown Source)
at com.softtreetech.jscheduler.ui.OoOO.O0OO.actionPerformed(Unknown Source)
at com.softtreetech.jscheduler.ui.A.E$5.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
|
|
Mon Mar 03, 2008 1:47 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
Do you offer Phone support? Can you please provide me with cost or who i should contact to discuss support with.
|
|
Mon Mar 03, 2008 2:03 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
Sorry for the mess. This is really my fault. I asked you to send log files to support account. But when I saw tour your follow up messages posted on the board I simply replied to you and didn't check the support queue, not yet knowing that you've already send the requested data. I suggest that for speedy resolution we continue here. Let's have a recap of what we know so far
1. Local console can connect to the local scheduler
2. Log for agent indicates successful connect and authentication. Below is an except
3. Log for the scheduler possible indicates some issues with the license. Also could be an issue with scheduler/agent version mismatch.
2008-03-03 09:26:02,654 [Thread-5] DEBUG com.softtreetech.jscheduler.business.remotecontrol.RemoteOperationsImpl - Open session called 24x7 Java API jscheduler LinuxRocks42
2008-03-03 09:26:02,654 [Thread-5] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - hasRemoteControlAccess: /home/jscheduler/24x7_Scheduler/rcontrol.pl
2008-03-03 09:26:02,693 [Thread-5] DEBUG com.softtreetech.jscheduler.business.runner.security.SecurityService - authNativeUser: jscheduler login ok
Yes, we offer phone-based support. If you are still interested, I can format your request to the appropriate person.
|
|
Mon Mar 03, 2008 3:08 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
What we are missing at the moment is a log from the agent matching the "test connect" event
|
|
Mon Mar 03, 2008 3:09 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
I agree with all three of you comments but a little unsure why license issues would be reported if thats even really the issue. we are runiing Version 4.1 build 247 on the scheduler but the agent doesnt have a GUI so i am not sure how to get you the version on that.
If you feel phone would be more effective we can proceed that path, ee realize there could be some cost. Otherwise lets try using the forums post for another day and if we get no further we will proceed with next level of support.
|
|
Mon Mar 03, 2008 3:33 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
Yeah the agent doesnt record anything just rejects the test connection attempt we think. I cleared the debug log on the agent started the agent as you will see and ran the test connection several times and nothing. We know its not a network issue because we see the firewall log shows the connection. We can telnet to 1096 when agent is not listening on it so the ports open. And the user have all permissions (777) to the files where program is installed.
2008-03-03 14:35:20,407 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - main(...) : start
2008-03-03 14:35:20,408 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : start
2008-03-03 14:35:20,412 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating business objects
2008-03-03 14:35:20,483 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : creating UI controller
2008-03-03 14:35:20,573 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : initializing business objects
2008-03-03 14:35:20,578 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Creating backup for preferences file preferences.xml
2008-03-03 14:35:20,580 [main] DEBUG com.softtreetech.jscheduler.business.preferences.AbstractPrefDatabase - Preferences file has been copied to preferences.bak
2008-03-03 14:35:20,798 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : loading job db
2008-03-03 14:35:20,798 [main] DEBUG com.softtreetech.jscheduler.JSchedulerStarter - startup() : ready to run jobs
|
|
Mon Mar 03, 2008 3:47 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
The most simple method is to check jscheduler.jar files. If they have the same size and date on both computers, you got the same version.
By the way, the agent is setup to listen on port 1096 and the profile in the scheduler is set to connect on that port?
|
|
Mon Mar 03, 2008 4:24 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
The Jar files are 10-5-07 on both scheduler and agent so versions are the same.
We are using the default settings which uses 1096 but, I double checked and the test connection is using 1096 and wasnt changed.
|
|
Mon Mar 03, 2008 4:39 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
Hmm...
The fact that local connections are working but remote are not, makes me think that perhaps the issue is not in the agent, but somewhere else. What happens when from scheduler computer you execute telnet agent_host_name 1096 command. Does the telnet connects and blank screen appears or it reports that it cannot connect?
|
|
Mon Mar 03, 2008 6:05 pm |
|
 |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
|
|
Thats correct if we telnet we get the blank screen and hit ^ to escape.
Just as a reminder it also authenticates when we select Z/os on the scheduler and FTP because then its bypassing the agent to authenticate and using just FTP. I just seems to be what the agent does with the request.
We are pretty confident that the agent is getting the request because we had a program written in Java that listens on port 1096 to record incoming connections and we see the schedulers request hits the server the agent is running on, obviously it doesnt know what to do with it but it records it. We are open to any ideas.
|
|
Tue Mar 04, 2008 9:02 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
Its got to be either a license validation issue or an internal user authentication issue. We are discussing next steps and how to troubleshoot that to pinpoint the exact cause.
One suggestion that came up is to replace the license file with text file with the same name and see if a different error will come up. If yes, that would mean an issue is not with the license. If no, that would leave the authentication as the most likely cause.
I'll get back to you later today with some additional suggestions.
|
|
Tue Mar 04, 2008 2:51 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7969
|
|
|
|
I meant replicing the license file after agent startup
|
|
Tue Mar 04, 2008 2:52 pm |
|
 |
|