Re: Virtual Hosting and SSL

2005-10-11 Thread Hassan Schroeder
Justin Jaynes wrote: I DID try, but there is no IP address attribute for connector elements. .. at least not in the documentation listed on the 5.5 documentation / configuration setup. On this page?? http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Look again :-) -- Hassan

Re: Virtual Hosting and SSL

2005-10-10 Thread Hassan Schroeder
it, ask if you run into a specific problem... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Hassan Schroeder
the command line? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Hassan Schroeder
only work if referenced from the base directory of the webapp, but *will* work regardless of changes to the webapp name... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream

Re: PHP / JSP on Tomcat.

2005-09-28 Thread Hassan Schroeder
alongside Tomcat to handle the occasional LAMP-stack job... YMMV! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Tomcat directory protection

2005-09-16 Thread Hassan Schroeder
? I'm not aware of anything directly analogous to .htaccess, but you can certainly accomplish the same goals in other ways. Take a look at SRV.6 (Filtering) and SRV.12 (Security) of the Servlet spec. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1

Re: How to share static content across applications

2005-09-16 Thread Hassan Schroeder
want to send me details off-list about this erratic tag, I'll be happy to try to help. :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Why doesn't my context work?

2005-09-16 Thread Hassan Schroeder
request to http://www.espersunited.com/home/index.jsp And, as has already been pointed out, 'appBase' is not a valid attribute of Context. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
that :-) Use either of e.g. ${appBase}/assests/META-INF/context.xml or $CATALINA_HOME/conf/${hostname}/assets.xml Apologies if I'm missing something, but I don't see the problem... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567

Re: How to share static content across applications

2005-09-15 Thread Hassan Schroeder
. As below... Use either of e.g. ${appBase}/assests/META-INF/context.xml or $CATALINA_HOME/conf/${hostname}/assets.xml -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream

Re: How to change the SSL port

2005-09-15 Thread Hassan Schroeder
starting Tomcat as root? Doesn't look like it... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: mod_jk performance

2005-09-14 Thread Hassan Schroeder
KEREM ERKAN wrote: ... I am looking to the security side of the problem and Apache+mod_jk does its job better than only Tomcat concerning security. How so? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: mod_jk performance

2005-09-14 Thread Hassan Schroeder
KEREM ERKAN wrote: Apache has better directory/file restricting and handling than Tomcat better in what way? What actual *security* issue are we talking about -- in other words, what exploit is Tomcat susceptible to that Apache is not? -- Hassan Schroeder - [EMAIL

Re: Case-insensitive URLs for serving HTML

2005-09-13 Thread Hassan Schroeder
/urlrewrite/ HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL

Re: How to configure Tomcat for multiple IPs

2005-09-13 Thread Hassan Schroeder
in that configuration? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL

Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
). Is there a standard way of achieving this? Presumably these are two different Contexts; put the appropriate Resource in each ${context}.xml file... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: How to configure Tomcat for multiple IPs

2005-09-13 Thread Hassan Schroeder
, but doesn't mean anything's listening; running `telnet xxx.xxx.xxx.xxx 80` will tell you a lot more :-) Can you send me the complete Service element of your working configuration please? I'm running Tomcat 5.0.28. I'm running 5.5.9 but it shouldn't matter; I'll send it offlist. -- Hassan Schroeder

Re: Different JDBC sources?

2005-09-13 Thread Hassan Schroeder
if this isn't relevant to your environment, though! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: no luck with allowLinking=true

2005-09-12 Thread Hassan Schroeder
in TC 5.5.x, at least, and appears to match the Context attribute descriptions for 5.0.x in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: no luck with allowLinking=true

2005-09-12 Thread Hassan Schroeder
. And if that setup doesn't work... Is it possible you have a permissions problem between the Tomcat process userid and the owner of the linked directory? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: web.xml, url-pattern

2005-09-12 Thread Hassan Schroeder
/index.html HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL

Re: invalidate session after calling listeners

2005-08-29 Thread Hassan Schroeder
-unbound tasks versus each /session/ having a bound object implementing HttpSessionBindingListener doing its own. It's the difference between Mom cleaning up after everyone, or all the kids cleaning their own rooms :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED

