Re: file upload servlet

2008-02-27 Thread Kimberly Begley
ah - ok - thanks for clearing that up. On Thu, Feb 28, 2008 at 4:59 PM, Bob Hall <[EMAIL PROTECTED]> wrote: > > --- 10:07PM Wed 27 Feb 2008 Kimberly Begley > <[EMAIL PROTECTED]> wrote: > > > Hi - I'm trying to compile come java code to upload > > a file but am getting > > errors - it looks like i

Re: file upload servlet

2008-02-27 Thread Bob Hall
--- 10:07PM Wed 27 Feb 2008 Kimberly Begley <[EMAIL PROTECTED]> wrote: > Hi - I'm trying to compile come java code to upload > a file but am getting > errors - it looks like it can't find the > javax.servlet stuff to import and > from what I've read online everyone talks about > having the direct

file upload servlet

2008-02-27 Thread Kimberly Begley
Hi - I'm trying to compile come java code to upload a file but am getting errors - it looks like it can't find the javax.servlet stuff to import and from what I've read online everyone talks about having the directory in the classpath but I have also read not to mess with my classpath - I'm trying

Re: Jmx with Java 1.4.2_16 and Tomcat 5.0

2008-02-27 Thread Bill Barker
"Farid Izem" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I'm used to deploy java 1.5.0 and Tomcat 5.5 with jmx enabled. With > this i can easily connect to MbeanServer using JConsole. > Is there a way to do exactly the same with Java 1.4.2_XX and Tomcat > 5.0 ? I'm f

Help on Tomcat configurations

2008-02-27 Thread Ryan Webb
Dear Apache-Tomcat, Hello, I am Ryan Webb from Philippines and this is my first time to use Tomcat. I have problem in configuring my Tomcat. -Situation: I have a computer and there are no other webserves (IIS, etc) installed, except tomcat 6.0.14 (full install). I deployed war file by copyin

RE: HOWTO: install a Tomcat web application on Fedora 7 [was: ...]

2008-02-27 Thread Lessie Z. Mitch
I have to go with Gabe on this one. I recently relied on a hosting vendor to 'configure tomcat accurately' in Linux, and what a nightmare! The problem is that TC is so customizable. Depending on your school of thought, you might like the distro version - or you might like the project version of i

Re: session JSESSIONID cookie domain

2008-02-27 Thread Gregory Gerard
I think the simplest way would just to be recompile Tomcat and hardcode the domain to your own purpose. The LB was the easiest for me but I'm running into different issues now... greg On Feb 27, 2008, at 5:56 PM, Raul Acevedo wrote: You ended up having your load balancer modify the cooki

Re: session JSESSIONID cookie domain

2008-02-27 Thread Raul Acevedo
You ended up having your load balancer modify the cookies so it could alter the domain? Yikes. Is there any way to do this in Tomcat? From other posts I've seen: http://marc.info/?l=tomcat-user&m=120179086031396&w=2 http://www.esus.be/blog/?p=3 It looks like it's possible to use a valve, but t

Tomcat 5.5, SSL and logs?

2008-02-27 Thread Jennifer Hammond
I have set up a Tomcat 5.5 server on a Windows machine. I modified the server.xml file to enable SSL, created and imported a self-signed cert using keytool, and it appears to be working. I can access https://myserver:8443 both locally and from another machine on the network. However, I am having

Re: session JSESSIONID cookie domain

2008-02-27 Thread Gregory Gerard
Same issue here. I had to go through some headache with the load balancer to duplicate JSESSIONID cookies so they'd be on the domain level and not just at the host level. greg On Feb 27, 2008, at 5:36 PM, Raul Acevedo wrote: Our app server will be accessed through two different domains, ht

session JSESSIONID cookie domain

2008-02-27 Thread Raul Acevedo
Our app server will be accessed through two different domains, http://www.foo.com and https://secure.foo.com. This won't work if the JSESSIONID cookie domain continues to default to www.foo.com. How can I configure JSESSIONID so the domain is .foo.com? Raul Acevedo http://www.cantara.com

Re: HOWTO: install a Tomcat web application on Fedora 7 [was: ...]

2008-02-27 Thread Gabe Wong
John Pye wrote: Here are some instructions that hopefully will be of use to future users: 1. To install tomcat on Fedora 7, just run "yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps". 2. Your configuration files are in /etc/tomcat5. You may need to edit server-minimal

Re: SSL encryption not done on connector

