Thomas Schwob wrote:
>
> Hi,
>
> I have a problem integration Jonas with Tomcat.
>
> In the docu it is mentioned to add in server.xml (Tomcat conf directory)
>
> the line
>
> <RequestInterceptor
>
> className="org.objectweb.security.tomcat.interceptor.SecurityCtxInterceptor31"
>
> />
>
> after the line
>
> <RequestInterceptor
> className="org.apache.tomcat.request.SecurityCheck"
> />
>
> The problem: the line about SecurityCheck is not to be found in the
> Tomcat server.xml file (tomcat v. 3.2.1). When I add it I cannot start
> Tomcat anymore. Actually the above mentioned class does not exist in the
>
> webserver.jar of Tomcat. Tried to substitute with
> FormSecurityCheckHandler (which I found to be in webserver.jar) but even
>
> so Tomcat does not start (unfortunately the error returned cannot be
> viewed on Windows as the respective DOS shell window closes immediately,
>
> nothing to be found in tomcat logs). What is wrong?
>
> Just wanted to tell you that installing Jonas on NT 4.0 SP5 and trying
> to compile the session bean example always results in a deployment
> descriptor error. I had to remove the parameter string %2% %3% etc. in
> the respective .bat file as this one was resolved to the value 23456...
> which gives me the deployment descriptor error, but even so I cannot
> complete the compiliation process, I still get an error when the
> deployment descriptor is created. Funny, but when I install Jonas on
> Windows98 everything works fine with compiling, really strange, suppose
> this is the useful Microsoft kind of stuff problem. Won't be able to
> loose to much time on that, probably will move to Linux.
>
> Please can you help me? Kind regards
>
> Thomas Schwob,
> Fortaleza, Brazil
>
Hi Thomas,
excuse me for this late response I was away last week.
we have only tested the security propagation with Tomcat 3.1.
When reading the "How to propagate a security context
between Tomcat and JOnas" that I have already sent to the list
Jean-Frederic Mesnil was saying:
"Tomcat is rapidly evolving; The current stable version is Tomcat 3.1
whereas the development version is Tomcat 3.2b2 (Don't forget this
document
was written in July 2000)
There are a lot of changes, one of these changes is the difference
between
RequestInterceptor.
In 3.1 the RequestInterceptor in charge of secirity is
org.apache.tomcat.request.SecurityCheck
In 3.2.b2 it has been separed between different RequestInterceptors but
the one
which interests us is:
org.apache.tomcat.request.SimpleRealm
"
So it seems for using Tomcat 3.2 we must define a new RequsetInterceptor
org.objectweb.security.propagation.interceptor.SecurityInterceptor32
and the corresponding class must extends
org.apache.tomcat.request.SimpleRealm
and then modify the server.xml file:
<RequestInterceptor
className="org.objectweb.security.tomcat.interceptor.SecurityCtxInterceptor32"
/>
after the line
<RequestInterceptor
className="org.apache.tomcat.request.SimpleRealm"
/>
I have no tested this because I have not installed Tomcat3.2, and
I am working on another thing, but it would be nice if you can test
it and make the corresponding contribution!
thanks,
best regards,
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".