I have an Webservice consumer. This consumer get data from an webservice that is on an internal server. The internal server is only avalible for the www-server. When I use “RunOnServer” and starts the agent from Domino Designer - it works fine
But when I use an URL to start the agent I get errors.
This is the firewall role:
remark Next line for communication WEB-SERV → INTERNALSERVER
permit tcp host 192.1xx.xxx.xxx gt 1023 host 192.1xx.1.1xx eq 80
When I use RunOnserver - it works fine
But when i use an URL like http://web-serv/my_nsf.nsf/myconsumer?openagent i get an error
2006-12-10 14:05:59 HTTP JVM: java.lang.ExceptionInInitializerError
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.handlers.BasicHandler.(BasicHandler.java:43)
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.client.Service.getAxisClient(Service.java:104)
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.client.Service.(Service.java:113)
2006-12-10 14:05:59 HTTP JVM: at JavaAgent.NotesMain(JavaAgent.java:19)
2006-12-10 14:05:59 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown Source)
2006-12-10 14:05:59 HTTP JVM: at lotus.domino.NotesThread.run(Unknown Source)
2006-12-10 14:05:59 HTTP JVM: Caused by: org.apache.commons.discovery.DiscoveryException: Unable to instantiate implementation class for org.apache.commons.logging.LogFactory
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:292)
at java.security.AccessController.checkPermission(AccessController.java:476)
at java.lang.SecurityManager.checkPermission(SecurityManager.
2006-12-10 14:05:59 HTTP JVM: at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:426)
2006-12-10 14:05:59 HTTP JVM: at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
2006-12-10 14:05:59 HTTP JVM: at java.security.AccessController.doPrivileged1(Native Method)
2006-12-10 14:05:59 HTTP JVM: at java.security.AccessController.doPrivileged(AccessController.java:287)
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
2006-12-10 14:05:59 HTTP JVM: at org.apache.axis.components.logger.LogFactory.(LogFactory.java:33)
And so on…
What is wrong?
Is the firewall role wrong?
Anything else?