You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alex Korneyev <ak...@mindspring.com> on 2003/10/02 16:53:16 UTC
Virtual Users on Apache/Tomcat on https
Hello Everyone!
I hope someone can point me in the right direction.
How do i configure Apache to redirect
https://servername.serverhost.com/~username/test.jsp to Tomcat ?
if that username has a domwin, www.domain.com then i can access
test.jsp file via http://www.domain.com/test.jsp no problem.
I understand this is an Apache configuration.
Best Regards,
Alex K.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re[2]: Virtual Users on Apache/Tomcat on https
Posted by Alex Korneyev <ak...@mindspring.com>.
Hello Oleksiy,
I am not sure how this is going to help me. This is a Tomcat side
configuration.
thanks
Thursday, October 2, 2003, 10:18:48 AM, you wrote:
OP> Alex Korneyev wrote:
>>Hello Everyone!
>>
>>I hope someone can point me in the right direction.
>>
>>How do i configure Apache to redirect
>>https://servername.serverhost.com/~username/test.jsp to Tomcat ?
>>
>>
OP> <Listener className="org.apache.catalina.startup.UserConfig"
OP> directoryName="public_html"
OP> userClass="org.apache.catalina.startup.PasswdUserDatabase" />
>>if that username has a domwin, www.domain.com then i can access
>>test.jsp file via http://www.domain.com/test.jsp no problem.
>>
>>I understand this is an Apache configuration.
>>
>>Best Regards,
>>
>>Alex K.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
--
Best regards,
Alex mailto:akorneyev@mindspring.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Virtual Users on Apache/Tomcat on https
Posted by Oleksiy Podopryhora <al...@dcs.kcl.ac.uk>.
Alex Korneyev wrote:
>Hello Everyone!
>
>I hope someone can point me in the right direction.
>
>How do i configure Apache to redirect
>https://servername.serverhost.com/~username/test.jsp to Tomcat ?
>
>
<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
userClass="org.apache.catalina.startup.PasswdUserDatabase" />
>if that username has a domwin, www.domain.com then i can access
>test.jsp file via http://www.domain.com/test.jsp no problem.
>
>I understand this is an Apache configuration.
>
>Best Regards,
>
>Alex K.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
--
Sincerely Yours,
Mr Oleksiy Podopryhora
Information Officer
Department of Computer Science
King's College London, Strand, London, WC2R 2LS
Mobile 07788 986 056
Tel +44 20 7848 2366
Fax +44 20 7848 2851
ICQ UIN #45961547
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Re[2]: com.sun.tools.javac.Main is not on the classpath error
Posted by Filip Hanik <de...@hanik.com>.
I believe this is the incorrect way of starting tomcat.
if you start bootstrap, your command line should only be like this
java.exe -Djava.endorsed.dirs="..\common\endorsed
-classpath
"C:\Software\jdk-1.4.2\j2sdk1.4.2\lib\tools.jar;..\bin\bootstrap.jar"
-Dcatalina.base=".." -Dcatalina.home=".." -Djava.io.tmpdir="..\temp"
org.apache.catalina.startup.Bootstrap start
catalina.base and catalina.home
of course replace ..\ with your TOMCAT_HOME
Filip
----- Original Message -----
From: "Alex Korneyev" <ak...@mindspring.com>
To: "Filip Hanik" <de...@hanik.com>
Cc: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, October 03, 2003 2:19 PM
Subject: Re[2]: com.sun.tools.javac.Main is not on the classpath error
Hello Filip,
i checked that, and as you can see it is in fact in classpath:
C:\j2sdk1.4.2_01\bin\javaw.exe -Djava.endorsed.dirs=C:\tomcat\jakarta-tomcat
-4.1.27\bin;C:\tomcat\jakarta-tomcat-4.1.27\common\lib -Dcatalina.base=C:\Do
cuments and
Settings\Administrator.DELL-WIN2K\.IntelliJIdea\system\tomcat_Marketing_6cd0
64f -Dcatalina.home=C:\tomcat\jakarta-tomcat-4.1.27 -Djava.io.tmpdir=C:\tomc
at\jakarta-tomcat-4.1.27\temp -classpath
C:\j2sdk1.4.2_01\lib\tools.jar;C:\tomcat\jakarta-tomcat-4.1.27\bin\bootstrap
.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\activation.jar;C:\tomcat\jak
arta-tomcat-4.1.27\common\lib\ant.jar;C:\tomcat\jakarta-tomcat-4.1.27\common
\lib\commons-collections.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\comm
ons-dbcp.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-logging-api.
jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-pool.jar;C:\tomcat\ja
karta-tomcat-4.1.27\common\lib\jasper-compiler.jar;C:\tomcat\jakarta-tomcat-
4.1.27\common\lib\jasper-runtime.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\
lib\jdbc2_0-stdext.jar;C!
:\tomcat\jakarta-tomcat-4.1.27\common\lib\jndi.jar;C:\tomcat\jakarta-tomcat-
4.1.27\common\lib\jta.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\mail.ja
r;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-common.jar;C:\tomcat\jak
arta-tomcat-4.1.27\common\lib\naming-factory.jar;C:\tomcat\jakarta-tomcat-4.
1.27\common\lib\naming-resources.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\
lib\servlet.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina-ant.jar;
C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina.jar;C:\tomcat\jakarta-to
mcat-4.1.27\server\lib\commons-beanutils.jar;C:\tomcat\jakarta-tomcat-4.1.27
\server\lib\commons-digester.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\
commons-fileupload-1.0.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\common
s-logging.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-modeler.jar
;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\jaas.jar;C:\tomcat\jakarta-tomca
t-4.1.27\server\lib\jakarta-regexp-1.2.jar;C:\tomcat\jakarta-tomcat-4.1.27\s
!
erver\lib\mx4j-jmx.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\serv
lets-common.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-default.
jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-invoker.jar;C:\tomca
t\jakarta-tomcat-4.1.27\server\lib\servlets-manager.jar;C:\tomcat\jakarta-to
mcat-4.1.27\server\lib\servlets-webdav.jar;C:\tomcat\jakarta-tomcat-4.1.27\s
erver\lib\tomcat-coyote.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomca
t-http11.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk.jar;C:\tom
cat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk2.jar;C:\tomcat\jakarta-tomcat
-4.1.27\server\lib\tomcat-util.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\li
b\tomcat-warp.jar org.apache.catalina.startup.Bootstrap start
Oct 3, 2003 4:17:54 PM org.apache.coyote.http11.Http11Protocol init
Friday, October 3, 2003, 4:04:46 PM, you wrote:
FH> tools.jar is not in your classpath
FH> ----- Original Message -----
FH> From: "Alex Korneyev" <ak...@mindspring.com>
FH> Cc: <to...@jakarta.apache.org>
FH> Sent: Friday, October 03, 2003 2:00 PM
FH> Subject: com.sun.tools.javac.Main is not on the classpath error
FH> Hello,
FH> When i run tomcat in a debugger, i get the following error when it is
FH> trying to compile ANY jsp:
FH> Unable to find a javac compiler;
FH> com.sun.tools.javac.Main is not on the classpath.
FH> Perhaps JAVA_HOME does not point to the JDK
FH> it works fine , if it is not wrunning in debug mode.
FH> alex k.
FH> ---------------------------------------------------------------------
FH> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FH> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
FH> ---------------------------------------------------------------------
FH> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FH> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
Best regards,
Alex mailto:akorneyev@mindspring.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re[2]: com.sun.tools.javac.Main is not on the classpath error
Posted by Alex Korneyev <ak...@mindspring.com>.
Hello Filip,
i checked that, and as you can see it is in fact in classpath:
C:\j2sdk1.4.2_01\bin\javaw.exe -Djava.endorsed.dirs=C:\tomcat\jakarta-tomcat-4.1.27\bin;C:\tomcat\jakarta-tomcat-4.1.27\common\lib -Dcatalina.base=C:\Documents and Settings\Administrator.DELL-WIN2K\.IntelliJIdea\system\tomcat_Marketing_6cd064f -Dcatalina.home=C:\tomcat\jakarta-tomcat-4.1.27 -Djava.io.tmpdir=C:\tomcat\jakarta-tomcat-4.1.27\temp -classpath C:\j2sdk1.4.2_01\lib\tools.jar;C:\tomcat\jakarta-tomcat-4.1.27\bin\bootstrap.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\activation.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\ant.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-collections.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-dbcp.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-logging-api.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\commons-pool.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jasper-compiler.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jasper-runtime.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jdbc2_0-stdext.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jndi.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\jta.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\mail.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-common.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-factory.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\naming-resources.jar;C:\tomcat\jakarta-tomcat-4.1.27\common\lib\servlet.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina-ant.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\catalina.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-beanutils.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-digester.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-fileupload-1.0.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-logging.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\commons-modeler.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\jaas.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\jakarta-regexp-1.2.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\mx4j-jmx.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-common.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-default.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-invoker.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-manager.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\servlets-webdav.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-coyote.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-http11.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-jk2.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-util.jar;C:\tomcat\jakarta-tomcat-4.1.27\server\lib\tomcat-warp.jar org.apache.catalina.startup.Bootstrap start
Oct 3, 2003 4:17:54 PM org.apache.coyote.http11.Http11Protocol init
Friday, October 3, 2003, 4:04:46 PM, you wrote:
FH> tools.jar is not in your classpath
FH> ----- Original Message -----
FH> From: "Alex Korneyev" <ak...@mindspring.com>
FH> Cc: <to...@jakarta.apache.org>
FH> Sent: Friday, October 03, 2003 2:00 PM
FH> Subject: com.sun.tools.javac.Main is not on the classpath error
FH> Hello,
FH> When i run tomcat in a debugger, i get the following error when it is
FH> trying to compile ANY jsp:
FH> Unable to find a javac compiler;
FH> com.sun.tools.javac.Main is not on the classpath.
FH> Perhaps JAVA_HOME does not point to the JDK
FH> it works fine , if it is not wrunning in debug mode.
FH> alex k.
FH> ---------------------------------------------------------------------
FH> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FH> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
FH> ---------------------------------------------------------------------
FH> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
FH> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
Best regards,
Alex mailto:akorneyev@mindspring.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: com.sun.tools.javac.Main is not on the classpath error
Posted by Filip Hanik <de...@hanik.com>.
tools.jar is not in your classpath
----- Original Message -----
From: "Alex Korneyev" <ak...@mindspring.com>
Cc: <to...@jakarta.apache.org>
Sent: Friday, October 03, 2003 2:00 PM
Subject: com.sun.tools.javac.Main is not on the classpath error
Hello,
When i run tomcat in a debugger, i get the following error when it is
trying to compile ANY jsp:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
it works fine , if it is not wrunning in debug mode.
alex k.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
com.sun.tools.javac.Main is not on the classpath error
Posted by Alex Korneyev <ak...@mindspring.com>.
Hello,
When i run tomcat in a debugger, i get the following error when it is
trying to compile ANY jsp:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
it works fine , if it is not wrunning in debug mode.
alex k.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re[2]: Virtual Users on Apache/Tomcat on https
Posted by Alex Korneyev <ak...@mindspring.com>.
Hello David,
Thursday, October 2, 2003, 10:52:17 AM, you wrote:
DR> On Thu, October 2, 2003 at 7:53 am, Alex Korneyev sent the following
>>
>> I hope someone can point me in the right direction.
>>
>> How do i configure Apache to redirect
>> https://servername.serverhost.com/~username/test.jsp to Tomcat ?
>>
>> if that username has a domwin, www.domain.com then i can access
>> test.jsp file via http://www.domain.com/test.jsp no problem.
>>
>> I understand this is an Apache configuration.
DR> You need the right JkMount statement in Apache. Something like:
DR> <Directory /home/*/public_html>
DR> JkMount /*.jsp ajp13
DR> </Directory>
DR> I hope you get the idea.
DR> -Dave
DR> ---------------------------------------------------------------------
DR> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
DR> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
hello Dave,
actually i am not sure what you mean. what would that do ?
if i have a user userName123
then i need to access https via
https://servername.com/~userName123/test.jsp
--
Best regards,
Alex mailto:akorneyev@mindspring.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Virtual Users on Apache/Tomcat on https
Posted by David Rees <dr...@greenhydrant.com>.
On Thu, October 2, 2003 at 7:53 am, Alex Korneyev sent the following
>
> I hope someone can point me in the right direction.
>
> How do i configure Apache to redirect
> https://servername.serverhost.com/~username/test.jsp to Tomcat ?
>
> if that username has a domwin, www.domain.com then i can access
> test.jsp file via http://www.domain.com/test.jsp no problem.
>
> I understand this is an Apache configuration.
You need the right JkMount statement in Apache. Something like:
<Directory /home/*/public_html>
JkMount /*.jsp ajp13
</Directory>
I hope you get the idea.
-Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org