Re: setup for web designers?

2005-12-13 Thread Hassan Schroeder
nd is sent to the > browser. Either Read The Fine Manual :-) <http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html> :: to enable SSI in Tomcat, or use a JSP (or JSTL) include. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Des

Re: URL rewriting best practice?

2005-12-15 Thread Hassan Schroeder
Bruno Georges wrote: > you can write a servlet filter for this. ... or use an existing one: <http://tuckey.org/urlrewrite/> FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtu

Re: MultipartRequest problem

2005-12-15 Thread Hassan Schroeder
ve me a hint here? google 'MultipartRequest' -- first hit :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code.

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Hassan Schroeder
t the easiest and most performant fix would be for doHead() to not return Content-Length at all; the more-useful-but-slower approach would be to build the page/count bytes/discard and I'm not sure I'd want to see that... Perhaps someone else will have an opinion :-) -- Hassan Schr

Re: c:import doesn't work right with HEAD requests

2005-12-18 Thread Hassan Schroeder
page, but there is nothing between the brackets. > You can't see in the test case that I sent, but this causes all sorts of > problems if you have code that tries to use the data that c:import > supposedly loads. It sounds like a problem to develop an app based on behavior that&#x

Re: bug in manager port?

2005-12-21 Thread Hassan Schroeder
e port number 8080 is hard-coded in some place? Nope. The manager works fine on port 80 (or for that matter any other port I've ever tried) :-) Something else in your configuration is causing your problem. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Des

Re: Help me to run tomcat in cygwin.

2005-12-30 Thread Hassan Schroeder
Andrew.du wrote: > How to? Just Do It :-) Seriously, what's the question? Set CATALINA_HOME, JAVA_HOME, use $CATALINA_HOME/bin/catalina.sh instead of catalina.bat. That should be all it takes... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design ===

Re: Configuration Question

2006-01-04 Thread Hassan Schroeder
. > > Any ideas why this is occuring, and any ideas to redirect the bad url > to the good one? My configuration is the opposite -- the cert is for "example.com", not "www.example.com". But I use a Filter to redirect any requests for th

Re: Absolute Guide for config of JDBC Connection Pool ?

2006-01-20 Thread Hassan Schroeder
address once I have "hello world" on XP working "I'll fix the broken configuration after I have it running"? Maybe not the ideal approach. :-) FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 =

Re: configure tomcat 5.x to see index without redirects?

2006-02-12 Thread Hassan Schroeder
irect) from /index.jsp to /unique/index.jsp HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Update: Robots cannot read JSP?

2006-02-17 Thread Hassan Schroeder
d just be 'http://www.theuniquepear.com/welcome.do' which you could map as the welcome file. No redirects required. If, for some reason, you still can't or won't do this, configure your contexts as crossContext="true" and *forward* -- not redirect -- from

Re: NT Service and JRockit

2006-03-17 Thread Hassan Schroeder
benchmarking, why are you wasting time with the installer? Install the tar file version, make copies of the startup scripts and configure one of each to use the target JVM. FWIW! -- Hassan Schroeder [EMAIL PROTECTED] --

Re: RES: question regarding alias for context

2006-03-23 Thread Hassan Schroeder
ute of the Context element in the Tomcat docs. If set, you can get a RequestDispatcher for another Context on the same host. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROT

Re: RES: question regarding alias for context

2006-03-23 Thread Hassan Schroeder
On 3/23/06, Alan Honczar <[EMAIL PROTECTED]> wrote: > I think that it will be the way, because mod_rewrite is available for Apache2 > and latest... mod_rewrite is available from Apache 1.2 on, actually <http://httpd.apache.org/docs/1.3/mod/index.html> -

Re: compression filter

