Running OPS on Websphere 6.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Running OPS on Websphere 6.0

stephan-19

Hi there,

I try to install OPS 3.0 on a Websphere 6.0 server. Compared to a Tomcat there are so many more options (I not fully understand) to configure.
After claiming an successful installation calling the servlet resulted in an error:

Error 500: access denied (java.lang.RuntimePermission setContextClassLoader)

I presume this is due to the fact that Websphere 6.0 comes with security enabled by default (?). The OPS manual says (here: http://www.orbeon.com/ops/doc/intro-install#d1237538e300 ), that the policy file needs to be edited. Anybody out there who could point me to the Websphere docu where this is described?

:-) stw

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Running OPS on Websphere 6.0

Erik Bruchez
Administrator
Stephan,

In your web.xml, try replacing OXFServlet with OXFServletDelegate and
see if that changes something. The following OPS classes call
setContextClassLoader():

OXFServlet
OXFServletFilter
OXFServletContextListener
OXFSessionListener
OXFPortlet

and:

JavaProcessor

For all the OXF* classes above, if they appear in your web.xml, you can
replace them with the same class name followed by "Delegate".

-Erik

[hidden email] wrote:

>
> Hi there,
>
> I try to install OPS 3.0 on a Websphere 6.0 server. Compared to a Tomcat
> there are so many more options (I not fully understand) to configure.
> After claiming an successful installation calling the servlet resulted
> in an error:
>
> Error 500: access denied (java.lang.RuntimePermission
> setContextClassLoader)
>
> I presume this is due to the fact that Websphere 6.0 comes with security
> enabled by default (?). The OPS manual says (here:
> http://www.orbeon.com/ops/doc/intro-install#d1237538e300 ), that the
> policy file needs to be edited. Anybody out there who could point me to
> the Websphere docu where this is described?
>
> :-) stw


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Running OPS on WebSphere 6.0

stephan-19

Hi Erik,

thx for the tip. I narrowed down the problem. When J2EE security is switched on I get the error. It seems the was.policies file needs some brush-up. I will work that out and contribute it back. WAS actually allows to put the policy file in the WAR, so no manual edit is needed.

:-) stw

Erik Bruchez <[hidden email]> wrote on 09/11/2005 20:55:46:

> Stephan,
>
> In your web.xml, try replacing OXFServlet with OXFServletDelegate and
> see if that changes something. The following OPS classes call
> setContextClassLoader():
>
> OXFServlet
> OXFServletFilter
> OXFServletContextListener
> OXFSessionListener
> OXFPortlet
>
> and:
>
> JavaProcessor
>
> For all the OXF* classes above, if they appear in your web.xml, you can
> replace them with the same class name followed by "Delegate".
>
> -Erik
>
> [hidden email] wrote:
> >
> > Hi there,
> >
> > I try to install OPS 3.0 on a Websphere 6.0 server. Compared to a Tomcat
> > there are so many more options (I not fully understand) to configure.
> > After claiming an successful installation calling the servlet resulted
> > in an error:
> >
> > Error 500: access denied (java.lang.RuntimePermission
> > setContextClassLoader)
> >
> > I presume this is due to the fact that Websphere 6.0 comes with security
> > enabled by default (?). The OPS manual says (here:
> > http://www.orbeon.com/ops/doc/intro-install#d1237538e300 ), that the
> > policy file needs to be edited. Anybody out there who could point me to
> > the Websphere docu where this is described?
> >
> > :-) stw
>
>
> --
> You receive this message as a subscriber of the ops-users@objectweb.
> org mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws