Re: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?

2010-02-15 Thread Peter Crowther
Steve, you're likely to get more specific answers if you can tell us versions: what version of the redirector, and what versions of IIS? Also, can you tell us whose instructions you followed to get it working, as there are some out there that are... how shall I say it... less than ideal :-).

Re: Tomcat dies suddenly

2010-02-14 Thread Peter Crowther
On 13 February 2010 15:29, Caldarale, Charles R chuck.caldar...@unisys.comwrote: Does memtest86+ fire up enough threads to heat up all the cores? No. It's a pure memory tester, and it's single-threaded so that it always knows what's adjacent to each bit. - Peter

Re: What governs a URL connection timeout?

2010-02-12 Thread Peter Crowther
A swift Google for: java url openStream timeout reveals: http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/ as its first hit. In essence: the timeout is controlled by setTimeout on UrlConnection. On 12 February 2010 11:59, Chris Mannion

Re: What governs a URL connection timeout?

2010-02-12 Thread Peter Crowther
...@icasework.com wrote: Thanks Peter but we're not using a URLConnection, nor are we explicitly setting any timeouts, as you can see from the code. On 12 February 2010 12:06, Peter Crowther peter.crowt...@melandra.com wrote: A swift Google for:  java url openStream timeout reveals:  http

Re: Tomcat dies suddenly

2010-02-12 Thread Peter Crowther
On 12 February 2010 16:43, Carl c...@etrak-plus.com wrote: 1.  There is no place in the code that we intentionally put an exit().  I have grepped for exit() and found nothing.  The system stops in a different place every time... the last entry in catalina.out has never been the same (over

Re: how to know if tomcat is completely started

2010-02-11 Thread Peter Crowther
In that case, you want a LifecycleListener (http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/LifecycleListener.html) looking for the AFTER_START event. You can then write code in the listener to do something unambiguous when the event triggers - I'd write a file somewhere, but I'm

Re: Java heap size limit

2010-02-11 Thread Peter Crowther
On 11 February 2010 14:56, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Also, as I've heard several times here, set the -Xms and -Xmx settings to the same to improve garbage collect efficiency. (did I interpret that correctly?) Allocation efficiency - and to make sure you actually get the

Re: Java heap size limit

2010-02-11 Thread Peter Crowther
On 11 February 2010 15:29, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Peter Crowther 3) Most insidiously, if the system's loaded or allocated something that it can't move in the middle of your process' address space, it may be unable to move that. Doesn't happen.  The JVM

Re: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?

2010-02-11 Thread Peter Crowther
On 11 February 2010 16:14, Stefan Rainer s.rai...@teamaxess.com wrote: BUT as far as I know, tomcat 5.0.28 is compiled for 32 bit. Tomcat is pure Java, and is therefore not compiled for any particular word size. You may be using native libraries which are compiled for particular architectures,

Re: redeploying war files

2010-02-10 Thread Peter Crowther
On 10 February 2010 10:39, Jan Van Besien janvanbes...@gmail.com wrote: Can I safely delete the exploded files if tomcat is still running as well? In that case, I could do it always, without checking if tomcat is running. You shouldn't get any errors in your RPM if you delete the files. Tomcat

[OT] Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-09 Thread Peter Crowther
On 9 February 2010 15:26, Christopher Schultz ch...@christopherschultz.net wrote: I've learned a lot from reading and participating in many discussions on this list, and I think you probably will, too, if you stick around. I think many of us have learned a lot. Sometimes it's been technical,

Re: Heap size rule for Tomcat 5.5

2010-02-06 Thread Peter Crowther
On 5 February 2010 18:05, evebill8 evebi...@hotmail.com wrote: Cool! I just want to confirm if the rule is right. My IT guy also does not believe it. It wasn't a bad rule of thumb as a place from which to start tuning when typical server memory sizes were 0.5G to 2G - it reserved sort-of

Re: Tomcat dies suddenly

2010-02-05 Thread Peter Crowther
On 5 February 2010 14:41, Carl c...@etrak-plus.com wrote: Bill, ulimit -a shows the following: [...] open files                      (-n) 1024 [...] This looks fine except the 'open files'.  I don't think we would exceed that number but it might be possible. Note that a socket uses a file

Re: Tomcat dies suddenly

