• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

Running agent on remote system from Designer on my local system

Hi, I have an agent that uses a file on my local system.  After testing the agent locally, I made a copy of it on a remote system.  When I ran the agent on the remote system from Designer on my local system, the agent still accessed the file on my local system instead of trying to find the file on the remote system.  Is this expected behavior?  (May be similar to how System.out.printlns in the agent still get logged to the Java Console on my local system?)

Also, I made a copy of the entire database on my local system to a remote system, and later when I checked the database sizes, they were very different even though I expected them to be around the same size - the one on my local system is 54 MB while the one on the remote system is only 29 MB.  Any idea why that might be?  Thanks.
0
pw05
Asked:
pw05
  • 5
  • 5
1 Solution
 
HemanthaKumarCommented:
What is this remote system.. Domino Server ?

Do you reference anything in the code to look specifically at your machine ?

If you run on your system everything that you describe happens...

The size could be related to some deletion stubs..which are removed in a new copy

~Hemanth
0
 
pw05Author Commented:
Yes, the remote system is a Domino server.
The path for the file is an absolute path, which doesn't exist on the remote system.
Based on my answers to those two questions, is everything I described still supposed to be that way?
Thanks.
0
 
pw05Author Commented:
Also, is there anyway I can get rid of deletion stubs?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
HemanthaKumarCommented:
Yes You get rid of deletion stubs by setting 0 days in the replication settings .

If the file path is absolute .. is it pointing to your machine ? It should be on server and not on your machine !!
0
 
pw05Author Commented:
I figured out why the file was being read from my machine instead of the remote one - when I copied the agent from my machine to the remote one, I forgot to modify the agent properties to run the agent on the remote server instead of my local machine.

The problem now is that the Java agent contains some jars and a class file, which are located fine when run on my machine - however, I get a NoClassDefFoundError on the remote server in the server console.  I thought Java Agent files are packaged as part of the agent though?  Also, is there a more detailed Notes log somewhere that I can check to see which class is not being found?

Also - how do I get rid of deletion stubs if I'm not using replication?  Thanks.
0
 
HemanthaKumarCommented:
how did you link this jar files..

What is your notes version (server and client)
0
 
pw05Author Commented:
I used the "Edit Project" button, so the jars etc. appear in the "Current Agent Files" list.

My machine uses version 6.0.2CF1, and I just noticed the remote machine uses version 5.0.11 - could that be the problem?

Thanks.
0
 
HemanthaKumarCommented:
yes .. JVM doesn't match
0
 
pw05Author Commented:

Is there a workaround?  (i.e. I can't downgrade the version on my machine, and can't upgrade the version on the remote machine)
0
 
HemanthaKumarCommented:
uhm.. not really

Wither you have to go with server version or client version... Decide which is better and proceed
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now