2006-04-12 Thread Hassan Schroeder
On 4/12/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > Any clues where to acquire jar for compressionFilter ??? source and compiled files are in the servlets-examples webapp... HTH! -- Hassan Schroeder [EMAIL

Re: Relative Link Question

2006-04-17 Thread Hassan Schroeder
On 4/17/06, biai <[EMAIL PROTECTED]> wrote: > I have 3 virtual hosts on the server, so I cannot atribute ROOT to all of > them. Of course you can; just use a different appBase for each host. HTH, -- Hassan Schroeder [EMA

Re: Relative Link Question

2006-04-17 Thread Hassan Schroeder
nd putting all your appBases outside of $CATALINA_HOME -- it makes it a lot easier to upgrade, back up, etc. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Relative Link Question

2006-04-19 Thread Hassan Schroeder
u have two hosts named 'calvin' and 'hobbes'. Create separate directories like /webapps/calvin /webapps/hobbes In your Host elements specify one of those as the appBase for that host. Put your default webapp for each one in /webapps/calvin/ROOT /webapps/hobbes/ROOT Done. -

Re: Intalling two SSL certificates

2006-05-04 Thread Hassan Schroeder
ied to install both cerfiticates using the same keysotre and different aliases, but it does not work. Should I use different keystores...? Yes, create a Connector element for each IP address, a keystore for each Connector, and set the keystoreFile attributes accordingly. HTH, -- Hassan Sch

Re: Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Hassan Schroeder
app to redirect to the preferred hostname. You can also use it to redirect traffic that doesn't need to be SSL to the corresponding http:// url... FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To

Re: URL with WWW problem

2006-05-09 Thread Hassan Schroeder
On 5/9/06, Scott Purcell <[EMAIL PROTECTED]> wrote: I know someone yesterday mentioned filters, but I could not find any examples of this type via a heavy google search. <http://tuckey.org/urlrewrite/> -- Hassan Schroeder [EMA

Re: Tomcat 5.5 + VirtualHosts + SSL

2006-05-10 Thread Hassan Schroeder
st, start Tomcat, connect? -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5.5 Upgrade Problems

2006-05-14 Thread Hassan Schroeder
say what. Can you make a simple WAR of a test case? -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie: Help on directory structure

2006-05-18 Thread Hassan Schroeder
in web.xml, e.g. LoginServlet UserConfig.login LoginServlet /login HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie: Help on directory structure

2006-05-18 Thread Hassan Schroeder
n the Tomcat web site (in conjunction with the Servlet spec) :-) FWIW! -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Virtual Host problem with classpath

2006-05-19 Thread Hassan Schroeder
Try that and see if your classpath issues disappear. And for troubleshooting at least, it may help to use absolute paths in your configs to avoid confusion... HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To u

Re: Posting questions to the list

2006-05-19 Thread Hassan Schroeder
On 5/19/06, keyur sheth <[EMAIL PROTECTED]> wrote: So can you tell me the reason why I am unable to do that. No. :-) Certainly not without seeing the relevant part of your server.xml and the relevant parts of your server logs. P.S. Using a real subject line would be a good idea... --

Re: Posting questions to the list

2006-05-19 Thread Hassan Schroeder
On 5/19/06, keyur sheth <[EMAIL PROTECTED]> wrote: So attached is the part of the server.xml file for non-SSL and SSL ? no keystorePass? or just using the default? In any case, the critical information is: what do your logs say? -- Hassan Sch

Re: Posting questions to the list

2006-05-19 Thread Hassan Schroeder
On 5/19/06, keyur sheth <[EMAIL PROTECTED]> wrote: But I don't know what should see in the log directory and which file specifically. There shouldn't be that many to choose from, but in any case, the one with errors in it :-) -- Hassan Schroeder

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Hassan Schroeder
/servlet" in there -- read the Tomcat doc or google for "Tomcat invoker servlet" to understand why... HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: error page

2006-05-20 Thread Hassan Schroeder
o the browser is "HTTP 500". Sounds correct to me -- that's the error code. Are you saying that your JSP2 error page doesn't generate any visible output? Is it possible you're using MS IE and your page's output falls below the "show friendly (sic) messages" thresho

Re: Re: error page

2006-05-20 Thread Hassan Schroeder
reshold value -- I forget exactly how big -- but you should test using some other browser (Firefox, Opera, whatever). -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
-- if it's "smsinfo" -- then of course the above path has to reflect that, e.g. The url-mapping in web.xml is relative to the context; HTML href or form action attributes are relative to the server. HTH, -- Hassan Schroeder ---

Re: Problem with Tomcat Unexpectedly Shutting Down

