Re: Forward all subfolders/files to the root

2008-12-02 Thread André Warnier
tuckker wrote: How do I redirect all subfolders/files to the root of the link domain.com? Eg: When user opens www.domain.com/abc, i want Apache (Tomcat to be exact) to redirectthe user to www.domain.com. This goes the same for www.domain.com/abc/abc or www.domain.com/abc/abc.html etc... I don'

Forward all subfolders/files to the root

2008-12-02 Thread tuckker
How do I redirect all subfolders/files to the root of the link domain.com? Eg: When user opens www.domain.com/abc, i want Apache (Tomcat to be exact) to redirectthe user to www.domain.com. This goes the same for www.domain.com/abc/abc or www.domain.com/abc/abc.html etc... Thanks. -- View this

Re: Tribes and IPv6 Support

2008-12-02 Thread Filip Hanik - Dev Lists
Thanks Mike, This would really be a JVM issue, and it doesn't look that promising http://x86.sun.com/thread.jspa?messageID=10274291 http://forums.java.net/jive/thread.jspa?messageID=247308 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4640544 Filip Mike Wannamaker wrote: I'm having an is

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: >> This can happen a lot, if Tomcat has a configured connectionTimeout on >> the connector, but mod_jk has no timeout for idle connections. Again we >> would need the configuration, this time also the server.xml. > > The Connector tag of server.xml is this : > >

webapp deploy/undeploy log4j and other weirdnesses

2008-12-02 Thread Prastein, Rebeccah H
The deeper I dig, the more I'm confusing myself, and the more weird stuff I unearth, so I apologize if this seems disjointed. I know it's all a big jumbled mess, and I'll need to chop it up into separate topics, but if anyone has any clues about *any* of this, I'd be most appreciative. I started

Re: JK connector issues ?

2008-12-02 Thread André Warnier
Rainer Jung wrote: [...] It does since version 1.2.23 (info message during startup). From the log line numbers I guess you are using 1.2.21 released in March 2007. That sounds about right. That system (RHEL5) was installed around that time and still runs the original versions. [...] Thi

.tag files: page scope attribute from outer tag is lost in inner tag

2008-12-02 Thread Wolfgang Knauf
Hello everybody, I have a JSP tag file, which sets an attribute to the PageContext. I expect this attribute to be present in child tags. Here is the outer tag (in a file "outer.tag"): <%@ tag language="java" pageEncoding="ISO-8859-1"%> <%@ variable name-given="test" scope="NESTED" %> <% jspCo

Re: Manager app language

2008-12-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: This Tomcat, Sir, was born English-speaking, in an English-speaking Host, and spoke exclusively English for the first 3 years of his life. Only yesterday did he ever speak German I would be o

error with jsp precompilation using tomcat 6.0.14

2008-12-02 Thread Noordeen, Roxy
I am trying to do jsp precompilation using ant 1.7.1 tomcat 6.0.14, jdk 1.5.0.14. Attached is my ant task for pre-compilation. I am getting the attached error message. I even tried jspc, jasper2. I don't understand what is missing in the classpath. Ant Task:

Re: j_security_check

2008-12-02 Thread Martin Dubuc
Christopher, I will describe the browser interactions with regards to the access logs. At 17:13:06, the user accessed the main.jsf page. The session timeout for the application is 1 minute. The main.jsf page has meta tag that redirectes to sessionTimeout.jsf after 1 minute. The main.jsf page also

Tribes and IPv6 Support

