RE: App will work on localhost but blank on client PC.

2006-02-14 Thread Alexander Alekseev
The 2k3s does not run a firewall, we have the router performing that function. Pages on port 80 through IIS load fine. I will try configuring the router to specifically not block port 8447 to the server and see what happens. -Original Message- From: Pham Anh Tuan [mailto:[EMAIL PROTECTED]

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Wednesday 15 February 2006 01:13, Tim Lucia wrote: > The http host header is sent by the user-agent ("browser") based on the > address requested in the URL. This is how virtual hosts are > differentiated. Tomcat supports a container for virtual host > differentiation, just like Apache does. Y

How can we capture all errors without defining it

2006-02-14 Thread Java Pro
Hi, I would like to know, if we can capture all the errors to a servlet without defining the list of errors in web.xml as follows.. generally, we can capture an error like this: 400 /errorHandler . . . is this possible?

Re: Tomcat 5.5.15 Clustering ?

2006-02-14 Thread Peter Rossbach
Hey, 1) Clustering need sticky_session=true and is only design for failover (see servlet spec). 2) Are your sure that MULTICAST is enabled at eth0? regards Peter [EMAIL PROTECTED] Am 15.02.2006 um 02:26 schrieb David Avenante: Hi, I' ve try to use Tomcat 5.5.15 in cluster mod. And

RE: No of concurrent requests per session

2006-02-14 Thread Abhilash Kumar
Hello George, I tried out as you have suggested by adding the registry key entry "MaxConnectionsPerServer" under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" with a value more than 2. After that, IE spans more than two concurrent requests to the same domain.

RE: No of concurrent requests per session

2006-02-14 Thread Abhilash Kumar
Hello: No, I haven't tried the Fasterfox extension. Let me try it and see the results. thanks and regards, -- Kannan. -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 8:13 AM To: Tomcat Users List Subject: RE: No of concurrent request

Re: App will work on localhost but blank on client PC.

2006-02-14 Thread Pham Anh Tuan
maybe caused by firewall or something like that ... ? - Original Message - From: "Alexander Alekseev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 15, 2006 10:00 AM Subject: RE: App will work on localhost but blank on client PC. Server is 192.168.2.100, c

RE: App will work on localhost but blank on client PC.

2006-02-14 Thread Alexander Alekseev
Server is 192.168.2.100, client is 192.168.2.X We tried using http://192.168.2.100:8447/ from the client, and the blank problem first cropped up. Now, instead of http://localhost:8447/ we tried http://192.168.2.100:8447/ from the server itself, and it also comes up blank. -Original Message

RE: No of concurrent requests per session

