-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Now we have a new exception with jServ:
access denied (java.net.SocketPermission orvieto resolve)

orvieto is the host with the appserver, where we want to connect.

In the policy-File the permissions are set.

servletrunner runs the servlet perfectly.

Has anyone any hint? Where could we change our settings?

Frank


Richard Yumul schrieb:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> The problems your reporting are pretty much opposite from what I've experienced
> with Jrun & Jserv.  With Jserv, I had really no problems, I just had to make
> sure the stub classes were in the class path, but with Jrun, I had to reset the
> SecurityManager.
>
> > all with the same servlet, which acts as a RMI-Client.
> >
> > The results/exceptions are:
> >
> > Jserv 1.0b5 => access denied (java.io.FilePermission C:\Programme\Apache
> > Group\Apache JServ\servlets read)
> >
> > Perhaps a Security.Manager issue?
>
> Yes, that does sound like a SecurityManager issue.  From what I've heard,
> though, Jserv doesn't set a Security Manager, so if you use the
> RMISecurityManager, you should be fine.  If that doesn't work, maybe try
> upgrading to Jserv 1.0.  Or, maybe manually set the Security manager in the
> jserv.properties configuration file;
>
> wrapper.bin.parameters=-Djava.security.manager=java.rmi.RMISecurityManager
>
> (I'm not too sure if java.security.manager is the right paramter name to set
> tho...)
>
> > ____
> > Jrun          => error unmarshalling return; nested exception is:
> > java.lang.ClassNotFoundException: adCenter.appserver.server.AppServer_Stub
> >
> >
> >
> > Classpath is set right.
> > ____
>
> With this error, I'd just doublecheck to make sure that the stub classes are in
> the server's class path.  One thing, with Jrun, that I discovered is that you
> have to specify a custom security manager in its configuration, as the default
> security manager that is used with Jrun doesn't allow connections.
>
> Hope this helps.
>
> Rich
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to