2008-12-02 Thread Mike Wannamaker
I'm having an issue starting tribes under tomcat 5.5 on Windows 2008 Server, IPv6 only setup. Get the following exception Dec 1, 2008 11:25:07 AM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Unable to bind server socket to:/fe80:0:0:0:c8cb:7933:1d84:c05d:4099 throwing error. Dec

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> André, >> >> André Warnier wrote: >>> mod_jk 1.2.x (sorry, don't know the exact version) >> >> This is actually quite important when mod_jk is acting funny. Try this: >> >> $ strings /path/

Re: j_security_check

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: > I finally managed to get the sessions to time out after 1 minute. What did you have to change? > Here is the security-constraint definition: > > > > Page constraints for users

Re: Can I specify virtual hosts in JKMounts?

2008-12-02 Thread Rainer Jung
Jonathan Mast schrieb: > Thanks for the response, I didn't know JkMount directives could be placed > within VirtualHost declarations. Older versions of mod_jk tolerated putting JkMount in the global server, not any vhost. All those mounts were automatically copied to all vhosts. Since a couple of

Re: session problems between www.domain.com and domain.com

2008-12-02 Thread Randy Paries
On Tue, Dec 2, 2008 at 10:03 AM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Randy, > > Randy Paries wrote: >> I am having problems with my web app >> the problem is that >> http://www.mydomain.com >> and >> http://mydomain.com > > [do not sh

Re: j_security_check

2008-12-02 Thread Martin Dubuc
I finally managed to get the sessions to time out after 1 minute. This makes it much easier for testing purposes! I style get the exception however. Here is the security-constraint definition: Page constraints for users /index.htm

Re: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Rainer Jung
Michael McLeod schrieb: > Hi, > > I have the same problem: I was trying to install propriety software > which uses IIS and tomcat onto a 64 bit windows server. I got the DLL > (1.2.27) from > http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.27/ > but this did not cure m

Re: Can I specify virtual hosts in JKMounts?

2008-12-02 Thread Jonathan Mast
Thanks for the response, I didn't know JkMount directives could be placed within VirtualHost declarations. Our httpd.conf uses the following: JkWorkersFile/usr/local/tomcat/conf/workers.properties JkLogFilelogs/jk.log JkLogLevelerror JkMount/*.jspajp13

Re: Can I specify virtual hosts in JKMounts?

2008-12-02 Thread André Warnier
Jonathan Mast wrote: I'm using Apache+Tomcat (1.3.33, 5.5.17) and I have servlet named "bar", with no file extension in its name. bar is in a folder named "foo" which is reachable by 2 virtual hosts: www.mysite.com/foo/bar foo.mysite.com/bar I know to how tell apache that request for /bar on t

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Martin Gainty
yes i've heard thats why venus is currently next to jupiter..I'll ask the professor (a definite maybe)Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This t

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
My apologies for the misunderstanding. On Tue, 2008-12-02 at 10:18 -0600, Caldarale, Charles R wrote: > I wasn't referring to your question, but rather to my initial terse responses > of "maybe" and "42". > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETA

Re: j_security_check

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Dubuc wrote: > I am not sure I understand exactly why, but it seems to me that, although > the sessionTimeout.jsp page is not protected, if the user responds to > "Navigate away" prompt after Tomcat removes the session from the session

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, Gregor Schneider wrote: > Hi Chris, > > On Tue, Dec 2, 2008 at 4:13 PM, Christopher Schultz > <[EMAIL PROTECTED]> wrote: >> For Securityfilter's next version, we are attempting to make it easy to >> implement it as a Tomcat Valve, which shoul

Can I specify virtual hosts in JKMounts?

2008-12-02 Thread Jonathan Mast
I'm using Apache+Tomcat (1.3.33, 5.5.17) and I have servlet named "bar", with no file extension in its name. bar is in a folder named "foo" which is reachable by 2 virtual hosts: www.mysite.com/foo/bar foo.mysite.com/bar I know to how tell apache that request for /bar on the WWW virtual host sho

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Caldarale, Charles R
> From: Pieter Temmerman [mailto:[EMAIL PROTECTED] > Subject: RE: Relation between sessions and server slowlyness > Referring to your comment whether my question is in the spirit > of what Andre posted before I wasn't referring to your question, but rather to my initial terse responses of "maybe

Re: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan Rainer wrote: > we are running a Tomcat 5.0.28 on W2k Server with 2 GB RAM and JVM > 1.5.0_11-b03 which is mainly used as application server for (Axis-based) > SOAP Services. > > From time to time our Tomcat blows up to use almost

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, Gregor Schneider wrote: > The link looks like this: > > src="../snbulletopen.gif" border="0" align="absmiddle"> Medizin > > As you can see, in this menue there's always the target (the inner > frame) specified. > > However, j_security_chec

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
Hi Chuck, First of all thanks for your answer. The application isn't mine, so I can only guess as to how much memory a session is occupying. The SESSIONS.ser file is occupying 112kb, I suppose it should be occupying more or less the same in memory. But that is only an assumption, correct me if I'

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Gregor Schneider
Hi Chris, On Tue, Dec 2, 2008 at 4:13 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > For Securityfilter's next version, we are attempting to make it easy to > implement it as a Tomcat Valve, which should allow things like SSO. > Do you have any information when this next version will be av

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Gregor Schneider
Hi Chris, On Tue, Dec 2, 2008 at 3:51 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > >> Now if the session times out, the user clicks on the menue, the url >> requested is the source of the IFrame. > > This shouldn't be the case: the URL re

Re: session problems between www.domain.com and domain.com

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy, Randy Paries wrote: > I am having problems with my web app > the problem is that > http://www.mydomain.com > and > http://mydomain.com [do not share cookies?] > I am using apache-tomcat-5.5.15 > > is there somewhere that i can override the j

Re: Tomcat: Excessive drain on resource?

2008-12-02 Thread Ken Bowen
But not all. My hosting company, for what I regard as reasonable monthly prices (10/20/30), provides VMs running CentOS 5 with memory spaces of 160MB, 288MB, or 432 MB, and have generally been pretty knowledgeable when I ask support questions: per Andre & Johnathan Swift, they only make "mo

Re: Tomcat: Excessive drain on resource?

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > hdisgr8 wrote: >> Hi. >> >> I would like our hosting company to host a server which needs Tomcat. >> Apparently Tomcat is not supported as the hosting company found it to be an >> 'excessive drain on resource'. What might th

Re: 11 recommendations for posters to this list

2008-12-02 Thread John5342
I have printed this off and stuck it to the edge of my monitor so i have a permanent record of how best to ask questions ;-D 2008/12/2 André Warnier <[EMAIL PROTECTED]> > Dear Posters, > > if you want to get fast, terse, to-the-point answers on this list : > > 1) start with a subject like "Tomcat

Re: security-constraint outside web.xml

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre, Andre Rubin wrote: > Thanks Chuck but SecurityFilter does exactly the opposite of what I want: > > "Security Filter is intended to be packaged within your web app, > including your realm implementation and supporting classes. This > allows you

Re: JK connector issues ?

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > mod_jk 1.2.x (sorry, don't know the exact version) This is actually quite important when mod_jk is acting funny. Try this: $ strings /path/to/mod_jk.so | grep mod_jk/ mod_jk/1.2.26 Mine appears to be 1.2.26. > 26.11.2

Re: What does tomcat look like?

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kees, Kees Jan Koster wrote: > This one comes close, but does not show where Tomcat's subsystems live. > http://www.vsj.co.uk/pix/articleimages/apr04/tomcat3.jpg I would say that this one lacks any useful detail. It's also wrong: it makes it look lik

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Caldarale, Charles R
> From: Pieter Temmerman [mailto:[EMAIL PROTECTED] > Subject: Relation between sessions and server slowlyness In the spirit of André's recent Jonathan Swift / Ray Davies / Douglas Adams style posting, I'm tempted to answer this way: > Is it possible that my application is slower because of > the

Re: Manager app language

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > Now, and no fault of yours of course, that seems like a curious way for > the Manager to work, in my opinion. It means that despite its inherent > capability - discovered 2 days ago by still unexplained accident - of > s

Re: Manager app language

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > This Tomcat, Sir, was born English-speaking, in an English-speaking > Host, and spoke exclusively English for the first 3 years of his life. > Only yesterday did he ever speak German I would be overjoyed if my 3-year-old

Re: 11 recommendations for posters to this list

2008-12-02 Thread Brantley Hobbs
12) Be sure to top post. I LOL'd. André Warnier wrote: Dear Posters, if you want to get fast, terse, to-the-point answers on this list : 1) start with a subject like "Tomcat does not work" That always gets immediate attention. It does not really matter if the problem is really in Tomca

Re: [OT] DB2 problem: AM_BASE_TASKS ¿is a ghost table?

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jabali, Marked as off-topic. Jabali Acuatico wrote: > I know this is not a DB2 list, but certainly the problem is between > Tomcat and DB2, because everything doing manually, with DB2 terminal, > using a console, is working properly. > > I am using

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikolaj, Mikolaj Rydzewski wrote: > You can try to use securityfilter (and deal with AA on your (or > securityfilter's) own), or implement tomcat-specific solution using > Valves. For Securityfilter's next version, we are attempting to make it easy t

11 recommendations for posters to this list

2008-12-02 Thread André Warnier
Dear Posters, if you want to get fast, terse, to-the-point answers on this list : 1) start with a subject like "Tomcat does not work" That always gets immediate attention. It does not really matter if the problem is really in Tomcat, or in your application, or in something else altogether. If

RE: Tomcat v5.0 - QuartzScheduler Thread error

2008-12-02 Thread Caldarale, Charles R
> From: viZor [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat v5.0 - QuartzScheduler Thread error > > Thread [DefaultQuartzScheduler_QuartzSchedulerThread] > (Suspended (exception > LogConfigurationException)) > LogFactoryImpl.newInstance(String) line: 543 > LogFactoryImpl.getInstan

Re: j_security_check-behaviour - looking for workaround

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, Gregor Schneider wrote: > However, if you have a webapp working with frames, this scenario does not > work. > > Imagine a webpage having this structure: [snip] > Now if the session times out, the user clicks on the menue, the url > request

RE: jvm cowardly refuses to print a thread dump

2008-12-02 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Schoett > Subject: Re: jvm cowardly refuses to print a thread dump > > Very likely you have unsynchronized accesses to the ArrayList That's irrelevant for the size() method, where the entire code consists of this: public int size() {

java.io.IOException: Stream closed

2008-12-02 Thread Schuster Stefan
Hi everybody, I have the following problem with tomcat 6.0.18: I wrote a servlet that reads the input stream with XML Beans. An application sends requests to the servlet, but only the first request succeedes. Every Second call results in the following exception: java.io.IOException: Stream clos

RE: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Michael McLeod
Hi, I have the same problem: I was trying to install propriety software which uses IIS and tomcat onto a 64 bit windows server. I got the DLL (1.2.27) from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.27/ but this did not cure my problem. I get the feeling that I

RE: jvm cowardly refuses to print a thread dump

2008-12-02 Thread Martin Gainty
so the solution is put all updates/inserts to the arraylist into a synchronized method?Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a co

Re: jvm cowardly refuses to print a thread dump

2008-12-02 Thread Oliver Schoett
Leon Rosenberg wrote: But back to the ArrayList, how high is the probability of having ArrayList.size() twice in the similar call-tree in one ThreadDump? Very likely you have unsynchronized accesses to the ArrayList, which from time to time send one of the threads involved into an infinite

RE: Tomcat v5.0 - QuartzScheduler Thread error

2008-12-02 Thread viZor
Hi, please let me know what information to get. All it gives is : Thread [DefaultQuartzScheduler_QuartzSchedulerThread] (Suspended (exception LogConfigurationException)) LogFactoryImpl.newInstance(String) line: 543 LogFactoryImpl.getInstance(String) line: 235

Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
Hi. A quick question: My session timeout is set to 45 minutes, so after a while I get a lot of open sessions, although they are not active. Is it possible that my application is slower because of the amount of open sessions? How much memory does a session occupy? Thanks in advance

Re: ISAPI_REDIRECT on AMD Opteron x64

2008-12-02 Thread Rainer Jung
Alexander Diedler schrieb: > Hello everybody, > I have installed many, many servers with Windows 2003 R2 x64 and > Intel CPUs and IIS and Tomcat with ISAPI Connector and it works > great. But now I have a hosting server with an AMD Opteron Quad Core > 1352 2 ,1Ghz CPU and installed Windows 2003 Se

RE: Tomcat v5.0 - QuartzScheduler Thread error

2008-12-02 Thread BEN HMIDA aymen
Hi Amit, There's not enough information her but i think you have some jars missing related to quartz. -Message d'origine- De : viZor [mailto:[EMAIL PROTECTED] Envoyé : mardi 2 décembre 2008 11:13 À : users@tomcat.apache.org Objet : Tomcat v5.0 - QuartzScheduler Thread error Hi, I am u

Tomcat v5.0 - QuartzScheduler Thread error

2008-12-02 Thread viZor
Hi, I am using Tomcat v5.0 server and I get the error when I publish some files on the server as : Thread[DefaultQuartzScheduler_QuartzScheduler] (Suspended (exception LogConfigurationException)) LogFactoryImpl.newInstance(String) line: 543 Source not found. I have searched a lot but did not f

Re: compiling jakarta-tomcat-connectors-4.1.24-src

2008-12-02 Thread Mark Thomas
Ted Yu wrote: > I downloaded jakarta-tomcat-connectors-4.1.24-src. > But compilation gave me: > > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba > pp/include/apr_network_io.h:121: error: syntax error before > "apr_uint32_t" > How should I proceed ? Don't try building

Anyone build Tomcat cluster on Xen

2008-12-02 Thread Maggie Shao
Hi, Does anyone build Tomcat cluster on Xen? Is there any difference? -- Sincerely, Maggie