load balancing with controlled failover

2006-10-31 Thread Gary Feltham
Hi, I have a load balancing setup using Apache 2.2.2 (Win32) and 2 instances of Tomcat 5.5.15 and 5.5.17. So far I have been able to establish a successful load balancing using sticky sessions with the following config: ProxyPass /test balancer://testcluster stickysession=JSESSIONID nofailover=O

Re: Please Help!Tomcat Not Running on Linux Fedora

2006-10-31 Thread Li
PATH=$PATH;$JAVA_HOME/bin;. On 11/1/06, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: Dear All, I'm very new to Linux Fedora and not quite familiar to the commands. I'm using Fedora Core 2.6.9-1.667. I've already installed j2sdk1.4.2_10 and jakarta-tomcat-4.1.31 on my computer. Unfort

Re: Please Help!Tomcat Not Running on Linux Fedora

2006-10-31 Thread Li
add JAVA_HOME to your .bash_profile and export it ... On 11/1/06, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: Dear All, I'm very new to Linux Fedora and not quite familiar to the commands. I'm using Fedora Core 2.6.9-1.667. I've already installed j2sdk1.4.2_10 and jakarta-tomcat-4.1.31

Please Help!Tomcat Not Running on Linux Fedora

2006-10-31 Thread Teh Noranis Mohd Aris
Dear All, I'm very new to Linux Fedora and not quite familiar to the commands. I'm using Fedora Core 2.6.9-1.667. I've already installed j2sdk1.4.2_10 and jakarta-tomcat-4.1.31 on my computer. Unfortunately, when I tried to execute Tomcat in the bin directory by typing ./startup.sh the fol

Change Display Icon

2006-10-31 Thread Madhuraka Godahewa
Hi, I am using tomcat 5.0.30. I have developed a web application and is ready to launch. But, still I have not been able to change the icon, which displayed on the browser (Firefox) when my site is loaded. The tomcat icon is shown. I renamed the 'favicon.ico' in the 'ROOT' folder as 'favicon1.ico

RE: stdout trace from eclipse

2006-10-31 Thread Dave Kennedy
Hi Chuck, Problem solved The file must be named, context.xml, (lower case) in Windows as well. Thanks From: "Caldarale, Charles R" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: stdout trace from eclipse Date: Tue, 31 Oct 2006 23:06:07 -0600 > From: D

RE: stdout trace from eclipse

