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.
pw05Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.