Apache + tomcat +ssl

2004-01-15 Thread Omkar Joshi
Hi,

Thanks a lot for all the help, it is working fine now.

I added *.jsp and *.gif in Jkmount, as ony '*'  redirects everything to 
tomcat.

Thanks again

_
Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/35984.asp 
Post your CV on naukri.com today.

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


Apache + tomcat +ssl

2004-01-14 Thread Omkar Joshi
Ok,

https://myserver.com/index.jsp WORKS  am able to browse thru all data

only problem is it is not showing all the images which i have stored under

tomcats web application.

_
Send DD, pay no commission. 
http://server1.msn.co.in/msnleads/suvidha/dec03.asp?type=hottag Click here.

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


Apache + tomcat +ssl

2004-01-13 Thread Omkar Joshi
Hi,

I have apache on linux 9 with ssl set up.

also i have set up tomcat amd mod_jk for apache to redirect all jsp to 
tomcat

now as port 80 is open ,

http://myserver.com:8080/index.jsp

http://myserver.com/index.jsp

works fine, apache send jsp to tomcat engine

but as apache has ssl 443 , opened on the firewall i want

https://myserver.com/index.jsp to work.

let me know what setting required

_
Meet a mate. Find a soulmate. http://www.msn.co.in/Romance/ Or just chat a 
while.

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


Apache + tomcat +ssl

