× 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.



This was resolved by editing the Agent properties, security tab and
changing the runtime security to 2 - allow restricted operations.

This agent doesn't create a session on the target Domino server so it
doesn't need any runtime access control in the server doc.  It opens a
connection on the target iSeries and runs a command from there, outside of
Domino.

Bob




                                                                           
             rob@xxxxxxxxx                                                 
             Sent by:                                                      
             domino400-bounces                                          To 
             +rlaing=gemko.com         Lotus Domino on the iSeries / AS400 
             @midrange.com             <domino400@xxxxxxxxxxxx>            
                                                                        cc 
                                                                           
             02/02/2005 01:49                                      Subject 
             PM                        Re: SBMDOMCMD from another Dom      
                                       server                              
                                                                           
             Please respond to                                             
              Lotus Domino on                                              
               the iSeries /                                               
                   AS400                                                   
             <domino400@midran                                             
                  ge.com>                                                  
                                                                           
                                                                           




This has nothing to do with the security settings in the Server Document?
Like "Run restricted Lotus Scripts / Java Agents"?  Is the win server name
in the server doc for the iSeries?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Robert Laing <rlaing@xxxxxxxxx>
Sent by: domino400-bounces+rob=dekko.com@xxxxxxxxxxxx
02/02/2005 12:28 PM
Please respond to
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>


To
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>
cc

Subject
SBMDOMCMD from another Dom server






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

_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.


_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.