RE: Kerberos based login for tomcat ( how?)

2008-04-11 Thread Caldarale, Charles R
> From: Venkatesh Jayaraman (jvenky) [mailto:[EMAIL PROTECTED] > Subject: Kerberos based login for tomcat ( how?) > > Any additional information is appreciated. Tomcat doesn't have direct support for Kerberos, but you can use Tomcat's JAASRealm with an appropriate LoginModule in conjunction with

Re: Perl CGI setup

2008-04-11 Thread Shabu Khan
sorry got it. Thanks for your assistance. Thanks, On Fri, Apr 11, 2008 at 1:11 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Shabu Khan [mailto:[EMAIL PROTECTED] > > Subject: Re: Perl CGI setup > > > > > http://myhost:8080/WEB-INF/cgi/web_xml_mon.pl?qa-1 > > returns > > --

Re: Newbie help with newly installed app

2008-04-11 Thread Menachem Bazian
OK, I will do that. Thanks - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, April 11, 2008 5:03 PM Subject: RE: Newbie help with newly installed app From: Menachem Bazian [mailto:[EMAIL PROTECTED] Subject: Re: Newbie help wit

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
I am sorry, I meant I do not know anything about mod_proxy. On Fri, Apr 11, 2008 at 3:53 PM, Shashidhar Rampally <[EMAIL PROTECTED]> wrote: > Francis, > > Sorry if I offended you. > Those links are > www.xyz.com/specsheets.html -> www.xyz.com/specsheet.jsp > www.xyz.com/aboutus.html -> www.xyz

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
Francis, Sorry if I offended you. Those links are www.xyz.com/specsheets.html -> www.xyz.com/specsheet.jsp www.xyz.com/aboutus.html -> www.xyz.com/aboutus.jsp www.xyz.com/mission/mission.html moved to www.xyz.com/mission.jsp etc. No, I do know anything about mod_proxy. I will look into it right a

Kerberos based login for tomcat ( how?)

2008-04-11 Thread Venkatesh Jayaraman (jvenky)
Added Subject ...;D Any additional information is appreciated. http://www.nabble.com/Kerberos-login-for-Tomcat-to9733594.html -Original Message- From: Venkatesh Jayaraman (jvenky) Sent: Friday, April 11, 2008 2:52 PM To: 'Tomcat Users List' Subject: Helo How do we support Kerbe

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
2008/4/11, Shashidhar Rampally <[EMAIL PROTECTED]>: > Francis, > > I placed the following in httpd.conf. However, the next time I visited > xyz.com, it took me to Tomcat home page. > > DocumentRoot /not/a/valid/folder > ServerName xyz.com > > RedirectMatch Permanent /(.*

RE: Newbie help with newly installed app

2008-04-11 Thread Warren
What is the name of the war file? For instance, If it is named magnolia.war your url should be http://127.0.0.1:8080/magnolia/ acording to the url-pattern below and assumeing your accessing it from the server and the default ports of 8080 are being used. You may also want to check with the "Magnoli

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
Francis, I placed the following in httpd.conf. However, the next time I visited xyz.com, it took me to Tomcat home page. DocumentRoot /not/a/valid/folder ServerName xyz.com RedirectMatch Permanent /(.*) http://www.xyz.com/$1 DocumentRoot /usr/lib/apache-tomcat/we

RE: Newbie help with newly installed app

2008-04-11 Thread Caldarale, Charles R
> From: Menachem Bazian [mailto:[EMAIL PROTECTED] > Subject: Re: Newbie help with newly installed app > > 1) Yes, I have a war file > 2) It said to copy it into the webapps folder (which I did) > 3) There is a web.xml file but I am totally unfamiliar with it. I'm not familiar with magnolia eithe

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Terence M. Bandoian
Hi- I'd suggest using RewriteLog and RewriteLogLevel to determine exactly how your RewriteCond and RewriteRule directives are processed. -Terence M. Bandoian > > Subject: > 301 permanent redirects in Apache + Tomcat using mod_jk > From: > "Shashidhar Rampally" <[EMAIL PROTECTED]> > Date: > Fri,

Re: Newbie help with newly installed app

2008-04-11 Thread Menachem Bazian
Thank you for your response. 1) Yes, I have a war file 2) It said to copy it into the webapps folder (which I did) 3) There is a web.xml file but I am totally unfamiliar with it. There was no mention of needing to do any URL mapping. Honestly, I am not even sure how to do it and have not yet fo