2006-05-21 Thread Hassan Schroeder
ou'll have a snapshot of memory use leading up to the end, which might offer some clues. You could also use the Tomcat manager interface to grab status from the system periodically for post-crash analysis. HTH! -- Hassan Schroeder ---

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
you have a burning *need* to do this (*must* run PHP, FastCGI for Rails, or some such)? If not, I'd say don't do it :-) And if you must, get a second IP and run Apache httpd separately on that. The list archives are full of discussion on this -- that may help you decide. R

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
or some non-Java applications. Keeping them totally separate from your Tomcat installation seems a lot easier (more maintainable) to me. YMMV. :-) HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To unsubscribe

Re: Running Tomcat with different JDKs under SuSE-SE-9.0

2006-05-24 Thread Hassan Schroeder
On 5/24/06, Markus Ludwig Grandpre <[EMAIL PROTECTED]> wrote: I'd like to run jakarta-tomcat-5.0.19 with two different JDKs: on a SuSE-SE-9.0 system. I'd be glad to receive any help from you. And the problem is? -- Hassan Schroeder

Re: More (Unending) "Resource Not Found"/ Directory Problems

2006-05-25 Thread Hassan Schroeder
he hell you're supposed to organize a directory structure with multiple applications? Exactly as you have it, as proven by the fact that the ROOT and example contexts work -- it's your context config that's causing your problem. HTH! -- Hassan Schroeder

Re: More (Unending) "Resource Not Found"/ Directory Problems

2006-05-25 Thread Hassan Schroeder
look closely* at each element and attribute and *check them against the doc*. It'll save you a lot of unneccessary frustration. Really. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-

Re: More (Unending) "Resource Not Found"/ Directory Problems

2006-05-25 Thread Hassan Schroeder
in your log when you start up Tomcat now? There should be some reference to why /smsinfo isn't found, or isn't starting. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: us

Re: [help] blank index.jsp on Tomcat 5.5.9

2006-05-25 Thread Hassan Schroeder
ect to that instead of just forwarding, but have you tried `response.sendRedirect("/welcome.jsf");` ? For that matter, why not just add 'welcome.jsf' to your welcome file list? :-) Anyway -- Is it the first line in your page? No white space being sent first? -- Hassan Schr

Re: Re: [help] blank index.jsp on Tomcat 5.5.9

2006-05-26 Thread Hassan Schroeder
On 5/26/06, Garner Shawn <[EMAIL PROTECTED]> wrote: I thought the welcome page had to be a .jsp or .html according to the servlet spec? ? Where do you see that in the spec? -- Hassan Schroeder [EMAIL PRO

Re: Re: [help] blank index.jsp on Tomcat 5.5.9

2006-05-28 Thread Hassan Schroeder
and I'll try it on an existing working install. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to install php on tomcat?

2006-06-09 Thread Hassan Schroeder
in quite a while :-) The PHP4 servlet worked, but wasn't all that stable, in my limited experience. And when it crashed it took the whole JVM with it, so I didn't think it suitable for production. YMMV. HTH! -- Hassan Schroeder ---

Re: how to install php on tomcat?

2006-06-09 Thread Hassan Schroeder
o your operating environment. IMHO :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Problem with tag library calling

2006-06-14 Thread Hassan Schroeder
)(nor does it match any examples in JSP.7.3)... -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Handling expired client certificate

2006-11-01 Thread Hassan Schroeder
in your web.xml? java.security.cert.CertificateExpiredException /WEB-INF/errors/expired.jsp -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAI

Re: Thread pool per webapp?

2006-11-03 Thread Hassan Schroeder
On 11/3/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Does anyone else suspect that Martin is actually an expert system designed to read and respond to mailing list posts, but is totally failing the Turing test? Yeah, I've been thinking exactly that for a while now. :-)

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Hassan Schroeder
there's a valid reason -- Create separate virtual hosts with unique AppBases and run each project as ROOT in its own vhost. End of problem. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To star

Re: Switching between 2 projects, each setup at Tomcat's ROOT context deletes the source folder of the 2nd project.

