Question about JSP Tags and Trusted Server

For years we have had a JSP running on a Websphere server that used the standard Domino JSP tags for displaying a view from a Domino database. Up until now we have been going against a database that was on a Domino 6.5 server and it worked just fine. We have the JSP use a valid Domino User Name and Password for getting access to this database.

Now we are trying to run this same application using a replica of the same database that now lives on a Domino 7 server. But now instead of displaying the view information in the JSP, we get the following error message:

domino:view:DOMINO_ERROR:Domino object error.: (4164) To open database (XXXXX!!xxxxx\xxxxxxx\xxxxx\xxx.nsf) on remote machines the server where the agent is running has to be listed by remote machine as trusted server”

Is this a new restriction of Domino 7 servers? Do we have to put the IP addresses of the Websphere boxes in the trusted server field of the the security section of the new Domino 7 server document?

Any help would be greatly appreciated. Thanks.

Subject: Question about JSP Tags and Trusted Server

I think you’re looking in the wrong place. Your WS JSP code is running as a Domino user, not as a server. What is likely happening is that the JSP is calling something in the Domino database (looks like a run-on-server agent) that references another database – or even the same database, but with a hard-coded server name. That needs Domino-to-Domino communication, so your D7 server needs to be trusted by your D6.5 server. Or you could look at the Domino agent code and eliminate the server reference.

Subject: RE: Question about JSP Tags and Trusted Server

You were right. Even though the servlet was pointing to the Domino 7 server, one of the JSP’s had the name of the old Domino server hard-coded into it. When I changed the hard-coded name to the correct one, it worked fine.

Thanks for the help.