Re: Refresh the cache

2008-08-06 Thread Mark Thomas
Gordon, Jack wrote: We were told by our vendor to clear the cache. That may not be the right term, but the process that they have us do is to remove the folders from the following directory: D:\Tomcat 4.1\work\Standalone\localhost OK - you can't do that without stopping Tomcat. Mark

Re: Tomcat 6 classpath issue

2008-08-06 Thread Mark Thomas
wskent wrote: I have the following jars in my web projects \web\WEB-INF\lib dirdectory - log4j-1.2.13.jar, mysql-connector-java-5.0.5.jar, servlet-api-2.4.jar, standard-1.1.2.jar When I retrieve the classpath using - String classPath = System.getProperty(java.class.path,.);

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Mark Thomas
Ken Bowen wrote: Ok, I fixed that (see below), but that does seem to change the problem at all. The catalina.out trace is the same. Have a look at the files in the logs directory. One of them should have more information (like the stacktrace from the failed listener). Mark

Re: [NOT-FIXED]SEVERE: Error listenerStart -- without entering the listener

2008-08-06 Thread Mark Thomas
Ken Bowen wrote: That's what's frustrating. I'm using a new Tomcat unzip with simple JULI logging So what is the log4j message doing in this trace? Mark - To start a new topic, e-mail: users@tomcat.apache.org To

Re: No available certificate or key corresponds to the SSL cipher suites which are enabled

2008-08-08 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I am trying to configure SSL on a tomcat 6.0.13. I began by creating a default keystore (using keytool) in the user's directory where the apache tomcat server is installed. From this keystore I generated a server cert request. Once I received the server cert, I

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-08 Thread Mark Thomas
Sam Wun wrote: Hi, I am wondering how to fix the following attached error (mvn command run)? I tried to follow the instruction shown in the following website, but got error. http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html 1. Don't hijack threads. 2. Read the FAQ,

Re: DefaultServlet doesn't set charset