2006-11-09 Thread Hassan Schroeder
et science, and having multiple aliased hosts on your desktop can simplify a developer's life immensely. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Hassan Schroeder
t, not in your path. What happens with /usr/java/jdk1.5.0_04/bin/java -version I've used .rpm distrib from sun web cite and alien tool to convert it to .deb. Personally I'd uninstall /whatever/ that thing is, and install directly from the Sun .bin version. :-) -- Hassan Schroeder --

Re: How do I enable HTTP Sessions after setting up Virtual Hosts?

2006-11-11 Thread Hassan Schroeder
but that Context path is wrong -- should be "" (null path) for the default Context. (Just guessing that it might cause a mismatched path in the session cookie.) So fix that first. :-) -- Hassan Schroeder ---

Re: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Hassan Schroeder
bute in a context.xml file under META-INF, and is that *really* what you want the path to be? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-m

Tomcat 5.5 Virtual Hosting How-To

2006-11-14 Thread Hassan Schroeder
/divide/whatever. :-) On- or off-list is fine, as you prefer. Thanks! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Proxy setting on Tomcat

2006-11-15 Thread Hassan Schroeder
On 11/15/06, Ernie Ho <[EMAIL PROTECTED]> wrote: my tomcat server is behind a proxy; how would you specify the proxy setting? Is there some config file to edit? The *client* that's trying to *connect to* Tomcat needs to be configured to know about the proxy. -- Hassa

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Hassan Schroeder
- it's irrelevant and ignored, since the path is derived from the name of the WAR file. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-m

Re: Manager deploy uploaded war - doesn't use the /WEB-INF/context.xml

2006-11-15 Thread Hassan Schroeder
On 11/15/06, Tim Alberts <[EMAIL PROTECTED]> wrote: >path is derived from the name of the WAR file. If it is ignored, how can it be specified when uploading a war file via the manager? As originally stated -- it's the name of the WAR file. -- Ha

Re: standard Apache 2.2 & Tomcat 5.5 config to avoid open-proxies

2006-12-02 Thread Hassan Schroeder
ml#access> -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: big image only appear at half

2006-12-06 Thread Hassan Schroeder
t in the middle) Perhaps a browser problem? What happens if you use wget or similar to fetch the image? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsu

Re: big image only appear at half

2006-12-06 Thread Hassan Schroeder
ween apache (mod_jk) and tomcat, but which parameter could affect this ? Interesting, but I haven't used mod_jk since last century :-) As another data point, though, you might try it with mod_proxy_ajp to isolate the AJP Connector. HTH! -- Hassan Schroeder

Re: Is this possibe? mod_jk <==SSL==> AJP/1.3

2006-12-07 Thread Hassan Schroeder
On 12/7/06, dfelicia <[EMAIL PROTECTED]> wrote: mod_proxy is ... It also doesn't offer load-balancing, Not true; see <http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html> I've used this recently (with mod_proxy_ajp) and it worked fine. :-) FWI

Re: Is this possibe? mod_jk <==SSL==> AJP/1.3

2006-12-08 Thread Hassan Schroeder
lushpackets" parameter to the ProxyPass directive <http://httpd.apache.org/docs/2.2/mod/mod_proxy.html> :-) FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: user

Re: how to set up a web app that initially only serves static content?

2006-12-09 Thread Hassan Schroeder
does that mean? Are you using something other than a Web browser? If it's a 404 problem, what do your access logs show? A little more info would help... :-) -- Hassan Schroeder [EMAIL PROTECTED] -

Re: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-13 Thread Hassan Schroeder
ething like (.bashrc example) export JAVA_HOME=/usr/local/jdk1.5.0_06 export JRE_HOME=$JAVA_HOME/jre export PATH=$JAVA_HOME/bin:$JRE_HOME/bin: ... all your other path entries ... HTH, -- Hassan Schroeder [EMAI

Re: Host element question

2006-12-13 Thread Hassan Schroeder
uck on Windows, in something like c:\WINDOWS\system32\drrivers\etc\hosts). An easy and convenient way to separate projects that each need (or expect) their own ROOT context. FWIW, -- Hassan Schroeder [EMAIL PRO

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
in my configuration The Connector on the test system above is configured with sslProtocol="TLS" so you might consider Chuck's suggestion for starters... -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
enter something after the "Escape character is '^]'." line the result is a blank line and connection closed. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users

Re: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Hassan Schroeder
y qualified) name. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SSL Setup From Site

