Its your web.xml configuration.  What should be your request to / mapped to.
Usually people maps / request to index.html or index.jsp.  If you have
either of them your request to /turnkey will result that page.  I am not
sure how to map / request to servlet.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 6:58 PM
To: Orion-Interest
Subject: web-app question



Dear All

I am trying to replicate the orion-primer example when
I encounter this problem. In my orion/config/default-web-site.xml
I have

        <web-app application="orion-primer"
                 name="orion-primer-web"
                 root="/orion-primer" />

        <web-app application="turnkey"
                 name="turnkey-web"
                 root="/turnkey" />

And in the orion/config/server.xml there is

        <application name="orion-primer" 
        
path="d:\Lynch\Download\java\orion\orion-primer-src\orion-primer\rel\orion-p
rimer.ear" />
        <application name="turnkey" 
                path="D:\Lynch\doc\turnkey\programs\ejb\turnkey\rel\turnkey.
ear" />

I build the ear file by using ant. The building and deployment
seem smooth. However, when I launch my request like

        http://localhost:8080/turnkey/

I get a 405 error. But if I use

        
http://localhost:8080/turnkey/servlet/com.asus.turnkey.TiptopToEPOClient

th result will be correct. What do I miss here?

Oh, the orion-primer always runs smoothly, and I have
modified both build.xml to follow ant 1.2's spec.

Thanks in advance
Lynch

Reply via email to