× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm trying to create a Java agent to run from a W2K Domino server that will
fire off the SBMDOMCMD on an iSeries Domino server.  I'm using the iSeries
Toolbox for Java to create the iSeries connection and run the command.

I've created a stand-alone Java program that will do this and I can run
from my PC and from other PC's and from the W2K Domino server command line
and it works fine.

I've tried to put the same code in a Java agent and regardless of what
server I run it on, I get the same Java exceptions:
02/02/2005 12:20:46   Agent printing: Command SBMDOMCMD CMD('sh tasks')
SERVER(server01) did not run
02/02/2005 12:20:47   Agent  error: java.lang.SecurityException
02/02/2005 12:20:47   Agent  error:       java/lang/Throwable.<init>()V+4
(Throwable.java:73)
02/02/2005 12:20:47   Agent  error:       java/lang/Exception.<init>()V+1
(Exception.java:24)
02/02/2005 12:20:47   Agent  error:
java/lang/RuntimeException.<init>()V+1 (RuntimeException.java:28)
02/02/2005 12:20:47   Agent  error:
java/lang/SecurityException.<init>()V+1 (SecurityException.java:20)
02/02/2005 12:20:47   Agent  error:
lotus/notes/AgentSecurityManager.checkExit(I)V+1
(AgentSecurityManager.java:319)
02/02/2005 12:20:47   Agent  error:       java/lang/Runtime.exit(I)V+8
(Runtime.java:86)
02/02/2005 12:20:47   Agent  error:       java/lang/System.exit(I)V+3
(System.java:696)
02/02/2005 12:20:47   Agent  error:       JavaAgent.NotesMain()V+197
(JavaAgent.java:51)
02/02/2005 12:20:47   Agent  error:
lotus/domino/AgentBase.runNotes()V+129 (:??)
02/02/2005 12:20:47   Agent  error:
lotus/domino/NotesThread.run()V+30 (NotesThread.java:215)

Any thoughts ???

Domino 6.5.3 FP1 on all servers
OS/400 v5r3


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.