2006-10-31 Thread Caldarale, Charles R
> From: Dave Kennedy [mailto:[EMAIL PROTECTED] > Subject: RE: stdout trace from eclipse > > In Tomcat 5.5, you no longer use this server-wide file to > configure JNDI. I believe you can, in the situation where you want the data source to be visible to multiple webapps. Take a look at this: ht

RE: stdout trace from eclipse

2006-10-31 Thread Dave Kennedy
Hi Chuck, I followed the instructions in your links and the datasource is now found in Standalone Tomcat. It seems that it is necessary to configure Tomcat JNDI via server.xml I was following the instructions in this article, which do work for Eclipse/Tomcat http://www.theserverside.com/tt/ar

RE: stdout trace from eclipse

2006-10-31 Thread Caldarale, Charles R
> From: Dave Kennedy [mailto:[EMAIL PROTECTED] > Subject: stdout trace from eclipse > > Any help in identifying the difference between Tomcat/Eclipse and > "Standalone" would be appreciated Have to tell you up front that I don't use Eclipse, am not fluent in JNDI, and don't know Hibernate - so

stdout trace from eclipse

2006-10-31 Thread Dave Kennedy
More info: This is the stdout trace from eclipse when the datasource is found 19:11:21,484 INFO NamingHelper:26 - JNDI InitialContext properties:{} 19:11:21,484 INFO DatasourceConnectionProvider:61 - Using datasource: java:comp/env/jdbc/hfydb 19:11:22,093 INFO SettingsFactory:81 - RDBMS: My

Re: haaving trouble html in tomcat 5.5.20

2006-10-31 Thread Martin Gainty
have you tried to apprise the response to setHeader so it may understand the specific wmv content-type e.g. response.setHeader("Content-Type","video/x-ms-wmv"); M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated rec

RE: JNDI Could not find datasource

2006-10-31 Thread Dave Kennedy
FYI I implemented this article Hibernate 3.1 Used with Tomcat 5.5.x http://www.theserverside.com/tt/articles/article.tss?l=HibernateTomcat Any help in identifying the difference between Tomcat/Eclipse and "Standalone" would be appreciated From: "Dave Kennedy" <[EMAIL PROTECTED]> Reply-To: "T

haaving trouble html in tomcat 5.5.20

2006-10-31 Thread Zeina Aoun
I am having trouble with html in tomcat. I am using the Apache Tomcat 5.5.20 Server The problem is hard to describe. I am trying to enable some video clip files to be downloaded by users, but unfortunatley instead of downloading it opens up the garbage text on the webpage, just like if u try t

RE: Problem redirecting appbase on a network drive

2006-10-31 Thread Caldarale, Charles R
> From: Didier CROUTZ [mailto:[EMAIL PROTECTED] > Subject: Problem redirecting appbase on a network drive > > I'm using an Apache Tomcat version 5.5.2 on a Windows XP Pro SP2. If it's really 5.5.2 and not 5.5.20, you should move up; lots of bug fixes since then. > That doesn't work, "http:\\12

RE: Problem redirecting appbase on a network drive

2006-10-31 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Problem redirecting appbase on a network drive > > each machine needs to install its own copy of tomcat and have > its own copy of server.xml configured for that machine and > not to other tomcat machines What the hell are you talk

RE: Datasource following appBase changes

2006-10-31 Thread Caldarale, Charles R
> From: Scott Cowley [mailto:[EMAIL PROTECTED] > Subject: RE: Datasource following appBase changes > > I was hoping I could put two subdirectories, "Development" > and "Production", below the appBase and have Tomcat serve > out of them. Most people run separate instances of Tomcat for this purp

Re: Problem redirecting appbase on a network drive

2006-10-31 Thread Martin Gainty
each machine needs to install its own copy of tomcat and have its own copy of server.xml configured for that machine and not to other tomcat machines consequent browser resolutions need to point to the specific tomcat installed machine e.g. http://machine1:Port/manager http://machine2:Port/manage

log question and lambda probe

2006-10-31 Thread mast
Hi again, i have download the lambda probe to see how it was and i have notice some things with log, in their context.xml file there is : well that work wells but put the log under the logs directory of tomcat i wonder if there is no way to put it elsewhere ? (like in the same webapps that wa

Problem redirecting appbase on a network drive

2006-10-31 Thread Didier CROUTZ
Hello, I'm using an Apache Tomcat version 5.5.2 on a Windows XP Pro SP2. I'm trying to redirect applications directory on a network drive mounted with Windows "net use" command. To do this I've made the following modifications into the server.xml file: toDeploy="true"> changed to autoDeploy

RE: Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Appreciate the prompt reply, Chuck! That answers a lot of questions. I was hoping I could put two subdirectories, "Development" and "Production", below the appBase and have Tomcat serve out of them. I also hoped to have a path for each app within each of them! This makes it harder to set up a depa

RE: Datasource following appBase changes

2006-10-31 Thread Caldarale, Charles R
> From: Scott Cowley [mailto:[EMAIL PROTECTED] > Subject: RE: Datasource following appBase changes > > Quick correction on that previous post: > e.g. "webapps/Production/tests.test.jsp". > > -Original Message- > From: Scott Cowley [mailto:[EMAIL PROTECTED] > Subject: Datasource followi

Re: (FIXED) war problem

2006-10-31 Thread mast
i understand thanks for the tips problem solved - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 11:56 PM Subject: Re: war problem - To star

Re: getContextPath

2006-10-31 Thread David Smith
At each stage of request resolution, the longest match wins. At the point where the request is routed to a particular webapp, it matches the webapp whose context matches more of the request path than any other. IE in your case, if there is a root webapp with context "" and a webapp with conte

Re: war problem

2006-10-31 Thread Christopher Schultz
Mast, > i put my war under the ROOT directory. Er! Wrong answer. The ROOT directory is the directory which contains the (expanded) ROOT webapp, not a directory where WAR files should be dropped in order to deply them as the root webapp. If you put a WAR file in there, Tomcat will ignore it. It wo

war problem

2006-10-31 Thread mast
Hi, i have read some documentation about automatically unpacking war file but i still have a problem with it, so i put in the host tag : unpackWARs="true" and then i put my war under the ROOT directory. and there it s not deployed but if i put it in the same directory of the ROOT it s deployed (bu

RE: Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Quick correction on that previous post: e.g. "webapps/Production/tests.test.jsp". -Original Message- From: Scott Cowley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 3:40 PM To: users@tomcat.apache.org Subject: Datasource following appBase changes Hi. How come when I put con

Datasource following appBase changes

2006-10-31 Thread Scott Cowley
Hi. How come when I put contexts one directory below my "appBase" I can still get .html and .jsp's served, but the DataSource can't be found? e.g. "webapps/tests/test.jsp". - Thank you for any help! from javax.servlet.ServletException: "Name jdbc is not bound in this context" There is a "context

RE: log file servlet

2006-10-31 Thread Caldarale, Charles R
> From: Tony Smith [mailto:[EMAIL PROTECTED] > Subject: log file servlet > > Is there already something to do this and I am just > reinvent the wheel or this is totally a bad idea? Try Lambda Probe (www.lambdaprobe.org). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PR

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > /usr/local/tomcat5/webapps/users1/ROOT/test/test.jsp > /usr/local/tomcat5/webapps/users1/test/test.jsp > > tomcat use the second one (and their appear the ContextPath: /test ) > is this the normal way of tomcat working? i

Re: getContextPath

2006-10-31 Thread mast
little correction it seem that if i put a directory in the same way as the ROOT directory tomcat use it instead of the other exemple : /usr/local/tomcat5/webapps/users1/ROOT/test/test.jsp /usr/local/tomcat5/webapps/users1/test/test.jsp tomcat use the second one (and their appear the ContextPath:

log file servlet

2006-10-31 Thread Tony Smith
I am thinking about writing a "log file servlet" where I can check the log file of the tomcat session from my web browser. Thus I do not need to use console and vi to check it. Is there already something to do this and I am just reinvent the wheel or this is totally a bad idea? If I do this, how

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > but i had a WEB-INF and META-INF in the same directory as the > ROOT too and they seem to have been taken instead of the one > in the ROOT one (is it normal?) Not sure what you mean by "normal", but since the setup was in

Re: getContextPath

2006-10-31 Thread mast
Hmm well it seem i have made a mistake the server.xml is correct and my configuration under ROOT too but it seem that if i put some file before the ROOT directory tomcat take that as the defaut context? i explain : i have put like i said : appBase="/usr/local/tomcat5/webapps/users1" there i hav

Re: JK 1.2.19 & IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread Rainer Jung
Hi James, I committed a patch for the problem. If you are able to compile the plugin, you can check out the file from subversion, or apply the following patch to version 1.2.19. Check for split mail lines in the patch. Regards, Rainer Index: native/common/jk_map.c ==

Re: getContextPath

2006-10-31 Thread mast
From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 10:37 PM Subject: RE: getContextPath Do you have a test.xml lurking around in conf/[engine]/[host] in one of them? Would that test.xml have a element with a docBase pointing to ROOT/test? I

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > in the 5.5.17 version my app is under the ROOT directory yes > (that s the correct way like we told before no ?) Depends on what you mean by "under". If your app IS the ROOT directory, then getContextPath() should return

Re: getContextPath

2006-10-31 Thread mast
in the 5.5.17 version my app is under the ROOT directory yes (that s the correct way like we told before no ?) to give another example with exactly the same deployement (both under ROOT) with a 5.5.17 and a 5.5.20 5.5.17 : ContextPath: /test ServletPath: /test.jsp PathInfo: null RequestURI: /test

Re: JK 1.2.19 & IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread James Garrison
A bug has been filed, as requested. The workaround fixed the problem for me. Thanks for the quick response! -- James GarrisonAthens Group, Inc. mailto:[EMAIL PROTECTED]5608 Parkcrest Dr http://www.athensgroup.comAustin, TX

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Mao Ni
Hi Rainer, Thanks a lot for looking into this. I understand this is old configuration. But it is in production, and I don't see any change log/fix related to this issue in either later version of mod_jk or Tomcat 4. The other thing is we do launch netstat after it hang, and we saw AJP Connector

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Rainer Jung
Hi Mao, Try to send a QUIT signal to the jvm. It will produce a java thread stack dump on STDOUT. The normal tomcat sart scripts redirect stdout to catalina.out, so the result goes there. After "kill -QUIT PID" (replace PID by the pid of the process) you can inspect the dump in catalina.out to fi

JNDI Realm and Active Directory root search

2006-10-31 Thread Matt Warren
I'm trying to get a JNDI Realm working as one might expect with Active Directory. Tomcat 5.5.20 Java 1.5.06 Windows 2000 Server The basic issue is that searching from a domain root "dc=company,dc=com" and using userSubtree="true" results in: Oct 31, 2006 3:18:20 PM org.apache.catalina.realm.JNDI

JNDI Could not find datasource

2006-10-31 Thread Dave Kennedy
ENV: Tomcat 5.5.17, Eclipse 3.2, Hibernate 3.2 The application runs in Eclipse, but not "standalone" in Tomcat What does Tomcat need to find the datasource? Error: 13:09:03,936 INFO NamingHelper:26 - JNDI InitialContext properties:{} 13:09:03,936 FATAL DatasourceConnectionProvider:55 - Could not

RE: getSystemResource not working in servlet

2006-10-31 Thread Caldarale, Charles R
> From: Allen,Eva [mailto:[EMAIL PROTECTED] > Subject: getSystemResource not working in servlet > > URL rulesURL = ClassLoader.getSystemResource("x.xml"); This only retrieves resources accessible to the System class loader, which typically only looks at the $TOMCAT_HOME/bin directory. > but I'd

Re: JK 1.2.19 & IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread Rainer Jung
It was not knwon (at least not to me) before your mail, but you are right. We changed URL case sensitivity for mod_jk 1.2.19, because URLs should be case sensitive, but we missed one place. Could you please open a bug in bugzilla, http://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%205

getSystemResource not working in servlet

2006-10-31 Thread Allen,Eva
I'm still having problems with getting xmlrules to work within a Tomcat servlet container. I pretty much snagged the code I use from the xmlrules example that comes with the digester source. The problem comes with the getSystemResource call. I keep getting a null URL. I finally named the rules

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > i use a simple jsp file with : > ContextPath: <%= request.getContextPath() %> > ServletPath: <%= request.getServletPath() %> > > with a 5.5.9 server > ContextPath: /test > ServletPath: /test.jsp > > with a 5.517 server >

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Ni Chen
Hi Rainer, Thanks a lot for looking into this. I understand this is old configuration. But it is in production, and I don't see any change log/fix related to this issue in either later version of mod_jk or Tomcat 4. The other thing is we do launch netstat after it hang, and we saw AJP Connector

Re: Tomcat Ajp13 Connector hang

2006-10-31 Thread Rainer Jung
Hi Mao (or Ni or Chen?), your environment seems *very* outdated. Please update to Tomcat 4.1.34 und mod_jk 1.2.19. If the problem still shows up, please post relevant parts of your configs (Apache and tomcat side) and check via netstat, if tomcat still listens on the Ajp13 port. Regards, Rainer

Re: (FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread mast
From: "Caldarale, Charles R" <[EMAIL PROTECTED]> Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more Where exactly did you put the above? It should go in the section for the DefaultServlet of conf/web.xml (approximately between lines 71 and 82 in an unmodified one). i see i had put

RE: (FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more > than 48K in size > > i have put this in the web.xml of the server > > sendfileSize > -1 > Where exactly did you put the above? It should go in the section

Re: (FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread mast
What happens if you set it to -1? that's what i have try but i still get the same error i have put this in the web.xml of the server sendfileSize -1 the problem is the same with all type of file > 48K (i have try with a jpeg) --

RE: OutOfMemory Exceptions and HTTP Processor Threads

2006-10-31 Thread Caldarale, Charles R
> From: Ryan Gies [mailto:[EMAIL PROTECTED] > Subject: OutOfMemory Exceptions and HTTP Processor Threads > > I will get OutOfMemory Exceptions because there is no free > memory to instantiate the 3rd webapp, as the idle HTTP > Connectors have consumed all available memory. May or may not have a

JK 1.2.19 & IIS (Win Server 2003 R2) letter case problem in uriworkermap.properties

2006-10-31 Thread James Garrison
With JK 1.2.19 installed on Windows Server 2003 R2, and given the following in uriworkermap.properties: /Autoweb=perseus9010 /Autoweb/*=perseus9010 /autoweb=perseus9010 /autoweb/*=perseus9010 Requests are handled as follows: /Autoweb --> tomcat --> redirect to /Autoweb/ /Autoweb/ --> tomcat -->

RE: (FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: (FIXED) RE: tomcat can't serve HTML pages more > than 48K in size > > I have exactly the same problem with a 5.5.17 server and > changing the sendfileSize doesn t seem to fix anything What happens if you set it to -1? > it return this er

RE: tomcat ssl not work

2006-10-31 Thread Caldarale, Charles R
> From: Eric Yin [mailto:[EMAIL PROTECTED] > Subject: tomcat ssl not work > > Since I can not find keytool from Fedora 5 jdk1.4.2 and I download > J2SE(TM) Development Kit 5.0 Update 9: jdk-1_5_0_09-linux-i586.bin > and install it and use the keytool from this kit. It's risky to use a JDK tool

Re: getContextPath

2006-10-31 Thread mast
i use a simple jsp file with : ContextPath: <%= request.getContextPath() %> ServletPath: <%= request.getServletPath() %> - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 8:11 PM Subject: RE: getContextPath

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > with a 5.5.9 server > ContextPath: /test > ServletPath: /test.jsp > > with a 5.517 server > ContextPath: > ServletPath: /test/test.jsp What APIs are you using to determine ContextPath and ServletPath? - Chuck THIS COMM

Re: getContextPath

2006-10-31 Thread mast
Well i have try with a valid configuration and i still get the same problem with a 5.5.9 server ContextPath: /test ServletPath: /test.jsp PathInfo: null RequestURI: /test/test.jsp QueryString: null with a 5.517 server ContextPath: ServletPath: /test/test.jsp PathInfo: null RequestURI: /test/test

experiencing problems with html/media files in tomcat

2006-10-31 Thread CANADAFAST INC.
Hello! I am experiencing some strange html problem in tomcat. I am using the Apache Tomcat 5.5.20 Server The problem is strange to describe. I am trying to enable some vidoe clips files to be downloaded by users, but unfortunatley instead of downloading it opens up the garbage text o

tomcat ssl not work

2006-10-31 Thread Eric Yin
Hi, I just installed Fedora 5 and Tomcat 5.5 which is included in the Fedora 5 DVD. Tomcat works well for the port 8080. you can visit http://joconda.ciise.concordia.ca:8080 to see. But for SSL (8443) it doesn't work. I configure accoding to http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.h

OutOfMemory Exceptions and HTTP Processor Threads

2006-10-31 Thread Ryan Gies
What I observe is: a) A certain amount of free memory is required to instantiate a web application b) Concurrent requests are handled by separate HTTP Processor threads c) The maxSpareThreads attribute of the HTTP Connector is not honored until GC And when I: 1) Deploy three "helloworld" Turbin

Re: [Solved] cheersVery basic web server hosting question

2006-10-31 Thread CANADAFAST INC.
My problem was solved. Thank u everyone who tried to help me. Seems like port 80 was being blocked by my ISP, I was running tomcat on my sony vaio laptop, seems like it has some software which is blocking the ports for anonymous requests. I tried in my PC and its working fine now. che

Re: StandartSession.accessCount bug?

2006-10-31 Thread Eric Haszlakiewicz
On Tue, Oct 31, 2006 at 08:38:37AM -0500, Christopher Schultz wrote: > Also, did your +50ns figure mean that the /overhead/ was +50ns, or that > waiting for the "other" thread to release the lock (which would include > execution of the method itself) took 50ms longer. Since those threads > cannot r

Re: (FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread mast
I have exactly the same problem with a 5.5.17 server and changing the sendfileSize doesn t seem to fix anything it return this error with file above a certain size : java.lang.NoSuchMethodError: org.apache.naming.resources.ResourceAttributes.getCanonicalPath()Ljava/lang/String; org.ap

Re: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Christopher Schultz
Canadafest, > Hello! > > I am trying to enable some video clips files to be downloaded by > users, but unfortunately instead of downloading it opens up the > garbage text on the webpage, just like if u try to open a media file > in notepad or wordpad. #1: Don't hijack threads. Please post a new m

RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread CANADAFAST INC.
Hello! I am experiencing some strange html problems in tomcat. I am using the Apache Tomcat 5.5.20 Server The problem is strange to describe. I am trying to enable some vidoe clips files to be downloaded by users, but unfortunatley instead of downloading it opens up the garbage text

Re: mod_jk configuration

2006-10-31 Thread Christopher Schultz
Bruno, >> Hmm... I didn't know that one could "upload file" to an email... >> consider using copy/paste in the future. It seems to have worked, here. > > I'm using www.nabble.com... Ah. I think the list will clip-out attachments. I'm not sure of the rules, but copy/paste pretty much always works

(FIXED) RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Alistair McDonald
Chuck, Thanks for that. Solved the problem nicely. Cheers, Alistair >> From: Alistair McDonald [mailto:[EMAIL PROTECTED] >> Subject: tomcat can't serve HTML pages more than 48K in size >> >> Tomcat happily serves up pages up to 48K in size, but above >> that size it returns an error to the bro

tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Alistair McDonald
Hi all. I have a tomcat 5.5.9 installation set up. I only use it to serve HTML pages - no JSP. The HTML is doxygen generated, and validates as HTML 4.01 according to the w3 validator. Tomcat happily serves up pages up to 48K in size, but above that size it returns an error to the browser: -

RE: war file

2006-10-31 Thread Caldarale, Charles R
> From: Mário Gamito [mailto:[EMAIL PROTECTED] > Subject: Re: war file > > The one thing i've done was placing the .war file in the > webapps directory, then restart the server. That should be sufficient, if autoDeploy is enabled (it is by default). > This way, it created a new directory with

Can't login as manager

2006-10-31 Thread Mário Gamito
Hi, I'm trying to login as manager in Tomcat, but i can't. The URL is: http://lx0scr1:8080/manager/html/ My tomcat-users.xml file is: -- I can't login in the abo

Re: war file

2006-10-31 Thread Mário Gamito
Hi, On 10/31/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Mário Gamito wrote: > It asks me for a login and a password which i don't know :( > I've defined a user with the admin role in tomcat-users.xml, but > they're not > the right credentials :( It should me manager role, not admin one. Y

Re: Problems with Tomcat 5.0.27 and Simple JNDI Examples

2006-10-31 Thread David Smith
A couple of thoughts: 1. There should only be one mysql driver .jar file and it should be in common/lib. Please remove the one in your WEB-INF/lib directory 2. The driver org.gjt.mm.mysql.Driver is depricated (has been for a VERY long time). Update it to com.mysql.jdbc.Driver. 3. You might wa

AW: Re: JNDIRealm exception

2006-10-31 Thread [EMAIL PROTECTED]
This is the code (JNDIRealm) // Get the entry's distinguished name NameParser parser = context.getNameParser(""); Name contextName = parser.parse(context. getNameInNamespace()); Name baseName = parser.parse(userBase); // Bugzilla 32269 Name entryName = parser.pars

Re: mod_jk configuration

2006-10-31 Thread bcochofel
Christopher Schultz-2 wrote: > > Hmm... I didn't know that one could "upload file" to an email... > consider using copy/paste in the future. It seems to have worked, here. > I'm using www.nabble.com... Christopher Schultz-2 wrote: > >> ### jps-examples #

Re: Problems with Tomcat 5.0.27 and Simple JNDI Examples

2006-10-31 Thread Mike Jackson
Hi David, On Tue, 31 Oct 2006, David Smith wrote: A couple of thoughts: 1. There should only be one mysql driver .jar file and it should be in common/lib. Please remove the one in your WEB-INF/lib directory 2. The driver org.gjt.mm.mysql.Driver is depricated (has been for a VERY long time).

Re: mod_jk configuration

2006-10-31 Thread Christopher Schultz
Bruno, bcochofel wrote: > Christopher Schultz-2 wrote: >>> Here's my /etc/apache2/conf.d/jk.conf: >>> http://www.nabble.com/file/3921/jk.conf jk.conf >> (These are never coming through. How are you trying to attach files?) >> > > I'm using Upload File... option. Hmm... I didn't know that one c

RE: tomcat can't serve HTML pages more than 48K in size

2006-10-31 Thread Caldarale, Charles R
> From: Alistair McDonald [mailto:[EMAIL PROTECTED] > Subject: tomcat can't serve HTML pages more than 48K in size > > Tomcat happily serves up pages up to 48K in size, but above > that size it returns an error to the browser: There's an interesting 48k setting in conf/web.xml for the DefaultSe

Servlet RMI problem File Permission

2006-10-31 Thread anil
Hi - I've been trying to solve a problem for quite some time now and I can't seem to find the solution. Basically I have a servlet running under tomcat (5.5.17) which is acting as an RMI client, looking up to a EJB running under jboss (3.2.5). I can successfully connect to the EJB via a stand-

Session is lost

2006-10-31 Thread Eugene Razorenov
Hello, please help me to find the reason of the problem? I have a strange situations with sessions. Server: Jboss(Tomcat 5.5.17) Servlet engine version: 2.4 Java version: 1.4.2-b28 When I submit the Form using method "POST", I get new session instead of my current session. I see it from

RE: StandartSession.accessCount bug?

2006-10-31 Thread Michael Kantarovich
So you could use concurrency utilities as an external jar (back port from Java5) which is available for 1.4. They claim being able updating longs without locking java-level locks ... http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ -Original Message- From: Mark Thomas [mailto:

Re: war file

2006-10-31 Thread Mário Gamito
Hi, For manager, it's the manager role that is needed, not the admin role. My tomcat-users.xml file is: but i can't login as manager :( Is there anything wrong with it ? Warm Regards, Mário Ga

Re: some bug

2006-10-31 Thread Javier Aparicio
HI, I'm in a similar situation. I had several applications running perfectly in Tomcat 5.5.20 but when I try to configure the server with the APR and try to get the certificate list in request only can get the CA certificate (not the user certificate). My connector configuration is the following:

RE: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?

2006-10-31 Thread Caldarale, Charles R
> From: Per Johnsson [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost? > > I downloaded Tomcat 6 (the alpha I presume) the zipped version and I I > noticed there was no directory for shared/lib, common/ and no > conf/Catalina. I Googled and read th

Re: war file

2006-10-31 Thread Mário Gamito
Hi David, On 10/31/06, David Delbecq <[EMAIL PROTECTED]> wrote: I bet you put a .war file an expected to see the site working. It's not that easy :) The easiest way to deploy you .war in tomcat is to go to the manager webapp (http://:/manager/html) and use the 'deploy' part. It asks me for a

Re: FW: question regarding 'mod_jk: error flushing'

2006-10-31 Thread Rainer Jung
Hi Durk, are you really talking about mod_jk? If yes: which version of nod_jk are you using? It would be nice, if you could check version 1.2.19. Regards, Rainer Durk Strooisma wrote: Hi all! I'm wondering the same. I've got four servers (two production machines and their testing counter

Tomcat Ajp13 Connector hang

2006-10-31 Thread Ni Chen
Hi Folks, We are having an issue that Ajp13 Connector being unresponsive. It happened about once a week. We are running one Apache 2.0, three Tomcat 4.1.27 and mod_jk 1.2.5 / Ajp13 on HP 11i boxes. We noticed that every time Ajp13 Connector received an exception (see below) when setting socket

RE: Can't login as manager

2006-10-31 Thread Caldarale, Charles R
> From: Mário Gamito [mailto:[EMAIL PROTECTED] > Subject: Can't login as manager > > I can't login in the above URL with the credentials "gamito/abc123" > I've alrady restarted the server. Verify that your changes persisted after the Tomcat restart. Tomcat rewrites conf/tomcat-users.xml, and y

Re: mod_jk configuration

2006-10-31 Thread bcochofel
Christopher Schultz-2 wrote: > >> Here's my /etc/apache2/conf.d/jk.conf: >> http://www.nabble.com/file/3921/jk.conf jk.conf > > (These are never coming through. How are you trying to attach files?) > I'm using Upload File... option. Here's a copy/paste: # simple configuration for apache (

Forcing a sync when a cluster member reconnects

2006-10-31 Thread Eric Demorsy
Hi, I have configured a cluster of 2 tomcat servers and session sync is working fine, except for one point: if I unplug the network cable of one of the machines and plug it back, Tomcat does detect the fact that a member left the cluster, and also detects its return just fine, but no sync occ

Re: JNDIRealm exception

2006-10-31 Thread Martin Gainty
Hello can we please see the statements leading up to NameParser.parse() method call are you able to ldapsearch using DC and OU parameters without CN? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients na

Re: war file

2006-10-31 Thread Mikolaj Rydzewski
Mário Gamito wrote: It asks me for a login and a password which i don't know :( I've defined a user with the admin role in tomcat-users.xml, but they're not the right credentials :( It should me manager role, not admin one. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/

Re: war file

2006-10-31 Thread David Delbecq
For manager, it's the manager role that is needed, not the admin role. for 404, it says what it should, no such file :D When you access manager you will see where it is mapped. There is a link for all webapp deployed. I suggest you read the doc about the manager i gave you a link to. Mário Gamito

Re: How to install admin package in Tomcat

2006-10-31 Thread David Smith
Match up the directory structure in the .tar.gz file against tomcat's. The webapp itself goes in server/webapps with the manager webapp and the admin.xml file goes in conf/Catalina/localhost. This is the second time inside a week this question has come up and it is answered in the FAQ: http:

Re: war file

2006-10-31 Thread David Delbecq
I bet you put a .war file an expected to see the site working. It's not that easy :) The easiest way to deploy you .war in tomcat is to go to the manager webapp (http://:/manager/html) and use the 'deploy' part. For the manager to allow you to work on tomcat configuration, you need first to define

RE: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?

2006-10-31 Thread Caldarale, Charles R
> From: Per Johnsson [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6 and shared/lib, common/ and > conf/catalina/localhost? > > There was no mention in the doc about the removed libs.. The diagram in the doc clearly shows the revised default class loader hierarchy: Bootstrap

RE: Tomcat 6 and shared/lib, common/ and conf/catalina/localhost?

2006-10-31 Thread Per Johnsson
Thank you. There was no mention in the doc about the removed libs.. I'm always beeing little bit confused when things disapear whithout any mention it. /Regards Per Jonsson -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: den 31 oktober 2006 14:52 To: Tom

war file

2006-10-31 Thread Mário Gamito
Hi, I've installed Tomcat and now i have this contineo.war file in the webapps directory that it is supposed to become a web site. Of course i'm a Tomcat newbie :( Asking for your apologies in advance for such a newbie question, what am i supposed to do with this file ? Any help would be apprec

Re: FW: question regarding 'mod_jk: error flushing'

2006-10-31 Thread Durk Strooisma
Hi all! I'm wondering the same. I've got four servers (two production machines and their testing counter parts) running SUSE Linux Enterprise Server 9 with Apache 2, Tomcat 5, and ModJK. Below the relevant packages are shown: apache2 2.0.49-27.59 apache2-prefork

Problems with Tomcat 5.0.27 and Simple JNDI Examples

2006-10-31 Thread Mike Jackson
Hi folks, I have been trying to get to grips with JNDI but cannot get data sources or bean factories - using the standard examples in the Tomcat user doc - but cannot get hardly anything to work. I have the following declared in TOMCAT/webapps/axis/WEB-INF/web.xml after the element and bef

  1   2   >