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



Hello all,

V5R2 OS/400, 6.5.3 client & server

I've created a Java agent that retrieves data from an iSeries PF and
updates a Domino document.  I can run this agent from my client's Action
menu and it runs fine.  I can run this agent from the web and it runs fine.
When I try to run it scheduled or directly from the server console I get
the following:

Agent printing: Toolbox for Java - Version 5 Release 2 Modification level
0.5
Agent  error: java.security.AccessControlException: access denied
(java.sql.SQLPermission setLog)
Agent  error: java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:85)

Agent  error: java/lang/Exception.<init>(Ljava/lang/String;)V+1
(Exception.java:33)
Agent  error: java/lang/RuntimeException.<init>(Ljava/lang/String;)V+1
(RuntimeException.java:38)
Agent  error: java/lang/SecurityException.<init>(Ljava/lang/String;)V+1
(SecurityException.java:30)
Agent  error:
java/security/AccessControlException.<init>(Ljava/lang/String;Ljava/security/Permission;)V+1
 (AccessControlException.java:48)
Agent  error:
java/security/AccessControlContext.checkPermission(Ljava/security/Permission;)V+248
 (AccessControlContext.java:267)
Agent  error:
java/security/AccessController.checkPermission(Ljava/security/Permission;)V+74
 (AccessController.java:394)
Agent  error:
java/lang/SecurityManager.checkPermission(Ljava/security/Permission;)V+1
(SecurityManager.java:540)

Agent  error:
java/sql/DriverManager.setLogStream(Ljava/io/PrintStream;)V+12
(DriverManager.java:392)
Agent  error: com/ibm/as400/access/Trace.setTraceJDBCOn(Z)V+0
(Trace.java:1302)
Agent  error: com/ibm/as400/access/Trace.setTraceAllOn(Z)V+0
(Trace.java:1089)
Agent  error: JavaAgent.NotesMain()V+0 (JavaAgent.java:21)
Agent  error: lotus/domino/AgentBase.runNotes()V+129 (:??)
Agent  error: lotus/domino/NotesThread.run()V+30 (NotesThread.java:215)

Using the IBM Toolbox for Java and pretty basic connection strings:
DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
connection = DriverManager.getConnection ("jdbc:as400://" + iSeries,
UserID, Password);

Any ideas ???

Bob



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.