2008-08-08 Thread Mark Thomas
Markus Schönhaber wrote: Hi, AFAICT Tomcat's DefaultServlet doesn't add ; charset=... to the Content-Type header when serving static resources of content type text/* and the corresponding resource isn't encoded in ISO-8859-1. Correct. As I understand it, this is a violation of the HTTP 1.1

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Mark Thomas
Warren Bell wrote: I have found a war file on my server that appeared around July 14. I am the only one that has access to this machine and I did not put it there. It consists of a jsp that downloads a program named init.exe and then executes it. This server is on a private network. Though

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Mark Thomas
Warren Bell wrote: Mark Thomas wrote: - What other webapps are installed on the Tomcat instance? Several, they are all intranet apps that do not have any download/upload capabilities and there is no possible sql injection vulnerabilities either. And none of the apps execute any programs

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Mark Thomas
And a follow up question - are you using the invoker servlet at all? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with NoClassDefFound Error in tomcat 6

2008-08-08 Thread Mark Thomas
Tom Cat wrote: Hello, I am trying to run my webapp in tomcat 6 but am having a problem. A servlet I use imports org.w3c.tidy.Tidy and the code compiles fine. When I try to run it in tomcat though, i get this error: java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy I don't understand why it

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-08 Thread Mark Thomas
Warren Bell wrote: Mark Thomas wrote: Warren Bell wrote: Mark Thomas wrote: - What other webapps are installed on the Tomcat instance? Several, they are all intranet apps that do not have any download/upload capabilities and there is no possible sql injection vulnerabilities either

Re: Problems with NoClassDefFound Error in tomcat 6

2008-08-08 Thread Mark Thomas
Tom Cat wrote: No, I didn't have Tidy.jar in the webapp's classpath. I moved it into the WEB-INF/lib folder and am still getting a NoClassDefFound error. Any help? Did you reload your webapp? Mark - To start a new topic,

Re: Possible virus uploaded to Tomcat 5.5.3

2008-08-09 Thread Mark Thomas
Warren Bell wrote: Mark Thomas wrote: Another thought occurs to me. If this server is only accessible via the firewall and the firewall is locked down to just port 8080 how did you get the source for the JSP you posted originally? Through a VPN connection No questions here - just checking

Re: https j_security_check

2008-08-09 Thread Mark Thomas
Julio César Chaves Fernández wrote: but my problem is when the user and password are right ... i doesn't takes me to the site but leaves me again in the login page Are you logging in over https? Mark - To start a new

Re: Possible virus uploaded to Tomcat 5.5.3 - SOLVED

2008-08-10 Thread Mark Thomas
Folks, Just a short note to let you know that Warren and I have been working this off-list and have identified how this attack was launched. I'd like to take this opportunity to publicly thank Warren for taking the time to work with me on this when he had a lot more important things to do

Re: Possible virus uploaded to Tomcat 5.5.3 - SOLVED

2008-08-11 Thread Mark Thomas
Sameer Acharya wrote: Just a couple of questions on this. 1. I read your mail exchange and it seems that the OP has mentioned no Manager app was installed, but your analysis indicates that the rogue app was uploaded through manager app ?. There were quite a few e-mails exchanged off list,

Re: Strange startorder of webapps

2008-08-11 Thread Mark Thomas
Tobias Kaefer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I have a strange problem with Tomcat 6.0.16 and the start order of my webapps. I just switched form 32bit-Windows XP to 64bit-Linux on my development system. On the Windows system everything works as expected: ROOT webapp

Re: Possible hack tool kit on tomcat 6.0.16

2008-08-11 Thread Mark Thomas
Mehrotra, Anurag wrote: Could there be some kind of backdoor entry happening in the code. Unlikely. This is the sixth report like this I have seen. So far, we have got to the bottom of two and in both cases the manager app was the route in. Whilst a Tomcat flaw is possible (and check out

Re: Re-opening the browser

2008-08-11 Thread Mark Thomas
Christopher Schultz wrote: Tokajac, Tokajac wrote: | But when i submit the (activated) username and password, i got the | -- | HTTP Status 408 - The time allowed for the login process has been exceeded. | If you wish to

Re: Re-opening the browser

2008-08-11 Thread Mark Thomas
Christopher Schultz wrote: Mark, Mark Thomas wrote: | If you go directly to the login page Tomcat can't tell the difference | between that situation and when you go to a protected page, are | redirected to the login page and then take so long to log in the session | times out (the page you need

Re: Load order for Global Resources

2008-08-11 Thread Mark Thomas
Dave Bender wrote: Is the order that Tomcat 6.0.x loads/instantiates Custom Resources definable? I am afraid not. If so, how? If not, is there a way to ensure that one custom resource is loaded prior to another one? Not that I am aware of. I think the order is going to be be defined by the

Re: Load order for Global Resources

2008-08-11 Thread Mark Thomas
Dave Bender wrote: Thanks. Some replies: I think the order is going to be be defined by the order in which the xml parser returns them. Has there been any change to the parser from version 4.x to version 6.x? If so, maybe that'll explain the problem. If not, in theory, we should be getting

Re: Tomcat 5.5 4.1 Security Release

2008-08-12 Thread Mark Thomas
David Rees wrote: I posted a couple messages to the user/dev lists last week asking the same question, There is no need to cross-post. but still haven't seen any mention of a plan to release a new 5.5.x or 4.1.x to fix the security issues posted at the beginning of the month. Is there a plan

Re: where can i get tocat admin package

2008-08-12 Thread Mark Thomas
tunzaw wrote: Hi Where can i get tomcat admin package? I want to use http://localhost:8080/admin. When i attempt to use this url ,tomcat say tomcat admin tool do not already install.Where can i download tomcat admin package? Have you tried the download pages? Mark

Re: Tomcat failover

2008-08-12 Thread Mark Thomas
Ofer Kalisky wrote: Is there a reason why no one is answering this? http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2 Mark - Original Message - From: Ofer Kalisky To: Tomcat Users List Sent: Monday, August 11, 2008 3:26 PM Subject: Tomcat failover Hi, I have a

Re: tomcat5.5 site configuration.

2008-08-12 Thread Mark Thomas
Shahar Cohen wrote: Rmove this line: # Host name=localhost appBase=webapps / Change this line: Host name=10.10.10.12 appBase=webapps to: Host name=localhost appBase=webapps Mark - To start a new topic, e-mail:

Re: FW: Mail could not be delivered

2008-08-12 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello Team, I tried to unsubscribe from this email list, but got mail undelivered message, could someone unsubscribe me from this email list, so that I could use or subscribe with my new email ID. You used the wrong address to unsubscribe. The correct address ([EMAIL

Re: change configuration

2008-08-12 Thread Mark Thomas
Frank Uccello wrote: I am new to tomcat I was wondering how to I change tomcat 5.5 running on Linux box to state auto developed = false also on tom cat 4 Assuming you mean automatic deployment, see http://tomcat.apache.org/tomcat-5.5-doc/config/host.html It is pretty much the same on Tomcat

Re: ssl certificate

2008-08-12 Thread Mark Thomas
Alonzo Wilson wrote: After importing the signed certificate using keytool -import -alias tomcat1 -trustcacerts -file tsat.cer -keystore .keystore is there a way to make the new certificate active besides stopping and starting tomcat? Tomcat version? Mark

Re: ssl certificate

2008-08-12 Thread Mark Thomas
Alonzo Wilson wrote: 4.1.30 and 6.0.16 4.1.30 you should be able to use the admin app to add a new connector. With 6.0.16 you might be able to use JMX. Restarting Tomcat will be far easier. Mark - To start a new topic,

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Mark Thomas
Martin Gainty wrote: grant tomcat access to CGIServlet.jar edit $TOMCAT_HOME/conf/catalina.policy grant codeBase file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar { permission java.security.AllPermission; }; HTH That won't help at all. The CGIServlet bypasses the

Re: where can i get tocat admin package

2008-08-13 Thread Mark Thomas
Angus Mezick wrote: I am having the same problem. I have looked here: http://apache.mirror.facebook.com/tomcat/tomcat-6/ and in the lower directories. No mention of the admin pack. Where would it be hiding? Even if I look at 6.0 in the archives, there is no admin app. Has it not been ported

Re: How to set jvmRoute outside of server.xml

2008-08-13 Thread Mark Thomas
Bill Shaffer wrote: Hi: I am trying to find a way to set the jvmRoute without putting it in my server.xml. I'm using 6.0.18. I've found a couple of things: The Tomcat config reference System Properties section says I can set it on the java command line with a -DjvmRoute option. This did

Re: Default error page generation logic in tomcat

2008-08-13 Thread Mark Thomas
Raghavendra Datt wrote: Hi Guys, I had a specific requirement related to tomcat error generation. When a default error page is generated like 404 error page, tomcat appends its version info at the bottom of the page. I don't want this version to be displayed on the error page. I am trying to

Re: removal of product name/version

2008-08-13 Thread Mark Thomas
Christopher Schultz wrote: Tommy, Tommy Pham wrote: | Thanks all for the reply. Somehow I missed that attribute. Looks | I'll have to define the error-pages. If I specify in the web.xml in | the conf folder, does apply to all web apps deployed for that | host/virtual host? See also:

Re: ssl certificate

2008-08-14 Thread Mark Thomas
restarting Tomcat will be a lot simpler. Mark Mark Thomas [EMAIL PROTECTED] 8/12/2008 5:05 PM Alonzo Wilson wrote: 4.1.30 and 6.0.16 4.1.30 you should be able to use the admin app to add a new connector. With 6.0.16 you might be able to use JMX. Restarting Tomcat will be far easier

Re: where to place context configuration

2008-08-14 Thread Mark Thomas
Robert Dietrick wrote: Hi, I just noticed that I had a Context definition in both $CATALINA_HOME/conf/Catalina/localhost/mywebapp.xml and in $CATALINA_HOME/webapps/mywebapp.war/META-INF/context.xml. In both of these context definitions, I define a JNDI database connection pool with the

Re: where to place context configuration

2008-08-14 Thread Mark Thomas
Robert Dietrick wrote: I would very much prefer to use only the one in mywebapp/META-INF/contex.xml, as this is much less invasive (does not require changing/adding anything to tomcat's global config directories). But this doesn't seem to work. That isn't the way it is designed. I can

Re: ssl certificate

2008-08-15 Thread Mark Thomas
connections but you can't restart the server that way. If you need that level of availability, look into a simple httpd Tomcat cluster. Mark Mark Thomas [EMAIL PROTECTED] 8/14/2008 11:17 AM Alonzo Wilson wrote: Please explain. How does adding a new connector restart tomcat and activate

Re: Tomcat Marketing - At last!

2008-08-17 Thread Mark Thomas
Johnny Kewl wrote: I see someone has stuck this up http://wiki.apache.org/tomcat/PoweredBy Someone hasn't been reading the documentation. That page has existed (in one form or another) for well over 4 years. who ever did it... well done, its about time, TC is under marketed... and its

Re: customer specific settings of webapps

2008-08-18 Thread Mark Thomas
Paul Hammes wrote: Hi all, I have a webapplication wich is distributed in one war for different customers. Unfortunately there are customer specific settings I normally would like to define in the enclosed web.xml. Because this would lead to, that I have to pack one war per customer, I

Re: how to populate database with SHA hash for DIGEST

2008-08-18 Thread Mark Thomas
DIGLLOYD INC wrote: Chris, I accept your point. It's too bad the Tomcat how to docs don't mention this in a brief note. http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html I'm not on the tomcat developer group, otherwise I'd fix it. That doesn't stop you creating a patch. Create

Re: Basic Authentication with Tomcat

2008-08-18 Thread Mark Thomas
Tom Cat wrote: url-pattern/myAdmin/admin.html/url-pattern This should be: url-pattern/admin.html/url-pattern I think this should be enough to require authentication when someone goes to http://localhost:8080/myAdmin/admin.html on the local machine. And yet, it allows everyone

Re: Post form with x-www-form-urlencoded content type and Coyote Connector

2008-08-19 Thread Mark Thomas
André Warnier wrote: Len Popp wrote: No, when a browser sends a POST request the request params are *not* sent as part of the request URI. They are sent in the body of the request. With Content-Type: application/x-www-form-urlencoded the request body looks like this: param1=aparam2=b You

Re: NullPointerException 5.5.17 Request.setAttribute(Request.java:1376)

2008-08-19 Thread Mark Thomas
Adam Jenkins wrote: Hi All, I'be been tearing my hair out for a couple of weeks over this one and would appreciate any assistance anyone could give. It's a bit of a unique scenario, so it'll take me a little while to explain: We have a legacy struts app, forwarding to a jsf app (details of

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread Mark Thomas
Shahar Cohen wrote: Hi, Well I didn’t quite understand you all the way but trying to use your example lats say I have a file named Hello%20There.html when I try to access this file I get 404. Probably because the tomcat recognize the character % as illegitimate. So is there a way to tell

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread Mark Thomas
Johnny Kewl wrote: The systems are both on localhost... you said same machine... it can only have one IP nit-picking Not true. The most obvious case is a machine with multiple NICs. You can also assign multiple IP addresses to the same physical interface. You don't see it often but you would

Re: Instructions for setting up CGI

2008-08-20 Thread Mark Thomas
Ted Byers wrote: I looked at the page for setting up CGI on Tomcat 6, but the paragraph that follows leads to some confusion. Remove the XML comments from around the CGI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml. Apparently the jar the XML file refers to no

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Mark Thomas
Bill Davidson wrote: I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP I've got all of these in $CATALINA_OPTS and they do show up in the java

Re: Tomcat can't see a new function

2008-08-21 Thread Mark Thomas
Daniel L. Gross wrote: org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:420) You really, really want to avoid using the InvokerServlet. Mark - To start a new topic, e-mail: users@tomcat.apache.org

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-08-21 Thread Mark Thomas
Dominic Mitchell wrote: On 21 Aug 2008, at 09:25, Mark Thomas wrote: Bill Davidson wrote: I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP

Re: Remastering tomcat installer ..

2008-08-21 Thread Mark Thomas
Albert Kam wrote: Hello, I'm just wondering if it is possible to 'remaster' or rebuild tomcat-windows-installer, so that i could put my war files or my webapps along with it to produce a custom tomcat installer + my own webapps .. Is this legal and possible ? =) Yes on both counts,

Re: How to run Tomcat with multiple JVM's?

2008-08-21 Thread Mark Thomas
Parks, Lincoln R. wrote: I have two applications that need two different JVM's to run. I am on a Windows 2k environment. One application needs JVM 1.5 to run and the other needs 1.4 to run. Is there a way to have Tomcat 5.5 run but utilize the different JVM's for each application? When I

Re: tomcat instances on different ports running as different users can anyone shutdown?

2008-08-21 Thread Mark Thomas
The simple solution (from Filip): Set the shutdown port to -1. Use kill to stop Tomcat. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: After IIS6 Tomcat6 Integration it has Chinese coding problem!

2008-08-23 Thread Mark Thomas
francin wrote: After I integration IIS and Tomcat successfully, I only have a problem how it can resolve the Chinese coding problem? The detail of the problem is : If my url contains Chinese the tomcat returns HTTP 400 ! How to solve it?

Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)

2008-08-24 Thread Mark Thomas
Peter wrote: I may be going slightly off-topic for this thread, but I have 2 questions regarding the ROOT.xml ROOT.xml fragment file... http://tomcat.apache.org/tomcat-5.5-doc/config/context.html should provide answers to your questions. Mark

Re: Instructions for setting up CGI

2008-08-25 Thread Mark Thomas
Ted Byers wrote: Mark, OK, Thanks. But the information provided isn't quite complete. I had done everything the documentation you point to said, and kept getting internal server errors until I edited (on the suggestion of a colleague) context.xml and changed Context to Context

Re: Tomcat6 relative contexts

2008-08-25 Thread Mark Thomas
trevor paterson (RI) wrote: Prior to tomcat6 you could happily deploy a 'bar.war' to a context like '/foo/bar' simply by including a context.xml file in the META-INF directory of the war with content Context path='/foo/bar'/. Actually, that won't quite have done what you think it did.

Re: Tomcat6 relative contexts

2008-08-25 Thread Mark Thomas
destroy all copies and inform the sender. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 25 August 2008 16:45 To: Tomcat Users List Subject: Re: Tomcat6 relative contexts trevor paterson (RI) wrote: Prior to tomcat6 you could happily deploy a 'bar.war

Re: IIS6 and Tomcat6 Integration Problem with jk2 !

2008-08-26 Thread Mark Thomas
francin wrote: In some reason , I should use jk2 to integrate IIS and Tomcat, everything I have done follow the step: http://tomcat.apache.org/connectors-doc-archive/jk2/jk2/installhowto.html but the IIS return the following logs: Error: [jk_isapi_plugin.c (713)]:

Re: public class SessionTestServlet extends WebContainerServlet implements Serializable { private static final long serialVersionUID = 1L; public ApplicationInstance newApplicationInstance() { return

2008-08-26 Thread Mark Thomas
Ch Praveena wrote: Hi all, I am trying to cluster an application. I found the following exception stack trace. Hope there are very experts in this group, who involved in designing of Tomcat container and utilizing the tomcat too. Please respond me who ever have a very good idea

Re: Authentication Issues

2008-08-26 Thread Mark Thomas
Erik Rumppe wrote: For right now I am using BASIC authentication. There are 3 roles defined in the tomcat-users.xml file. To access different areas of my application requires different levels of roles. I want my users to be able to click on a link and if they don't meet the role requirement

Re: Failed to override global naming resources in specific app!

2008-08-27 Thread Mark Thomas
William wrote: Hi, description webapp definition cannot override global one, even though override attribute set to true. Why? Is that the right way to define resource for common use and redefine it within specific webapp? scenario version: 5.5.20 global definition in

Re: FW: CVE-2008-2370 Query

2008-08-27 Thread Mark Thomas
, Frank (Dimension Data) Subject: FW: CVE-2008-2370 Query -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 26 August 2008 19:05 To: Frank Mott (Europe) Cc: Apache Tomcate private security list Subject: Re: CVE-2008-2370 Query Frank Mott (Europe) wrote: I am

Re: antioJarLocking not working

2008-08-27 Thread Mark Thomas
Aaron Axelsen wrote: Is there a trick to get antiJarLocking and antiResourceLocking to work with tomcat 6? I have the following in the config: Host name=nix-tester.mcs.uww.edu appBase=D:/path/to/webroots/docs ~unpackWARs=true autoDeploy=true ~Context path= docBase=. debug=5

Re: antioJarLocking not working

2008-08-27 Thread Mark Thomas
Aaron Axelsen wrote: Is there any reason its going to look in temp-Foo5? That is how the antiresource locking works. It copies the entire war to a temp location with a unique name and runs it from there. If you reload it would probably use temp-Foo6 etc. Mark

Re: antioJarLocking not working

2008-08-27 Thread Mark Thomas
Aaron Axelsen wrote: I understand how it works - the problem is that the folder is not actually getting created. I double checked permissions - and the apache user does have full permissions to that tomcat 6 folder. Any thoughts? The name of the war is temp Foo5.war. I can see folders

Re: antioJarLocking not working

2008-08-28 Thread Mark Thomas
way to find the file. Mark Mark Thomas wrote: | Aaron Axelsen wrote: | I understand how it works - the problem is that the folder is not | actually getting created. I double checked permissions - and the apache | user does have full permissions to that tomcat 6 folder. Any thoughts

Re: Securing Tomcat: HELP

2008-08-28 Thread Mark Thomas
losintikfos wrote: Hi Experts, I am trying to secure my tomcat manager web console from been seen from the internet. For example if i open the browser and type the internet address of the server, it displays the console where ever i am in the world and therefore want to hide it from been

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Mark Thomas
Gregor Schneider wrote: Hm, rather quiete here about my problem... Is there anybody on this list who is using Tomcat together with APR on any Linux and could let me know about his/her configs? Is the right listener defined in web.xml? Mark

Re: Tomcat 5.5 won't use APR

2008-08-28 Thread Mark Thomas
Gregor Schneider wrote: Hi Mark, On Thu, Aug 28, 2008 at 1:15 PM, Mark Thomas [EMAIL PROTECTED] wrote: Is the right listener defined in web.xml? hm, what do you mean by right listener? and what web.xml? I figure you mean $catalina_home/conf/web.xml? As a how-two I used the tomcat-docs

Re: antioJarLocking not working

2008-08-28 Thread Mark Thomas
Johnny Kewl wrote: - Original Message - From: Aaron Axelsen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, August 28, 2008 10:19 PM Subject: Re: antioJarLocking not working The jar's its probably having issues with are jruby-complete-1.1.3.jar

Re: Securing Tomcat: HELP

2008-08-29 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Actually the context xml is present in CATALINA_HOME\webapps\manager\META-INF dir. You can edit it and add the valve and it should work: Context antiResourceLocking=false privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve

Re: Monitor contanier

2008-08-29 Thread Mark Thomas
sam wun wrote: Hi there, What can I use to monitor tomcat container? Please do not hijack threads. Mark Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Securing Tomcat: HELP

2008-08-29 Thread Mark Thomas
losintikfos wrote: Sorry mark did miss up something here! what did you mean by Those characters needs to be escaped? Are you saying i should do something like this: allow=127.\0.\0.\1 ? Yes. But it should be allow=127\.0\.0\.1 Mark markt-2 wrote: [EMAIL PROTECTED] wrote:

Re: version 5.5 vs 6.0

2008-08-29 Thread Mark Thomas
Alex Howansky wrote: Hello group, I'm wondering if you might be able to share a bit of your expertise with me. Is there any reason to choose 5.5 over 6.0 if you have no specific requirement to do so? I.e., if you were tasked with developing a completely new application from the ground up,

Re: Default application or HTML redirect

2008-08-29 Thread Mark Thomas
Mostafa Mossaad wrote: I have an application (MyApp) deployed using a MyApp.war file inside the /webapp folder. I've tried a lot of things, like modifying the server.xml Bad idea. and web.xml file, and playing with the Welcome-File tags, Nope, not these

Re: Default application or HTML redirect

2008-08-30 Thread Mark Thomas
: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Saturday, August 30, 2008 1:07 AM To: Tomcat Users List Subject: Re: Default application or HTML redirect Mostafa Mossaad wrote: I have an application (MyApp) deployed using a MyApp.war file inside the /webapp folder

Re: Default application or HTML redirect

2008-08-30 Thread Mark Thomas
Christopher Schultz wrote: Mark, Mark Thomas wrote: Mostafa Mossaad wrote: however, all my trails only seemed to make the application accessible via http://localhost only, not from the Internet. Then you have a proxy / dns / routing issue, not a Tomcat one. It's possible that his

Re: Installing Tomcat (stock) with Tomcat (rpm)

2008-08-30 Thread Mark Thomas
Ken Bowen wrote: Eduardo, First, do you mean (1) run multiple versions of tomcat simultaneously? Or just (2) that you will have multiple (different) versions of tomcat installed, and you can switch between them? I'm not sure you can do (1) very easily. As long as you use different ports

Re: Tomcat Native library for Windows

2008-09-02 Thread Mark Thomas
Brian Clark wrote: Hello, I am getting the following error when starting up Tomcat 6.0.16 on Windows 2003: Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production

Re: Trying to build tomcat 6.0.18

2008-09-03 Thread Mark Thomas
Jack Woehr wrote: Martin Gainty wrote: Jack- did you take chucks advice and build with JDK 1.5 ? Yes .. now I've got a different problem :) Clean out the build area and start again. With a 1.5 JDK it should be as simple as ant download ant Mark

Re: JDBCRealm.getRoles causes NullPointerException

2008-09-03 Thread Mark Thomas
DIGLLOYD INC wrote: Aug 31, 2008 5:30:48 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.NullPointerException at

Re: Problems with Context/

2008-09-03 Thread Mark Thomas
Paul Pepper wrote: A discussion regarding the use of the Context/ element, within server.xml and $CATALINA_BASE/conf/[enginename]/[hostname]/, grew from a thread with subject Problem with JNDI environment entry resources: http://marc.info/?l=tomcat-userm=122045686313688w=2 In that thread

Re: question

2008-09-03 Thread Mark Thomas
Steve Ochani wrote: On 3 Sep 2008 at 10:36, Jojo Nadir wrote: hi how are you, I have a probleme in the installation process of tomcat 5.5 under Windows 98 (I have an old computer), it always get me a message containing the following files with some number like this : jvm.dll and 1329

Re: virtual host and cgi-bin

2008-09-04 Thread Mark Thomas
Sathish Vadhiyar wrote: Hi, I have set up a virtual host named app in my server.xml as: Host name=app.com appBase=webapps/app Context path= docBase=./ /Host appBase must not equal docBase. Rename webapps/app to webapps-app/ROOT and use the following Host name=app.com

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Mark Thomas
Eric Berry wrote: Hello, I'm trying to use the manager to deploy a war file creating using Maven 2. The war is a snapshot file which contains a META-INF/context.xml file. It seems that this file is being ignored when deploying this way and the war file-name is being used instead. I

Re: Need help with Tomcat MBean support

2008-09-04 Thread Mark Thomas
Steve Cohen wrote: Thank you very much - this is exactly what I was looking for. And a word to the Tomcat team - Documentation would be much improved by simply mentioning the two links provided by Mr. Hall. Patches are always welcome. Mark

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-04 Thread Mark Thomas
Eric Berry wrote: Mark, thanks for the reply. You appear to have misunderstood. Which part of the doc did you get this from and I'll see if it can be made clearer. From my understanding of the the order of precedence. [quote] *Context* elements may be explicitly defined: - in

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-05 Thread Mark Thomas
Eric Berry wrote: Ok cool. Thank you very much for clearing that up for me. The first time I deployed the war, there wouldn't have been a context in any of the 3 locations mentioned above. As you said, it would have copied the context.xml file from the war into the 3rd location as

Re: Tomcat 6: 20 minutes on 10 minutes off duty cycle

2008-09-05 Thread Mark Thomas
Bryan McGinty wrote: using mod_proxy_ajp. This worked well. I'd use mod_proxy_http given a free choice. But anyway... Has anyone seen this sort of behaviour when upgrading to Tomcat 6? If not, does anyone have any idea of how I may be able to determine the cause of this behaviour? Use a

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-09-05 Thread Mark Thomas
James Wang wrote: Hi all, we are encountering java.net.SocketTimeoutException: Read timed out occasionally, wondering if it's something related to network problem, Would highly appreciate if someone can help, following are the program stack If the client is IE, the server httpd and you are

Re: Deploying an app from remote url (tomcat manager)

2008-09-05 Thread Mark Thomas
Noble Paul നോബിള്‍ नोब्ळ् wrote: hi , I tried the to deploy a war from an http url I tried the following syntax jar:http://hostname:port/path/to/a/warfile.war! I haven't got a system handy to test with but do you need the final '/'? That would make the URL:

Re: Upgrading to 6.0.18

2008-09-06 Thread Mark Thomas
Yoryos wrote: Hello Does anyone knows if with a simple replacement of the jars of CATALINA_HOME/lib can I upgrade from 6.0.14 to 6.0.18? No. It won't pick up changes to the startup scripts, the security policy file, the documentation, server.xml, global web.xml, global config.xml etc. I

Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-06 Thread Mark Thomas
Eric Berry wrote: Mark, Chuck, Thank you both very much for the detailed explanations. I can certainly see how this would definitely speed development along, and how - in most cases - the context.xml is unnecessary. I myself, have rarely used them unless as Mark mentioned, I needed

Re: Tomcat 6 and corruption of text in French error pages

2008-09-06 Thread Mark Thomas
André-John Mas wrote: Hi, I have Tomcat 6 installed on a French version of Windows XP. When error pages, such as the 404 error page, appear the French text is corrupted. For example, instead of the expected: La ressource demandée (/manager/html) n'est pas disponible. I get: La

Re: Yet another context logging question

2008-09-06 Thread Mark Thomas
Caldarale, Charles R wrote: From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Yet another context logging question Foo has a subdirectory bar which I would now like to be it's own Context and AccessLogValue. Such a configuration is not supported - webapps may not be nested. Whatever

Re: Virtual Hosting of Mutliple Domains

2008-09-06 Thread Mark Thomas
Alan Hancock wrote: I added a host entry in the format of www.mydomain.com. Its a very simple site with only an index.html so that I can get the config straight before loading a bunch of content. There is no domain specific context given. I created a folder in the format mydomain.com is the

Re: question : encounter java.net.SocketTimeoutException: Read timed out occasionally

2008-09-07 Thread Mark Thomas
. James Wang. On Fri, Sep 5, 2008 at 10:26 PM, Mark Thomas [EMAIL PROTECTED] wrote: James Wang wrote: Hi all, we are encountering java.net.SocketTimeoutException: Read timed out occasionally, wondering if it's something related to network problem, Would highly appreciate if someone can

  1   2   3   4   5   6   7   8   9   10   >