2006-12-13 Thread Hassan Schroeder
mething* loggedl :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
10.0 So, pretty close :-) I need to check if this particular version of tomcat (jvm) when set up for ssl response with strange bits when telneting to the ssl port. ... and same as before, only a blank line response/close connection. FWIW! -- Hassan Schroeder

Re: How to get User Access logs in tomcat

2006-12-13 Thread Hassan Schroeder
, because I just pasted that Valve config into my vanilla 5.5.20 server.xml, restarted, loaded the index page, and got (as expected) a new logfile named "access_webapp.2006-12-13.log" with appropriate contents... FWIW, -- Hassan Schroeder ---

Re: strange ssl tomcat response

2006-12-14 Thread Hassan Schroeder
Yes, trying this (http://localhost:8443) with FF results in a prompt to download a BIN file, which turns out to be: prompt> od -a ldlepaov\(2\).bin 000 nak etx soh nul stx stx nl 007 I'll leave interpretation of the "correctness" of that to you :-) -

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Hassan Schroeder
On 12/14/06, Sachin Patel <[EMAIL PROTECTED]> wrote: I have a directory webapps/ABC2 in tomcat 5.5.20 I want to access it using http://localhost:8080/ABC instead of http://localhost:8080/ABC2 Then *rename the directory*; end of problem. :-) -- Hassan Sch

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Hassan Schroeder
rcumstance would preclude your changing a directory name?? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: PHP on Tomcat

2006-12-14 Thread Hassan Schroeder
call "patching source" at all. It built, it ran, but with only marginal stability (and when it crashed, the whole VM crashed). Not production-ready, certainly. YMMV! -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: Help: Enabling SSL

2006-12-15 Thread Hassan Schroeder
On 12/15/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: For 6.0, you need the attribute SSLEnabled="true" in your element: Ah, and that's missing from the sample 8443 Connector config in the 6.0.2 distribution, though it's in 6.0.4. -- Hassan Schroeder -

Re: Servlet with POST Request

2006-12-15 Thread Hassan Schroeder
a line by line basis. Have you tried this yet? request.getReader() would seem to cover your situation, assuming this isn't binary data. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-

Re: Servlet with POST Request

2006-12-15 Thread Hassan Schroeder
rintln(line); } RequestDispatcher rd = this.getServletContext().getRequestDispatcher("/WEB-INF/jsp/screen/screen-post.jsp"); rd.forward(request, response); } } POSTed content is written to catalina.out as I'd ex

Re: Notification of expiring sessions

2006-12-19 Thread Hassan Schroeder
objects are serializable. So it's not clear what value shifting all that to a DB would add... YMMV, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To uns

Re: Servlet with POST Request

2006-12-20 Thread Hassan Schroeder
ng the lines. "unlimited" is kind of vague -- are you talking hundreds, thousands? How time-consuming is the processing of each "adduser"? I doubt you really want to start a separate thread for each one :-) -- Hassan Schroeder ---

Re: Re-executing a servlet request

2006-12-21 Thread Hassan Schroeder
On 12/21/06, David Kerber <[EMAIL PROTECTED]> wrote: Nobody has a suggestion about this? Sure. I suggest you rephrase what you're actually trying to accomplish, because the original made utterly no sense to me :-) FWIW, -- Hassan Schroeder [EMAI

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-22 Thread Hassan Schroeder
:: I'd bet your basic configuration is wrong. What are your Host appBase and Context docBase, and where are they being set? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-22 Thread Hassan Schroeder
omcat-5.5.9\mywebapp\WEB-INF\classes\log4j.properties. :: which doesn't include a 'webapps' directory. Is that just a typo or are you setting Context atttributes (like docBase) somewhere else? -- Hassan Schroeder ---

Re: Tomcat on Gentoo from the horse, no hear say.

2006-12-24 Thread Hassan Schroeder
h cool, important, and useful stuff. Wow. And I thought there was already a surfeit under the tree. :-) Is there a URL to documentation of all these wonders? -- Hassan Schroeder [EMAIL PROTECTED] - To s