2010-02-05 Thread Peter Crowther
On 5 February 2010 15:16, Carl c...@etrak-plus.com wrote: Do you see any harm in just doubling the number (to 2048) just to see if it has an impact? I wouldn't expect any problems, but I don't know your server as well as you do. Just don't hold me responsible if your Tomcat fails / the dog

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Peter Crowther
On any 64-bit OS, more than 2G is fine. I know several places running dedicated application servers with 16G RAM and 12G Java heaps. Where have you read about the 2G recommendation? I want to send them an email... :-). - Peter On 4 February 2010 07:53, Wolfgang Hummel

Re: Timeout when sending message via HTTP out of a webapp. on tomcat 6.20

2010-02-04 Thread Peter Crowther
Timeouts from what to what? If from your webapp (acting as a client) to a SAP host, this is something Tomcat neither knows nor cares about; you will have to configure the code you have written to connect so that it uses a longer timeout. - Peter On 4 February 2010 17:01, Wolfgang Hummel

Re: Tomcat access is very slow

2010-02-03 Thread Peter Crowther
Mike, you'll probably get a few comments about thread hijacking - might be worth starting a new thread. Is there any way you could get a Wireshark or similar trace? It'd be very interesting to know what bytes the browser sent when in the request, for example, and whether the browser half-closed

Re: Tomcat 6.0.24 Google Chrome

2010-02-03 Thread Peter Crowther
? Mike Peter Crowther suggested I connect Wireshark and see what is going on. I will do so and reply to this thread. -- View this message in context: http://old.nabble.com/Tomcat-6.0.24-Google-Chrome-tp27440921p27442417.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: w3wp randomly crashes when redirector is used

2010-02-03 Thread Peter Crowther
Steve, I'm with you - the issue does look unpleasantly similar. I wonder whether some experimentation with running the redirector under a local account with particular rights set might tell you which right was required, and hence which one might be causing an issue? But in the longer term, the

Re: Getting a heap dump on OOME from Tomcat-as-a-service on Windows?

2010-02-02 Thread Peter Crowther
On 1 February 2010 22:23, Laird Nelson ljnel...@gmail.com wrote: Gave Everyone full control of the C:\crap directory.  Configured Tomcat through the service monitor to also append -XX:HeapDumpPath=C:\crap to the list of Java options.  Started and stopped the service.  Ran the build. Heap

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-02 Thread Peter Crowther
On 2 February 2010 21:48, Laird Nelson ljnel...@gmail.com wrote: OK; leery of running my Tomcat as the administrator, but am not up to speed on which Windows users would be better choices.  I naturally assumed that the local user selected by default was appropriate. LocalSystem can impersonate

Re: tomcat memory usage

2010-01-26 Thread Peter Crowther
2010/1/26 Hüsnü Þentürk husnusent...@yahoo.com Hi, In our company, we are using apache tomcat as a windows service. We defined jvm parameters --JvmMs 512 --JvmMx 512 in service.bat. But application is using 600,980 KB memory. I expect the application not to use more then 512 MB. Can you

Re: Tomcat 100% CPU usage after moving from Java 5 to 6

2010-01-26 Thread Peter Crowther
2010/1/26 Leon Rosenberg rosenberg.l...@googlemail.com Another customer of mine was playing with gc settings for nearly a year, because his tomcats collection times went higher and higher, and after a short look at the heap dump with jmap and jhat, we found out that he had 100.000.000

Re: Please Validate this Question

2010-01-23 Thread Peter Crowther
2010/1/23 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com: 1)       A Custom built  web application  uses Quartz  process ( Kron  job)   every  20  minutes  to DB  (JNDI based Connection pool )  to process some data on  when deployed on  single  system, 2)       The same is deployed on a

Re: mod_jk errors with tomcat 6.0.20 and Apache 2.0.52

2010-01-22 Thread Peter Crowther
I'm not an AJP expert, but I suspect: - You're telling AJP to use a secure connection between httpd and Tomcat; - The Tomcat connector on port 8443 is a SSL connector, not an AJP connector; - AJP is getting confused. I believe you should only need to configure one worker (the one on 8009); AJP

Re: RMI reaper thread prevents JVM from exiting

2010-01-22 Thread Peter Crowther
2010/1/22 Thomas Chabaud ext_chabaud.tho...@agora.msa.fr: I have a problem with a webapp using RMI. When I try to shutdown Tomcat instance, the JVM doesn't exit. I have called jstack to see the thread dump : http://pastebin.com/fa55647 There is a non-daemon thread : RMI Reaper. I've tried

