hi!
my changes in httpd.conf is below:
<IfDefine SSL>
Listen 203.126.49.181:80
Listen 203.126.49.181:443
</IfDefine>

User www
Group www
ServerAdmin [EMAIL PROTECTED]
ServerName java.ectu.com
DocumentRoot "/home/httpd"

### Section 3: Virtual Hosts
#
NameVirtualHost 203.126.49.181:80

<VirtualHost 203.126.49.181:80>
ServerAdmin [EMAIL PROTECTED]
ServerName java.ectu.com
DocumentRoot "/home/httpd/ectu"
#DocumentRoot "/usr/local/jakarta-tomcat-4.0.1/webapps/ectu/jsp"
#RedirectMatch temp .* http://java.ectu.com/ectu/jsp/index.html

Redirect permanent / http://java.ectu.com/ectu/

ErrorLog /var/log/httpd/error_ectu_log
TransferLog /var/log/httpd/access_ectu_log

WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
WebAppDeploy ectu warpConnection /ectu/

</VirtualHost>
is is ok?
jagan

-----Original Message-----
From: Brian Adams [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 12:41 PM
To: Tomcat Users List
Subject: RE: Regarding tomca and servelt


Jegan, You haven't said a thing about httpd.conf... what is in it?  what did
you add to it?
do you tell apache where to find /ectu/?
if you are going to appaches port (assuming 80) then httpd.conf must be
configured to call tomcat.
maybe send some information about httpd.conf file.
thanks,
B

-----Original Message-----
From: Jagan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 10:20 PM
To: Tomcat Users List
Subject: Regarding tomca and servelt


hi!
i am using tomcat 4 and Apache1.3.12
my application structure is
my application dir. name is myapp
and under my app
all my .jsp and .htm files are under my app directly,
my classes are under myapp/WEB-INF/classes/myapp
in myapp/WEB-INF/classes/myapp, i had one Manager servlet from which i had
to transfer my path.
for ex:Manager?action="here i will give class"&page="here i will give jsp
page".
i had done changes in web.xml as below:
<servlet>
  <servlet-name>Manager</servlet-name>
  <init-param>
   <param-name>initParam1</param-name>
   <param-value>value1</param-value>
  </init-param>
  <init-param>
   <param-name>initParam2</param-name>
   <param-value>value2</param-value>
  </init-param>
  <servlet-class>
   ectu.Manager
  </servlet-class>
  <display-name></display-name>
  <description></description>
</servlet>
<servlet-mapping>
        <servlet-name>
            Manager
        </servlet-name>
        <url-pattern>
            /Manager
        </url-pattern>
    </servlet-mapping>

when i had done thos changes and i will run my application,
i am getting below error:
Apache Tomcat/4.0.1 - HTTP Status 404 - /ectu/

----------------------------------------------------------------------------
----

type Status report

message /ectu/

description The requested resource (/ectu/) is not available

if i am not changing anything in my web.xml
the application is successfully running for .jsp & .htm but wen i am
accessing through Manager
means my URL is:"/Manager?action='myclass'&page='myjsppage'"
i am getting below error:
Apache Tomcat/4.0.1 - HTTP Status 404 - /Manager

----------------------------------------------------------------------------
----

type Status report

message /Manager

description The requested resource (/Manager) is not available


can anybody help me?

Thanks and Best Regards.
Jagan Mohan
Project Consultant
Unidux Technologies Pte Ltd
(subsidiary of the public-listed Unidux Electronics Ltd)
TEL: (65) 293 4797
FAX: (65) 293 4920


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to