2006-02-14 Thread Wade Chandler
> > -Original Message- > > From: Abhilash Kumar > [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 13, 2006 9:45 PM > > To: Tomcat Users List > > Subject: RE: No of concurrent requests per session > > > > Hello: > > > > Thanking everyone for words of wisdom .. > > > > I checked with

security-constraint pattern: /* vs /

2006-02-14 Thread Marius Scurtescu
Hi all, I am trying to secure the index page of a web application but at the same time allow deeper path to be unprotected. For example: Protected Area / /other/protected/* But Tomcat 5.0 and 5.5 behave as I have written: Protected Area /* /other/prot

Re: context error

2006-02-14 Thread jacky
hi, Mike, Do you mean put all directories together? No, we need to separate them. So, any other suggestions about this problem? Best Regards. jacky - Original Message - From: "Mike Sabroff" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, February 14,

Tomcat 5.5.15 Clustering ?

2006-02-14 Thread David Avenante
Hi, I' ve try to use Tomcat 5.5.15 in cluster mod. And after some work on configuration and test i seems to be on limit of my all possibilities ;) I try to use two tomcat in cluster with apache web server and mod_jk as connector. my Apache configuration look like : # workers.properties ps=/

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
The http host header is sent by the user-agent ("browser") based on the address requested in the URL. This is how virtual hosts are differentiated. Tomcat supports a container for virtual host differentiation, just like Apache does. You do not need to change the workers at all. Tomcat sees the

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
Well, you can run Apache on any number of ports you wish, so if you are limited by machines, then that is a way out. Personally, I run IIS+2 tomcats clustered and Apache httpd + 2 tomcats clustered all on one dev machine, just keep the ports straight. That way, I can compare configurations on the

RE: No of concurrent requests per session

2006-02-14 Thread George Sexton
I suppose turning off HTTP 1.1 would probably do it. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Abhilash Kumar [mailto:[EMAIL PROTECTED] > Sent: Monday, February 13, 2006 11:23 PM > To: Tomcat Users List > Subject: RE: N

RE: No of concurrent requests per session

2006-02-14 Thread George Sexton
So? As someone else pointed out. That's what the standard recommends. You really didn't even bother to find the registry key that I mentioned did you? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Abhilash Kumar [mailto:[EMA

Re: Question about deployment of web app

2006-02-14 Thread Giorgio Clavelli
My 2 cents is on you have may have missed something in recreating your environment. Hence, I would test it with some very simple code just to ensure classpath dependencies are fine. Only after that check, if it doesn't resolve the problem, I would face the app code. On 2/14/06, Lian Liming <[EMAIL

Re: Re: Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Warren Pace
> > From: Steve Meredith <[EMAIL PROTECTED]> > Date: 2006/02/14 Tue AM 06:27:52 EST > To: "Tomcat Users List" > Subject: Re: Tomcat 5.5 documentation: how to update website? > > > On 14 Feb 2006, at 11:05, Warren Pace wrote: > > > > >> > >> From: Steve Meredith <[EMAIL PROTECTED]> > >> Date:

Re: Maintaing sessions

2006-02-14 Thread Marcelo Fukushima
ok i guess ive found the source of the problem: this guys firewall is set to block "foreign cookies" and when that rule is disabled, it runs normally... can anyone help me please? On 2/14/06, Marcelo Fukushima <[EMAIL PROTECTED]> wrote: > Hello guys. > > I dont know if this is the right list for

RE: Tomcat 5.5.15 Context Reloading issue

2006-02-14 Thread Joey Geiger
I've done some further searching, and noticed that tomcat was also dumping information into stdout. There is another log trace that might be helpful if anyone else recognizes the problem. I'm of the belief that this is a bug of some sort, but I don't know who to pass the information along to. A

RE: New isapi_redirect.dll has problems

2006-02-14 Thread David Thielen
Hi; I checked the registry - it's using the workers.properties.minimal I believe (but I would be happier if it logged the files it uses). The problem with the urls it should not touch only showed up with the new version from Mark - that never happened before. As to the thread count, if someone t

Can't get caseSensitive="false" to work

2006-02-14 Thread David Kerber
I read the thread from last week about case-sensitivity, and did some additional googling when it didn't work, but still can't get my Tomcat 5.5.12 on Win2k, running with Java 1.5.0_06 to be case-INsensitive for the context path. That is a problem for my users, because we migrated them from Si

RE: Trouble accessing Resources in my Context

2006-02-14 Thread Caldarale, Charles R
> From: Mark Slater [mailto:[EMAIL PROTECTED] > Subject: Re: Trouble accessing Resources in my Context > > Is there any particular reason the context file goes in META-INF as > opposed to WEB-INF? As I understand it, the structure and contents of WEB-INF are defined by the servlet spec, and ad

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Tuesday 14 February 2006 12:36, Tim Lucia wrote: > > > You can always install Apache httpd + Tomcat on a second machine (or on the > same machine on a separate set of ports), if you are reluctant to try it on > you production host. Of course in an ideal world I would - but this is my home, and

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Tuesday 14 February 2006 12:36, Tim Lucia wrote: > 1. Moving the JkMount directive inside a will make it > accesible from only that virtual host. So, you must repeat common ones, > such as /jkmanager. I put the mappings (JkMount(s)) right in the virtual > host definition(s) with no trouble at

Re: Trouble accessing Resources in my Context

2006-02-14 Thread Mark Slater
Thanks Chuck for pointing that out. Given that everything else goes in WEB-INF, when I was reading the page I misread it every time. Is there any particular reason the context file goes in META-INF as opposed to WEB-INF? Mark On Feb 14, 2006, at 6:16 AM, Caldarale, Charles R wrote: From:

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > This has been my confusion ... when I put the war file there, > it creates the mywebapp folder structure. Should I of named > the webapp root? The "name" of the webapp (what's used on the URI) is

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
This has been my confusion ... when I put the war file there, it creates the mywebapp folder structure. Should I of named the webapp root? OK, lets say I take the contents from the war file and place all loose in root ... that should work then, and my problem would be resolved. But if I want anoth

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: RE: default webapp not understanding > > If I deploy the webapp in ROOT, then the structure would look > like this: > $TOMCAT_HOME/webapps/root/mywebapp. No - get rid of the mywebapp idea. Your app needs to be deployed AS root, not un

RE: Problem with tomcat

2006-02-14 Thread [EMAIL PROTECTED]
Well, the jsp page is clearely not being processed by a jsp engine. Several things could cause this. Perhaps there's no JSP engine mapped to process requests ending in .jsp, perhaps you mislabelled your .jsp file extensions, perhaps you're serving the .jps files out of a web server ( apache?

Re: default webapp not understanding

2006-02-14 Thread Hadraba Petr
Hi, no, you must delete whole the original contents of the existing directory webapps/ROOT and deploy your own ROOT.war web application. Be careful. The `ROOT' word is case sensitive. The default URL mapping is: http://[machine]:[port]/[context]/[servlet]/ where machine is currently localhost,

Maintaing sessions

2006-02-14 Thread Marcelo Fukushima
Hello guys. I dont know if this is the right list for this question, but i dont have anywhere else to rely on so... the problem im facing is kinda tricky: theres this one computer that cant maintain sessions when i redirect it or click on a link... in fact, my guess is that this one client is not

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
Sorry, I didn't catch the other one. Tomcat 5.5x on xp If I deploy the webapp in ROOT, then the structure would look like this: $TOMCAT_HOME/webapps/root/mywebapp. And the index.html would still live in root .. isn't that correct. So I would still need a way to go from the root/index.html to the

RE: default webapp not understanding

2006-02-14 Thread Scott Purcell
5.5x on xp. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default webapp not understanding

mod_jk error numbers

2006-02-14 Thread Peters Jan
Hi all, I would like to ask the list if someone can give me a hint, what might have gone wrong with our mod_jk. I just installed the connector and switched logging to debug mode. When I open the log file I see the following: [Tue Feb 14 18:00:23 2006] [27276:50880] [debug] map_uri_to_worker::j

RE: default webapp not understanding

2006-02-14 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: default webapp not understanding > > I am having trouble understanding what is meant by the default webapp. (It would help if you'd tell us what Tomcat level you're running...) For 5.5.x, the default webapp is the one located in webapps

default webapp not understanding

2006-02-14 Thread Scott Purcell
Hello, I am having trouble understanding what is meant by the default webapp. Here goes. I have a site which I have a dns entry for. After reading the docs, I put the application under $TOMCAT_HOME/webapps/mywebapp In the server.xml I added this snippet: Now when I hit my site

JAASRealm and LoginContext reuse

2006-02-14 Thread Stefan Baramov
I found that the JAASRealm implementation (org.apache.catalina.realm.JAASRealm) does not reuse the LoginContext (javax.security.auth.login.LoginContext) instance. Every time the authenticate(String,String) method is called a new LoginContext instance is created. Creating a new instance of the Login

Re: context error

2006-02-14 Thread Mike Sabroff
Then do that jacky wrote: > > hi, > When i add a Context in the server.xml, an error occurs: > > Apache Tomcat/4.1.31 > Catalina.start: LifecycleException: Context startup failed due to > previous errors > LifecycleException: Context startup failed due to previous errors > at > org.apache.catalina

Re: App will work on localhost but blank on client PC.

2006-02-14 Thread Mike Sabroff
How does localhost resolve in that scenario...why not use the hostname or ip address Alexander Alekseev wrote: I have a 2K3 Server on our intranet running Trend InterScan Messaging Security Suite which uses Apache Tomcat. I can access this app on the server through http://localhost:8447/ ju

Re: c:forEach not working as expected

2006-02-14 Thread Nikola Milutinovic
--- Reinhard Moosauer <[EMAIL PROTECTED]> wrote: > Hi List, > > it seemed clear to me, that this construct: > > > ... (some inner logic) > > > should be equivalent to this one: No. It is roughly equvalent to (see my corrections): > <% > for (Iterator it=t.getRecords(); it.hasN

RE: Trouble accessing Resources in my Context

2006-02-14 Thread Caldarale, Charles R
> From: Mark Slater [mailto:[EMAIL PROTECTED] > Subject: Re: Trouble accessing Resources in my Context > > So, while this works acceptably (the context information for the > webapp is not included in server.xml), I would *much* prefer to use > the WEB-INF/context.xml the Tomcat docs say I can

Tomcat 5.0.28 Sending content that does not match the URL

2006-02-14 Thread M. Schot
Hi All, I am experiencing strange problems with Tomcat 5.0.28. The problem is that sometimes (1 out of 10) when I load a JSP Tomcat seems to send the wrong stylesheets for a certain url. This problem occurs when serving them using a servlet and a CMS but also if they are located on the harddrive a

RE: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Tim Lucia
1. Moving the JkMount directive inside a will make it accesible from only that virtual host. So, you must repeat common ones, such as /jkmanager. I put the mappings (JkMount(s)) right in the virtual host definition(s) with no trouble at all. 2. The virtual host is determined by the http host he

Problem with tomcat

2006-02-14 Thread Kasim
when ever i am calling the jsp page Instead of it its code is been opening in notepad.So can any body tell me the solution - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Steve Meredith
On 14 Feb 2006, at 11:05, Warren Pace wrote: From: Steve Meredith <[EMAIL PROTECTED]> Date: 2006/02/14 Tue AM 03:50:19 EST To: users@tomcat.apache.org Subject: Tomcat 5.5 documentation: how to update website? Hi all Just spent time getting the Tomcat5.sh script to work as a daemon under li

Re: Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Warren Pace
> > From: Steve Meredith <[EMAIL PROTECTED]> > Date: 2006/02/14 Tue AM 03:50:19 EST > To: users@tomcat.apache.org > Subject: Tomcat 5.5 documentation: how to update website? > > Hi all > > Just spent time getting the Tomcat5.sh script to work as a daemon > under linux following the advice on

Re: Trouble accessing Resources in my Context

2006-02-14 Thread Mark Slater
I've got my servlet working now, without resorting to using a Context element inside the server.xml. I found that putting the Context in $TOMCAT_HOME/conf/Catalina/localhost/jackrabbit_config_test.xml works fine. factory="org.apache.jackrabbit.core.jndi.BindableRepositoryFact

Re: Blocking AJP13 (port 8009) access

2006-02-14 Thread Mladen Turk
OG wrote: Hi, I'm trying to block external access to port 8009 (AJP13), as only my local host really needs to be able to talk to it. I'm wondering if there are any internal/mod_jk mechanisms for that, or if iptables is the best option. If anyone has iptables rules that work, I'd appreciate i

Re: Blocking AJP13 (port 8009) access

2006-02-14 Thread Antony Riley
Try adding address="127.0.0.1" to the ajp13 tag in server.xml, and configuring apache to connect to 127.0.0.1 if you haven't already. This should stop the ajp13 port from being visable to other machines. As far as iptables goes, you probably want -o lo -j ACCEPT at the top of the ruleset, and I

Tomcat 5.5 documentation: how to update website?

2006-02-14 Thread Steve Meredith
Hi all Just spent time getting the Tomcat5.sh script to work as a daemon under linux following the advice on the url:- "The Apache Tomcat 5.5 Servlet/JSP Container" http://tomcat.apache.org/tomcat-5.5-doc/setup.html "The file $CATALINA_HOME/bin/jsvc/native/tomcat.sh can be used as a temp

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Sunday 12 February 2006 17:07, Alan Chandler wrote: ... > Unless anyone here can suggest a better way, I would like to move the > JkMountFile directive from global scope to virtual host scope and have two > separate files urimap files so that I can map different things dependent on > which virtu

Question about deployment of web app

2006-02-14 Thread Lian Liming
Hi, allI am using Tomcat 5.5.15 on Window 2000 server. My web app worked well before reinstallation of Window2000. After reinstallation, I set up the same java environment with the same tomcat version. But a problem comes in the deployment of my former well-working app. In the tomcat log, I got the