Re: request.getServletPath() changes during request lifecycle, BUG or Specified behaviour ?

2005-08-27 Thread Hassan Schroeder
javax.servlet.forward.servlet_path javax.servlet.forward.path_info javax.servlet.forward.query_string ... etc. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: invalidate session after calling listeners

2005-08-27 Thread Hassan Schroeder
(); * String userId = (String)session.getValue(userId); */ I use this approach to return items to stock from an abandoned (via session timeout) shopping cart, for instance. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: Automatic deploy of updated war deletes the context file

2005-08-26 Thread Hassan Schroeder
the filenames used for either the .xml context file or the docBase. Sometimes the subtle config errors will bite'cha :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream

Re: newbie with a short question

2005-08-26 Thread Hassan Schroeder
write what you need in Java :-) Good luck, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Automatic deploy of updated war deletes the context file

2005-08-26 Thread Hassan Schroeder
Paul Austin wrote: Now the final question is how can I set the path to be a sub directory? So /subdir/app. This worked on my Tomcat 5 installation on Linux but doesn't work here. It seems to just ignore the path. No idea, never had a reason to try such a configuration -- sorry! -- Hassan

Re: Virtual Hosts In Tomcat

2005-08-25 Thread Hassan Schroeder
be appreciated. By the way, I am a newbie with Tomcat. In which case, I'd recommend using a non-ancient release, i.e., one in current active development; you'll get more and better responses to your questions :-) HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive

Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder
, it says the page cannot be found. In the directory q5aims_net I have one doc, index.html Are you trying to access 'http://q5aims.net/index.html' or 'http://q5aims.net/q5aims_net/index.html' as your Context entry indicates? -- Hassan Schroeder - [EMAIL PROTECTED

Re: Virtual Host Not Working Correctly

2005-08-25 Thread Hassan Schroeder
Dennis Harris wrote: Just trying to access http://q5aims.net/index.html Context path=/q5aims_net docBase=q5aims_net debug=0 Then you should have Context path= ... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: Automatic deploy of updated war deletes the context file

2005-08-25 Thread Hassan Schroeder
the application. ..and the Doctor says: Right, so don't do that. /* Heh. Vaudeville :-) */ Seriously, you only want to have your Context defined *one* place. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Automatic deploy of updated war deletes the context file

2005-08-25 Thread Hassan Schroeder
locations -- separately! -- without problems. Are you saying that with *only* /conf/Catalina/host/context.xml, nothing in META-INF/context.xml, your deployment fails and the context.xml file is removed? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Hassan Schroeder
for the version of Tomcat you're running. Also, you may find the learning curve shorter if you install that version on your desktop system to experiment with... FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Hassan Schroeder
I appreciate your input. I went onto the site and I can't seem to find what I need. Could anyone please supply me with the URL of a reference manual ? I am using version 5.5.8 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ Good luck, -- Hassan Schroeder

Re: Webapp suddenly not available

2005-08-16 Thread Hassan Schroeder
default ROOT directory temporarily and get log4j working properly. It's really straightforward, but the time to try isn't after your webapp breaks :-) Check out Allistair Crossley's http://www.adcworks.com/blog Good luck! -- Hassan Schroeder - [EMAIL PROTECTED

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Hassan Schroeder
as are many of the *examples* in the default server.xml, this entry is *commented out*. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Hassan Schroeder
it, and compare the results. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

Re: Security Questions Regarding Tomcat

2005-08-12 Thread Hassan Schroeder
on. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Security Questions Regarding Tomcat

2005-08-12 Thread Hassan Schroeder
Leandro Meiners wrote: Where can I find documentation regarding limting HTTP methods using security-constraints? The Security section of the Servlet 2.4 Spec (SRV.12) has some good examples -- highly recommended :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED

Re: Tomcat and the HttpServletRequest Object

2005-08-12 Thread Hassan Schroeder
* demand that the parts be stored and made available in that same order... It's never even occurred to me to expect form variables in any order, though. For one thing, only successful controls are sent at all, so what arrives is intrinsically somewhat arbitrary, eh? :-) As always, YMMV! -- Hassan

