Can I configure a webapp that is stored on something other than filestore?

2004-11-04 Thread Peter Crowther
question, I know. The Tomcat 4 documentation appears to indicate that a Host's appBase is a URL but, on trying it with 5.0.28, file: URLs are not recognised, let alone anything more outlandish. All help gratefully received! - Peter -- Peter Crowther, Director, Melandra Limited John

RE: Can I configure a webapp that is stored on something other than filestore?

2004-11-04 Thread Peter Crowther
From: Steve Kirk [mailto:[EMAIL PROTECTED] I believe that if your servlet is /mywebapp/myServlet and your user accesses /mywebapp/myServlet/iwant/this/file, the iwant/this/file part is available as the request parameter getPathInfo() and you can do what you like with that - access a

RE: Can I configure a webapp that is stored on something other than filestore?

2004-11-04 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Steve probably had a Filter in mind, not a regular Servlet. While higher in portability (but further down the execution pipeline) than a Servlet, a Filter can be used to redirect requests and responses as needed. A Valve is very similar to a

RE: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] One great way to approach production setups for Tomcat is one webapp per Tomcat instance. Restarts are then quick and easy, and no matter what this one webapp does (OutOfMemoryErrors, malicious code, etc.) it can't affect others you have

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Crowther
From: d~l [mailto:[EMAIL PROTECTED] Problem summary: Tomcat 5.0.24 JSP 2.0 SVG example does not display JSPX rendered SVG file in IE 6 browser. O.k. in Opera and Mozilla. Just check whether there's a blank line before the ?xml...? in the generated file. I had the same problem in ASPX

RE: Tomcat 5.0.24 - JSP 2.0 SVG example (JSPX) - not opening rendered SVG object in IE 6

2004-11-09 Thread Peter Crowther
From: d~l [mailto:[EMAIL PROTECTED] Thanks for the guess .. but I have just checked the textRotate.jspx file which IE is prompting to be downloaded .. and there is no white space before the ? xml header If you download and save it as file.svg on your desktop, then double-click it, does

RE: How to secure my webapp under Tomcat?

2004-11-11 Thread Peter Crowther
From: Koon Yue Lam [mailto:[EMAIL PROTECTED] Is there any methods that I can secure my webapp to ensure my client won't deploy it to somewhere else by someone else?? Nope. You can draft an appropriate contract, you can obfuscate all you like, you can even use hardware (eg USB) keys on the

RE: Tomcat is Good Enough for Game Performances

2004-11-11 Thread Peter Crowther
From: Bing Li [mailto:[EMAIL PROTECTED] Now I attempt to use Tomcat as a game server. Is it a correct choice? Depends on your game. I wouldn't use any runtime system that contained a garbage collector that could stall the system in a hard real-time system - which knocks out perl, Java, .Net

RE: URL.setURLStreamHandlerFactory - Tomcat 5.0

2004-11-11 Thread Peter Crowther
, yet still allow an unmodified webapp to access this 'virtual file system' functionality? - 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

getResource (was RE: URL.setURLStreamHandlerFactory - Tomcat 5.0)

2004-11-12 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Yoav, I have *no* idea what this list would do without you... We discussed this back as jar as June: see the thread and accompanying Bugzilla issue at http://issues.apache.org/bugzilla/show_bug.cgi?id=29631. We decided not to allow

RE: SocketException

2004-11-12 Thread Peter Crowther
From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED] SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument Hmm. An EINVAL from the socket layer. Are you running UNIX or Windows? Depending on which, I'd get hold of a system call tracer (Unix) or TDImon (Windows), monitor

RE: [ANN] Multiple Instances Tomcat Installer

2004-11-15 Thread Peter Crowther
From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] To be serious, I am of the opinion that the Tomcat project can benefit from an application that helps Administrators with installation and management of multiple Tomcat instances (which is a superset of MITI's features). Yes please! We have an

RE: JAVA_OPTS

2004-11-15 Thread Peter Crowther
From: Wick, Daniel [mailto:[EMAIL PROTECTED] I understand why you would set a max amount of memory that Java will use (-Xmx 512m), but why do you set a minimum (-Xms128m)? Doesn't it just use what it needs until it hits the max? So that you don't have it starting up small and then

RE: How to upgrade an application without stopping service?

2004-11-18 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] You need to schedule down time for the server. Perhaps a night time window like 3am when usage is minimal. Then do the upgrade. An alternative, if you have the hardware for it, would be to install the new app version on new hardware but using

RE: JAVA_OPTS for multiple apps running under 1 tomcat

2004-11-19 Thread Peter Crowther
From: Wick, Daniel [mailto:[EMAIL PROTECTED] When I set JAVA_OPTS=-Xmx 512m, in the bin/setenv.sh on UNIX, does this max out 512m for each context, or does it set it for everthing that runs under tomcat? It sets it for the Java virtual machine. Since all three contexts run in one virtual

RE: Access is denied while open file from NT server

2004-11-23 Thread Peter Crowther
, and (of course) the share on which the file resides. Best of luck, - 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 smime.p7s Description: S/MIME cryptographic signature

RE: Access is denied while open file from NT server

2004-11-23 Thread Peter Crowther
From: Tomer Avitzur [mailto:[EMAIL PROTECTED] Can you say more about how to define my tomcat server as a user ? Yes, but I'll need a little more information from you - sorry! Are you running your Tomcat server as a service (i.e. from Control Panel, Services or Admnistrative Tools, Services) or

RE: New session created from same client/different host

2004-11-24 Thread Peter Crowther
From: Mark O'Driscoll [mailto:[EMAIL PROTECTED] If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop

RE: org.apache.commons.digester.Digester error

2004-11-24 Thread Peter Crowther
From: akki [mailto:[EMAIL PROTECTED] Nov 24, 2004 4:50:45 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 36 column 11: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-para m*,filter*,fil

RE: Too many open files error...

2004-11-24 Thread Peter Crowther
From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Does this mean that I don't have enough sockets for my connector or what? ignored exception: java.net.SocketException: Too many open files Quinton, what OS are you on? If on UNIX, this could mean that you have run out of file descriptors

RE: Removing the 404 error mesajes in tomcat

2004-11-29 Thread Peter Crowther
From: Allen Beacon [mailto:[EMAIL PROTECTED] Basically, the user will access the right url via a link but in case they try to find other pages by typing in the url, then no error message will display and neither infomation about de server (tomcat version x.x). Any help will be

RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] I have a client who is claiming that my software is slowing down. I cannot determine why this would be. Profile it - what's slow? Start Admin ToolsPerformance, add: Processor%CPU time MemoryPages/sec Physical DiskAvg Disk Queue Length Are you

[OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
[I'm marking this OT as it's looking increasingly like a database issue] From: Chris Cherrett [mailto:[EMAIL PROTECTED] Tomcat averaged 15% CPU Mysql spiked the CPU usage to 100% when hit with long queries. Bloody. Would you expect that to be the case? Naively, I'd be looking at my

RE: [OT] RE: Tomcat Requirements?

2004-11-30 Thread Peter Crowther
From: Chris Cherrett [mailto:[EMAIL PROTECTED] The queries are very complex in this case. I will look into indexing and see what I can do. Thanks for the help. I will post back to tell you what I come up with. Best of luck! I find that capturing a workload and replaying it is the only

RE: JSP pages not refreshing

2004-12-03 Thread Peter Crowther
From: David Stevenson [mailto:[EMAIL PROTECTED] The equivalent of touch on Windows: 1. Open JSP page. 2. Add space. Remove space. 3. Press Save. Or grab the UNIX utility ports from http://unxutils.sourceforge.net/ and use touch.exe :-) I use this suite daily; it does its job, and it does

RE: Sending New Line Characters and ; in URL

2004-12-06 Thread Peter Crowther
From: inr [mailto:[EMAIL PROTECTED] I like to send new Line character and ; characters in URL. In hmtl I am using a Form [as like mail box] To address, From address and Message.. When the form is submitted to servlet the information is set to its window.location in servlet

RE: off topic - how do i convert an int to char

2004-12-07 Thread Peter Crowther
From: Nilesh Bhattad [mailto:[EMAIL PROTECTED] Subject: Re: off topic - how do i convert an int to char Oh, come on. String letterAt(int i) { return abcdefghijklmnopqrstuvwxyz.substring(i, i + 1); } Fast, portable, simple. - Peter

RE: Best place to store files ?

2004-12-08 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Tomcat is not deficient or lacking here in any way: if something is lacking, it's the Servlet Spec, but I personally don't think it's lacking because there's still a use-case for the no-filesystem servlet container. Hmm. Sorry, Yoav, but I

RE: I don't know what's wrong.

2004-12-08 Thread Peter Crowther
From: Phillip Qin [mailto:[EMAIL PROTECTED] If you want to test the MySQL connectivity, make sure that MySQL server allows your IP to remote login otherwise you will have to GRANT PRIVILEDGE. The original poster specified MSSQL noy mySQL. Two irritatingly close acronyms, I agree!

RE: I don't know what's wrong.

2004-12-08 Thread Peter Crowther
From: Warron French [mailto:[EMAIL PROTECTED] Yes, I do have JBoss-3.2.5 running on this server. I have also recently found out that the data is on a windows server running MSSQL. Any ideas on how to test that connectivity? One approach is to start SQL Profiler on the SQL Server box

RE: Hiding an ftp URL

2004-12-10 Thread Peter Crowther
From: Susan Hoddinott [mailto:[EMAIL PROTECTED] I am wondering what the best way to avoid display of an ftp URL is when redirecting to an ftp location. Are you redirecting the user's browser to that location, or are you wanting to obtain content from that location to send to the user's

RE: problem starting tomcat 5.5 /jdk1.3.1_11

2004-12-13 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I just installed tomcat5.5 i am getting following error, [...] Im using jdk1.3.1_11 Tomcat 5.5 requires *at least* JDK1.4.2, and even that needs some extra configuration to make it work. Upgrade your JDK or use an older version of Tomcat,

RE: OutOfMemory Errors

2004-12-13 Thread Peter Crowther
From: Asim Alp [mailto:[EMAIL PROTECTED] I'm trying to solve an OOME on our Tomcat. Tomcat version? JVM version and settings? Application characteristics? Other libraries in use (eg JDBC)? We profiled our application using JProfiler and there are no memory leakages on our end. Currently,

RE: web.xml uses non-validating xml?

2004-12-26 Thread Peter Crowther
From: D. Stimits [mailto:[EMAIL PROTECTED] I'm trying to debug something, and the individual webapps/myapp/WEB-INF/web.xml file seems to be a bit of an enigma to me. [...] I went to the DTD's to see what was written there. Initially I used this DTD: !DOCTYPE web-app PUBLIC -//Sun

RE: questions on WebDAV implementation

2004-12-28 Thread Peter Crowther
From: Mark Thomas [mailto:[EMAIL PROTECTED] The best way forward is to create a bugzilla item for this and list the issues you find in that. Even better, would be if you had patches for some (or all) of these ;) The Bodington III project over here in the UK will also have to face and fix

RE: two versions of tomcat on the same machine

2005-01-10 Thread Peter Crowther
From: swetha Ranganathan [mailto:[EMAIL PROTECTED] Is it possible to run two different versions of tomcat in two different ports on the same machine Yes. I do this routinely on the machine on which I'm writing this email - one project I'm working on is on Tomcat 4, the other on 5.0. Just

RE: Tomcat monitoring scripts

2005-01-12 Thread Peter Crowther
From: Edd Dawson [mailto:[EMAIL PROTECTED] I'm looking more for something that sits on the actual servers and probes at set intervals and takes remedial action if necessary. One trick that might work and takes almost no effort is to start Tomcat from [x]inetd - if it stops, the next

RE: Failin to start tomcat 5.0

2005-01-17 Thread Peter Crowther
From: hicham [mailto:[EMAIL PROTECTED] trying to get to start tomcat 5 under netbeans , I get the following exception thanks for your help [...] java.net.BindException: Address already in use:8084 [...] You have another service using port 8084. Find it and change its port, or change

RE: in web.xml

2005-01-17 Thread Peter Crowther
From: Mark [mailto:[EMAIL PROTECTED] I need to set '' and '' characters in init-param field of web.xml Is there any standard way of setting up and reading those type of characters in web.xml file? As in all HTML and XML files, lt; and gt; are the character entities that represent and

RE: Packing web application

2005-01-25 Thread Peter Crowther
From: micky none [mailto:[EMAIL PROTECTED] Hi Friends, I am still waiting for your replies. If you expect a fast response and repost frequently, you may be waiting a long time. It's generally good Netiquette to at least give your post time to get through slower mail gateways before chasing

RE: [OT] Advertising website

2005-01-28 Thread Peter Crowther
From: t t [mailto:[EMAIL PROTECTED] Does anyone know a easy and cheap (even free) way to advertise a website? No effective ones. To paraphrase: You can have any two of effective, easy, and cheap. Banner exchanges are easy and cheap, but are (usually) not effective. Search engine listings

RE: [OT] Advertising website

2005-01-30 Thread Peter Crowther
From: Didier McGillis [mailto:[EMAIL PROTECTED] One trick that I know of and requires some software. Is to setup 4 to 5 sites filled with links back to your pages, and similar content, and of course you link to those sites. If Google notice you spamming the index in this way then they

[OT] RE: Preferred Platform for Tomcat5

2005-02-03 Thread Peter Crowther
From: Peter Lin [mailto:[EMAIL PROTECTED] makes me wonder how many people bother to upgrade to the latest/newest hardware :) Fewer as the hardware becomes 'fast enough'. For example, up until 2001, the training centre I managed still used three Linux firewalls I'd built. 486SX/25, 8Mbytes,

RE: JTDS help

2005-02-08 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] Also the thing that I run into with connection pooling the inability to use the SQL Statement of select @@IDENTITY from table. With connection pooling, you run the risk of getting the ID for a record that someone else inserted with the same

RE: JTDS help

2005-02-08 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] I am going to run filemon and watch for access denied messages, then regmon and watch for similar things. The network is very fast, the db server is not being used by anyone else. It seems to me that if it were environmental, it would

[OT] RE: Attn developers of Tomcat and JK

2005-02-08 Thread Peter Crowther
From: Eric Sandusky [mailto:[EMAIL PROTECTED] [long FOAD rant elided] If you want support, buy a supported product or a version of Tomcat that is re-sold by a company that offers commercial support. If you wish to pay for somebody's time to fix this, feel free to make the offer. If you want a

RE: Session Objects

2005-02-08 Thread Peter Crowther
From: Jagadeesha T [mailto:[EMAIL PROTECTED] I' am storing session objects in a SINGLEON class object to keep all active sessions. Does it give any problems in clustered enviornment since singleton is a static referrence. Yes. Singletons are one-per-classloader. Classloaders are

RE: JTDS help

2005-02-09 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] There must be something wrong with my tomcat/JTDS setup. Charles, To be clear: You have run osql.exe, on the same machine as the Tomcat process, as the same user as your Tomcat process, and it connects quickly and runs queries quickly? I

RE: What does each part of a className mean?

2005-02-11 Thread Peter Crowther
From: Chris Hosler [mailto:[EMAIL PROTECTED] I am having a problem getting SSL to work on my tomcat 5 sever so I would like to know what each segment of the class name means from the server.xml file (className=org.apache.coyote.tomcat5.CoyoteConnector) and how it affect the SSL on my

URL protocol handler issues

2005-02-11 Thread Peter Crowther
loads and runs successfully. 4) Copy the Handler class into catalina.jar and repeat 3. Same result. Remy, the original code for DirContextURLStreamHandlerFactory is yours, I think. Any particular reason you replaced the factory rather than setting the packages? - Peter -- Peter

RE: URL protocol handler issues

2005-02-14 Thread Peter Crowther
From: Martin Goldhahn [mailto:[EMAIL PROTECTED] I had a similar problem, which I posted last week. You should find it searching the Subject field for pluggable protocols in web apps if you keep old messages. I keep some, but managed to delete that - a few days before it became highly

RE: What does each part of a className mean?

2005-02-14 Thread Peter Crowther
From: Chris Hosler [mailto:[EMAIL PROTECTED] Are there certain directories that should hold the keystore file and other related SSL files.? Does Tomcat expect to see the keystore file and certs in a certain default location under tomcat ? In the past I have been told no from Verisign but

RE: Tale of two servers

2005-02-14 Thread Peter Crowther
From: Dola Woolfe [mailto:[EMAIL PROTECTED] 3. Finally, and the most hopeful point, the better-but-slower server is running Norton virus services. Restarting the machine in safe mode (w/ networkin) solved the problem. Does this settle it? If so, what particular setting in Norton is

RE: Tale of two servers

2005-02-14 Thread Peter Crowther
From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sorry for being dumb, but where is that option? Can't seem to find it. The Option categories I have are Auto-Protect Sorry, Dola, I meant auto-protect - different AVs have different names for it. You may wish to turn it off temporarily by

RE: Tale of two servers

2005-02-14 Thread Peter Crowther
From: Mladen Turk [mailto:[EMAIL PROTECTED] Antivirus software on a production system? You must be joking ;)! rant Unfortunately not. All too often, corporate policy says that *all* boxes must have AV installed on them, and it is increasingly a sacking offence to disable it. The larger the

RE: Missing application web.xml, using defaults only

2005-02-17 Thread Peter Crowther
From: Abhay [mailto:[EMAIL PROTECTED] INFO: Missing application web.xml, using defaults only StandardEngine[a8050]. StandardHost[localhost].StandardContext[/OMS_ebiz] You probably have a WEB-INF directory in your webapp, but no web.xml file in it. Make one (or move it, or fix the name, or

Replacing StandardContext with a parallel implementation

2005-02-18 Thread Peter Crowther
to check first whether it's worth doing, or whether the maintainers will simply vote it out of the codebase. Comments welcome. - 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: Sniffing loaclhost traffic for HHTP headers

2005-02-21 Thread Peter Crowther
From: Marco Mastrocinque [mailto:[EMAIL PROTECTED] 'Due to the mechanism of Windows operating system, a sniffer can't capture local-to-local traffic.' Please note I found this out the hard way! The question I have is how do you do it? You use another physical machine to send the requests,

RE: Facing problems in tomcat configuration - on XP Professional

2005-02-21 Thread Peter Crowther
From: raghavendra datt [mailto:[EMAIL PROTECTED] I am new to this mailing list. for the past one week i was trying to run tomcat on my XP Professional OS but in vein. I downloaded the latest JDK and downloaded tomcat 4.1 version and has set the CATALINA_HOME and JAVA_HOME

Hyperthreading and Java (was RE: Tale of two servers)

2005-02-25 Thread Peter Crowther
From: Graham Reeds [mailto:[EMAIL PROTECTED] Also disable HyperThreading in the BIOS on the new Dell. HT and Java is not a happy combination. Interesting... do you have any recommended reading on that, Graham? - Peter

RE: Tomcat multiple instancies

2005-03-01 Thread Peter Crowther
From: Andrea Anastasescu [mailto:[EMAIL PROTECTED] I need to run 2 different instacies of Tomcat 4.1. The instacies are different in both used common and shared jars and the webapplications. Is this managable? How? Yes, and you can do it the obvious way: copy your Tomcat installation

[OT] RE: same port used in both directions?

2005-03-08 Thread Peter Crowther
[Marked as OT because not Tomcat-specific] From: Mark Leone [mailto:[EMAIL PROTECTED] I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080 forwarded through the firewall. I can make connections from outside the firewall to port 8080, but not port 443 (it times out). I can

RE: tomcat servlet engine

2005-03-15 Thread Peter Crowther
From: brian dell [mailto:[EMAIL PROTECTED] Is there a windows version of tomcat (servlet container) on a apache (windows version) web server ? 'On' no, behind yes. Run the Windows version of Apache, mod_jk, and Tomcat on a Windows JVM. - Peter

RE: Help getting started

2005-03-15 Thread Peter Crowther
From: brian [mailto:[EMAIL PROTECTED] To get a servelet engine one needs the following apache web server No. Tomcat will work standalone. and tomcat servlet engine ?? Or another engine such as Jetty. But that's heresy on this list ;-). What about J2EE ? Does one need that as well ? Or

RE: Tomcat hangs up from time to time

2005-03-17 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] But about two-five times per day, Tomcat hangs up, java (version is 1.5.0_01-b08) eats much cpu (up to 90%), and no any response from Tomcat, no warnings/errors in logs. I even can't stop it with shutdown.sh! Have anyone the same problem?

RE: servlet api question ?

2005-03-21 Thread Peter Crowther
From: brian [mailto:[EMAIL PROTECTED] Say Netscape server or IIS server also have their own specific api's as well where one could write server side code. But the servlet api is so popular and wide spread and one could argue that java sdk is free but then companies buy the third party

RE: One request per session

2005-03-22 Thread Peter Crowther
From: Brij Naald [mailto:[EMAIL PROTECTED] [... locking mechanism described...] Now I push on the 'previous'-button of my browser ... thereby cancelling your first request. What effect does that have on your code? What happens if you test with two browsers, rather than one? -

RE: url of caller?

2005-03-22 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] From: Mike Fowler Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. The caveat is worth noting! If a user does that, they deserve to be

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

RE: different versions of libraries

2005-03-23 Thread Peter Crowther
From: Andreas Andersson [mailto:[EMAIL PROTECTED] I need to use a really new version of xalan/xerces in one of my applications. Where should I put the .jars to make application specific? The only place where it can be application-specific is in the webapp's WEB-INF/lib. Is it even

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: 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

[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: [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

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: 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: 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: 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: 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

[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: 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

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: 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: 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: 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: 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

  1   2   >