Re: Subdomains and Tomcat...

2007-03-22 Thread Hassan Schroeder
, you set these each up as virtual hosts... HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: A disk directory context without cache

2007-03-21 Thread Hassan Schroeder
listing isn't on by default; if you want it, you'll need to make that change in web.xml. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Hassan Schroeder
an appBase for each host, e.g. Host name=domain1.com appBase=foo/ Host name=domain1.com appBase=bar/ Now in $CATALINA_HOME/webapps/foo put your domain1.war renamed to ROOT.war and in $CATALINA_HOME/webapps/bar put domain2.war, likewise renamed to ROOT.war Restart. Done. -- Hassan Schroeder

Re: common JSTL tagging pattern is a problem for Tomcat

2007-03-20 Thread Hassan Schroeder
associated with an element type input must not contain the '' character. What's going on? Uh, that's the way XML works -- you can't nest tags like that. But First Name: input type=text name=${status.expression} will work, assuming a 2.4 or greater web.xml... HTH, -- Hassan Schroeder

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Hassan Schroeder
this configuration. FWIW, -- 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: Could filter redirect the request from one servlet to another servlet ?

2007-03-13 Thread Hassan Schroeder
to reiterate David's point: put your forwarding filter /last/ in the chain, and it'll be fine; I've done this in the past with no problems. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail

Re: How does one configure Plain host domain url to run web app?

2007-03-13 Thread Hassan Schroeder
, mod_proxy_ajp is far simpler to configure than mod_jk. But if not, simplify your life :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

Re: Another howto: Load Balancer + fail over (two active Tomcats, one backup Tomcat)

2007-03-07 Thread Hassan Schroeder
point you use `ifconfig` to add the failed IP to the working httpd box and it's back to 100% :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Re: Named based virtual host redirection

2007-03-06 Thread Hassan Schroeder
/ ProxyPassReverse / http://fred.abc.co.uk/app1/ /VirtualHost This almost works, but it only appears to show the html content, not the JSP. Does anybody have any suggestions how to make this work? 1. move your static content to Tomcat, 2. use mod_proxy_ajp instead of mod_jk FWIW! -- Hassan

Re: Tomcat 6 will not compile under Windows with the current Java

2007-03-02 Thread Hassan Schroeder
log4j, drop the jar file in there, and you're done, eh? Or am I totally missing something? :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Re: Writing My Own Connector