2004-01-13 Thread Omkar Joshi
can u give me code, how exactly you specify this .../appserver/*





Date: Tue, 13 Jan 2004 10:35:08 +0100
From: Spam [EMAIL PROTECTED]
Subject: Apache + tomcat +ssl
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,

It should not depend on the port you use to connect to apache.
Both http://myserver.com/index.jsp and https://myserver.com/index.jsp
should have the same result with no specific
configuration.
I've configured mod_jk to redirect all .../appserver/*  to tomcat.
Then whatever I use http://localhost/appserver/* or
https://localhost/appserver, it's ok.
Regards.

Johann DUPUIS

Omkar Joshi wrote:

Hi,

I have apache on linux 9 with ssl set up.

also i have set up tomcat amd mod_jk for apache to redirect all jsp to 
tomcat

now as port 80 is open ,

http://myserver.com:8080/index.jsp

http://myserver.com/index.jsp

works fine, apache send jsp to tomcat engine

but as apache has ssl 443 , opened on the firewall i want

https://myserver.com/index.jsp to work.

let me know what setting required

_
Meet a mate. Find a soulmate. http://www.msn.co.in/Romance/ Or just chat a 
while.

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


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




_
Gujarat Kite Fest at http://go.msnserver.com/IN/40247.asp 
www.gujaratkitefest.com

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


Apache + tomcat +ssl

2004-01-13 Thread Omkar Joshi
Ye, i have the same settings for mod_jk

I have now stoped port 80 for apache, so it listens only on port 443

so i added a virtual host entry for port 443, but then apache application 
doest work

_
Games, MMS cards, ringtones. Operator logos, picture messages  more. 
http://server1.msn.co.in/sp03/mobilesms/ Jazz up your mobile!

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


Apache + tomcat +ssl

2004-01-13 Thread Omkar Joshi
What is happening is,

when port 80  and 443 on for apache

http://myserver.com/index.jspand  http://myserver.com:8080/index.jsp  
all work fine

that means apache forwards the jsp handling to tomcat,

 but https://myserver.com/index.jsp doesnt work I get Server Error

_
Contact brides  grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!

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


Apache + tomcat +ssl

2004-01-13 Thread Omkar Joshi
Yes,

I successfully reach static pages (not redirected to tomcat, served
directly by apache) from https://myserver.com/, no problem with that
also http://myserver.com/index.jspworks fine,

problem with https://myserver.com/index.jsp

error :

Object not found!
The requested URL was not found on this server. If you entered the URL 
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster
Error 404

configuration:
--
httpd.conf
NameVirtualHost 172.16.16.10:80
virtual host 172.16.16.10:80
servername ...
.
JkMount ...
/virtualhost
All settings according to

http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html

_
Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/35984.asp 
Post your CV on naukri.com today.

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


jsp not working from apache

2003-11-13 Thread Omkar Joshi
Hi,

I followed http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html

and the mod_jk.conf file is getting created , aslo I have included it to 
httpd.conf

but

http://ipaddress:8080/index.jsp works file  -  Tomcat running stand alone is 
fine.

http://ipaddress/index.jsp doesnt work, gice page not found error.

help me.

_
Enjoy shopping online? Get this e credit card. 
http://server1.msn.co.in/features/amex/ It cuts cost  adds value!

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


how to set up tomcat to generate mod_jk.conf-auto

2003-11-12 Thread Omkar Joshi
Hi,

can some body help me. I need to configure tomcat for mod_jk.auto file

help me

_
Enjoy shopping online? Get this e credit card. 
http://server1.msn.co.in/features/amex/ It cuts cost  adds value!

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


apache + tomcat Jsp not working

2003-11-11 Thread Omkar Joshi
hi,

I have linux 9 with apache 2 preloaded and running applications,  I have 
tomcat 4.1.27 running stad alone.

i have installed mod_jk connector. and loaded in httpd.conf

created workers.properties

but the jsp dont work.

pease help me with exact configurations.

_
Access Hotmail from your mobile now. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


apache + tomcat jsp not working--need help

2003-11-11 Thread Omkar Joshi
After setting up the configuration, apache does not forward the request to 
tomcat.

it searchs the jsp file in /var/www/html  location.

need help

From: Omkar Joshi [EMAIL PROTECTED]
Subject: apache + tomcat Jsp not working
Date: Tue, 11 Nov 2003 19:13:57 +0530
Content-Type: text/plain; format=flowed
hi,

I have linux 9 with apache 2 preloaded and running applications,  I have
tomcat 4.1.27 running stad alone.
i have installed mod_jk connector. and loaded in httpd.conf

created workers.properties

but the jsp dont work.

pease help me with exact configurations.

_
Are you an Elvis fan? Want to visit Heartbreak Hotel? 
http://server1.msn.co.in/sp03/elvis/ Here's how you can win a trip!

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


Apache Tomcat How to - server.xml, httpd.conf configuration help

2003-11-10 Thread Omkar Joshi
Hi,

I Have  Apache 2.0.4 and tomcat 4.1.27 + mod_jk installed successfully.

I followed procedure on

http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

Can some body tell me what exact settings required for

server.xml, httpd.conf  virtual hosts

help me

_
Discover digital jadoo! Enter this contest. 
http://server1.msn.co.in/sp03/mediacenter/index.asp Win cool prizes!

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


Preconfigured Apache + Tomcat 4.1.27 + mod_jk

2003-11-06 Thread Omkar Joshi
Hi,

I have linux with Apache running -preconfigured with applications running in 
/var/www...

also i have tomcat 4.1.27 running on 8080 port with jsp application.

I went through  
http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html

but dont no how to do this in case of preconfigured apache ? where should  
install the mod_jk ?

please help me.

_
Contact brides  grooms FREE! Only on www.shaadi.com. 
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!

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


Cannot create JDBC driver of class '' for connect URL 'null'

2003-11-03 Thread Omkar Joshi
Hi,

Am arunning application on tomcat 4.1.24

I want to use DBCP for my connection with oracle.
I have created a .xml file for the application in weapps folder.
the code for the file is.

Context className=org.apache.catalina.core.StandardContext path=/NIMS 
docBase=D:/Tomcat/webapps/NIMS debug=9 reloadable=true 
mapperClass=org.apache.catalina.core.StandardContextMapper
displayName=NIMS
Loader checkInterval=3/
Logger className=org.apache.catalina.logger.SystemOutLogger 
timestamp=true/
Resource name=jdbc/nims auth=Container
type=javax.sql.DataSource/

ResourceParams name=jdbc/nims
parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
/parameter
parameter
nameurl/name
valuejdbc:oracle:thin:@172.16.16.22:1521:nims/value
/parameter
parameter
nameusername/name
valuenimsuser/value
/parameter
parameter
namepassword/name
valuenimsdata123/value
/parameter
parameter
namemaxActive/name
value20/value
/parameter
parameter
namemaxIdle/name
value10/value
/parameter
parameter
namemaxWait/name
value-1/value
/parameter
parameter namevalidationQuery/name valueselect 1 from dual/value 
/parameter parameter nametestOnBorrow/name valuetrue/value 
/parameter
parameter
nametimeBetweenEvictionRunsMillis/name
value30/value
/parameter
parameter
namenumTestsPerEvictionRun/name
value3/value
/parameter
parameter
nameminEvictableIdleTimeMillis/name
value180/value
/parameter
parameter
nametestWhileIdle/name
valuetrue/value
/parameter
/ResourceParams
/Context

The entry in web.xml file is as follows,

resource-ref
descriptionOracle Datasource example/description
res-ref-namejdbc/nims/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
but when i call this connection in my jsp page

%@ page import=java.sql.* %
%@ page import=javax.sql.* %
%@ page import=java.io.* %
%@ page import=java.rmi.* %
%@ page import=javax.naming.* %
%@ page import=javax.servlet.* %
%@ page import=javax.servlet.http.* %
html
head
titleCable and Wireless/title
/head
body bgcolor=#FF text=#00 
onload=javascript:{if(parent.frames[0]parent.frames['topFrame'].Go)parent.frames['topFrame'].Go()}
%
try
{

Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/nims);
Connection conn = ds.getConnection();


am getting error
Cannot create JDBC driver of class '' for connect URL 'null' 
help me

_
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


Io exception: Broken pipe

2003-10-15 Thread Omkar Joshi
Hi,

I have an application running on Linux-Tomcat.

Am using connection pool for Oracle data base connectivity.

The problem is , when the Tomcat is kept idle for some time it gives 

Io exception: Broken pipe 

help me. 



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