RE: Tomcat webapp stopped working, please help

2008-11-14 Thread Peter Crowther
> From: djbowen1 [mailto:[EMAIL PROTECTED] > I have the catalina.out and the catalina.date logs.which one is more > usefull? The .out file typically has any errors in it. The logging format is similar to many other applications. I'd suggest looking through that for error messages - a swift hun

RE: Tomcat webapp stopped working, please help

2008-11-14 Thread Peter Crowther
> From: djbowen1 [mailto:[EMAIL PROTECTED] [...] > INFO: The Apache Tomcat Native library which allows optimal > performance in production environments was not found Not a problem. > /usr/java/jdk1.6.0_01/jre/lib/i386/client That's quite an old 1.6. If the app was working before, and this isn't

RE: Tomcat request processing gets stuck

2008-11-19 Thread Peter Crowther
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > acceptCount="200" just means that the socket will accept 200 > clients /in > addition/ to those currently being served by RequestProcessor threads. > The only way to "see" those waiting clients would be to query > the socket itself (maybe only

RE: tomcat virtual host

2008-11-20 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I deployed my webapp svn.war on webapps directory of tomcat 6. > I configured localy a virtual host with tomcat 6, but it does > not work. > This url works : > http://localhost:8080/svn/ > > But when i use the virtual host, it does not works : >

RE: tomcat virtual host

2008-11-20 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > When i tape http://mysvn:8080/ in browser to access to my web > application, i have this : > Internet Explorer cannot display the web page > but when i tape http://localhost:8080/svnrepository; i access > correctely to my application. > Find fil

RE: Apache HTTP + Tomcat + SSL

2008-11-21 Thread Peter Crowther
> From: Alexander Diedler [mailto:[EMAIL PROTECTED] > What ist he "best-practice" to use SSL with a Frontend Apache > Webserver and a mod_jk connected Tomcat? Define the SSL in > Tomcat or in Apache Frontend? In Apache httpd. > Has the SSL functions to be > enabled on Tomcat? No. In a pure mod_

RE: tomcat 5.5.20 security issue

2008-11-24 Thread Peter Crowther
> From: Serge Fonville [mailto:[EMAIL PROTECTED] > Just a few questions off the top off my head: ... and to add another one: > What is your OS What is your Java virtual machine? In particular, are you using a non-Sun JVM such as GCJ? - Peter --

RE: Apache 2.2.3 with mod_jk 1.20 loosing connection with a cluster of two Tomcat 6.0.10

2008-11-24 Thread Peter Crowther
> From: Éric Gauthier [mailto:[EMAIL PROTECTED] [...] > I assume this is a Tomcat issue since the threads are going > berserk, but I am unsure at this point. [... good description elided...] Thanks for a comprehensive description of the problem. It *may* be an application or environment issue, es

RE: GPGPU and Tomcat

2008-11-27 Thread Peter Crowther
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Frequently, webapps do relatively minor processing, with the > brunt of the work being performed in a data base engine > (usually running on a separate system). To me, the database is one of the more interesting places to use GPUs. Half a

[OT] RE: Manager app language

2008-11-28 Thread Peter Crowther
> From: André Warnier [mailto:[EMAIL PROTECTED] > Caldarale, Charles R wrote: > > Is the server named after a legendary British king, the > Kinks album, or the HHGTTG character? > HHGTTG. > We also have marvin, ford, dent, zaphod, trillian, fenchurch,.. even a > slartibartfast (wich also has an ali

RE: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Peter Crowther
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > That's ugly. Sounds like either the OS failed to deliver the > signal, or the JVM is locked up internally (probably the > latter). That's rather what I was reckoning. I've had signal delivery fail before if all the threads were stuck in k

RE: mixed html and jsp site using ProxyPass

2008-12-03 Thread Peter Crowther
> From: David Goodenough [mailto:[EMAIL PROTECTED] > I have a site which is a mixture of html (and a bunch of images and > flash and other such stuff which came in from the web designer) and > a couple of JSPs. I have implemented this with Apache 2.2 and Tomcat > 5.5, using ProxyPass statements wi

RE: [OT] JK Connector problem

2008-12-04 Thread Peter Crowther
> From: André Warnier [mailto:[EMAIL PROTECTED] > Folder/directory/file names with spaces in them are evil, and > should be > forbidden in any new OS, by unanimous decision of the UN Security > Council, US Supreme Court and EU Commission. The developers who first > allowed this should be tracked d

RE: Tomcat & MySQL Server Configuration

2008-12-16 Thread Peter Crowther
> From: Carl Crawford > Someone gave me the attached configuration suggestions. Note that this list strips attachments. Could you host the image somewhere and post a link? - Peter - To unsubscribe, e-mail: user

RE: Installation apache tomcat

2008-12-19 Thread Peter Crowther
> From: Vida Luz Arista [mailto:vida.ari...@ideay.net.ni] > I downloaded the version apache-tomcat-6.0.18-src, I follow > step by step the > instructions, when I executed ant download, the following erro occur > > > > BUILD FAILED > > /opt/apache-tomcat-6.0.18-src/build.xml:701: The following > err

RE: Optimized memory Parameter in Tomcat.

2008-12-19 Thread Peter Crowther
> From: kashif_tomcat [mailto:kas...@vopium.com] > our Tomcat 6 server is running on a RHL machine with 4 GB Ram. 32-bit or 64-bit OS? > JAVA_OPTS="$JAVA_OPTS -Xms1024M -Xmx2048M -XX:PermSize=128m > -XX:MaxPermSize=128m" You probably want to make -Xms and -Xmx the same. There's no point fragmen

RE: Help moving application from Windows to Linux

2009-01-05 Thread Peter Crowther
> From: Don Whitehead [mailto:dwhiteh...@inccrra.org] > What folders under tomcat should I be looking in? First, find server.xml in Tomcat's conf directory. That is the core of the server configuration. It'll tell you a number of things, but there are two key ones: 1) Where Tomcat's base dire

RE: Delay / caching of resources?

2009-01-07 Thread Peter Crowther
> From: Dennis Thrysøe [mailto:d...@geysirit.dk] > However, when such HTML files are added or modified to the webapp > (exploded directory) it takes something like 5 or 10 seconds before > they can be served by tomcat. A wild stab in the dark based on something that happened to me... How are you

RE: File upload fails

2009-01-09 Thread Peter Crowther
> From: Alan Chaney [mailto:a...@compulsivecreative.com] > I assume that as you are using MSIE > then your dev. system is a PC? I develop on linux and don't > know of any particular network monitor to recommend. Wireshark again - http://www.wireshark.org/download.html has Windows downloads. Love

RE: problem regarding installation of APR -- make command shows fatal error ..

2009-01-20 Thread Peter Crowther
> From: Pswami Vivekananda [mailto:pswami.vivekana...@tcs.com] > i am trying to install tomcat-native-1.1.13 on my apache-tomcat-6.0.16 > server. What OS? > ld: fatal: relocations remain against allocatable but > non-writable sections > collect2: ld returned 1 exit status Nice error! It's going

RE: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Peter Crowther
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Sure we can argue about which DBMS has the fastest JOINs but > nonetheless it > remains that JOIN queries will always be computationally > expensive compared to single table queries. Depends what you do with the results of those single ta

RE: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Peter Crowther
Leon, it's rare for me to disagree with you, but... > From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > For example if you need all orders by user with name Chris, you will > ALWAYS be faster if you first retrieve the userid, and than the orders > of the userid. ... I disagree and can

RE: Tomcat 6 vs Apache running as services

2009-01-27 Thread Peter Crowther
> From: kareda [mailto:k...@digiplace.ch] > oh yes, and there is also IIS running as service. > now, I probably could run the php apps there also but I'd > rather not as it's a production environment for another app. IIS6+PHP doesn't handle threading enormously well - hence Microsoft's trumpeting

RE: Tomcat getting stopped automatically

2009-01-29 Thread Peter Crowther
> From: Javed420 [mailto:javed.inam...@gmail.com] > I am doing processing over data from xls file on perticular > request. But > Tomcat gets automatically stopped in middle of execution. If anybody > know reply. Does any of your code contain System.exit() when it encounters an error? Don't l

RE: Performance of APR

2009-01-30 Thread Peter Crowther
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Well, actually when it comes to IO performance Java outperforms C, so > I wouldn't place my money on old bets like C is faster because its C. > It isn't. Specifics! Which platform(s), which compiler(s), which runtime(s), which algor

RE: Shared Library Issue using JVM ext

2009-01-31 Thread Peter Crowther
> From: Ishtiaq Ahmed [mailto:ishtiaq.ah...@ooober.com] > I know this has been discussed many time but couldn't find the exact > thing I am looking for. I am deploying several application > over tomcat6. > Each having its own libraries in "WEB-INF/lib". Many of the > applications > are using the sa

Very OT: RE: Slightly OT: ApacheCon Europe 2009

2009-01-31 Thread Peter Crowther
> From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] > usually the tomcat committers crowd at one table during > the hackathon, so feel free to seek us out and join us at the table. > if you wear a red rose in your hair, it will be easier to find you ... why do I now have visions of a room

RE: running tomcat with root user

2009-02-01 Thread Peter Crowther
> From: epicwin...@hotmail.com [mailto:epicwin...@hotmail.com] > I have the latest tomcat 6 installed under centos 5.2. The > problem I am having is that it appears that I have to run > tomcat as root user, because the spring app that tomcat > starts needs to write files to other users' home direc

RE: running tomcat with root user

2009-02-01 Thread Peter Crowther
> From: Brian Millett [mailto:bmill...@gmail.com] > On Sat, 2009-01-31 at 19:25 -0800, epicwin...@hotmail.com wrote: > > I have the latest tomcat 6 installed under centos 5.2. The > problem I am having is that it appears that I have to run > tomcat as root user, because the spring app that tomcat

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-04 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > Christopher Schultz wrote: > > What about forwarding X through the tunnel instead? > > > You can't, because it is variable. It is the result of some internal > "negotiation" between Jconsole and the remote JVM. > Apparently, anyway. I haven't managed

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > "X" is not something I use regularly, so when > Chris mentioned X, I thought he was talking about the secondary > connection/port that the JVM/Jconsole agree on, not about > X-terminal and so. > > So thanks for the tip, but could you expand even more

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of "you're kidding" every time I teach it. An X server serves out the keyboard, mouse and display. X11 clients conn

RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Peter Crowther
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > http://sourceforge.net/projects/xming > > Just a simple install, very small, convinient and works like charm. Thanks Gregor, I wasn't aware of that one. Think I may just have a new preferred X server :-). - Peter ---

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Peter Crowther
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > >> I'm coming down in favour of a valve, rather than a filter, > >> to make it container specific, > > > > Which is a good reason not to use a valve. Unless you need > access to Tomcat internals, use a filter. > > ? Unclear why Charles? > > To m

RE: servlet use. TC6, FC10

2009-02-06 Thread Peter Crowther
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > AFAIK I don't need any resource specification. > Does this mean that I can dispense with the atom/META-INF directory > totally? I.e. it is redundant > for this usage of Tomcat? > > atom > |-- META-INF > | |-- context.xml > |-- WEB-INF > .

RE: Problems with Tomcat as service on Windows Server 2003

2009-02-12 Thread Peter Crowther
> From: monesseldeur [mailto:raymondesseld...@gmail.com] > I made a small Java web-application which prints pdf-files - > on-demand - on the server. [...] > When I start the server with the startup.bat, I have no > problem at all. But unfortunately, that's no option. Services can't interact with t

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Peter Crowther
> From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS > ArchitectureApache > Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 > > > Essentially what happens is this: > > The server is running along fine, and then all of a sudden,

RE: [OT] of the different methods to get a user-id

2009-02-13 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > I was going to let that one pass, but now I'm provoked. > The expressions above do work differently in Perl. [...] > However, the calle sub can be cleverer and anticipate this, by doing : > return wantarray ? (i++) : i++; > thus checking in which con

RE: [OT] of the different methods to get a user-id

2009-02-13 Thread Peter Crowther
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Hear, hear! In a past life, a guy I know actually wrote a > suite of production programs in APL - which was even more > cryptic (but also more logical) than Perl. Dedication indeed! Did he need the custom golfball for the teletyp

RE: Fastest method to serve dynamic java content

2009-02-16 Thread Peter Crowther
> From: keenny [mailto:kee...@start.no] > I was just wondering if anybody has any opinions > as to how this > can be done most effectively (highest throughput, low cpu > consumption etc). > Some alternatives being: > > lighttpd -> mod_proxy -> tomcat -> application code Lots of moving parts. Ther

RE: [OT] of the different methods to get a user-id

2009-02-17 Thread Peter Crowther
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > IMHO, you either > have control of your production environment yourself (and can do > whatever you want) or you have an ops team with complete > control of your > production environment (and they ought to be able to handle > scary

RE: Tomcat vs deflate

2009-02-17 Thread Peter Crowther
> From: Tim Funk [mailto:funk...@joedog.org] > most people use apache in front of tomcat. Tim, I'm interested - do you have any real-world usage figures? I'm genuinely not trying to challenge your assertion; I'd just love to see the data, and how it's changed over time! - Peter

RE: SSL

2009-02-17 Thread Peter Crowther
> From: Venkata Siva Gangavarapu [mailto:siva.gangavar...@gvkbio.com] > I would like to know how to configure SSL in Tomcat6.0. http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html - Peter - To unsubscribe, e-m

RE: [OT] of the different methods to get a user-id

2009-02-17 Thread Peter Crowther
> From: Ken Bowen [mailto:kbo...@als.com] > The only thing more fiery than "language X is better than language Y" > is "editor Z is better than editor W" :-) To skip a few levels in the inevitable impending debate... "Well I edited the inodes by hand. With magnets." (http://www.userfriendly.o

RE: tomcat5.5.23 and localization

2009-02-18 Thread Peter Crowther
> From: Uwe Hostmann [mailto:uwe.hostm...@alcatel-lucent.de] > Only if you can answer quickly: can you conclude from the following > snippets who (apache or tomcat) is responsible for the static file > .../scripting/manual/start.html.en?: [...] > #JkMount /*.jsp ajp13 > JkMount /servlet/* ajp13

RE: very slow class loading on initial JSP/servlet request after restart

2009-02-20 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > >> From: Sam Hokin [mailto:s...@ims.net] > >> The server that's being a problem is a Dell PowerEdge > >> 1950, quad dual core. > Since we have 4 processors here (do we, really? I am not so familiar > with the multi-core architecture), can each of th

RE: What happened to the Tomact 6 Monitor?

2009-03-03 Thread Peter Crowther
> From: Caldarale, Charles R [chuck.caldar...@unisys.com] > However, you will still get an annoying UAC dialog box at boot time > asking you to ok what you did; I don't know how to get rid of that > without turning off UAC completely. "Install a real operating system" seems to be the preferred ans

Re: SocketException: No buffer space available (in Windows)

2009-10-23 Thread Peter Crowther
2009/10/23 Miriam Pena > After about 30 hours of runtime, I see the following problem when the > application tries to open a TCP socket: > > java.net.SocketException: No buffer space available (maximum > connections reached?): connect >at java.net.PlainSocketImpl.socketConnect(Native Meth

Re: SQL driver bug ????

2009-10-23 Thread Peter Crowther
2009/10/23 kumaresh P N > Is there a known bug / problems /issues with the SQL driver used in Tomcat > Apache 6.0.16 ?? > To my knowledge, no database driver for any database is distributed with any version of Tomcat. The driver was presumably distributed with the webapp you are running ins

Re: Set System variables.

2009-10-26 Thread Peter Crowther
2009/10/26 Miguel Torres Fernández : > At firts say hello, this is my first message to the list. Welcome! > I'm a system admin and i have a problem with applications thats set system > variables like proxy of the system (system.setProperties). It's a big > problem for us, i have an instance of to

Re: Tomcat 6.0 x64

2009-10-26 Thread Peter Crowther
2009/10/26 Wagenaar, R.J.T. (Ronald) : > Is Tomcat 6.0 supported on a x64 bit system, by example Windows Server 2003 > Enterprise x64? As it is open source, it is not "supported" in the sense that you can file a bug report and expect a fix - but neither is the 32-bit version :-). Tomcat runs wel

[OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/28 Christopher Schultz : > Everybody ought to learn a little C at some point. It will make you > really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a second reason: doing a little work in a language that

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
httpd version? jk version? Tomcat version? Stack trace of NPE? - Peter 2009/10/29 daulat khan : > Hi, > >                I have an java servlet application which is running > fine in Apache-Jrun setup. recently, i have migrated it from jrun to > tomcat. i have launced the application in apache-to

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R : > Univac 1004: 961 *6-bit* bytes of core memory, programmed via squids on a > plugboard.  Handled punch cards, paper tape, and printing; tape drive > optional (we didn't have one).  Had a tendency to throw cards all over the > room if not handled properly. > >  

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R : >> From: peter.crowth...@googlemail.com >> That's not even a "modern" stored-program computer! > > Just because it used relays as the logic elements? Hmm. I started writing a response here along the lines of "because it didn't keep the code in main memory", then

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
2009/10/29 daulat khan : > httpd version : httpd-2.2.11 Reasonably recent. > Tomcat Version : jakarta-tomcat-4.1.18 Ancient. I'd strongly recommend upgrading. > Mod_JK version : jakarta-tomcat-connectors-1.2.15-src Ancient. I'd strongly recommend upgrading. > Stack trace : > > java.lang.Nul

Re: A question about log-rotation on "catalina.out"

2009-10-29 Thread Peter Crowther
2009/10/29 André Warnier : > (*) Actually, it's not the Java language itself, which is quite simple and > elegant.  But it's that in order to do anything at all in that language, you > first need to become familiar with dozens of class hierarchies. ... you've not played with Smalltalk, have you? :

[OT] Hammers and nails (was Re: A question about log-rotation on "catalina.out")

2009-10-30 Thread Peter Crowther
2009/10/30 Caldarale, Charles R : > Smalltalk is a classic example of the philosophy: "I have a hammer, therefore > everything is a nail." I used to teach Smalltalk*. Of a 3-day course, 1/4 day was on the language, 1/2 day was on the environment and the rest was on the class library. It's an in

Re: tomcat utilization is 100 %

2009-10-30 Thread Peter Crowther
2009/10/30 Vikram S Chauhan : > I am Vikram Chauhan from New Delhi India and working for one telecom > client. i have installed tomcat 6.6 on my one Application server having > windows 2003 server environment. from last some days its utilization is > going 90% or 95%  . due to this lots of problem

Re: not able to connect to localhost

2009-10-30 Thread Peter Crowther
2009/10/30 Brian Wolf : > I've installed and   un-installed  Tomcat 5.x and 6.x several times using > the windows  installer  on the Tomcat Apache site  on Windows XP. > > I've started  it as service, and  not, manually, on port 80 and 8080. > Stopped all other  server related software. In all case

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > > DocumentRoot "C:\Users\Chris\Documents\Eclipse Workspace\mysite" If I recall correctly, you don't want this. Serve a blank directory out of httpd, and proxy everything to Tomcat. Or take httpd out of the equation completely if you don't need it for other purpose

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > I'm trying to get this setup with httpd, because eventually i'd like to > deploy it to my webserver that will host sites with a mixture of coldfusion > and php apps across multiple virtual hosts. Yep, that's a great reason to go with the architecture you have. So, f

Re: tomact, apache & adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell : > I'm setting httpd & tomcat's doc roots to the same location because in my > hosting setup users will be presented with /public_html directory in their > home directory.  They should be able to place cfml, php and static resources > in the same location and have them s

Re: tomact, apache & adobe coldfusion 9

2009-10-31 Thread Peter Crowther
2009/10/30 Chris Blackwell : > Ok, that was it.  chrome was hanging on to the source in its cache and > really didn't want to give it up. Glad you found it. > I do take on board your points about the single docroot approach.  testing > here on windows requesting indeX.cfM will serve up the source

Re: servlet mappings

2009-10-31 Thread Peter Crowther
2009/10/30 Caldarale, Charles R : > Note that several servlet containers silently implement "enhancements" to the > spec that simply cause confusion and limit portability. ... and are handy for some real-world use cases, such as creating a RESTful web service without the overhead of Axis or withi

Re: The server encountered an internal error () that prevented it from fulfilling this request.

2009-10-31 Thread Peter Crowther
2009/10/31 Brian Wolf > *I don't know if this is the correct list to ask this, but this is an error > from a servlet "loaded" under tomcat (if thats the right phrase)* > The error is due to the servlet, not due to Tomcat: > org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value

Re: Tomcat 6 And SSL Configuration

2009-11-02 Thread Peter Crowther
2009/11/2 Nilesh Patil > " The apache tomcat service on local computer started and then stopped . > Some services stopped automaticaly if they are not in use by other > services or programs" > There should be more details of what went wrong in one of Tomcat's log files (it doesn't use the Windo

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Peter Crowther
2009/11/2 chetan khadye > We are facing an issue with the microsoft patch. We applied the patch > MS09-061 on our production and development environment which is > running on Windows server 2003. After the patch applied the tomcat > server stops responding the http requests after every 15 20 minu

Re: Compression and SSL

2009-11-02 Thread Peter Crowther
2009/11/2 George Sexton > In general, Compressing HTML can help a great deal for any case besides a > local network. > ... or a CPU-limited server. To the OP: What's the bottleneck in your environment? CPU? Disk I/O? Network bandwidth? Measure the problem, *then* look for solutions to the pr

Re: Compression and SSL

2009-11-03 Thread Peter Crowther
2009/11/2 George Sexton > You didn't read the original post very closely. > > >> to serve applications from the US to Asia-based clients. > > It's bandwidth and latency. > Actually, yes, I did. And I saw that, and I suspected latency would be the answer. Suspicion is not confirmation however :

Re: Reading and writing files outside tomcat directory

2009-11-03 Thread Peter Crowther
Tomcat version? Installed from tomcat.apache.org or a third-party repackaged version? If repackaged, look at the docs - are you running under a security manager? - Peter 2009/11/3 noobie45 > > I have an application whose class files are in > /usr/local/tomcat/webapps/ROOT/WEB-INF/classes > > It

Re: Secure login only, not rest of app

2009-11-10 Thread Peter Crowther
2009/11/10 Robert Denison : > I assume that the standard way of dealing with static caching is to have e.g. > an images (css etc) directory and have that not secure? No, as on most browsers that will pop up a dialog box with something like "this page contains both secure and insecure items. Do y

Re: What different between Apache and Apache Tomcat?

2009-11-14 Thread Peter Crowther
2009/11/14 Henry Loke : > I only install Apache Tomcat my Java webapp can work already. > So far I know what Apache can do, Apache Tomcat also can do. > The common different is Apache Tomcat is for Java program only > Apache can support multiple language webapp eg. php, Java , etc etc By "Apache"

Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Peter Crowther
2009/11/15 Henry Loke : > Browser: http://ren:8080/ > > [IMG]http://i861.photobucket.com/albums/ab175/fsloke/pagenoFound.jpg[/IMG] > > Server not found Tomcat cannot and does not change your computer's or network's idea of what names map to what IP addresses. Have you changed your hosts file or D

Re: The server encountered an internal error () that prevented it from fulfilling this request

2009-11-16 Thread Peter Crowther
2009/11/16 Bala_ji : > > The server encountered an internal error () that prevented it from fulfilling > this request message in IWSS server.  Please help > http://old.nabble.com/file/p26370991/iwss%2Bapache%2Berror.jpg You have a null pointer exception, caused by either your application code or s

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Peter Crowther
2009/11/16 Pid : > You managed to subscribe to the list, can't you follow the instructions on > how to unsubscribe?  Clues at the bottom of every email. We keep saying that, and it keeps being a problem for users. The email-based unsubscribe appears to be unreliable, I suspect due to an overzealo

Re: How2 Disable Browser Access to specific port

2009-11-16 Thread Peter Crowther
2009/11/16 joeweder : > Question: How can I disable browser access through a specific port but > continue to allow headless https through? You *could* write a Filter that sniffed at the User-Agent header in the https: request, but most browsers have ways of faking that - you can't rely on *any* da

Re: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-16 Thread Peter Crowther
2009/11/16 Elizabeth Gorkic : > My company has a policy to deploy only officially supported platforms ... then why are they running open source software such as Tomcat, which has no "official" support? - Peter - To unsubscribe,

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Amol Wate (awate) > Are there any known memory issues with tomcat 6.0.20 ? This build causes > a kernel panic on my linux box with Java 5. I'd been using 6.0.18 > without any issues on the same configuration. > > http://markmail.org/message/mrpgvn4mqvyrq64a reports a memory leak, > tho

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Timir Hazarika (thazarik) > Peter, we're talking a custom built linux server that has been in > production for years. I'm wondering what's magical with 6.0.20 that > causes my kernel such trouble, and why the problem doesn't surface with > any of the earlier builds. > > As you've prov

Re: Sending messages via Tomcat to ActiveMQ

2009-11-19 Thread Peter Crowther
2009/11/19 Kumako22 > My question is: how can I send messages to ActiveMQ via Tomcat. Is it > possible? How can I write it? Any clues? > > 1) Write a standalone Java program to send a message to ActiveMQ. Test it. Prove it works. 2) Paste that code into your web application code at the approp

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Peter Crowther
2009/11/19 Bruce Foster > do I need to look at the server threads? if yes then where to I set > that option? > > read somewhere tomcat with 8 thread (8 core processor), how do I > configure that option? > > If you can find me that "somewhere", I'll go and grumble at the author :-). It's very poo

Re: Performance Problem

2009-11-20 Thread Peter Crowther
2009/11/20 div.gcet > > Hi all, > >I am developing a web application using Tomcat 6.0 and MyEclipse > IDE. For my requirements i have to store a lot of (100-200) Lists objects > in my sessions. And any list may be associated with a lot other objects, > because of this the performance of

Re: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-20 Thread Peter Crowther
2009/11/20 Karthik Nanjangude > A 3rd party Client S/w of C++ sends an XML string over socket > > This socket is be defined and read by *Process* of web application > > OK, so you're trying to get Tomcat to do something it's not designed to do: handle incoming TCP connections that are not HTTP co

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike > Hello, > > After hours of googling and browsing documentation, i came to the > conclusion that what i want is either so trivial that everybody knows how to > do it, or so complicated that no one ever tried it... > > I want to accomplish the following in Tomcat 5.5: >

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike > > No. You want webapps/myapp to be treated as the ROOT context > > for a host. > > appBase="webapps/myapp" means look in the webapps/myapp > > directory to find contexts for this host. The ROOT context in > > that case would be webapps/myapp/ROOT > > > > As a general

Re: Redirecting a port to a webapp

2009-11-24 Thread Peter Crowther
2009/11/24 Looijmans, Mike > Because the "" is a random word, not a > constant, nor the name of a servlet. Think wikipedia, the request might > be for /foo or /bar or whatever, and the servlet uses that word for its > own purposes (it will look it up in the database and return something > inte

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer > Im pretty new to this but have 2 friends that help me out. Though one of my > friends tells me to use Apache2 infront of Tomcat and the other one tells > me > it's unnecessary. > Finding out their reasoning - and the evidence each one has supporting their point of view -

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer : > The most compellig argument from the "Apache2 and Tomcat 6"-friend was > indeed the static content part. http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be illuminating - along with the discussion around it on that thread. I suspect Chris will be making his own

Re: Ethernet or configuration?

2009-11-24 Thread Peter Crowther
2009/11/24 Guifre Bosch Fabregas : > Hi people! > > I have an unusual problem. > I recently installed apache and if I go to server browser and put: > http://localhost/APP or http://127.0.0.1/app  works fine but if I put into a > remote server http://192.168.1.6/app i don0t aee nothing! > > Whats ha

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv : > We are using Tomcat 6.0 and running HTTPS (enabled SSL). The number of > requests has grown up and we have decided to do go for clustering and > loadbalancing. We have decided to go for Apache and mod_proxy/mod_jk > loadbalacing. My certificate resides in Tomcat. > > In order to

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv : > I got one small doubt in the last point that you said. > > In this environment, you only want your "public" certificate on httpd. > Tomcat will not be doing anything that uses it, so don't put a copy > on those machines. > > this means that I will not enable SSL in my tomcat.. I

Re: How to deploy my first War in Tomcat 6?

2009-11-26 Thread Peter Crowther
2009/11/26 jackm : > > Hi all, > > I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to > Deploy my first war ? Jack, did you install it via download from the Tomcat site (http://tomcat.apache.org) or via Ubuntu's installation process? If you installed it via Ubuntu, I'd rec

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley : > now when processing the plain text stream the accented characters are being > corrupted even though the stream is being set to UTF-8.   This is only > happening on Linux and Tomcat 5.5 with plain text,  on windows it works and > Linux using Tomcat 6.0 it works. Dan, exact

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley : > Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they reviewed later 5.5.x releases and verified that the known issues aren't a problem for the

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > I think that I have forgotten to attach the core file above mentioned.. > :-( This mailing list removes attachments. Core files are often very large, and they also don't provide very much information to anyone on the list as we'd have to be able to reproduce your e

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > The strange think is that in log file there is no sign of any problem. > But In $CATALINA_HOME I get the file "hs_err_pid.log". OK. The Java virtual machine itself is crashing, and you've attached the log file it writes from the crash. Thanks - that's exactly what

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura : > So I think that I will update the jave VM soon.. Maybe an opinion of Chuck > would be useful? I would try updating the VM anyway. You have one of three possible outcomes: 1) It fixes the bug, and we can all go home happy on a Friday; 2) It changes the way the bu

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Peter Crowther
2009/11/30 Peter Chen : > I meet one problem of OutOfMemoryError when I am running the > Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is > 1.5.0.12, and following is the detail of stack information. > > SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create > new na

Re: Basic and Form Authentication

2009-12-01 Thread Peter Crowther
2009/12/1 Anthony Jay : > As for cross application communication I will have to revisit our own > code to see if there are static/singleton services that can be > re-engineered and decoupled. This may be one of the few appropriate times where you may want to put code for the singletons (and all th

<    1   2   3   4   5   6   7   8   9   10   >