Domino/Tomcat Servlet Containers

I have recently integrated my Domino server(6.5) with Tomcat(4.1). So far, I have managed to get a basic jsp to work using the Domino jsp tags. The question I have regards Servlets. I have put my servlet class files into the Tomcat servlet container ie: webapps/projectFolder/WEB-INF/classes/helloservlet.class, but always get a Servlet resource not available error. The url I am using is http://localhost:8080/servlet/helloservlet. I have added a context to the server.xml file and also created a web.xml file in the WEB-INF folder to define the mapping, but with no success. At this point, I am not sure whether this is because Domino is connected and all servlet requests are pointing to the Domino servlet container or there is some additional configuration that needs to be done to get this to work.

Any help/pointers would be greatly appreciated.

Thanks in advance.

Subject: Domino/Tomcat Servlet Containers

Ahh! How have you integrated Domino and Tomcat?

The error that you are getting seems to indicate that Domino is still using its internal servlet engine.

When you say “Servlet resource not available error”, do you mean that it points to a directory that says …/domino/servlets?

Integration is NOT about configuration, it is about using a DSAPI DLL (in windows), DSAPI LIB (in other platforms like Unix).

Regards

Rolf Pfotenhauer

Subject: RE: Domino/Tomcat Servlet Containers

Thanks for replies guys.

I basically integrated Domino & Tomcat as per the steps in Jurgen Van de Moere’s article - http://pbfb5www.uni-paderborn.de/www/WI/WI2/wi2_lit.nsf/L4All/AF66F91C0F720D29C1256B67004421F7?OpenDocument. Looking at it in more detail, I suspect this only redirects domino to tomcat for jsp’s.

In this scenario, is it normal to use tomcat for jsp’s and domino for servlets or is there a way to integrate the two so servlet requests are also re-directed to tomcat?

Thanks.

Subject: RE: Domino/Tomcat Servlet Containers

Maurizio,I looked at the article you mentioned, it does mention that the method is via DSAPI so this would give you a Web Servlet engine replacement.

It doesn’t replace the Web Server however.

The instructions seem long, old, and very involved, but they are in essence what I am running (however newer, faster and simplier).

The issue still is Tomcat uses Forms based (via jsp) authentication and of course Domino uses its own authentication with an LtpaToken generated when you login.

The issue is that once you have logged in via Domino you can’t use the LtpaToken in Tomcat.

Do you see the problem?

Regards

Rolf Pfotenhauer

Subject: RE: Domino/Tomcat Servlet Containers

Hi Rolf,

What do you mean by “you can’t use the LtpaToken in Tomcat”?

I would appreciate some more detail as I am trying to integrate Domino and Tomcat too.

Is it possible to decode the value of the Ltpatoken?

Thanks.

Deepa

Subject: integration = SSO

To me, integration = SSO :slight_smile:

Once you get into more serious web apps that have security, need roles, etc.

Not that much of a point just replacing

If you are interested in SSO w/ JBoss (w/ built-in Tomcat container), look a
href=http://www.keysolutions.com/jboss>here]

Subject: RE: integration = SSO

Integration does not equate to SSO at all. You are going about it the wrong way.

I am well aware of keysolutions. I do what they do and more using a Jetty servlet engine integrated into Domino.

You have to realise that SSO is done differently in Domino than it is done in Tomcat (or Jetty for that matter).

Integration = technology

SSO = log-on capability

Regards

Rolf Pfotenhauer