RE: SSL

2008-04-11 Thread Caldarale, Charles R
> From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] > Subject: SSL > > Just wondering what you all suggest to get SSL working > in Tomcat. http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html If you expect really heavy SSL traffic, you may want to consider the APR connector and OpenSSL

Re: Perl CGI setup

2008-04-11 Thread David Smith
I know at least Chuck has already responded, but it may need to be emphasized even more. Tomcat will not allow clients to directly request _ANYTHING_ from the WEB-INF directory. This is per the servlet spec. --David Shabu Khan wrote: Thanks Charles. I put it back: cgi /cgi/

Re: Classpath Problem

2008-04-11 Thread David Smith
What I thought ... you can't have appBase from the Host element the same as the docBase for your webapp. Make the appBase something else ... anything else. It could be an empty directory. It won't matter as long as it isn't the same as the path of your webapp. Also it's been recommended for

SSL

2008-04-11 Thread Gary Opela (Corporate)
Environment: Windows Server 2k3 R2 EE Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software Foundation\Tomcat-5.5.17 Microsoft IIS 6.0 IE 6.0.X.X SP2 Java: jre1.6.0_05 jdk1.6.0_05 Just wondering what you all suggest to get SSL working in Tomcat. I have t

RE: Perl CGI setup

2008-04-11 Thread Caldarale, Charles R
> From: Shabu Khan [mailto:[EMAIL PROTECTED] > Subject: Re: Perl CGI setup > > http://myhost:8080/WEB-INF/cgi/web_xml_mon.pl?qa-1 > returns > - > HTTP Status 404 - /WEB-INF/cgi/web_xml_mon.pl You're not reading or following the advice Hassan and I have been giving you. Read it a

RE: Newbie help with newly installed app

2008-04-11 Thread Warren
How are you installing your app. do you have a war file named magnolia that you are placing in the webapps directory? I am not familiar with magnolia but you should have a web.xml file. Are there any special settings that need to be set in it, like url mapping? > -Original Message- > From:

Re: Perl CGI setup

2008-04-11 Thread Shabu Khan
Thanks Charles. I put it back: cgi /cgi/* and restarted tomcat, we are still back to the same problem. http://myhost:8080/WEB-INF/cgi/web_xml_mon.pl?qa-1 returns - HTTP Status 404 - /WEB-INF/cgi/web_xml_mon.pl type Status report message /WEB-INF/cgi/web_xml_m

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
2008/4/11, Shashidhar Rampally <[EMAIL PROTECTED]>: > Thanks for the quick reply, Francis! > > My httpd.conf file doesn't have a single VirtualHost defined because I > am using mod_jk to forward all the requests to Tomcat. Well, I use mod_jk AND vitural hosts. Even though, in most cases, the hos

RE: Perl CGI setup

2008-04-11 Thread Caldarale, Charles R
> From: Shabu Khan [mailto:[EMAIL PROTECTED] > Subject: Re: Perl CGI setup > > if my scripts/configs are in $CATALINA_HOME/webapps/ROOT/WEB-INF/cgi > directory, what should the url-pattern be? > > http://myhostname.FQDN:8080/WEB-INF/cgi/web_xml_mon.pl?qa-1 Your is fine - all that does is selec

Re: Perl CGI setup

2008-04-11 Thread Shabu Khan
Let me rephrase my question. if my scripts/configs are in $CATALINA_HOME/webapps/ROOT/WEB-INF/cgi directory, what should the url-pattern be? I tried: /WEB-INF/cgi/*.pl but I get the same error ... On Fri, Apr 11, 2008 at 12:06 PM, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 20

Newbie help with newly installed app

2008-04-11 Thread Menachem Bazian
Hi all, I am a newbie with Tomcat (and linux as well) so please forgive me if this is a stupid question. I installed Tomcat 5.5 on an ubuntu 7.10 server so I could run a java app called Magnolia. I have done everything specifically as the how to told me to. The app doesn't work and I have been

Problem with Tomcat 6.0 and Eclipse Europa

2008-04-11 Thread Heitor
Hello people! It's my first email in this list, I'm sorry for anything. I'm developing Web Services with Axis2, and I'm using Tomcat 6.0 and Eclipse Europa. My Tomcat is working very well if started it with the startup.bat, but if it is started by Eclipse the Web Services works but when I put in

RE: Perl CGI setup

2008-04-11 Thread Caldarale, Charles R
> From: Shabu Khan [mailto:[EMAIL PROTECTED] > Subject: Re: Perl CGI setup > > What should that url pattern value be in my scenario? What part of /WEB-INF/cgi doesn't match your declared ? (Hint: it's all caps.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Perl CGI setup

2008-04-11 Thread Shabu Khan
What should that url pattern value be in my scenario? On Fri, Apr 11, 2008 at 12:06 PM, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 11:45 AM, Shabu Khan <[EMAIL PROTECTED]> wrote: > > > > > > > cgi > > /cgi/* > > > > > > http://myhostname

Re: Perl CGI setup

2008-04-11 Thread Hassan Schroeder
On Fri, Apr 11, 2008 at 11:45 AM, Shabu Khan <[EMAIL PROTECTED]> wrote: > > > cgi > /cgi/* > > http://myhostname.FQDN:8080/WEB-INF/cgi/web_xml_mon.pl?qa-1 > HTTP Status 404 - /WEB-INF/cgi/web_xml_mon.pl Yeah, you've specified a url-pattern of /cgi/* and then tried

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
Thanks for the quick reply, Francis! My httpd.conf file doesn't have a single VirtualHost defined because I am using mod_jk to forward all the requests to Tomcat. Otherwise I understand how your solution would have worked. :) I have alternate solution that involves changing Tomcat's server.xml (w

Re: How to access the client's X509 Cert of an https request ?

2008-04-11 Thread Hanson Char
I found a hack to do that, with a much more complicated implementation: http://hansonchar.blogspot.com/2008/04/tomcat-55-ssl-programming-puzzle.html On Fri, Apr 11, 2008 at 11:35 AM, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > I thought that is the only way. Is there any other way to get

Re: Classpath Problem

2008-04-11 Thread OpenP2M Open
Hi, This is the of the domain with the problem DOMAIN_WITH_WWW Thank you 2008/4/10, David Smith <[EMAIL PROTECTED]>: > > Could you post the Host element of your server.xml? I know people have > had this problem and solved i

Am I stuck in the tomcat-users.xml?

2008-04-11 Thread Matheus Rezende
Thats my question, theres another way to store the users of my webApp?? If i already had an user Database? How could i use it to store my users? hugs from Brazil =D, -- Matheus Rezende de Castro (31)3534-9266 (31)9657-9266

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Francis Galiegue
2008/4/11, Shashidhar Rampally <[EMAIL PROTECTED]>: > Hi guys, > > I am trying to permanently redirect http://xyz.com to > http://www.xyz.com, which is hosted on Apache2 + Tomcat 5.5.9 with > mod_jk. I am trying to use .htaccess file to do so. So far my efforts > have been unsuccessful! > If I

Perl CGI setup

2008-04-11 Thread Shabu Khan
Hi there, I am having trouble executing a perl script through tomcat by hitting a URL. THis is what I've done so far: 1. Followed all the necessary instructions to setup CGI via ${CATALINA_HOME}/conf/web.xml Did the following: >Renamed $CATALINA_HOME/server/lib/servlets-cgi.renametojar fi

Re: How to access the client's X509 Cert of an https request ?

2008-04-11 Thread Vamsavardhana Reddy
I thought that is the only way. Is there any other way to get hold of the client cert? ++Vamsi On Fri, Apr 11, 2008 at 1:52 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Hanson Char wrote: > > > Finally, I found at least one answer to this problem: > > > > If you read the spec, there are simpler

Re: How to access the client's X509 Cert of an https request ?

2008-04-11 Thread Hanson Char
Glad I asked in this forum. Now life is much simpler and portable :) Thank you. Hanson On Fri, Apr 11, 2008 at 1:22 AM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Hanson Char wrote: > > > Finally, I found at least one answer to this problem: > > > > If you read the spec, there are simpler ways:

301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
Hi guys, I am trying to permanently redirect http://xyz.com to http://www.xyz.com, which is hosted on Apache2 + Tomcat 5.5.9 with mod_jk. I am trying to use .htaccess file to do so. So far my efforts have been unsuccessful! It looks like one the request is handed over to mod_jk before it gets han

RE: [SOLVED] tomcat not able to connect to postgresql?

2008-04-11 Thread Caldarale, Charles R
> From: Dan Eriksson [mailto:[EMAIL PROTECTED] > Subject: RE: [SOLVED] tomcat not able to connect to postgresql? > > Not sure about the context yet though, as I want to be able to > use the same parameters for some other applications and not be > dependent on the developers to do configuration

RE: [SOLVED] tomcat not able to connect to postgresql?

2008-04-11 Thread Dan Eriksson
Hi Chuck, Thanks for the input! I changed the appBase="webapps" and docBase="myapp". Not sure about the context yet though, as I want to be able to use the same parameters for some other applications and not be dependent on the developers to do configuration changes as we use war files to pack th

Re: Apache Tomcat role authorisation against AD2003

2008-04-11 Thread Mark Thomas
Rupert Whitefield wrote: Hi Mark, Thanks for your response on that. I tested both methods, and still no joy. It is as if IE can't find the main class. I should have put the complete error that I am seeing - it reads "Internet Explorer cannot download main from localhost"," Requested site unav

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Thanks a bunch Charles, I think you just cleared it up for me! Thanks, Gary Opela, Jr., RSP Remedy Engineer Leader Communications, Inc. Best Product, Best People, Best PriceTM An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company -Original Message- From: Caldarale, Charles R [mailto:

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Caldarale, Charles R
> From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] > Subject: RE: How to stop having to put :8080 in the url? > > Now, how do I go about adjusting the default page to redirect > to localhost/arsys? So, if someone just types in localhost, > it will redirect him/her to localhost/arsys. Und

RE: Apache Tomcat role authorisation against AD2003

2008-04-11 Thread Rupert Whitefield
Hi Mark, Thanks for your response on that. I tested both methods, and still no joy. It is as if IE can't find the main class. I should have put the complete error that I am seeing - it reads "Internet Explorer cannot download main from localhost"," Requested site unavailable". Have used FIDDLE

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Okay, I just wanted to make sure that I had set it up correctly. Now, how do I go about adjusting the default page to redirect to localhost/arsys? So, if someone just types in localhost, it will redirect him/her to localhost/arsys. If I were using port 8080 in tomcat, and port 80 in IIS, and th

Re: Apache Tomcat role authorisation against AD2003

2008-04-11 Thread Mark Thomas
Rupert Whitefield wrote: So moved onto my next problem, which is why when securing the URL via HTTPS, everything works great , but IE can no longer 'find' the Java Web Start application. And it worked on same port with HTTP. Sigh. Looking into it. This sounds like the caching problem in IE.

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Hassan Schroeder
On Fri, Apr 11, 2008 at 6:40 AM, Gary Opela (Corporate) <[EMAIL PROTECTED]> wrote: > if I map all traffic that goes to localhost to tomcat, then typing in just > http://localhost takes me to the tomcat config page that says I don't > have tomcat configured properly. Yes -- if you choose /not/ to r

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Caldarale, Charles R
> From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] > Subject: RE: How to stop having to put :8080 in the url? > > Thanks, but that still leaves me in the same predicament. Doesn't matter; Rodrigo's suggestion was completely bogus. > I need to just route traffic that goes to > http://loca

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Jim Cox
You've lost me a bit on what servers are running -- you have IIS serving port 80, and Tomcat serving 8080? If so, can't you simply configure IIS to "proxy" the requests to your Tomcat on port 8080? On Fri, Apr 11, 2008 at 9:40 AM, Gary Opela (Corporate) < [EMAIL PROTECTED]> wrote: > Thanks, but t

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Thanks, but that still leaves me in the same predicament. I don't have control over http://localhost. I need to be able to control that, but running tomcat, if I map all traffic that goes to localhost to tomcat, then typing in just http://localhost takes me to the tomcat config page that says I

RE: Apache Tomcat role authorisation against AD2003

2008-04-11 Thread Rupert Whitefield
Hi Chris, Thanks for the mail. The only thing that changed in my server.xml was the order, and changed the roleSearch from: roleSearch="(uniqueMember={0}) To roleSearch="(member={0}) Apart from that, I'm a little confused why it works - but it does If a user had 3 roles (group1, group2, g

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Rodrigo Correa de Paiva
will u change the port back to 8080, than go to C:\WINDOWS\system32\drivers\etc and edit the file HOSTS change : 127.0.0.1 localhost to : 127.0.0.1:8080 localhost everytime u type localhost u will be redicted to 127.0.0.1:8080 i never do that, but should work 2008/4/11, Gary Opela (C

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread David Delbecq
En l'instant précis du 11/04/08 14:55, Gary Opela (Corporate) s'exprimait en ces termes: Now I can access my application by going to http://localhost/arsys without specifying the port. However, now if I go to http://localhost, then it redirects me to Tomcat's default page. Is there a way to l

Re: jsvc creates pid file owned by root

2008-04-11 Thread Alan Chaney
You shouldn't be messing about with the ownership of the PID file. It is created by jsvc at startup. If you use jsvc properly it will start as root, create the pid file, startup tomcat, allow tomcat to bind to ports 80 and 443 and then switch to the user specified with -user switch. When you i

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Environment: Windows Server 2k3 R2 EE Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software Foundation\Tomcat-5.5.17 Microsoft IIS 6.0 IE 6.0.X.X SP2 Java: jre1.6.0_05 jdk1.6.0_05 Okay, so I went in my server.xml in C:\Program Files\Apache Software Foundation\Tomcat 5.5\c

Initializing classes in shared/lib

2008-04-11 Thread Tushar Madhukar
Hi, I have some utility classes in $tomcat/shared/lib directory, which are used by several webapps. These need to be initialized before any of my webapps are called by the client. One of these shared classes gets a reference to its class loader, by calling Thread.currentThread().getContextClassLoa

Re: %3B in path-info

2008-04-11 Thread Rémy Maucherat
On Fri, Apr 11, 2008 at 4:51 AM, Jess Holle <[EMAIL PROTECTED]> wrote: > Agreed -- but that draws me back to the need for an option (or default > behavior!) in mod_proxy_ajp wherein the URL passed to via AJP is not > decoded. The thing is that it is news to me that mod_proxy_ajp passes decoded UR

Re: How to access the client's X509 Cert of an https request ?

2008-04-11 Thread Mark Thomas
Hanson Char wrote: Finally, I found at least one answer to this problem: If you read the spec, there are simpler ways: If there is an SSL certificate associated with the request, it must be exposed by the servlet container to the servlet programmer as an array of objects of type java.securit

Re: How to access the client's X509 Cert of an https request ?

2008-04-11 Thread Hanson Char
Finally, I found at least one answer to this problem: http://hansonchar.blogspot.com/2008/04/tomcat-55-ssl-programming-puzzle.html Cheers, Hanson On Thu, Apr 10, 2008 at 6:20 PM, Hanson Char <[EMAIL PROTECTED]> wrote: > s/Http12Processor/Http11Processor/ > > > On Thu, Apr 10, 2008 at 6:18 PM,