2008-02-27 Thread Pavel J
On Wed, Feb 27, 2008 at 5:17 PM, Caldarale, Charles R wrote: > > From: Pavel > > Subject: SSL encryption not done on connector > > > > This time I'm trying to use the "Windows Service > > Installer" (5.5.26), installed followed the instructions > > to enable the SSL with a simple self-signed certi

RE: SSL encryption not done on connector

2008-02-27 Thread Caldarale, Charles R
> From: Pavel [mailto:[EMAIL PROTECTED] > Subject: SSL encryption not done on connector > > This time I'm trying to use the "Windows Service > Installer" (5.5.26), installed followed the instructions > to enable the SSL with a simple self-signed certificate. Since you used the service installer

HOWTO: install a Tomcat web application on Fedora 7 [was: ...]

2008-02-27 Thread John Pye
Here are some instructions that hopefully will be of use to future users: 1. To install tomcat on Fedora 7, just run "yum install tomcat5 tomcat5-webapps tomcat5-admin-webapps". 2. Your configuration files are in /etc/tomcat5. You may need to edit server-minimal.xml to set the po

SSL encryption not done on connector

2008-02-27 Thread Pavel
Hi, I'm trying to configure SSL, following all the instructions, plus I kinda know the process because I've done it before on linux and it worked fine. This time I'm trying to use the "Windows Service Installer" (5.5.26), installed followed the instructions to enable the SSL with a simple sel

Re: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Martin Gainty
starting tomcat with command line %JAVA_OPTS% option java %JAVA_OPTS% -jar bootstrap.jar Unsure of incorporating that to windows service parameters..? Anyone? M-- - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, February 27,

Jmx with Java 1.4.2_16 and Tomcat 5.0

2008-02-27 Thread Farid Izem
Hi all, I'm used to deploy java 1.5.0 and Tomcat 5.5 with jmx enabled. With this i can easily connect to MbeanServer using JConsole. Is there a way to do exactly the same with Java 1.4.2_XX and Tomcat 5.0 ? I'm facing issue with this couple and i want be able To plug JMX JConsole. AS far as i hav

Frustrating Issue with default host

2008-02-27 Thread Vivek Singh
I m trying to setup tomcat as below. The host blocks have ips in them. I have a proxy configured in front of the tomcat with an external ip which receives all the request for the sites from the external world and contacts the tomcat (with different hosts configured). The problem is with Host name=

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread Mark Thomas
[EMAIL PROTECTED] wrote: hmm, I had those set = True for both, and I was getting that behavior, only when I set them both to false does it not seem to create the temp directories. maybe something else? Sorry - just did a copy and paste from your config. Setting them true is what causes the

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread interz12
hmm, I had those set = True for both, and I was getting that behavior, only when I set them both to false does it not seem to create the temp directories. maybe something else? On Feb 27, 2008, at 2:31 PM, Mark Thomas wrote: > AH NF wrote: >> Hi all, >> Ok so I have my ROOT.war and "/" host

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread interz12
Ok, so it seems that if I have both of those settings = "false", I don't get the 0-ROOT stuff created in /temp, however on application stop and undeploy I have lingering jars leftover and a new deploy will not unpack because the ROOT dir already exists On Feb 27, 2008, at 2:31 PM, Mark Thom

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread AH NF
Ok, so it seems that if I have both of those settings = "false", I don't get the 0-ROOT stuff created in /temp, however on application stop and undeploy I have lingering jars leftover and a new deploy will not unpack because the ROOT dir already exists On Feb 27, 2008, at 2:31 PM, Mark Tho

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread AH NF
hmm, I had those set = True for both, and I was getting that behavior, only when I set them both to false does it not seem to create the temp directories. maybe something else? On Feb 27, 2008, at 2:31 PM, Mark Thomas wrote: AH NF wrote: Hi all, Ok so I have my ROOT.war and "/" host all w

RE: Defining context inside conf/Catalina/localhost

2008-02-27 Thread Eqbal
That seems to have fixed it. Thanks for your help! --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Eqbal [mailto:[EMAIL PROTECTED] > > Subject: Defining context inside > conf/Catalina/localhost > > > > How do I define multiple contexts with same > docBase > > and a different cont

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread Mark Thomas
AH NF wrote: Hi all, Ok so I have my ROOT.war and "/" host all working as I would like. I startup tomcat with no application defined, and go to /manager. I upload my ROOT.war file,tomcat places it in myAppBase/ROOT as expected. The application boots up OK. My only problem is that Tomcat appea

RE: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat on Win2K3 Registry Edit. > > feel free to set these parameters in JAVA_OPTS environment > variable before invoking java The OP was referring to Tomcat installed as a Windows service - there's no JAVA_OPTS (or any other) envir

ProxyPaths and mod_proxy_ajp

2008-02-27 Thread Stephen Nelson-Smith
Hi, I have an application which, due to restrictions by third party developers must run on Tomcat 4.1.31 with Java version 1.4.2_11. I am deploying this on a new RHEL 5 machine, with httpd-2.2.3-11.el5_1.3. From my reading, it appears that mod_proxy_ajp is the way to go, and I aim to loadbalance

Re: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Martin Gainty
what does verify do? no operand overflow or underflow the types of all parameters of bytecode instructions are verified object field access is verified to be static, private, public, or protected http://java.sun.com/docs/white/langenv/Security.doc3.html -XmxSomeNumber where SomeNumber is the Ma

Re: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Panian, Ardo
I will give it a try both ways Thanks for your help. On Wed, Feb 27, 2008 at 3:52 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Panian, Ardo [mailto:[EMAIL PROTECTED] > > Subject: Re: Tomcat on Win2K3 Registry Edit. > > > > They told me that if the value (-noverify) is not in >

RE: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Caldarale, Charles R
> From: Panian, Ardo [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat on Win2K3 Registry Edit. > > They told me that if the value (-noverify) is not in > place then Tomcat runs slower due to it having to call > home (apache.org). The byte code verifier doesn't have to "call home" (or anywhere el

Re: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Panian, Ardo
The vendor does supply some of their own java classes (*.jar files). They told me that if the value (-noverify) is not in place then Tomcat runs slower due to it having to call home (apache.org). I am not sure how true this statement was. On Wed, Feb 27, 2008 at 3:39 PM, Caldarale, Charles R < [

RE: Defining context inside conf/Catalina/localhost

2008-02-27 Thread Caldarale, Charles R
> From: Eqbal [mailto:[EMAIL PROTECTED] > Subject: Defining context inside conf/Catalina/localhost > > How do I define multiple contexts with same docBase > and a different context name than the docBase > directory name? You have to specify an absolute path for the docBase attribute, and keep th

Tomcat 6.0.14: Using JMX to change URIEncoding

2008-02-27 Thread Gennis Emerson
I'm testing a web application under different configurations, some of which involve changing the character encoding in use. There's a filter that handles calling HttpServletRequest.setCharacterEncoding appropriately for each configuration, but in order to handle GET parameters I need to set the UR

RE: Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Caldarale, Charles R
> From: Panian, Ardo [mailto:[EMAIL PROTECTED] > Subject: Tomcat on Win2K3 Registry Edit. > > When installing Tomcat on a Win32 server I was instructed by > the software vendor to make a modifications to the following > Reg key: Not a good idea - too easy to mess it up. Use the Java tab of the

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread AH NF
Hi all, Ok so I have my ROOT.war and "/" host all working as I would like. I startup tomcat with no application defined, and go to /manager. I upload my ROOT.war file,tomcat places it in myAppBase/ROOT as expected. The application boots up OK. My only problem is that Tomcat appears to actuall

RE: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Caldarale, Charles R
> From: Andrew R Feller [mailto:[EMAIL PROTECTED] > Subject: RE: Storing sessions to disk like Apache HTTP server > > Actually, the system we are concerned about will have tens of > thousands of concurrent users. Number of users != number of sessions, unless they all log in and stay logged in c

Defining context inside conf/Catalina/localhost

2008-02-27 Thread Eqbal
Hi, I am trying to move my context definitions from server.xml to conf/Caralina/localhost directory. I am having trouble defining multiple contexts with same docBase. It appears tomcat looks for a directory named with the XML file name in the webapps folder. How do I define multiple contexts wit

RE: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Andrew R Feller
Actually, the system we are concerned about will have tens of thousands of concurrent users. We are using a Java-based Single Sign On solution to tie together our various applications. Given that we have 30,000 students and another 5,000 - 7,000 faculty and staff, we can have a lot of activity.

Tomcat on Win2K3 Registry Edit.

2008-02-27 Thread Panian, Ardo
When installing Tomcat on a Win32 server I was instructed by the software vendor to make a modifications to the following Reg key: *HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters* "*JavaOptions*" I was asked to add: -noverify AND -Xmx1024 Could so

RE: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Caldarale, Charles R
> From: Andrew R Feller [mailto:[EMAIL PROTECTED] > Subject: RE: Storing sessions to disk like Apache HTTP server > > Some coworkers had concern that Java applications had difficulties > scaling due to session information kept within memory. Do you really think you're going to have tens of thous

RE: access Connector Address from within war file

2008-02-27 Thread Caldarale, Charles R
> From: Stephen More [mailto:[EMAIL PROTECTED] > Subject: Re: access Connector Address from within war file > > instance one will be 1.2.3.4:8080 > instance two will be 1.2.3.5:8080 > instance three will be 1.2.3.6:8080 JConsole shows an MBean for each connector as something like the following:

Re: access Connector Address from within war file

2008-02-27 Thread Mark Thomas
Stephen More wrote: On Wed, Feb 27, 2008 at 12:26 PM, Caldarale, Charles R wrote: > From within a war file, I need to access the Connector Address. Why don't you tell us what you're really trying to do, and what Tomcat level you're trying to do it on. It's not at all clear what you mean b

Re: Incorrect cookie value in tomcat5.5.26

2008-02-27 Thread devlists
hi Sushil that scenario works just fine for me. you would have to show your actual code (and a test case) for me to analyze your actual problem Filip Sushil Vegad wrote: > Hello Filip, > > Please let me know your thoughts on this. > > Our scenario is: > We set the username in the cookie when the

Re: access Connector Address from within war file

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 12:26 PM, Caldarale, Charles R wrote: > > From within a war file, I need to access the Connector Address. > > Why don't you tell us what you're really trying to do, and what Tomcat > level you're trying to do it on. > > It's not at all clear what you mean by "Connector

RE: access Connector Address from within war file

2008-02-27 Thread Caldarale, Charles R
> From: AH NF [mailto:[EMAIL PROTECTED] > Subject: Re: access Connector Address from within war file > > Cancel my last email regarding ROOT/ROOT my mistake, my WAR had the > dir ROOT defined in it, hence the root/root path Glad you found it. I just finished duplicating what you were trying t

Re: Incorrect cookie value in tomcat5.5.26

2008-02-27 Thread Filip Hanik - Dev Lists
hi Sushil that scenario works just fine for me. you would have to show your actual code (and a test case) for me to analyze your actual problem Filip Sushil Vegad wrote: Hello Filip, Please let me know your thoughts on this. Our scenario is: We set the username in the cookie when the user l

RE: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Andrew R Feller
Some coworkers had concern that Java applications had difficulties scaling due to session information kept within memory. This was spurned on by an article from when Friendster rewrote their site from Java to PHP. (http://www.oreillynet.com/onlamp/blog/2004/07/php_scales.html) The thought was if

Re: access Connector Address from within war file

2008-02-27 Thread AH NF
Cancel my last email regarding ROOT/ROOT my mistake, my WAR had the dir ROOT defined in it, hence the root/root path all is well, thanks for your help Charles On Feb 27, 2008, at 10:26 AM, Caldarale, Charles R wrote: From: Stephen More [mailto:[EMAIL PROTECTED] Subject: access Connector Ad

Re: Can pl anybody help me with org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-02-27 Thread David Smith
Don't ever set CLASSPATH. I can't emphasize enough just how bad that idea is. --David [EMAIL PROTECTED] wrote: Sneha, Did your CLASSPATH points to library; or please check if there is any conflict in libraries if you set multiple CLASSPATH. - Pranab -Original Message- From: Sn

Re: Can pl anybody help me with org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-02-27 Thread David Smith
Can you please have some patience? You just posted this question we aren't your paid support. BTW, posting the source for Test.jsp would be nice -- not just the line. The error indicates a syntax error in your jsp. --David Sneha Manohar wrote: org.apache.jasper.JasperException: /jsp/ball

RE: Can pl anybody help me with org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-02-27 Thread pranab.das
Sneha, Did your CLASSPATH points to library; or please check if there is any conflict in libraries if you set multiple CLASSPATH. - Pranab -Original Message- From: Sneha Manohar [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 11:22 PM To: users@tomcat.apache.org Subjec

RE: Incorrect cookie value in tomcat5.5.26

2008-02-27 Thread Sushil Vegad
Hello Filip, Please let me know your thoughts on this. Our scenario is: We set the username in the cookie when the user logs in. I open a new browser instance, log-in and the cookie is set. If I logout of the application and return to login screen (on the same browser instance) the cookie is foun

Can pl anybody help me with org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-02-27 Thread Sneha Manohar
org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) org.apache.jasper.compiler.ErrorDisp

RE: Virtual Hosts: path="/" without using ROOT folder?

2008-02-27 Thread Lessie Z. Mitch
Ahhh And now I hear many software vendors screaming in agony. Our packaged ecommerce software came with instructions to work with the bug - without mentioning it was a bug. This explains a lot. Thank you. ^.^ ~LZM~ -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED]

Re: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread AH NF
Hi, Thanks for the reply, I just tried what you suggested. I cleared out myAppBase (inside ROOT.war) META-INF/context.xml (removed docBase & path) VIa the manager I uploaded ROOT.war to myAppHost with the Context Path form field set = / Tomcat extracts ROOT.war in : myAppBase/ROOT/ROOT The

RE: access Connector Address from within war file

2008-02-27 Thread Caldarale, Charles R
> From: Stephen More [mailto:[EMAIL PROTECTED] > Subject: access Connector Address from within war file > > From within a war file, I need to access the Connector Address. Why don't you tell us what you're really trying to do, and what Tomcat level you're trying to do it on. It's not at all cle

RE: totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread Caldarale, Charles R
> From: ahnf [mailto:[EMAIL PROTECTED] > Subject: totally confused! deploy & redeploy the ROOT context > via manager app and/or ant > > Have a custom virtual host called "myApp", this host will run > one web-application, and that web application should respond > at the "/". Stop trying to do

Questions to some mod_jk Options

2008-02-27 Thread Ahmed Musa
Hallo, I studied the mod_jk docs and the following questions about mod_jk Options are haunting me - i hope wrote the questions in an understandable form and i am pleased of getting hints and tips. .) retries (for LB workers) -> At the Apache we use he prefork MPM. So how big is the connection_p

totally confused! deploy & redeploy the ROOT context via manager app and/or ant

2008-02-27 Thread ahnf
Hi, I've spent the last day trying to do this with no success and here is what I would like to do: What I want to be able to do -- Have a custom virtual host called "myApp", this host will run one web-application, and that web applicati

I get org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected

2008-02-27 Thread Sneha Manohar
Hi all, I get following error when I try to create Bean : I have attached FileReadOperation class... org.apache.jasper.JasperException: /jsp/ballmember/Test.jsp(5,34) equal symbol expected at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:4

Tomcat load balanced with Apache HTTP Server and mod_jk

2008-02-27 Thread frannack Guimard
Hello, Is there a way to add a Balancer Member to Apache HTTP Server on the fly? I'm using Apache 2.2, Tomcat 5.5 and mod_jk. I have a Apache HTTP Server load balance request on the pool of workers (tomcat instances). When I add a new worker, I would like Apache HTTP Server to be notify so it

access Connector Address from within war file

2008-02-27 Thread Stephen More
>From within a war file, I need to access the Connector Address. Currently I am doing this by: javax.management.MBeanServer mBeanServer = org.apache.commons.modeler.Registry.getRegistry( null, null ).getMBeanServer(); javax.management.ObjectName identifier = new javax.management.ObjectName( "Cata

Re: Tomcat 6.0 and JSF 1.2

2008-02-27 Thread Stephen More
On Fri, Feb 22, 2008 at 11:04 AM, wrote: > I would like to work with JSF 1.2 embedded in Tomcat 6.0 > Where can I find an "How-to" ? Give this a try: http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html Once you get a handle on JSF, then I would suggest looking into facelets. http:

Re: How do I make a redirection?

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 2:24 AM, nkarytia wrote: > every time the user types in http://mysite.com/hello in the address bar of > his browser it gets redirected to another site like hello.newsite.com. Is > this possible? Is mysite.com running Tomcat, httpd, or something else ? This can be done

Re: Tomcat Server output console cannot view fully

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 6:40 AM, tlgkumar wrote: > using this i can create the project and got output nicely, > but my problem is i cannot view the server output cosole printouts, > in my project i am using lots of print statements, In general you should move away from print statements and

Re: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 9:41 AM, Andrew R Feller wrote: > Is there any way to store sessions to disk like Apache HTTP server? Can I ask why do you want to ? -Steve More - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Connection Pooling

2008-02-27 Thread Propes, Barry L
I sent him the driver. -Original Message- From: Dirk Weigenand [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 27, 2008 7:16 AM To: Tomcat Users List Subject: Re: Connection Pooling Hi, you should try to use a dedicated worker process for connections. Oracle by defaults spawns (som

Re: how to send http response in several chunked package with Tomcat

2008-02-27 Thread Filip Hanik - Dev Lists
you don't need to do that, tomcat does it for you. all you need to do is while (havedata) { response.getOutputStream().println(some data) response.flushBuffer() } and tomcat takes care of the rest Filip Hanks Wang (hanwan) wrote: Hi Johnny, I try below method implement the chunk in code:

Re: executor does not work with AJP connector

2008-02-27 Thread Filip Hanik - Dev Lists
just tried that with 6.0.16, and it worked Filip nitin dubey wrote: Nope.. here is the top portion of server.xml = maxThreads="150" minSpareThreads="4"/> connectionTimeout="2"

RE: How can I add a subsiste inside my website.

2008-02-27 Thread Caldarale, Charles R
> From: nkarytia [mailto:[EMAIL PROTECTED] > Subject: How can I add a subsiste inside my website. > > I have added the new_products.xml under the > "c:\tomcat\conf\CATALINA\localhost\" along > with the ROOt.xml file Make sure that's ROOT.xml, not ROOt.xml; it must contain a element with a docB

Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Andrew R Feller
Is there any way to store sessions to disk like Apache HTTP server? If it isn't possible, is there any reason why this would never make its way into Tomcat? I noticed there is a PersistentManager available with Tomcat, however it appears experimental and only swaps idle sessions to disk. Than

Re: how to send http response in several chunked package with Tomcat

2008-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Han, Hanks Wang (hanwan) wrote: | But the question is, all these chunk and http header are in same frame | (get it from wireshark.). Then you need to increase the number of characters being sent. If you really are sending "something long" as a strin

Re: Realms and Remote Address

2008-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerrin, Kerrin Hardy wrote: | I have investigated Security Filter, and I don't see how that gives | me access to the IP address of the client. You have to implement your own Realm. If you use FlexibleRealmInterface, you have access to the entire Htt

Re: Apache/Tomcat - mod_jk issues

2008-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Gordon wrote: | 2. While I've not used the redirectPort attribute on the Connector | element, I'm assuming you are redirecting everything to HTTPS. If this | is the case, I'm curious as to why you don't define either | SSLCertificateFile

Re: Connection Pooling

2008-02-27 Thread Dirk Weigenand
Hi, you should try to use a dedicated worker process for connections. Oracle by defaults spawns (some) worker processes for incoming connection requests which are shared (i.e. not dedicated to a certain user). Setting your connection count to a high number will probably result in an equally hi

Tomcat Server output console cannot view fully

2008-02-27 Thread tlgkumar
hi, I am using apache tomcat for my project, using this i can create the project and got output nicely, but my problem is i cannot view the server output cosole printouts, in my project i am using lots of print statements, all the print statement are print in the server cosole, and finally i

Re: How to install a prepackaged Tomcat app

2008-02-27 Thread David Smith
Tomcat itself is pure java and completely platform independent -- no need to build from source at all. Just download it from the tomcat website and expand it in your system to install it. It can go pretty much anywhere in the file system and still work. I would highly recommend you get a rea

Re: Realms and Remote Address

2008-02-27 Thread Kerrin Hardy
Hi, Thanks for that. I have investigated Security Filter, and I don't see how that gives me access to the IP address of the client. It is upmost importance that I log the IP address of both successful and unsuccessful logon attempts, which is why this must be done outside the application.

Re: executor does not work with AJP connector

2008-02-27 Thread nitin dubey
Nope.. here is the top portion of server.xml = = --- On Wed, 27/2/08, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>

How can I add a subsiste inside my website.

2008-02-27 Thread nkarytia
Could you help me please? What I am trying to do, is add a web page indicating that this section is under construction under "http://www.myhost.com/new_products";. I have added the new_products.xml under the "c:\tomcat\conf\CATALINA\localhost\" along with the ROOt.xml file and I have also created

RE: how to send http response in several chunked package with Tomcat

2008-02-27 Thread Hanks Wang (hanwan)
Hi Johnny, I try below method implement the chunk in code: String tmp = "something very long"; String hlen = Integer.toHexString(tmp.length()); hlen = hlen +"\r\n" + tmp.toString(); String chunkend = Integer.toHexString(0)+"\r\n"; response.getOutputStream().println(hlen); response.getOutputStrea

Re: Virtual Hosts: path="/" without using ROOT folder?

2008-02-27 Thread Mark Thomas
Lessie Z. Mitch wrote: /tomcat_home/conf/server.xml name="domain1.com" appBase="/home/web/domain1.com/webapps" ~~~ no directory after webapps unpackWARs="true" autoDeploy="true"> This now looks good. Note that *any* directory or war under /home/web/domain1.com/webapps i