Re: Virtual Hosts

2006-12-27 Thread Hassan Schroeder
arts of your server.xml and Context files... -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: session#getId changes during doGet invocation under heavy load

2006-12-30 Thread Hassan Schroeder
On 12/30/06, Peter Coppens <[EMAIL PROTECTED]> wrote: That said, I am baffled by the fact that some connections take >15minutes. Are you referring to MySQL connection setup time? Or query time? Either way, it certainly doesn't sound like a Tomcat problem... :-) -- Ha

Re: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
ns entries that affect the ports and addresses that Tomcat's using -- check those. HTH, and good luck! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org

Re: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
at is the "/usr/local/java/. . ." referring to? Is this needed for the website? Absolutely; that's the JDK referred to above. `java -version` will tell you which one; if it's 1.5.something you may want to just download and install the latest 1.5.x, ra

Re: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
scratch on the new machine, get it running, e.g. the example apps work, and then copy over the current production apps. FWIW! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@t

Re: How can we use php with tomcat

2007-01-03 Thread Hassan Schroeder
On 1/3/07, Le Phuoc Canh <[EMAIL PROTECTED]> wrote: Can we use php with tomcat ? Google is your friend: http://www.google.com/search?q=tomcat+php And the first entry: <http://wiki.apache.org/tomcat/UsingPhp> HTH! -- Hassan Schroeder [EMA

Re: Deploy from ant

2007-01-04 Thread Hassan Schroeder
ng for checking tiny changes in jsps to me. Amen to that :-) So why not just use the deployment directory as the development directory? Edit your JSP, click browser's reload, done. YMMV, of course :-) -- Hassan Schroeder [EMAI

Re: Wrong charset (is UTF-8 should be ISO 8859-1)

2007-01-04 Thread Hassan Schroeder
uot; that I'm used to from apache http server httpd.conf file. Try: grep -i encoding $CATALINA_HOME/conf/web.xml HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomc

Re: How to disable default servlet?

2007-01-08 Thread Hassan Schroeder
ured Apache httpd properly, Tomcat won't get any such requests, eh? :-) But you can also look at $CATALINA_HOME/conf/web.xml for the default servlet's servlet-mapping... HTH, -- Hassan Schroeder

Re: Using the balancer app to redirect. Well, trying to

2007-01-09 Thread Hassan Schroeder
derstand how name-based virtual hosting is *not* the solution to your "problem" here. It doesn't matter if "newsite1.org" has an IP shared with other hosts or domains, so why is it not in DNS? -- Hassan Schroeder [EMAIL PROTECTED] --

Re: No logging (or System.out) when I activate virtual hosts

2007-01-16 Thread Hassan Schroeder
When will you get the idea to take this to a JBoss list??? Logging in Tomcat works absolutely fine with virtual hosts in standalone mode, right out of the box. You're fishing in the wrong stream, here, I think... -- Hassan Schroeder [EMAI

Re: No logging (or System.out) when I activate virtual hosts

2007-01-16 Thread Hassan Schroeder
nfiguration just to see how logging works normally. Then transfer that test case to your JBoss environment and see what happens. Good luck, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Hassan Schroeder
On 1/17/07, Ortwin Glück <[EMAIL PROTECTED]> wrote: But I wanted to use mod_jk because it can do load-balancing. ...as does mod_proxy via mod_proxy_balancer -- see: <http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html> FWIW! -- Hassan Schroeder ---

Re: mod_jk replacement?

2007-01-21 Thread Hassan Schroeder
even using an emerging JVM scripting language, e.g. Groovy). YMMV! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: mod_jk replacement?

2007-01-22 Thread Hassan Schroeder
in production on Linux boxes, but I have no experience with it on Windows. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

TC6, SRV 2.5, annotations

2007-01-27 Thread Hassan Schroeder
e. I added a metadata-complete="false" to the web.xml declaration just to be on the safe side, but no change. The Filter is declared and mapped in web.xml in the usual way, and works fine sans annotation. Anyone using this successfully? TIA! -- Hassan Schroeder -

<    1   2   3   4   5   6   7   8   9   10   >