Re: Http Refferer

2005-08-11 Thread Hassan Schroeder
Oscar Mechanic wrote: Why would it get a null ? Every page has a referrer. Simply not true -- a page accessed by having the URL hand-typed into a browser's address field has no referer. And PC anti-virus software frequently *blocks* sending a referer header regardless... -- Hassan Schroeder

Re: Using more than one SSL cert in keystore?

2005-08-09 Thread Hassan Schroeder
' happens...) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

Re: Multiple Hosts using dyndns

2005-07-23 Thread Hassan Schroeder
of how the name resolution is being done (dyndns, DNS, NIS, /etc/hosts file, etc.), AFAIK. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: How to create a MySQL datasource (DBCP) into TOMCAT 4.1.31...

2005-07-11 Thread Hassan Schroeder
: org.apache.tomcat.dbcp.BasicDataSourceFactory :: (note only one '.dbcp'). Change that, make sure commons-dbcp is in your 4.1.31 $CATALINA_HOME/common/lib and give it a try. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Only one ssl domain per server instance?

2005-05-27 Thread Hassan Schroeder
/ https://www.secondexample.com/ could be used, rather than, e.g. http:9443//www/yuckyexample.com/ :-) YMMV, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Only one ssl domain per server instance?

2005-05-26 Thread Hassan Schroeder
Mark Winslow wrote: I'm wondering if there's a way to get more than one ssl domain per server instance. The ssl Connector tag seems to be in the top level in server.xml. You can define multiple Connectors, each with its own keystore. -- Hassan Schroeder - [EMAIL

Re: confused about simple logging

2005-05-23 Thread Hassan Schroeder
the prefix attribute, restarted the server and bingo -- a context-specific log file is being created. There's really not much to it, as the example in the docs shows. Maybe you should post your entire Context file. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design

Re: ip-based virtual hosting

2005-05-21 Thread Hassan Schroeder
running what *I* think of as IP-based virtual hosts using TC 5.0.x and 5.5.x... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Cannot access Tomcat from remote box

2005-05-12 Thread Hassan Schroeder
thatbox 8080` -- which is what would actually confirm there's something listening (unblocked) there? :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: How do I redirect all tomcat ports to use SSL?

2005-05-04 Thread Hassan Schroeder
presumably include a copy of the Servlet spec? :-) (That'd be SRV12.8 in the 2.4 spec, BTW) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: 2 nd Try : help need for hosting the website

2005-04-29 Thread Hassan Schroeder
preventing access to that port, or something. But it's not a Tomcat issue. HTH, and good luck. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: 2 nd Try : help need for hosting the website

2005-04-29 Thread Hassan Schroeder
that. :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: 2 nd Try : help need for hosting the website

2005-04-29 Thread Hassan Schroeder
Struan Kerr-Liddell wrote: Am I miss understanding? I can see www.anishanumandla.com Obviously the OP fixed his problem -- it was definitely unavailable a while ago (via browser/telnet/nmap). Cute kid :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Hassan Schroeder
several 5.5.x machines running right now, and *all* the contexts are defined in either /META-INF/context.xml or $CATALINA_HOME/conf/{engine}/{hostname}/{context}.xml http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html FWIW, -- Hassan Schroeder - [EMAIL

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Hassan Schroeder
but it doesn't work. :: which I took to mean having a ROOT context in a place other than $CATALINA_HOME/webapps/. And all that takes is to change the docbase attribute of the relevant ROOT.xml file, which has an assumed context path of . Perhaps I misunderstand the OP's goal... -- Hassan Schroeder

Re: how to host website on Tomcat 5.5.9

2005-04-26 Thread Hassan Schroeder
element as well:: prompt% host www.anishanumandla.com www.anishanumandla.com is an alias for anishanumandla.com. anishanumandla.com has address 24.6.220.179 3) You'll need to change your Connector port setting from 8080 to 80 That should get you started :-) HTH! -- Hassan Schroeder

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
?, this is a simplification of a different but equivalent problem. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
approach to managing my webapps, I'm not overly motivated :-) As always, YMMV! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Tomcat Admin Question

2005-04-25 Thread Hassan Schroeder
to install: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Most browsers have a function called find in page (or similar) -- try using that to find 'admin' :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567

Re: can't see a tomcat installation on home network

2005-04-20 Thread Hassan Schroeder
-- in this case port 8080, (hopefully) opened by Tomcat. SSH isn't part of this picture. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: [SPAM2] - RE: Problems with DataSourceRealm Tomcat 5.5 - Found word(s) list error in the Text body

2005-04-19 Thread Hassan Schroeder
to specify params in 5.5 -- read this: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter ... HTH! -- Hassan Schroeder

Re: class path (UNCLASSIFIED)

2005-04-13 Thread Hassan Schroeder
classpath is a good idea either. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail

Re: How do I restrict access to webapps applications from browser users?

2005-04-13 Thread Hassan Schroeder
exactly is it about Apache httpd directory control that you prefer? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: problem with installing tomcat in linux

2005-04-11 Thread Hassan Schroeder
to your PATH setting or start Tomcat directly using: prompt $CATALINA_HOME/bin/catalina.sh start It would probably be useful to look at that startup script as well, to understand the role of various environment variables... HTH! -- Hassan Schroeder - [EMAIL PROTECTED

Re: Troubleshooting Virtual Hosts with Tomcat 5 standalone mode...

2005-04-04 Thread Hassan Schroeder
/Catalina/oahu/cowabunga.xml !-- etc... -- which will look (minimally!) like Context docBase=/www/oahu/ROOT !-- define Resources, etc. -- /Context That's it. Restart tomcat. Done. See, wasn't that easy? :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED

Re: Cannot get a connection, pool exhausted

2005-04-02 Thread Hassan Schroeder
/commons/dbcp/apidocs/index.html HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe

Re: Tomcat Connection refused :-(

2005-04-01 Thread Hassan Schroeder
and why Tomcat stops initializing HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e

Re: Newbie help

2005-03-21 Thread Hassan Schroeder
the setup and configuration pages for the version of Tomcat you're using? e.g., http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html That's the how-to you're looking for, I suspect... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567

Re: Tomcat rookie needs help building application

2005-03-20 Thread Hassan Schroeder
line. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: php and apache tomcat

2005-03-20 Thread Hassan Schroeder
for running one calendar app, or some such trivia :-) The servlet build function seems to be missing in PHP5, though. FWIW, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Problem with Tomcat caching old pages that it shouldn't

2005-03-16 Thread Hassan Schroeder
. Please post back the results of your testing :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Installation Issues Revisited - AIX 5.2

2005-03-16 Thread Hassan Schroeder
matters :-) (Not to mention that `request.setRealPath()` is deprecated...) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: {OT] Re: Jumping in and out of JSP

2005-03-15 Thread Hassan Schroeder
around...) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL

Re: Scoping of JNDI Resources?

2005-03-14 Thread Hassan Schroeder
-TO. The resources defined in this element are not visible in the per-web-application contexts unless you explicitly link them with ResourceLink elements. :: as refuting the above concern... But I don't have time to test that theory right now :-) HTH! -- Hassan Schroeder

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
, but the Server Configuration Reference (again, this is for the 5.0 branch, adjust as required) covers it all, element by element: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
/tomcat-5.5-doc/config/realm.html :: says: You may nest a Realm inside any Catalina container Engine, Host, or Context). Not tested -- I'm also running 5.5.7, but my DataSourceRealm is applied globally -- but that sounds like it fits the bill... -- Hassan Schroeder

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-09 Thread Hassan Schroeder
to taste -- works for me :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Hassan Schroeder
the DataSourceReal provide any help here? I'm using a DataSourceRealm with 5.5.7 and not seeing any problems reconnecting at any time (MySQL 4.1.7 + Connector/J 3.1.6)... FWIW, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Hassan Schroeder
authentication traffic to really show up the 33357 bug, but I *certainly* exceed the connection timeout period. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Hassan Schroeder
raghavendra datt wrote: Can you please tell me how to figure out whether firewall is running or not? To check whether that port is being blocked: C:\telnet localhost 8080 You'll see either tomcat responding or something (firewall, or ...) preventing access :-) HTH! -- Hassan Schroeder

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Hassan Schroeder
on it; those apps, which all worked fine outside the $CATALINA_HOME/webapps directory, used forward slashes like: Context docBase=C:/myWebApp path=/something You might check the appBase definition of your Host element :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED

Re: What does each part of a className mean?

2005-02-14 Thread Hassan Schroeder
. Good luck! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Enabling CGI

2005-02-11 Thread Hassan Schroeder
couldn't be much simpler, unless it were configured for CGI by default :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: What does each part of a className mean?

2005-02-10 Thread Hassan Schroeder
Chris Hosler wrote: I am having a problem getting SSL to work on my tomcat 5 sever Read this: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html If, after that, you're still having problems -- let us know. :-) -- Hassan Schroeder - [EMAIL PROTECTED

Re: Virtual domains

2005-01-24 Thread Hassan Schroeder
/config/host.html -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL

Re: multiple ips, multiple ssl certificates and port forwarding

2005-01-18 Thread Hassan Schroeder
server.xml and the one you previously sent. I would seriously urge you to turn off the port-forwarding, change the connectors to standard ports 80 and 443 and test again. :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: multiple ips, multiple ssl certificates and port forwarding

2005-01-18 Thread Hassan Schroeder
my approach. which tomcat version are you using? could you send me an anonymized version of your config? I'll send you a sample server.xml offlist (for a 4.1.x install). -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http

Re: multiple ips, multiple ssl certificates and port forwarding

2005-01-17 Thread Hassan Schroeder
haven't done this myself. I have, and none of my installations use .keystore as the file name... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: multiple ips, multiple ssl certificates and port forwarding

2005-01-17 Thread Hassan Schroeder
in the Connectors instead of redirecting through iptables? 2) what's the point of the multiple Services? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
inside of Tomcat, or will I need to use mod_jk. If the system in question has multiple IP addresses, yes. Configure your Tomcat connector to listen to the appropriate address(es) on port 80 and configure Apache to listen to the other address(es). -- Hassan Schroeder - [EMAIL

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
Is this possible? Yeah, but with only one IP you'll have to use mod_jk or mod_proxy. I'd say adding an IP address would be the easier setup :-) FWIW, this is how I run my dev box -- a couple of IP addresses for different versions of Tomcat and one for Apache (for the occasional PHP job). -- Hassan Schroeder

Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
in front of Tomcat, but that generally looked OK. Try it. You certainly won't need to use mod_rewrite, though. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: JSP under /WEB-INF folder

2004-12-28 Thread Hassan Schroeder
:-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: JSP under /WEB-INF folder

2004-12-26 Thread Hassan Schroeder
=/scripts/example.js/script :: will work fine. The client UA can access them directly (and cache them, which is usually a desirable behavior). HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
know how much more portable you want it to be :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
Robert Taylor wrote: Does this not imply that I can do what I am trying to do? I suppose; I'm just baffled why you want to reinvent this particular built-in wheel, but don't let that stop you :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-14 Thread Hassan Schroeder
. and return a user friendly page/message when a .jsp page is requested without going through the controller? A custom 404 page should take care of it. And you can get as fancy with that as you like :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design

Re: Tomcat 5.5.6 Admin Package

2004-12-13 Thread Hassan Schroeder
And if you're using the minimal server.xml example, you'll want to add the two Listeners from the top of the full server.xml. (re)start Tomcat... HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

Re: Problems whith admin application and users management

2004-12-13 Thread Hassan Schroeder
missing these two lines found in the full-figured example server.xml file :-) Listener className=org.apache.catalina.mbeans.ServerLifecycleListener/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener/ Add, restart, admin app is now happy... -- Hassan Schroeder

Re: Problems whith admin application and users management

2004-12-12 Thread Hassan Schroeder
tMBeanServerInterceptor.java:1010) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e

  1   2   >