2007-03-02 Thread Hassan Schroeder
be the best documentation of what you'll have to change :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
with www.website1.com? :-) Uh, why *wouldn't* it? Isn't that the whole point of named virtual hosts? And given that's it's trivial to simply /try/ this and see that it does in fact work exactly this way... FWIW, -- Hassan Schroeder [EMAIL PROTECTED

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
or not -- the names, as Charles already said, are what are matched. If you're still having trouble, post the relevant parts of your server.xml. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
to. So do you actually have a registered domain? Does the IP address point to your server? If so, you're set. Lather, rinse, repeat. :-) -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail

Re: how to setup multiple CATALINA_BASE

2007-03-01 Thread Hassan Schroeder
multiple connectors for specific addresses (to handle SSL, etc.). Again, if you're still having problems, post your configuration and more specifics. -- Hassan Schroeder [EMAIL PROTECTED] - To start

Re: Persisting Sessions to Database for Fault-Tolerance

2007-02-20 Thread Hassan Schroeder
? -- 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: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Hassan Schroeder
or not. If not, check the logs, and if so, check for firewall/iptables/whatever problems. Good luck, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe

Re: Installing Tomcat 6.0.9 on Sun Solaris

2007-02-19 Thread Hassan Schroeder
On 2/19/07, Daniel Gresh [EMAIL PROTECTED] wrote: However, startup.sh does not start the server apparently; I cannot connect to it from a browser You need to look in your server logs for the underlying problem that's preventing Tomcat from starting. -- Hassan Schroeder

Re: URL Redirect Question

2007-02-18 Thread Hassan Schroeder
On 2/17/07, Stanczak Group [EMAIL PROTECTED] wrote: So create a filter or is there one already to use? If you don't want to roll your own: http://tuckey.org/urlrewrite/ HTH, -- Hassan Schroeder [EMAIL PROTECTED

Re: Tomcat Apache SSL Unauthenticated Content

2007-02-16 Thread Hassan Schroeder
httpd is taking care of SSL, then this has nothing to do with Tomcat. You need to determine what's being requested that's not being delivered via HTTPS. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new

Re: Root context setup

2007-02-16 Thread Hassan Schroeder
On 2/16/07, Jim Goodspeed [EMAIL PROTECTED] wrote: I want myapp.war to be the default application Name it ROOT.war, which Tomcat recognizes as the default context. HTH, -- Hassan Schroeder [EMAIL PROTECTED

Re: Tomcat mysteriously shuts down

2007-02-15 Thread Hassan Schroeder
On 2/15/07, raine king [EMAIL PROTECTED] wrote: How do I check if another app is sending Tomcat messages? You could try the --log option in iptables. Or write a simple listener daemon to log the event if that doesn't provide enough data. FWIW, -- Hassan Schroeder

Re: Jsp gest 404 error

2007-02-15 Thread Hassan Schroeder
On 2/15/07, Coelho.Joao [EMAIL PROTECTED] wrote: Is there a way to get some logs going? Absolutely, and it's covered in the Fine Manual :-) Might be a good next stop... FWIW, -- Hassan Schroeder [EMAIL PROTECTED

Re: Jsp gest 404 error

2007-02-15 Thread Hassan Schroeder
/webapps/tomcat-docs HTH, -- 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

Re: [OT] RE: insight into model.do

2007-02-14 Thread Hassan Schroeder
likely somewhere other than the Tomcat install directory. HTH, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: 2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Hassan Schroeder
like JServ's soft shutdown Not that it' s definitive, but I've never heard of such a thing. Can somebody tell me what the Tomcat solution is? Yeah, don't worry, be happy; use session replication and just pull the plug whenever. At least that's worked for me :-) FWIW, -- Hassan Schroeder

Re: 2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Hassan Schroeder
On 2/13/07, Scott Danforth [EMAIL PROTECTED] wrote: The only problem is that my session data isn't serializable. So it isn't going anywhere in the near term. That is, indeed, a fly in the ointment ... :-) -- Hassan Schroeder [EMAIL PROTECTED

Re: Tomcat 5.5 redirect vs. forward behavior with welcome-file-list

2007-02-12 Thread Hassan Schroeder
: javax.servlet.forward.request_uri javax.servlet.forward.context_path javax.servlet.forward.servlet_path javax.servlet.forward.path_info javax.servlet.forward.query_string HTH! -- Hassan Schroeder [EMAIL PROTECTED

Re: Tomcat SSL configure for only one application.

2007-02-09 Thread Hassan Schroeder
different *hosts* or different webapps within the same host? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Hassan Schroeder
acquaintance with Oracle only :-) FWIW, -- 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

Re: Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Hassan Schroeder
:-) http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html -- Hassan Schroeder [EMAIL PROTECTED] - To start a new

Re: Session Affinity and Session Replication

2007-02-06 Thread Hassan Schroeder
and it worked fine. FWIW, -- 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

Re: Session Affinity and Session Replication

2007-02-06 Thread Hassan Schroeder
no worker configuration to it. In fact, having used mod_jk in the distant past, I was impressed by the simplicity of configuration of the mod_proxy_ajp setup. Might be worth a look :-) -- Hassan Schroeder [EMAIL PROTECTED

Re: Load Balancing Configuration

2007-02-06 Thread Hassan Schroeder
to respond to the IP of X. (You can criss-cross this if you're using round-robin-DNS.) Hacky zero-dollar failover, and duct tape left over :-) FWIW! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic

Re: Load Balancing Configuration

2007-02-06 Thread Hassan Schroeder
experience. Sorry! -- 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: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
at least passes the config test ( $APACHE_HOME/bin/apachectl -t ) HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
that from this connector and see what happens. FWIW, -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
to see what's really happening :-) This really shouldn't be this hard -- I've set up a similar config (but with multiple virtual hosts) pretty recently, and there was nothing to it. HTH, -- Hassan Schroeder [EMAIL PROTECTED

Re: FW: [OT] Re: Issues in Win2K with Wiki!

2007-02-02 Thread Hassan Schroeder
wiki.. HTH! -- 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]

TC6, SRV 2.5, annotations

2007-01-27 Thread Hassan Schroeder
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 [EMAIL PROTECTED

Re: mod_jk replacement?

2007-01-22 Thread Hassan Schroeder
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] For additional

Re: mod_jk replacement?

2007-01-21 Thread Hassan Schroeder
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 additional commands, e-mail: [EMAIL

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 [EMAIL PROTECTED

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

2007-01-16 Thread Hassan Schroeder
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 [EMAIL PROTECTED

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

2007-01-16 Thread Hassan Schroeder
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-mail: users

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

2007-01-09 Thread Hassan Schroeder
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] - To start a new

Re: How to disable default servlet?

2007-01-08 Thread Hassan Schroeder
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 [EMAIL PROTECTED

Re: Deploy from ant

2007-01-04 Thread Hassan Schroeder
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 [EMAIL PROTECTED

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

2007-01-04 Thread Hassan Schroeder
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@tomcat.apache.org To unsubscribe, e-mail

Re: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
using -- check those. HTH, and good luck! -- 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: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
/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, rather than just copy. -- Hassan Schroeder

Re: Moving Tomcat

2007-01-03 Thread Hassan Schroeder
. 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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

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 [EMAIL PROTECTED

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... :-) -- Hassan Schroeder

Re: Virtual Hosts

2006-12-27 Thread Hassan Schroeder
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-mail: [EMAIL

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

2006-12-24 Thread Hassan Schroeder
, 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 start

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

2006-12-22 Thread Hassan Schroeder
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-mail: users

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

2006-12-22 Thread Hassan Schroeder
else? -- 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: 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 [EMAIL PROTECTED

Re: Servlet with POST Request

2006-12-20 Thread Hassan Schroeder
. 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 [EMAIL PROTECTED

Re: Notification of expiring sessions

2006-12-19 Thread Hassan Schroeder
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 unsubscribe, e-mail

Re: Servlet with POST Request

2006-12-15 Thread Hassan Schroeder
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-mail: users

Re: Servlet with POST Request

2006-12-15 Thread Hassan Schroeder
); } 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 expect. -- 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 :-) -- Hassan Schroeder

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 Schroeder [EMAIL

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Hassan Schroeder
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 additional commands, e

Re: PHP on Tomcat

2006-12-14 Thread Hassan Schroeder
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] - To start a new topic, e

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

2006-12-13 Thread Hassan Schroeder
(.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 [EMAIL PROTECTED

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
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] - To start a new topic

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
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@tomcat.apache.org To unsubscribe, e-mail

Re: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Hassan Schroeder
) 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
org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Dec 13, 2006 11:46:36 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8443 And if a Connector failed to start, you should see *something* loggedl :-) -- Hassan

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
:-) 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 [EMAIL PROTECTED

Re: How to get User Access logs in tomcat

2006-12-13 Thread Hassan Schroeder
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 [EMAIL PROTECTED

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

2006-12-09 Thread Hassan Schroeder
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] - To start a new topic, e-mail: users@tomcat.apache.org

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

2006-12-08 Thread Hassan Schroeder
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: users@tomcat.apache.org To unsubscribe, e

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. :-) FWIW, -- Hassan Schroeder

Re: big image only appear at half

2006-12-06 Thread Hassan Schroeder
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 unsubscribe, e-mail: [EMAIL

Re: big image only appear at half

2006-12-06 Thread Hassan Schroeder
(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 [EMAIL PROTECTED

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

2006-12-02 Thread Hassan Schroeder
-- 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: 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. -- Hassan Schroeder

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

2006-11-15 Thread Hassan Schroeder
the path attribute -- 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

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. -- Hassan Schroeder

Re: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Hassan Schroeder
attribute 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

Tomcat 5.5 Virtual Hosting How-To

2006-11-14 Thread Hassan Schroeder
. :-) 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] For additional

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

2006-11-11 Thread Hassan Schroeder
Context path=/ docBase=C:/dev/projects/projectA/__source Dunno if it's related 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: Can't start tomcat on Debian Linux

2006-11-10 Thread Hassan Schroeder
. 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 [EMAIL

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
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 start a new topic, e-mail: users

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
simplify a developer's life immensely. :-) -- 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: 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. :-) -- Hassan

Re: Handling expired client certificate

2006-11-01 Thread Hassan Schroeder
-typejava.security.cert.CertificateExpiredException/exception-type location/WEB-INF/errors/expired.jsp/location /error-page -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users

Re: best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Hassan Schroeder
the time... HTH! -- 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: error while running a webapp

2006-10-06 Thread Hassan Schroeder
in a design pattern to implement a connection pool,,, Of course. As far as the OP's problem is concerned, some additional information like relevant log and code excerpts would be most helpful. Uh, did you look at the log excerpt in the referenced PDF? :-) -- Hassan Schroeder

Re: error while running a webapp

2006-10-05 Thread Hassan Schroeder
connecting to see if it's a simple timeout/transient failure or something more persistent. HTH! -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org

Re: New session PER REQUEST

2006-09-26 Thread Hassan Schroeder
probably whip up a sanitized sample config -- let me know. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: New session PER REQUEST

2006-09-25 Thread Hassan Schroeder
as www.abcdomain.com with no /abc identifier after it. (Does this make sense? No. Why don't you just have virtual hosts in Tomcat? That would seem the obvious way to handle this, whether you need Apache in front of it (for some other unrelated reason) or not. FWIW! -- Hassan Schroeder

Re: New session PER REQUEST

2006-09-25 Thread Hassan Schroeder
, but it didn't seem particularly onerous. And of course there may be some areas (e.g. your JavaScript example) that need unique tweaking depending on the individual webapp. FWIW! -- Hassan Schroeder [EMAIL PROTECTED

Re: How to test a tomcat virtual host?

2006-09-21 Thread Hassan Schroeder
(host1). My Question is: how can I test my other hosts (host2 and host3) Add them to your hosts file -- on Windows it's something similar to C: \WINNT\System32\drivers\etc\hosts HTH, -- Hassan Schroeder [EMAIL PROTECTED

Re: Uploading the file

2006-09-14 Thread Hassan Schroeder
On 9/14/06, Kristian Rink [EMAIL PROTECTED] wrote: ... Could this be due to a web-browser related timeout? You would certainly get more reproducible test results using, say, `curl` to do test uploads. -- Hassan Schroeder [EMAIL PROTECTED

Re: Apache2, Tomcat, and connectors

2006-09-12 Thread Hassan Schroeder
. :-) Anyway, does that address your use case? -- 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

<    3   4   5   6   7   8   9   10   >