RE: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Peter Crowther
From: Tom Burke [mailto:[EMAIL PROTECTED] Sent: 12 October 2005 11:18 To: Tomcat Users List Subject: Tomcat on Windows: advantages of running as a service? I'm running Tomcat 5.0.28 on a Windows 2003 server, and I need to automatically shut it down restart it. One way is to control it

RE: manager outofmemory exception

2005-10-11 Thread Peter Crowther
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] What i don't understand is that I sometimes get OutOfMemoryException when i upload new aplitications to the tomcat using the manager. I Profiled my aplication and i don't have any memory issue. Just to check: Did your profiling include

RE: Why getting this error?

2005-10-03 Thread Peter Crowther
From: Ritchie Gillam [mailto:[EMAIL PROTECTED] java.lang.OutOfMemoryError: PermGen space Although your Java virtual machine has enough memory allocated to it, something (probably the number of classes being loaded, or the number of times you're reloading the webapp) is causing the permanent

RE: Why getting this error?

2005-10-03 Thread Peter Crowther
From: Ritchie Gillam [mailto:[EMAIL PROTECTED] Thanks Peter! Can you provide an example please? Is this defined somewhere in the server.xml file? You should be able to set JAVA_OPTS, either within $CATALINA_HOME/bin/catalina (from memory - CHECK! - it's too long since I had to configure

[OT] RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] I've never understood this fascination for fooling around with 3rd-party packaged versions of Tomcat, rather than using the unadulterated originals directly from the Tomcat download site. The process couldn't be much simpler:

RE: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Peter Crowther
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Running Tomcat as Non-Root under Linux listen for port 80 is there anybody know how to do this ? Use the port redirection facilities in Linux (the details vary depending on your kernel, but ipchains or iptables is a good place to start if I

RE: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-27 Thread Peter Crowther
From: Peter Crowther That way, Linux can run as a non-root user but still see requests arriving on port 80. Sorry. Brain fade. Replace 'Linux' with 'Tomcat' in the above. - Peter - To unsubscribe, e-mail

RE: starting Tomcat service

2005-09-23 Thread Peter Crowther
From: Tuan Quan [mailto:[EMAIL PROTECTED] But I want the script to run at boot time, in Windows. You might wish to look at srvany (http://support.microsoft.com/default.aspx/kb/q137890/). This allows you to start any process as a Windows service. - Peter

RE: Registering my own protocol in Tomcat

2005-09-22 Thread Peter Crowther
From: Robert Koberg [mailto:[EMAIL PROTECTED] Is there a possibility to get tomcat working with my own ASCII based protocol (instead of HTTP). [...] Check out: http://java.sun.com/developer/onlineTraining/protocolhandlers/ Different use of 'protocol' - that won't help the original

RE: an advice neede for use of encodeURL method...

2005-09-22 Thread Peter Crowther
From: jonas skrebys [mailto:[EMAIL PROTECTED] a href=% response.encodeURL [...] ^ I think you're missing an '=' here? Should be %=function();% to write the result of function to the output. Without that, the encoded URL will not be written to the output stream. View the source

RE: Can the Tomcat authentication module use an ASP.NET security token?

2005-09-21 Thread Peter Crowther
From: Tracy Spratt [mailto:[EMAIL PROTECTED] Subject: Can the Tomcat authentication module use an ASP.NET security token? I have a Tomcat app (MM Flex app) that is called from an asp.net application which is secured by forms (cookie-based) authentication. (NOT NTLM / Windows Integrated)

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Peter Crowther
From: NoKideen [mailto:[EMAIL PROTECTED] usually I use String to collect output first and out.print() those String example : String a=; a+=Test 1; a+=Test 2; // very long , and almost 1 page out.println(a); can this cause out of memory problem ? It won't help much - you'll

RE: Multiple Remote Debugging of TOMCAT

2005-09-14 Thread Peter Crowther
From: rahul [mailto:[EMAIL PROTECTED] We are three people working on three different application which are deployed on a single remote machine We all want to remotely debug our application. Is it possible with one instance of tomcat? (I think no) At the same time? Not to my knowledge -

RE: Storing a request

2005-09-13 Thread Peter Crowther
From: Ajay Arjandas Daryanani [mailto:[EMAIL PROTECTED] I'm developing a authorization filter for Tomcat 5; in some cases, if the user credentials are invalid, I have to save the original request, redirect the user to an external authentication engine, handle the response and then proceed

RE: compile precompile jsps at runtime

2005-09-06 Thread Peter Crowther
From: Zachi Hazan [mailto:[EMAIL PROTECTED] Subject: Re: compile precompile jsps at runtime So, how can I do it with tomcat not out of the box? One approach would be to cheat! Tomcat compiles the page when the page is first invoked. So, you could for example define a special parameter as

RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] I seem to remember when I was working with IIS some years ago, I could map multiple IP addresses to one instance of IIS, i.e., IIS could service multiple web sites for me, each web site having it's own, unique IP address. Is there a way

RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
From: Fadil [mailto:[EMAIL PROTECTED] I do not understand very well, if we did this configuration, (with a new IP for tomcat and one for IIS web app on the same server) : we don't have to specify port number for IIS or Tomcat ? Each would bind to port 80, each on its own IP address on

RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
From: Fadil [mailto:[EMAIL PROTECTED] But it doesn't work... What error are you getting, from what? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-01 Thread Peter Crowther
From: Zsolt [mailto:[EMAIL PROTECTED] When I start a long running servlet I want to give the user some feedback about the progress, thus I just print some characters to the browser from the servlet. It works fine when I go directly tomcat but when I go through apache and tomcat

RE: using disks SATA against SCSI in tomcat 5.5.9 cluster servers

2005-08-26 Thread Peter Crowther
From: Acácio Furtado Costa [mailto:[EMAIL PROTECTED] In the specification of the disks I have doubts because the new disks SATA has great performance and speed and with cost comparative minor to the SCSI Disks. Considering applications WEB, where the WAR files are loaded in memory

RE: playing outside the tomcat 4 classloaders sandbox

2005-08-23 Thread Peter Crowther
From: Fabien Benoit [mailto:[EMAIL PROTECTED] I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface to a classical 2-tier application. My problem is, I need to access the existing API of this application, a single jar located outside the tomcat install. Copying this jar

RE: Redirect to 443

2005-08-23 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is posible to force redirect to 443 when a non-ssl request is received (without having a security-constraint )? You could, for example, write a filter for your webapp that checked whether the protocol was secure on an icoming request and

RE: Calculating required memory

2005-08-18 Thread Peter Crowther
From: Oleg [mailto:[EMAIL PROTECTED] Now regarding shared/lib directory I thought that every application loads its own copy of those libraries, but if its only one time load and since all my applications are identical copies (only data changes) I might as well move all my classes

RE: Calculating required memory

2005-08-17 Thread Peter Crowther
From: Oleg [mailto:[EMAIL PROTECTED] I am trying to approximate the amount of memory my server will need running tomcat. I understand that a lot depends on how the appication handles resources, however at this point I am trying to figure out what will be the mimimum needed. In my case

RE: 64 Bit Machines and Tomcat

2005-08-16 Thread Peter Crowther
From: J R [mailto:[EMAIL PROTECTED] Are there 64 bit counterparts? If not, would the 32 bit ones definitely work? Assuming you have a Java virtual machine that runs on your system, the Tomcat Java classes will run unchanged. The 'virtual' in 'virtual machine' means that compiled Java

RE: 64 Bit Machines and Tomcat

2005-08-16 Thread Peter Crowther
From: J R [mailto:[EMAIL PROTECTED] Thanks... I didn't realize that Tomcat was pure Java. There's the odd shell script and batch file to assist; other than that, it's pure Java. Certainly there's nothing that needs a platform-specific compiler before it'll run, just the JVM. Being tortured

RE: anonymising Tomcat

2005-08-05 Thread Peter Crowther
From: Paul Singleton [mailto:[EMAIL PROTECTED] Is it possible to configure Tomcat (5.5.9) so that a moderately able hacker couldn't figure out what is serving up our web apps? It's possible to add the 'server' attribute to the connector definition for the HTTP connector; server=BogoMAX v0.1

RE: 1 jakarta server + multiple ip's

2005-08-04 Thread Peter Crowther
From: Justin Jaynes [mailto:[EMAIL PROTECTED] I tried the solution you offered (below) about creating more than one service and using the address=xxx parameter in the Connectors tags. It works great. Glad to hear it. However, what do you mean in your disclaimer that it is from the

RE: 1 jakarta server + multiple ip's

2005-08-02 Thread Peter Crowther
From: [EMAIL PROTECTED] I'm configuring a tomcat-server and the server has multiple ip's. I would like to setup virtual hosts based on the ip-address. I wouldn't like running multiple servers. What I've done: I have setup aliases for the possible dns-names of the second virtual host

RE: tomcat base vs. home

2005-08-02 Thread Peter Crowther
From: Sternbergh, Cornell [mailto:[EMAIL PROTECTED] Is Tomcat home the place tomcat looks for its stuff and Tomcat base where it looks for applications? And then where would the HTML/JSP pages go? Not quite. HOME is where the Tomcat binaries live. BASE allows you to set up an alternative

RE: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Peter Crowther
From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Subject: TC5.5.9 Linux - shutdown port 8005 not bound BUG? I've never had TC bind itself to 127.0.0.1:8005 to allow correct shutdown to occur. [...] $ netstat -tanp | grep 80 tcp0 0 :::127.0.0.1:8009 :::*

RE: TC5.5.9 Linux - shutdown port 8005 not bound BUG?

2005-08-01 Thread Peter Crowther
From: Darryl L. Miles [mailto:[EMAIL PROTECTED] Sorry yes... 8009 is the apj13 port (was figuring you'd guess). Doh. My bad - I use Tomcat directly, not via a front-end, so missed that one. Sorry Darryl (and anyone reading this thread in the archives). My apache is using it locally I have

RE: Problem Running Tomcat on Russian MS Windows

2005-07-29 Thread Peter Crowther
From: CW Lee [mailto:[EMAIL PROTECTED] 1) Why doesn't Tomcat work on Russian MS Windows? 2) Is there anything i can do for Tomcat to run on Russian MS Windows? 2) Is there any other solution which allows me to run JSP off Russian MS Windows? CW, have you successfully installed and run

RE: HTTP/1.1 GZIP compression and its impact on server

2005-07-29 Thread Peter Crowther
From: Ronald Klop [mailto:[EMAIL PROTECTED] Ethernet uses packets of 1500 bytes, this includes some headers. So if your html is smaller than about 1400 bytes your are sending the same number of packets over your network with or without compression. Not entirely true, as for Internet use

RE: tomcat not starting properly

2005-07-26 Thread Peter Crowther
From: blackwater dev [mailto:[EMAIL PROTECTED] I am having trouble starting tomcat. It gets to a point then just stops. What am I doing wrong? [EMAIL PROTECTED] bin]# ./catalina.sh jpda run Using CATALINA_BASE: /usr/tomcat Using CATALINA_HOME: /usr/tomcat Using CATALINA_TMPDIR:

RE: Preprocessing JSP pages

2005-07-18 Thread Peter Crowther
From: Edward Hibbert [mailto:[EMAIL PROTECTED] Indeed, we don't want to have them permanently present in the JSP at all (i.e. convert the pre-processing into a run-time check), also for performance reasons. That was the original motivation for making this stuff pre-processed. If you

RE: Copying an HttpServletRequest

2005-07-15 Thread Peter Crowther
From: cristi [mailto:[EMAIL PROTECTED] Is there any way to make a copy of an object implementing the HttpServletRequest interface ? Alter the Tomcat codebase to implement that copy facility, remembering to check through the codebase for pieces that would break. You would then be maintaining

RE: Copying an HttpServletRequest

2005-07-15 Thread Peter Crowther
From: cristi [mailto:[EMAIL PROTECTED] The requirement of making a copy of the HttpServletRequest is generated by the fact that the former programmers have used (in a natural manner): 1) the HttpServletRequest.setAttributes() to send data to the jsp pages creating

RE: What is allowed to do with a HttpServletRequest ?

2005-07-14 Thread Peter Crowther
From: cristi [mailto:[EMAIL PROTECTED] I have a web application where I need to use in a second request the HttpServletRequest object sent to the same servelet in the first request. [...] session.setAttribute( FIRST_REQUEST_OBJECT, request ); Unsafe. Servlet containers may re-use

RE: Tomcat 5.5 and SQL Server

2005-07-11 Thread Peter Crowther
From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] I am running Tomcat 5.5 with SQL Server on a separate machine. I am getting the following error at random times: Java.lang.Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection rest by peer: socket write

RE: Tomcat 4.1.37 and 5.0.2?? differences

2005-07-08 Thread Peter Crowther
From: Mark Benussi [mailto:[EMAIL PROTECTED] Subject: Tomcat 4.1.37 and 5.0.2?? differences I am having to change my ISP and was wondering what the main differences were with these two servers. http://jakarta.apache.org/tomcat/index.html 5.0.x is servlet spec 2.4 / JSP 2.0, like 5.5.

RE: Silent runtime replace of a class

2005-07-08 Thread Peter Crowther
From: Gal Robert [mailto:[EMAIL PROTECTED] Thanky you very much, for your long answer. No problem. It seems, your theory is absolutely correct, I even found an article with detailed information about setting up a high availability Tomcat; here it is:

RE: 2 apps

2005-07-07 Thread Peter Crowther
From: Sergey Livanov [mailto:[EMAIL PROTECTED] I have 2 applications. The first is to be allowed from internet, the second is to enter data. Two apps are in the webapps. How can I configure tomcat to make cms unvisible from outside. At least: 1) Use a filter or valve to examine the IP

RE: Make webapp jars downloadable

2005-07-07 Thread Peter Crowther
From: Andrea Aime [mailto:[EMAIL PROTECTED] Now, the client and the web application share a lot of jars, so I would like to make the jars in web-inf/lib downloadable, so that the web start can access them. At the moment I've put the jars both in web-inf/lib and in the root, but this

RE: Silent runtime replace of a class

2005-07-06 Thread Peter Crowther
-- Peter Crowther, Director, Melandra Limited John Dalton House, 121 Deansgate, Manchester M3 2AB t: +44 (0)161 828 8736 f: +44 (0)161 832 5683 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Silent runtime replace of a class

2005-07-05 Thread Peter Crowther
From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. That's a very broad requirement, and may not be achievable in its full form. Does this mean that users must

RE: Problem compiling JSPs with Tomcat as Windows Service

2005-07-04 Thread Peter Crowther
From: Trevor Quinn [mailto:[EMAIL PROTECTED] When I deploy a web application to a Windows 2K server running Tomcat 5.0.28 and JDK 1.5, I see Unable to compile JSP errors on every JSP page, but only when Tomcat is running as a Windows service. When I run Tomcat from the console window,

RE: JVM in Tomcat

2005-07-01 Thread Peter Crowther
or deny? - Peter -- Peter Crowther, Director, Melandra Limited John Dalton House, 121 Deansgate, Manchester M3 2AB t: +44 (0)161 828 8736 f: +44 (0)161 832 5683 - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] I forget to mention these are 3 rd party JARS which I cannot put in the LIB. Cannot by licensing terms, because the app will no longer work if you do, or what? - Peter

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] It is not that it wont work , It is by design. OK. So, to summarise: - You have a set of jars that is too large to name on the classpath in Windows; - The jars are required for one webapp only, not for the whole of Tomcat (so one could argue

RE: web hosting with tomcat

2005-07-01 Thread Peter Crowther
From: vishwam [mailto:[EMAIL PROTECTED] can tomcat serve as web server alone? Yes. Please can any one tell me the procedure what should be done ? At the simplest, edit conf/server.xml to change port 8080 to port 80 and restart Tomcat so that it reads the new port. However, you may also

RE: Tomcat in production

2005-07-01 Thread Peter Crowther
From: Adam Lipscombe [mailto:[EMAIL PROTECTED] 1. Does anyone have an idea of how many concurrent users/requests TC can support in this sort of config? Depends entirely on your app. I've worked on one app (http://bodington.org) where that configuration would be able to support hundreds of

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Anoop kumar V [mailto:[EMAIL PROTECTED] In TC 5.x (this too FYI does not care abt the system classpath, but) you can modify the following lines in catalina.properties file under the conf dir ... SNIP That's better than my version - thanks, Anoop. - Peter

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread Peter Crowther
From: Muriithi O. Kimotho [mailto:[EMAIL PROTECTED] I installed the latest tomcat in my WinXP Pro but my Norton Antivirus 2005 shuts the Tomcat Service anytime i fire it up then a popup saying a trojan is trying to communicate via Port 5001. How can i solve this? I cannot start the

RE: Problem with security?

2005-06-10 Thread Peter Crowther
From: Gagnon, Joseph M (US SSA) I have a situation where I want to be able to provide user access to an application by determining the identity of the requesting user, without them having to go through a login procedure. OK. So what identity can the browser present that you wish to

RE: Redirecting Tomcat to IIS (UNCLASSIFIED)

2005-06-09 Thread Peter Crowther
From: Young, Ed CONT Anteon [mailto:[EMAIL PROTECTED] I have an issue with redirecting my web application from Tomcat 4.1 to IIS 6.0 on Windows 2003 Server. I have followed the steps in configuring the redirect but once I try to access the page using port 80, I get an Under

RE: Servlet Concurrency Issues

2005-06-08 Thread Peter Crowther
From: Michael Pasko [mailto:[EMAIL PROTECTED] To mimic the desired behavior I've fixed the problem by adding this (implements SingleThreadModel)... public class ServletName implements SingleThreadModel Note that SingleThreadModel isn't supported in more recent versions of Tomcat. This may

RE: Servlet Concurrency Issues

2005-06-08 Thread Peter Crowther
From: Remy Maucherat [mailto:[EMAIL PROTECTED] Your statement is completely wrong, STM is fully supported in Tomcat 5.5, with instance pooling for good performance. Sorry, Remy - I should have checked rather than relying on memory. - Peter

RE: How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed?

2005-06-07 Thread Peter Crowther
From: Harland, David [mailto:[EMAIL PROTECTED] How do you set the session timeout in tomcat so that the session only timeouts when the browser is closed? You don't. There is no way in any Web architecture of reliably detecting whether a browser has closed, or whether it has merely

RE: JAVA_OPTS??

2005-06-07 Thread Peter Crowther
From: BATCHELOR, SCOTT (CONTRACTOR) [mailto:[EMAIL PROTECTED] I really apologize if this has been answered previously but I cannot find any definative documentation on the JAVA_OPTS option. I would like to bring myself up to date on what might be accomplished using this setting. Using

RE: Realm implemenation, passing additionnal informations to webapplication

2005-06-06 Thread Peter Crowther
that is in the implementation jar, as the webapp won't be able to load those classes. - Peter -- Peter Crowther, Director, Melandra Limited John Dalton House, 121 Deansgate, Manchester M3 2AB t: +44 (0)161 828 8736 f: +44 (0)161 832 5683

RE: How to read a file on disk from a servlet

2005-05-27 Thread Peter Crowther
From: Kenneth Jensen [mailto:[EMAIL PROTECTED] How do I get my servlet to read the keystore file, say if I put it in $CATAILNA_HOME/webapps/mywebapp/WEB-INF/lib/mykeystore.jks. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConte xt.html#getResource(java.lang.String)

[OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Peter Crowther
[Marked off-topic as this now has nothing to do with Tomcat.] From: Steve Kirk [mailto:[EMAIL PROTECTED] Can I ask how sure you felt of what you say here please: Uhhh... how about 'the little pixies told me, and I believe everything they say'? :-) It's from a combination of knowing two

RE: [OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Peter Crowther
From: Steve Kirk [mailto:[EMAIL PROTECTED] Thanks Peter, interesting. Internet issues in the large tend to be - you get emergent behaviour that is often unexpected :-). I think these are referred to as caching servers as opposed to secondary. It's the secondaries that receive the zone

RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-25 Thread Peter Crowther
From: John MccLain [mailto:[EMAIL PROTECTED] 1) for DNS Request Distribution - I dont understand. The browser sends a URL to the DNS, the DNS responds back with an IP address. But what if at that IP address, you have a web server listening on port 80? The browser talks to that Web

RE: Minimal server

2005-05-24 Thread Peter Crowther
From: Dola Woolfe [mailto:[EMAIL PROTECTED] What I'm primarily thinking about is what the user would need to have/install in order to use the program. And I want the user to simply click on a file and for the program to just run (provided the jre is installed). Tomcat is capable of running

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Peter Crowther
From: Trung Nguyen [mailto:[EMAIL PROTECTED] Is there a way to configure tomcat 5.5.9 to support .asp extension? If you mean 'serve static content that has a .asp suffix as MIME type x/y', yes. Configure a MIME-type in Tomcat's conf/web.xml (or your webapp's web.xml) and you're done. If you

RE: .asp and tomcat 5.5.9

2005-05-12 Thread Peter Crowther
From: Trung Nguyen [mailto:[EMAIL PROTECTED] What we're trying to do here is one of our client requested to show .asp instead of .jsp I know this is crazy, but I guess they're Microsoft company :) Of course all our files end with .jsp Ah! OK, so what I think you want is to

RE: Two instances configuration

2005-05-12 Thread Peter Crowther
From: Diogo Martinez [mailto:[EMAIL PROTECTED] does anybody know how to set up two instances of Tomcat in a same machine, listening to different ports? As well as configuring the connector, check and change the shutdown port (near the top of conf/server.xml). Each instance needs a

RE: Is it possible to run a Tomcat 4.x and Tomcat 5.x on one computer

2005-05-11 Thread Peter Crowther
From: ojay78 [mailto:[EMAIL PROTECTED] I have 2 webapplications and one of them have to run with the tomcat 4.x Version the other one I want do install it on the new 5.x version. Can I install both tomcat versions on the same server? Yes. I have that configuration running here - 4.1.31

RE: Multiple tomcats - multiple JVM's?

2005-05-11 Thread Peter Crowther
From: Thomas Nybro Bolding [mailto:[EMAIL PROTECTED] When installing multiple instances of Tomcat 5.5x on the same server do I then need to install multiple JRE's as well? No. But with one JRE would one crashed instance of Tomcat crash the others as well? Separate the JRE (Java Runtime

RE: Question: Please tell me to connect Tomcat/Apache

2005-05-06 Thread Peter Crowther
From: anshul [mailto:[EMAIL PROTECTED] I think/read, Apache is better than Tomcat for HTML Web pages. That is your decision, but... I asked, to run .jsp from ~/wwwroot ... you won't easily be able to mix, in the same directory, Apache serving the HTML files and Tomcat serving the JSPs.

RE: Network Disk Not Exist Under Tomcat-5.5.9

2005-05-04 Thread Peter Crowther
From: NanFei Wang [mailto:[EMAIL PROTECTED] Why Network Disk Not Exist Under Tomcat-5.5.9 ? Are you running Tomcat as a service? If so, remember that drive mappings (eg. mapping Y: to \\myserver\myshare) are user- and session-specific. You have mapped a drive as a user; the services on your

RE: Amount of free disk space

2005-05-04 Thread Peter Crowther
From: Mark Benussi [mailto:[EMAIL PROTECTED] Is there a Java API call I can make to detect how much disk space has been allocated to my account and the current amount used? Depending on how hard they've nailed down the lid on Tomcat, you *might* be able to invoke UNIX executables using

RE: filesystem independent tomcat [OT]

2005-04-29 Thread Peter Crowther
From: sandy kumar [mailto:[EMAIL PROTECTED] I am doing some exploratory work on tomcat and was wondering If anyone has felt the need for tomcat which can be loaded across the network and doesnt rely on the underlying filesystem in anyway including the temporary work directory, logging,

RE: unable to send a java mail

2005-04-28 Thread Peter Crowther
From: vishwam [mailto:[EMAIL PROTECTED] iam trying to send a simple email using javamailAPI but iam getting the following error sun.net.smtp.SmtpProtocolException: 553 Sorry, that domain isn't in my list of allowed rcpthosts. That's a response from your mail server. I suspect you're

RE: unable to send a java mail

2005-04-28 Thread Peter Crowther
From: vishwam [mailto:[EMAIL PROTECTED] my smtp server requires authentication with username password but i couldn't find these smtp authentication fields in java mail specification The section entitled 'transport' in http://java.sun.com/developer/onlineTraining/JavaMail/contents.html

RE: dedicating client ports

2005-04-27 Thread Peter Crowther
From: Kristian Rink [mailto:[EMAIL PROTECTED] Question: Is there an easy way to, within axis/tomcat, create a SOAP service listening on a different port than the tomcat server itself? Yes, I think (beware: I have not tried this). Create two Services in your server.xml; each has its own set

RE: Question about File writing and authorisation

2005-04-27 Thread Peter Crowther
From: Maarten Janssen [mailto:[EMAIL PROTECTED] I have a servlet that create output files (txt) on the fly (with File obj etc). I can write these files anywhere on the server (where the apllication is running), so thats great. But if I want to write them to another computer in the netwok

RE: set header in all responses

2005-04-27 Thread Peter Crowther
From: Rodrigo Avila [mailto:[EMAIL PROTECTED] Is possible to put this headers in all responses generated by Tomcat? response.setHeader(Pragma,no-cache); response.setHeader (Cache-Control,no-history); response.setDateHeader(Expires,-1); Yes. At worst, you could write a Valve that set

[OT] RE: development environment

2005-04-26 Thread Peter Crowther
From: Patrick Lacson [mailto:[EMAIL PROTECTED] I'm curious to what everyone's dev environment looks like. Dev: Athlon XP2200, 1Gbyte RAM, 80G hardware-mirrored HDDs*, Win2K server, dual 1280x1024 TFTs. Netbeans (when I have to), Ant, JUnit, vim, CVSNT, putty. Coffee machine next door - an

RE: Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Peter Crowther
From: Craig [mailto:[EMAIL PROTECTED] Apr 26, 2005 1:24:04 AM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Permission denied:80 Are you running the Tomcat process as root? If not, you won't be able to bind to ports 80 or 443 on

RE: Multiple tomcat instances

2005-04-15 Thread Peter Crowther
From: Kelly, Steve [mailto:[EMAIL PROTECTED] Is it possible to run multiple instances of tomcat on the same server, for example to support production and test environments ? Yes. I run up to four on this machine - two (one 4.1, one 5.0) are running as I type this. Here's a Windows script

RE: java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] Been trying out java 1.5 Now back to using 1.4.2.06 When I run what was a working servlet, I'm getting the above error, and 'Unsupported major.minor version 49.0' Is this Tomcat or java please? Java. A .class file has been compiled

RE: clustering without loadbalancing

2005-04-14 Thread Peter Crowther
From: Gaurav Bansal [mailto:[EMAIL PROTECTED] is apache necessary for this No - in fact, it merely introduces another single point of failure, which I assume is what you want to avoid. However, you need *something* that will choose whether the primary or standby instance receives any given

RE: port number

2005-04-13 Thread Peter Crowther
From: t.n.a. [mailto:[EMAIL PROTECTED] I host applications on a machine where both apache and tomcat are running. I access apache at port 80 and tomcat at 8080. Is it possible (using the tomcat apache connection, or some other way) to access both at port 80? Yes, but you'll have to

RE: about Jakarta Slide commercial use

2005-04-11 Thread Peter Crowther
From: Yu Jie [mailto:[EMAIL PROTECTED] Though we know that Jakarta Slide is under the Apache License 2.0 , we are still not quite sure what to do with the situation of commercial use. DISCLAIMER: The following is personal opinion. I am not a lawyer. You should not rely on this advice.

RE: Webdav issue with non ASCII characters

2005-04-11 Thread Peter Crowther
From: Fernando Salazar de Paz [mailto:[EMAIL PROTECTED] when I request a PDF file a new (second) request is made by Acrobat Reader. Acrobat Reader uses ISO-8859-1 and Tomcat will not be able to decode the uri properly. What is the reason for the second request ? The Acrobat reader IE

RE: tomcat as Windows service - access to resources

2005-04-07 Thread Peter Crowther
From: Jiang, Peiyun [mailto:[EMAIL PROTECTED] I'm running Tomcat 5.0 on Windows 2000. I logon to Windows as user1 and I have a mapped drive G: that requires separate login (I user the same user name and password, so it automatically logs in). (1) If I login as user1 and start Tomcat

RE: creating a BBS with tomcat - how secure is it?

2005-04-07 Thread Peter Crowther
From: Christoph Kukulies [mailto:[EMAIL PROTECTED] Anyone knowing of a BBS (Bulletin Board System) based on tomcat? mvnForum will run on Tomcat, and I know a couple of universities doing exactly that. - Peter

RE: [Way off topic] Getting MSOutlook calendar to interface with Tomcat-served data

2005-04-03 Thread Peter Crowther
From: Rob Hunt [mailto:[EMAIL PROTECTED] I'd like to serve calendar/event info to the calendar in MS Outlook (or is that LookOUT!?). I know that it's possible to create output that can be statically imported, but I'd like to make it as easy as possible to periodically/on-demand

[OT] Serialization (was RE: Clustering question)

2005-04-01 Thread Peter Crowther
From: Dale, Matt [mailto:[EMAIL PROTECTED] Yes this is a problem. All objects contained within a serializable object must in turn be serializable themselves. Or marked as 'transient'. This omits them from serialization. - Peter

RE: Tomcat Connection refused :-(

2005-04-01 Thread Peter Crowther
From: gaurav [mailto:[EMAIL PROTECTED] My tomcat server is not working !! no matter what I do every thing I going till I day installed oracle 9i :-( What Tomcat version? What operating system? I assume some UNIX variant given the trace. Did you install anything else on the

RE: Tomcat Connection refused :-(

2005-04-01 Thread Peter Crowther
From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 Thanks. my i have disable firewal and stopped Iptables !! OK. netstat -a | grep tomcat or 8080- nothing , zero , blank You already said that you had moved the Tomcat port from 8080, though? If so,

RE: Tomcat -- port 80 for Linux

2005-03-30 Thread Peter Crowther
From: Jury Levykin [mailto:[EMAIL PROTECTED] I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in port 80. To solve this task I see two way: 1. Running tomcat as daemon in port 80 by jsvc command. 2. Running apache in port 80 and use mod_jk to redirect users request

RE: Data file owner and group difficulties

2005-03-30 Thread Peter Crowther
From: James T. Studebaker [mailto:[EMAIL PROTECTED] Yes, Tomcat runs as tomcat:nobody. I can not run Tomcat as jims:jims since jims is a virtual host account. I should have mentioned this in my initial email. I am one of numerous users who have an account that has access tomcat. The

[OT] RE: Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread Peter Crowther
[Marked off-topic as almost certainly not directly Tomcat-related] From: Steve Vanspall [mailto:[EMAIL PROTECTED] My only option is to reboot the machine. But it hangs half way and has to be physically powered off. As others have suggested, this may well be bad RAM - or I've had similar

RE: Location of javascript files.

2005-03-29 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] When I convert the jsp file to /project/WEB-APPS/class/x.class where would you expect the javascript file to be found please? By what URL is the client accessing the page (FileProperties or right-clickProperties in IE)? It needs to be in that

RE: question about multiple instances and multiple domains

2005-03-23 Thread Peter Crowther
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] And what if i don't want to use apache?? Alternative approaches could include allocating each application its own IP address, ensuring that each Tomcat instance binds to port 80 on its own IP address. This assumes you have sufficient IP addresses

RE: question about multiple instances and multiple domains

2005-03-23 Thread Peter Crowther
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] how can I bind each ipaddress to port 80?? And how to assign a ipaddress to an application? 1. On paper, allocate an IP address range to your applications. Remember that if these apps are going to be accessed externally, you'll need a separate

  1   2   >