Hi,

I'm not sure if cross posting like that was such a good idea...  But since
I just had to figure this out last week I will share what I learned.

I had to play with this a bit befor I was able to get it to work. I was
using Solaris so I can't help you with the correct version of the
redirector DLL.  I hope this will help.

> <Object name=servlet>
> ObjectType fn=force-type type=text/plain
> Service fn="jk_service" worker="ajp13"
> </Object>

The documentation isn't entirely correct here.  Put "servlet" in quotes.
Otherwise iPlanet doesn't see the object name and the assigment you made
in the default object section won't work (you will get that error once you
fix the stuff below). It also wouldn't hurt to put "text/plain" in quotes.

>
> workers.worker file
> workers.tomcat_home=C:\Tomcat
> workers.java_home=C:\jdk1.3
> ps=\
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
>

I just used to last four lines of what you have here.  But that shouldn't
matter.

>
>
> I tried this url
> http://localhost:81/examples/servlet/HelloWorldExample
>
> [25/Jul/2003:12:59:08] warning ( 212):  for host
> 127.0.0.1 trying to GET
> /examples/servlet/HelloWorldExample, send-file
> reports: can't find
> C:/iPlanet/Servers/docs/examples/servlet/HelloWorldExample
> (File not found)

That's exactly what it is doing.  So you have to fool it.  In your iPlanet
docroot create the directory examples.  iPlanet will see it and think it's
there.  Then when it tries to serve it the changes in obj.conf will kick
in and send the request to tomcat.

In some cases you will find that you have to "touch" (create 0 length
files) in some cases to fool netsacpe into thinking it's there.  Usually
it's just index.jsp.

I also connect to the Coyote/JK2 AJP1.3 connector on the tomcat side and
not the older AJP 1.3 connector.

-e



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to