Re: Securing Tomcat Applications from Reverse Engineering

2010-01-21 Thread Peter Crowther
2010/1/21 Kranti™ K K Parisa kranti.par...@gmail.com Hi, Can anyone throw some light on this topic, seems it is possible to convert the tomcat+tomcat web applications to native code to secure them and further to run them on client machines easily. Please check this.

Re: How to use custom classloader to load my own app classes in tomcat?

2010-01-21 Thread Peter Crowther
2010/1/21 Chinmoy Chakraborty cch...@gmail.com How I can use my own custom classloader to load my own app classes inside webapp? Please share some ideas. 1) Write custom classloader. 2) Write code in web app to use your custom classloader. Sorry... if you want us to help you, I think you'll

[OT] Re: Securing Tomcat Applications from Reverse Engineering

2010-01-21 Thread Peter Crowther
2010/1/21 Mark H. Wood mw...@iupui.edu Reverse engineering is not a technical problem; it is a legal problem. You need a lawyer, not a program. Mmm, yes and no. Burglary is also a legal problem, but I have locks (on / around the things I want to keep, of a cost and quality appropriate to my

Re: Building a more efficient war file

2010-01-21 Thread Peter Crowther
2010/1/21 Eric Pastoor epast...@vt.edu I run a tomcat based website which run about 10 sports leagues.  All of the leagues have their own war based webapp. [...] Am I going about this totally wrong? Well, a quick cost/benefit analysis... - How much does the memory and disk to hold the extra

Re: TOMCAT GC Issue

2010-01-20 Thread Peter Crowther
2010/1/20 Paulwintech paulwint...@gmail.com Hello, I am new to the Tomcat Administration, I have some 4 production servers running Tomcat6.x with Jdk - To monitor all my applications like Apache,Tomcat and Mysql we are using OPmanager-Application manager tool. Intermediately i get GC

Re: War file encryption

2010-01-20 Thread Peter Crowther
If you control the servers on which the code is being deployed, you should probably be taking other steps than encryption. If you *don't* control the servers, you cannot stop someone decrypting your code - sooner or later, it will have to be decrypted for Tomcat to use it. Therefore you will have

Re: Increase in rss and thread usage.

2010-01-19 Thread Peter Crowther
2010/1/19 kent.anders...@tieto.com Are using Tomcat 6.0.20. We have mointored it and can see that the rss and thread usage increases all the time. Is this someone else also have experienced? Almost always, if your resource usage increases over time, your application has a resource leak. In

Re: Log files? - [solved]

2010-01-17 Thread Peter Crowther
2010/1/17 Hassan Schroeder hassan.schroe...@gmail.com: You're welcome to your opinion, but personally I think the whole splatter-files-all-over-the-system repackaging approach is horribly flawed for apps like Tomcat [...] Tomcat has a very strong view on where its files should live. Some OSs

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-15 Thread Peter Crowther
2010/1/14 pionier pionierp...@interia.pl: Linux vs4160 2.6.22-vs2.2.0.7-gentoo #4 SMP Mon Jul 27 01:53:39 Local time zone must be set--see zic  x86_64 AMD Phenom(tm) II X4 810 Processor AuthenticAMD GNU/Linux Thanks. OK, you've got a few options here. This is all because a process can only

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier pionierp...@interia.pl: When i configured Tomcat to work with Apache I discovered that immediately after  i run Apache, Tomcat i using 100% of cpu usage ;/ can someone tell me whay is this happening ? Apart from one guess, not without a lot more information or Andre's

Re: Overwriting and not overwriting when re-deploying a warfile

2010-01-14 Thread Peter Crowther
2010/1/14 Ludwig Magnusson lud...@itcatapult.com: I have a problem when i deploy a new version of my webapp. I want some of the files in my exisiting webapp to be overwritten, and I want some to be left as they are. [...] Is this possible in any way? Not if the files are stored directly under

Re: Tomcat dies suddenly (was JVM goes away)

2010-01-14 Thread Peter Crowther
2010/1/14 David kerber dcker...@verizon.net: Memtest86, which I believe is the same one Peter suggested (or at least a variation of it).  It just loops continuously until stopped. I suggested memtest86+ (http://www.memtest.org/). Memtest86 (http://www.memtest86.com/) is also available; I moved

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier pionierp...@interia.pl Tomcat : 6.0.20 Im useing apache only for transfering request from 80 to 8080 High CPU usage starts exacly the same time i start apache... Then uninstall httpd, set up an HTTP connector on port 80 on Tomcat, and run just Tomcat. - Peter

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier pionierp...@interia.pl that is imposible... my virtual unix account do not allow that :/ OK. I noticed you didn't tell us before what OS you were running on. Please tell us about the operating system you're running on. At the moment, we're guessing. - Peter

Re: Tomcat dies suddenly (was JVM goes away)

2010-01-13 Thread Peter Crowther
Very difficult to know what the problem is. One thing you can now do (as you've switched to another production server) is to run a memory test across the bad server. A T110 doesn't use error-correcting memory, as I recall, so a dodgy bit could cause problems. Give it a couple of hours with

Re: Tomcat dies suddenly (was JVM goes away)

2010-01-13 Thread Peter Crowther
2010/1/13 Christopher Schultz ch...@christopherschultz.net: On 1/13/2010 8:49 AM, Peter Crowther wrote: Very difficult to know what the problem is.  One thing you can now do (as you've switched to another production server) is to run a memory test across the bad server. Usually, I would

Re: Tomcat dies suddenly (was JVM goes away)

2010-01-13 Thread Peter Crowther
2010/1/13 David kerber dcker...@verizon.net: Make sure you let it run for quite a while.  I've had memory failures show up as late as 11 passes into a test run. That's dedication - I usually end up stopping it after a couple of runs. Thanks David, I've learned something! - Peter

Re: JVM goes away

2010-01-11 Thread Peter Crowther
2010/1/11 Carl c...@etrak-plus.com: This is a new server, a Dell T110 with a Xeon 3440 processor and 4GB memory.   I have turned off both the turbo mode and hyperthreading. The environment: 64 bit Slackware Linux java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04)

Re: How to change effective user id on Windows

2010-01-08 Thread Peter Crowther
2010/1/8 Amit Agarwal ami@gmail.com: HOw do we start TOmcat programatically using Bootstrap.start() API if we need to pass the user ? You don't do it that way ;-). By the time you start the Java virtual machine (JVM) that runs Tomcat, that JVM must *already* be running as the user you want

Re: Incompatabilities?

2010-01-08 Thread Peter Crowther
2010/1/8 Alexander Skwar alexanders.mailinglists+nos...@gmail.com: Besides the load issue, they claim, that a different app of theirs doesn't work with Tomcat, but it's supposed to work with WebLogic and jBoss. Am I right in assuming, that this is most probably caused by bugs in their app,

Re: High Load examples?

2010-01-07 Thread Peter Crowther
2010/1/7 Alexander Skwar alexanders.mailinglists+nos...@gmail.com: Right now, we're using Bea WebLogic as our application server. We'd like to change to Tomcat 6. Now the creator of the application being run on the App Server said, that Tomcat works very well under low usage / low load

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Amit Agarwal ami@gmail.com: Tomat on Linux starts as root to bind to port 80, and then switches effective user id to nobody. Windows does not appear to have concept of changing effective user. Tomcat service runs as a local system on Windows. Need to change the user for Tomcat

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Looijmans, Mike mike.looijm...@oce.com: The current configuration is correct in terms of security - the 'SYSTEM' user is a limited account that has no access to the desktop nor shared network resources. Sorry to pick you up on this one, Mike, but I think you're thinking of

Re: How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Peter Crowther
2010/1/7 jean-claude_carri...@ibi.com: We have a Tomcat 5.5.17 with a approot.xml file in conf\Catalina\localhost just pointing to a shared disk location [...] How can we prevent this from happening, because whenever the disk is back online, someone has to manually copy back the context root

Re: Toggling

2010-01-06 Thread Peter Crowther
What is the trigger to toggle a web application? What is the result of toggling the web application? If it is toggled to https, does it suddenly become available to all users on https and unavailable to all users on http? - Peter 2010/1/6 Nikita Manohar nikita.mano...@gmail.com I would like

Re: Toggling

2010-01-06 Thread Peter Crowther
2010/1/6 Nikita Manohar nikita.mano...@gmail.com The trigger here is suppose in a web application there is a welcome page which is to be re-directed to a user's homepage after login. The secure information (login page) should be toggled to https and the rest as http. Is it possible to do so

Re: ClassCastException in tomcat 6

2010-01-04 Thread Peter Crowther
2010/1/5 test123456 sajith...@thinkcoretech.com I put the jackrabbit.war file into the webapps. I have a new test project which will access the jackrabbit.war through the JNDI lookup. In server.xml i have a global jndi resource. and the tomcat lib directory contain all the required jar

Re: How to access files in network drive

2010-01-03 Thread Peter Crowther
2010/1/3 WM C doublecr...@live.com In my web app, I need to read files from a network drive folder, which has access restriction (my account is permitted). During development time, since I am using Eclipse and Tomcat is integrated inside, so both were run under my account, everything works

Re: How to access files in network drive

2010-01-03 Thread Peter Crowther
2010/1/3 WM C doublecr...@live.com The problem is that now we have two web apps, each needs to access different drive, each drive has different user access control list - in this case, running Tomcat using one user will only make one app work, while fail another (for security reason, we

Re: TomCat multiple ssl support

2009-12-29 Thread Peter Crowther
2009/12/29 DOrlov dor...@redaril.com Hello, I have TomCat 6 server and I have 3 SSL sertificates for: 1. p.domain.com 2. p1.domain.com 3. p2.domain.com I would like to use all 3 on 1 SSL connector (Don't create 3 SSL connectors) I'm using keytool app and kestore SSL logic for TomCat SSL

Re: Can I make my servlet wait/delay for... maybe 500 - 1000 ms

2009-12-17 Thread Peter Crowther
2009/12/17 Ingo Gambin igam...@brilliant.de Basically with already existing pdf-files that works fine, but checking the whole procedures inserting timing-outputs I realized that, although the extraction method is done and the next methods are called, itext (or the system) is still writing the

Re: Ask about an architecture of High Availability with Tomcat and Apache

2009-12-17 Thread Peter Crowther
Why are you using httpd - what purpose is it serving other than to act as a load-balancer to Tomcat, which you should be able to do directly from the Cisco load balancer? 2009/12/17 Peter Chen peter.c...@aicent.com Hi, I made architecture of High Availability with Tomcat and Apache, here I

Re: Tomcat gets not enough memory on vServer

2009-12-17 Thread Peter Crowther
2009/12/17 Lars Fischer lfisc...@fast-mail.org I have some trouble with a Tomcat running on a vServer Ubuntu 8.04: I used an old vServer with 768MB RAM. On this machine I had a Tomcat running using -XX:MaxPermSize=128m -Xmx256m settings. Tomcat consumed the given memory and was working fine.

Re: Tomcat 6 and IIS 7

2009-12-16 Thread Peter Crowther
2009/12/15 Tuan Quan tuan_q...@yahoo.com However, then Tomcat stop, and IIS start, running netstat -an got below: TCP[::]:80[::]:0 LISTENING Even though, I set IIS to bind to one IP, run IE on the machine to both IP addresses gave me IIS page. OK,

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier a...@ice-sa.com But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs -- /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat doesn't follow symbolic links by default,

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier a...@ice-sa.com On another level, I don't quite understand yet how this squares with the fact that most browsers will not establish more than 2 connections with the same webserver at the same time. It seems a bit difficult to imagine that one single user can crash a

Re: Limit user sessions in tomcat

2009-12-15 Thread Peter Crowther
2009/12/15 Chetan Chheda chetan_chh...@yahoo.com Is there a 3rd party tool available to manage tomcat sessions and kill them once they go rogue? Can I just check two pieces of terminology? In Tomcat (and many other web servers), a session is the notion that a user will make multiple

Re: Tomcat 6 and IIS 7

2009-12-10 Thread Peter Crowther
Stop both, netstat -an - is there anything active on port 80? If so, find it and terminate with extreme prejudice ;-). Start Tomcat. netstat -an - what address(es) does it report Tomcat as being bound to? Are they what you expect? Stop Tomcat, start IIS7, netstat -an again - what address(es)

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com We have deployed same TOMCAT 6.0.20on Windows / Linux Just to check: in both cases, you downloaded the same installation files from http://tomcat.apache.org and installed them? Exactly the same JVM revision on both

Re: db jars in common/lib and shared/lib

2009-12-09 Thread Peter Crowther
2009/12/9 Mohammad, Hammad Kasim Bekur hammadkasimbekur.moham...@misys.com I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to run the tomcat, server started up properly. Now I have removed these jar from

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip OK. RAM is 2 GB on Linux on Windows is 1.5 GB No extra applications are running when the same was executed

Re: Tomcat Config Question

2009-12-09 Thread Peter Crowther
2009/12/9 steflik stef...@binghamton.edu I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in

Re: Tomcat performance benchmark

2009-12-07 Thread Peter Crowther
2009/12/7 Neil Aggarwal n...@jammconsulting.com Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Good grief, that's not so much dated as coming back from beyond the grave! It's two major versions and a lot of performance optimisations out of

[OT] Application speed (was Re: Tomcat performance benchmark)

2009-12-07 Thread Peter Crowther
2009/12/7 André Warnier a...@ice-sa.com On the other hand, it would be really interesting to compare the performance of a set of webservers 5 years ago, with the current ones, if the comparison is in terms of real-world application requests served. Granted, servers have become faster, memory

Re: Setting up x planner plus using Tomcat

2009-12-07 Thread Peter Crowther
Given that the samples run fine, this doesn't look like a Tomcat issue. I suspect you'd have better luck on a MySQL, Hibernate or x-planner list. I'm slightly bemused that the username in the error message is in UPPERCASE when you've specified it in lower case - is something assuming particular

Re: Basic and Form Authentication

2009-12-01 Thread Peter Crowther
2009/12/1 Anthony Jay anthony...@fastmail.fm: 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

Re: Safe to move tomcat directory while tomcat running?

2009-12-01 Thread Peter Crowther
2009/12/1 Dean Chester dean.g.ches...@googlemail.com: Ok thanks what i meant is that the tomcat directory is in ~/tomcat6/apache-tomcat-6.0.20/ and i need to move it to my home directory ~/. Basically was it safe to do it while tomcat is still running. No, that is not safe. Tomcat may access

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 peter.c...@aicent.com: 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

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley dan.bag...@metadatatechnology.com: 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

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley dan.bag...@metadatatechnology.com: 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

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: 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

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: 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_pidpid.log. OK. The Java virtual machine itself is crashing, and you've attached the log file it writes from the crash.

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: 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;

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

2009-11-26 Thread Peter Crowther
2009/11/26 jackm jack.mort...@gmail.com: 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

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv j.kumara...@gmail.com: 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

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv j.kumara...@gmail.com: 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

Re: Redirecting a port to a webapp

2009-11-24 Thread Peter Crowther
2009/11/24 Looijmans, Mike mike.looijm...@oce.com 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

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer ken...@gmail.com 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

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer ken...@gmail.com: 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

Re: Ethernet or configuration?

2009-11-24 Thread Peter Crowther
2009/11/24 Guifre Bosch Fabregas guifre.bo...@gmail.com: 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

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike mike.looijm...@oce.com 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

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike mike.looijm...@oce.com 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

Re: Performance Problem

2009-11-20 Thread Peter Crowther
2009/11/20 div.gcet divya.garg...@gmail.com 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

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

2009-11-20 Thread Peter Crowther
2009/11/20 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com 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

Re: Sending messages via Tomcat to ActiveMQ

2009-11-19 Thread Peter Crowther
2009/11/19 Kumako22 kumak...@gmail.com 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

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Peter Crowther
2009/11/19 Bruce Foster gis.fos...@gmail.com 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 :-).

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Amol Wate (awate) aw...@cisco.com 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

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Timir Hazarika (thazarik) thaza...@cisco.com 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.

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 talk2b...@gmail.com: 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

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 p...@pidster.com: 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

Re: How2 Disable Browser Access to specific port

2009-11-16 Thread Peter Crowther
2009/11/16 joeweder joewe...@gmail.com: 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

Re: Tomcat 6.0 requires JRE 5.0 issue

2009-11-16 Thread Peter Crowther
2009/11/16 Elizabeth Gorkic egor...@hotmail.com: 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 -

Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Peter Crowther
2009/11/15 Henry Loke fsl...@yahoo.com: 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

Re: Secure login only, not rest of app

2009-11-10 Thread Peter Crowther
2009/11/10 Robert Denison r...@blim.org: 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

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