Re: full path of 404 file

2007-09-01 Thread Peter Boughton
=org.apache.catalina.valves.AccessLogValve directory=logs prefix=domain.com_access_log. suffix=.txt pattern=%t %m %a %A %h %H %p %q %s %U %v %D resolveHosts=false/ Are there any other patterns that I'm missing? I'll see if I can get a custom 404 working. Thanks, Peter On 9/1

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
. I'm tempted to just try wiping the conf dir and manually build up from a mimimal configuration... On 9/1/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 9/1/07, Peter Boughton [EMAIL PROTECTED] wrote: Thanks for the suggestion. I tried access logging, but it's only listing the /index.jsp

Re: full path of 404 file

2007-09-01 Thread Peter Boughton
Only error/warning I can see in catalina.out is this: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed Dunno what that means, but a quick google suggests it can be ignored. On 9/1/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 9/1/07, Peter

HTTP method GET is not supported by this URL

2007-09-01 Thread Peter Boughton
to servlets not having doGet or doPost methods - but this is the main JspServlet so that shouldn't be the case, right? Anyone got any suggestions on how to fix it? On 9/1/07, Peter Boughton [EMAIL PROTECTED] wrote: Only error/warning I can see in catalina.out is this: Java HotSpot(TM) Client VM

RE: How to profile Tomcat with Rational Purify?

2007-08-31 Thread Peter Crowther
. The likely reason you got no answers the first time you posted this is that nobody on the list has ever profiled Tomcat using Purify. I suspect you're on your own here! - Peter - To start a new topic, e-mail: users

Tomcat jsessionid and mod_rewrite

2007-08-30 Thread Peter Stavrinides
requests through Apache and mod_rewrite for some reason the session id is being appended to every subsequent request. I can remove this of course using a filter, but before I do so, can anyone explain to me why this is happening? Thanks Peter

Re: Tomcat jsessionid and mod_rewrite

2007-08-30 Thread Peter Stavrinides
, Tomcat handles this, but yes. Peter Rainer Jung wrote: Hi Peter, Peter Stavrinides wrote: Hi all My question involves Tomcat in conjunction with Apache and mod_rewrite. Tomcat appends a jsessionid to the first request, but not to subsequent requests, which is normal behaviour. When I access

Re: Tomcat jsessionid and mod_rewrite

2007-08-30 Thread Peter Stavrinides
Thanks Rainer, this makes sense. Peter Rainer Jung wrote: Peter Stavrinides wrote: Although I am not responsible for the front end, I seem to recall we use mod_proxy for the reverse proxy. We have front end Apache web servers that listen for requests externally, internally I can access

Re: Sessions counter on Web Application Manager

2007-08-28 Thread Peter Stavrinides
as expired and waits for the server to clean up, it does not destroy and remove the session. Peter Justin Madex wrote: Good Afternoon, I recently took note of the Sessions counter on the Tomcat Web Application Manager for one of the applications that i have deployed to the server and the fact

RE: Is Tomcat being hacked by curl ?

2007-08-23 Thread Peter Crowther
inexperienced script kiddie - they haven't even changed the user agent string. Chase the person, not the technology - I'd be much more interested in which resources they accessed and which IP they came from. - Peter

Re: JDBCRealm + Expired Passwords

2007-08-23 Thread Peter Stavrinides
I just find it hard to believe that there is no open-source project/library to mange users that includes the above functionality. Web server logins are dismal across the board, but its so easy to write a filter so I think nobody bothered. Peter Stephen More wrote: On 8/22/07, Christopher

Re: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-22 Thread Peter Stavrinides
In what context?? over the network?, over the web?, on the server? There is a portion of the shell script used in a Linux implementation for Tomcat 5.5 that checks for the running process: if start-stop-daemon --test --start --pidfile $CATALINA_PID \ --user $TOMCAT5_USER

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Peter Stavrinides
or customization to Tomcat is required. Peter Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen More wrote: Has anyone written or know of a JDBCRealm that supports an expired password ? Can you phrase that in a different way? I wouldn't want my

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Peter Stavrinides
their password. Then In your login module compare that field to the current time. If the login is valid but fails because of expiry, then redirect to a change password page, otherwise authenticate or deny accordingly. Kind regards Peter Stephen More wrote: In looking at the docs: http

Re: Delete Tomcat logs

2007-08-22 Thread Peter Stavrinides
You might want to truncate, 'not delete', instead. David Smith wrote: AFAIK, this won't work on Windows unless you stop tomcat before and restart tomcat after. Windows keeps the log file open and will do strange things if you take the file out from underneath it. I believe log4j has options

RE: Memory problems

2007-08-21 Thread Peter Crowther
holding on to those instances, and make sure the chain of references goes entirely through Tomcat rather than via JBoss, your webapp or something you've cached in your session? - Peter - To start a new topic, e-mail

Uncanny Error

2007-08-21 Thread Peter Stavrinides
: org.apache.hivemind.ApplicationRuntimeException: Unable to add method java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class $ASTProperty_11488aa7b43: [source error] no such class: $RiskModel_61 Caused by: javassist.CannotCompileException: [source error] no such class: $RiskModel_61 Kind regards Peter

RE: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread Peter Crowther
://aspnetresources.com/articles/dark_side_of_file_uploads.aspx is an interesting read for all flavours - notably, don't expect to be able to do this sensibly any earlier than IIS7. - Peter - To start a new topic, e-mail

RE: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Peter Crowther
and other servlet containers. You can find out by asking each for its classloader and comparing. - Peter * Depending on whether you're watching someone else try to solve the problem, or having to wade through it yourself. Best of luck

RE: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Peter Crowther
expect the webapp's classloader to be unable to find the class as your webapp loads and punt the request for the class up the classloader chain, returning the standard classloader's class. But I may be misunderstanding Tomcat's classloaders. - Peter

RE: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Peter Crowther
, means you no longer have a default Tomcat install... but we couldn't find another way round the problem. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

RE: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Peter Crowther
change from version to version). We wanted to add as few classes as possible to common - but, yes, that'd be a more maintainable solution. By that time we were maintaining quite a heavily customised Tomcat anyway, so one more pain point was minor. - Peter

comet read httpsession timeout

2007-08-16 Thread Peter Warren
the comet connection and open a new one. Or is there a way for me to programmatically update the http session access time (I couldn't find one in the HttpSession docs)? Any other thoughts? Thanks, Peter - To start a new topic, e

multiple comet requests

2007-08-14 Thread Peter Warren
running into problems.) Thanks, Peter - test servlet import java.io.IOException; import java.io.InputStream; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import

Re: multiple comet requests

2007-08-14 Thread Peter Warren
Filip, thank you for your very prompt response! I replaced the tomcat-coyote.jar with yours and now get the following exception on startup. Is there another jar that I need to update? Thanks, Peter Aug 14, 2007 9:02:29 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin

How to run JSF 1.2 with tomcat 5.5.9

2007-08-13 Thread Peter Neu
Hello, has anyone managed to get JSF 1.2 to run on tomcat 5.5.9? It seems that I can't find the right libraries to make it happen. I can't find com.sun.el.ExpressionFactoryImpl for instance. Normally I would just upgrade to tomcat 6 but I can't just switch the production server. Cheers, Pete

Re: Memory usage with multiple instances of tomcat

2007-08-09 Thread Peter Sparkes
Thank you Chuck and Chris for your help and advice. I will definitely be reading your refs Chris Regards Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Problems with SSL

2007-08-09 Thread Peter Crowther
. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Unsubscribe me please

2007-08-08 Thread Peter Crowther
solutions to the problem (remove spam filtering from users-unsubscribe, or provide a web interface to allow users to unsubscribe, as many other list servers do) appear not to have been investigated. - Peter - To start

RE: tomcat is looking for a class I don't use anymore

2007-08-08 Thread Peter Crowther
. Instances of your class are stored in the saved sessions. Delete the session state and you should be OK. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

RE: enabling tomcat SSL on linux

2007-08-08 Thread Peter Crowther
Azhar, can you give us a little more information as to what the refusal takes? What are the symptoms? That you cannot connect from a browser on the same machine / different machine? Does netstat -an | grep 8443 show a port in LISTENING state? - Peter -Original Message

RE: enabling tomcat SSL on linux

2007-08-08 Thread Peter Crowther
for port 80? Do you see one for 8443? I don't know if this information going to be helpful, I have started tomcat using jsvc on prot 80. Just to check: is port 80 OK? You can go to http://localhost and see the Tomcat welcome page? - Peter

RE: Load testing, benchmarking, and tuning

2007-08-07 Thread Peter Crowther
believe the numbers you're getting with that webapp, and I suspect they'll go *up* if you bring the files into memory. At the moment, it wouldn't totally surprise me if most of your app fitted into the L2 cache on the CPUs. - Peter

Re: Memory usage with multiple instances of tomcat

2007-08-06 Thread Peter Sparkes
Thanks Chuck, I am using a 64-bit versions of the OS and JVM and I was confusing virtual memory with RAM. I have 8 GB of RAM and a 80 GB disc. The commands -Xms3g -Xmx3g will set the min/max heap to 3 GB,please how do I set the RAM for each instance of Tomcat5.5 to 2 GB Regards Peter

Memory usage with multiple instances of tomcat

2007-08-04 Thread Peter Sparkes
GB of memory, ie the 3 instance use 6 GB between them ? 2. or do they potentially share they same memory? In other words with the 6GB I want to share between the 3 separate Tomcat instances do I allocate the whole 6GB to Java or 2GB Thank you Peter Sparkes

Re: Memory usage with multiple instances of tomcat

2007-08-04 Thread Peter Sparkes
Thanks Adrian Regards Peter You'll need to allocate 2GB to each Tomcat instance. As long as you use the standard Tomcat startup scripts each Tomcat instance will run in a separate JVM (you'd have to be pretty deliberate about making it run any other way). Regards, Adrian Sutton http

RE: Suggestions for overlapping URI spaces

2007-08-04 Thread Peter Stavrinides
using Apache mod_rewrite, there is a similar module for tomcat called tuckey http://tuckey.org/urlrewrite/ Peter -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Fri 8/3/2007 8:16 PM To: Tomcat Users List Subject: Suggestions for overlapping URI spaces

RE: Installing Tomcat on Linux

2007-08-03 Thread Peter Crowther
! - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Peter Stavrinides
profiling tool, make the most of it. Peter Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? (Sorry for not responding sooner. Went out to dinner and to see the Spider Pig movie :-) Actually, my past

Re: Tomcat with 8 GB memory

2007-07-30 Thread Peter Stavrinides
applications (multiple instances with large JVM memory) but people advice that 64bit are 20 - 30% slower than the 32bit with smaller JVM. why? and if true how to overcome?? thanks Peter Stavrinides wrote: Some of arguments presented hold some truths, but look at the bigger picture... the point

Re: Tomcat with 8 GB memory

2007-07-30 Thread Peter Stavrinides
Apologies Ron this was supposed to be directed at Andrew Miehs! Peter Stavrinides wrote: From your comments Ron you obviously didn't understand a thing I wrote, because you have just repeated me! Andrew Miehs wrote: On 29/07/2007, at 2:34 PM, Peter Stavrinides wrote: 32 bits processors can

Re: Tomcat with 8 GB memory

2007-07-30 Thread Peter Stavrinides
not be, in real terms, too different from a 32bit system with far less RAM because of latency problems. 64bit hardware designs are improving... this is where the real promise lies. I hope this explanation is a bit clearer, lol Peter Andrew Miehs wrote: On 30/07/2007, at 8:02 AM, Peter Stavrinides wrote

Re: Tomcat with 8 GB memory

2007-07-29 Thread Peter Stavrinides
. This is currently where the true benefit of switching to a 64-bit processor lays, it has nothing to do with the memory address space, which is exactly that, just space for more complex computations. Peter Alexey Solofnenko wrote: No, each of two 4GB processes will have only a half

Re: Tomcat with 8 GB memory

2007-07-29 Thread Peter Stavrinides
From your comments Ron you obviously didn't understand a thing I wrote, because you have just repeated me! Andrew Miehs wrote: On 29/07/2007, at 2:34 PM, Peter Stavrinides wrote: 32 bits processors can represent numbers up to 4,294,967,295 while a 64-bit machine can represent numbers up

RE: Tomcat with 8 GB memory

2007-07-27 Thread Peter Crowther
or technical capability; they buy it because it runs the apps they need/want. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Tomcat 5 and 6 Security advise

2007-07-26 Thread Peter Stavrinides
are pretty well locked down. Is there anything else that should be considered? Does Apache offer something extra so that Tomcat should run with its own Apache web server bearing in mind we use only Java. Thanks for your help, Peter

Re: Tomcat with 8 GB memory

2007-07-26 Thread Peter Stavrinides
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Stavrinides Albourne Partners (Cyprus) Ltd Tel: +357 22 750652 If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain

Re: Tomcat 5 and 6 Security advise

2007-07-26 Thread Peter Stavrinides
at 10:51:01AM +0300, Peter Stavrinides wrote: Hi all, I need some advice with regards to Tomcat security, http://www.oreilly.com/catalog/tomcat/chapter/ch06.pdf - To start a new topic, e-mail: users@tomcat.apache.org

Re: Tomcat 5 and 6 Security advise

2007-07-26 Thread Peter Stavrinides
Thanks Chuck, I have done most of these, I already run Tomcat as a daemon using a non-privileged account, and use a JDBC realm to authenticate users. I will check for any loose ends like connectors in the config files. Peter Caldarale, Charles R wrote: From: Peter Stavrinides [mailto:[EMAIL

Re: Tomcat 5.5 and SSL

2007-07-19 Thread Peter Stavrinides
Knock knock... anybody? Peter Stavrinides wrote: Hi All This may be a trivial issue for most, but I am quite new to tomcat. I am trying to configure SSL, These are the steps I took: - I have created a key/value pair using the keytool in suns jdk no problem there - I have configured

Re: Tomcat 5.5 and SSL

2007-07-19 Thread Peter Stavrinides
I don't use the APR, and I am running on Linux Caldarale, Charles R wrote: From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 and SSL what am I missing? Do you have APR installed? If so, the SSL configuration is quite different. If running without APR, did you

Tomcat 5.5 and SSL

2007-07-18 Thread Peter Stavrinides
. Firefox Error Message: Unable to connect Firefox can't establish a connection to the server at mydomain.myserver:8443. what am I missing? thanks in advance, Peter - To start a new topic, e-mail: users@tomcat.apache.org

RE: Running tomcat under root user

2007-07-13 Thread Peter Crowther
obvious? - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 6 classloader errors

2007-07-03 Thread Peter Stavrinides
I am porting a Java servlet from Tomcat 5.5.20 to Tomcat 6 and I seem to be having classloader issues. The application works under 5, but under 6 I get the following stack trace.HELP! Peter Jul 3, 2007 4:13:46 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat

Re: Tomcat 6 classloader errors

2007-07-03 Thread Peter Stavrinides
Hi Chuck, Thanks for the reply! The Tapestry libraries are in $CATALINA_BASE/shared/lib. Caldarale, Charles R wrote: From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Tomcat 6 classloader errors I am porting a Java servlet from Tomcat 5.5.20 to Tomcat 6 and I seem to be having

Re: Tomcat 6 classloader errors

2007-07-03 Thread Peter Stavrinides
Apologies, thanks for your help! ... at the moment I cant open the link, but I will check it out in a minute. Thanks again. Peter Caldarale, Charles R wrote: From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 classloader errors The Tapestry libraries

Re: Java Axis and R

2007-06-26 Thread Peter Ansell
Have you seen the following publication which demonstrates how to use R as an Axis web service. The way they made it work may be similar to the way you are trying to do. http://www.bioconductor.org/packages/2.0/bioc/vignettes/RWebServices/inst/doc/EnablingPackages.pdf Peter Ansell Yifan (Eric

Re: Re[2]: log4j error! log4j:ERROR Attempted to append to closed appender named.

2007-06-20 Thread Peter
i will try this thanks On 6/20/07, 吴熊敏 [EMAIL PROTECTED] wrote: param name=Append value=false/ change Append's value 'true' and try again On Wed, 20 Jun 2007 13:18:01 +0800 Peter [EMAIL PROTECTED] wrote: thanks but it also generate log file as well. log file can be write. i donot

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Peter Crowther
and siphoning the unencrypted logs out of the named pipe. It has to be built into the originating process, I think, and a custom appender is probably the least awful way. - Peter - To start a new topic, e-mail

RE: Encrypt Tomcat 4.1 log and log4j.properties log with MD5

2007-06-20 Thread Peter Crowther
profitable) hacks elsewhere. Or, put another way, when outrunning a dragon, you don't have to run faster than the dragon. You just have to run faster than the dwarf. - Peter - To start a new topic, e-mail: users

Re: Re[2]: SOS thanks

2007-06-20 Thread Peter
hi i.e. The term i.e. means id est in Latin or that is in English. A trick that I use: If you can replace i.e. with in other words then you are using it correctly. I.e. is used to specify what your are trying to convey. see the following actical about the i.e vs e.g

log4j error! log4j:ERROR Attempted to append to closed appender named.

2007-06-19 Thread Peter
hi,all we are using log4j under tomcat. and it appeals so many following erros ; log4j:ERROR Attempted to append to closed appender named [DEFAULT_LOGFILE]. does anyone has an idea why and how to sovle it. thanks ! here is our log4j.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE

Re: log4j error! log4j:ERROR Attempted to append to closed appender named.

2007-06-19 Thread Peter
] wrote: I think the configuration of LOG4J has some problems param name=File value=../logs/others.log/ System can't find the log file. On Wed, 20 Jun 2007 12:42:45 +0800 Peter [EMAIL PROTECTED] wrote: hi,all we are using log4j under tomcat. and it appeals so many following erros

RE: Windows or Linux as Tomcat server?

2007-06-18 Thread Peter Crowther
(where you only needed CALs if the Windows infrastructure was providing authentication via Active Directory) and 2003. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

RE: Tomcat / WAR File; Classpath not recognised for properties file

2007-06-18 Thread Peter Crowther
From: nformosa [mailto:[EMAIL PROTECTED] I'm accesing these files using relative paths ie: /resources/config.xml What code are you using to locate these files? Hopefully something to do with the servlet spec? See, for example, ServletContext.getResource(String). - Peter

Re: Trouble with mod_jk and passthrough authentication [Virus checked]

2007-06-18 Thread Peter Rossbach
Hi, Which auth method and realm config you use at your webapp? Which auth method you use at your apache config? The AJP protocoll transfer all auth information from apache to tomcat. With ajp connector attribute tomcatAuthentication=true (default) tomcat reauth the request. regards Peter

Re: Session Replication in Tomcat5.5.17

2007-06-18 Thread Peter Rossbach
Look at current tomcat docs http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html http://tomcat.apache.org/connectors-doc/reference/workers.html http://tomcat.apache.org/connectors-doc/generic_howto/workers.html Peter Am 18.06.2007 um 17:45 schrieb shiva sha: Hi I try to implement

RE: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Peter Crowther
. - Peter * Some would argue it still is, although IMHO that's more an issue with application developers than Microsoft now. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Can not see the stack trace?

2007-06-15 Thread Peter
STDOUT goes to. The standard tomcat start scripts (startup.sh or catalina.sh called with the argument start) redirect STDOUT to logs/catalina.out. Regards, Rainer Peter wrote: hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat root

Re: hi,problem when shutdown tomcat!

2007-06-13 Thread Peter
i found that. thanks a lot On 6/13/07, Jon Wingfield [EMAIL PROTECTED] wrote: The trace is probably in the catalina.out log file (at least that's where it goes for us running tc5.0.30) Peter wrote: hi all; I just found out that in linux under the /proc generate a fold 26337 does

Nio problems on OSX

2007-06-13 Thread Peter
disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLEngine=on SSLCertificateFile=${catalina.base}/conf/x.crt SSLCertificateKeyFile=${catalina.base}/conf/x.key SSLPassword=x / Any ideas? Thanks Peter

RE: [OT] RE: Embed license to tomcat

2007-06-12 Thread Peter Crowther
success. Any ideas about implementing custom classloader for this special purpose? If you're distributing a custom Tomcat anyway, why not just hack WebappClassLoader? - Peter - To start a new topic, e-mail: users

hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
are not closed? thank you for ideas! peter

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
thank you for ideas i current using JBuider2006, what profiler can used in JBuider2006? thanks peter On 6/12/07, Jon Wingfield [EMAIL PROTECTED] wrote: Chuck answered a similar query recently: http://marc.info/?l=tomcat-userm=118113828210257w=2 Your servlets are serving long-running

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
question. I don't know. The last time I used JBuilder was way back in 2000. The Borland site suggests an OptimizeIt profiler is present in JBuilder for the Developer and Enterprise editions: http://info.borland.com/techpubs/jbuilder/ Jon Peter wrote: thank you for ideas i current using JBuider2006

Can not see the stack trace?

2007-06-12 Thread Peter
hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat root 26337 1 5 09:45 pts/000:00:11 /usr/java/jre1.5.0_08/bin/java -Xms256m -Xmx512m - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -

Re: hi,problem when shutdown tomcat!

2007-06-12 Thread Peter
hi all; I just found out that in linux under the /proc generate a fold 26337 does it the place which the information stores? any idea? thanks On 6/13/07, Peter [EMAIL PROTECTED] wrote: hi all; i try to use SIGQUIT but can not see the stack trace. [EMAIL PROTECTED] root]# ps -ef|grep tomcat

[OT] RE: Embed license to tomcat

2007-06-11 Thread Peter Crowther
From: Li [mailto:[EMAIL PROTECTED] As a developer, sometimes it's difficult to decide whether should follow my heart or boss ... If you're thinking that regularly, it's probably time to find a new boss... - Peter

RE: 30 Mb of common jars in each of 5 war files, should i consolidate?

2007-06-08 Thread Peter Crowther
cheaper than staff time. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Avoiding spam

2007-06-06 Thread Peter Crowther
% getting through the filters. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: can apache tomcat be a virus?

2007-06-05 Thread Peter Crowther
, and your ISP will by trying to fix it as fast as possible! This is a much less likely option. If it's true, the problem should go away of its own accord. So. Run a malware scan on the machine, and see what you find. - Peter

[OT] RE: Java-Ecommerce

2007-06-05 Thread Peter Crowther
, because you really, really don't want the pain of maintaining your own solution; you want to buy someone else's solution. Honest. It'll save money, time and pain in the long run. - Peter - To start a new topic, e

Re: comet read event

2007-06-04 Thread Peter Warren
, redirects, proxies, etc. I realize this question is more java api specific than tomcat comet specific, but since many comet users might like to use HttpURLConnection, I thought it was still relevant here. Thanks for any help, Peter ### CometTestClient1.java - this test hangs since 2nd output

RE: WebApp really slow, Where do I start looking?

2007-06-01 Thread Peter Crowther
... If you're concerned about multiple clicks on submit buttons, there are well-known ways to use Javascript to disable the button once the user clicks it the first time. - Peter - To start a new topic, e-mail: users

Re: [solved] comet read event

2007-06-01 Thread Peter Warren
be transparently shared by other instances -- from javadoc for HttpURLConnection). See added initConnection() line below. Peter ### from CometTestClient below ### public void test() throws IOException { out.println(test 1); out.flush(); String line = read

Re: [maybe not solved] comet read event

2007-06-01 Thread Peter Warren
on the second request, the READ event is never generated (in fact no event is generated) and the client hangs waiting for a response from the comet servlet. Doesn't your cometgui send the headers with each request? Peter Filip Hanik - Dev Lists wrote: you're treading dangerous waters my friend

RE: Users cannot login when IIS 6.0 is used to redirect user tosecure J2EE apps on Tomcat 5.5.15

2007-05-30 Thread Peter Crowther
you can't do this, for example because you have other secured resources being served through IIS or because you want single sign-on for IIS and Tomcat apps? - Peter - To start a new topic, e-mail: users

RE: Installing ISAPI redirect for IIS

2007-05-29 Thread Peter Crowther
From: Al Sparks [mailto:[EMAIL PROTECTED] Is there an even better way of doing this? jk2's been unsupported for a couple of years; jk is probably a safer bet. - Peter - To start a new topic, e-mail: users

Making a directory visible to tomcat

2007-05-29 Thread Peter Dawn
guys, i am using tomcat 5.0. now i have created a file on my server at C:\data\packet.xml. when somebody accesses my web app remotely, i want the user to type in http://ipaddress:8080/packet.xml to be able to access this file. can somebody please tell me how i can make a directory outside the

RE: TOMCAT ISSUE: System.Exit

2007-05-24 Thread Peter Crowther
the call from succeeding. Read, don't just assume it can't work. http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#exit(int) will give you hint on the fact that exit can be prevented by a security manager, for example. - Peter

[OT] RE: Java on Multi/Dual Core

2007-05-23 Thread Peter Crowther
that road the various Java implementations have actually gone. Chuck probably has more information! - Peter * And it's theoretically possible to run the analysis tools and subsequent compiler passes on spare cores, which becomes very interesting in a radical computing world where most

Re: comet read event

2007-05-23 Thread Peter Warren
. The client then sends its second message and blocks waiting for the server. No events are generated on the server in response to the client's second message. Any other tips for me? Thanks, Peter from the CometTestServlet: public void event(CometEvent cometEvent) throws IOException, ServletException

Re: comet read event

2007-05-23 Thread Peter Warren
other configuration options I need to set? Peter Filip Hanik - Dev Lists wrote: and you are using the APR or the NIO connector right? Filip Peter Warren wrote: Thanks for the suggestion. I changed the comet test servlet to read directly from the input stream as shown in the advanced io

comet read event

2007-05-22 Thread Peter Warren
event. How come? // Does the HttpURLConnection (see full code below) need to be set up differently? // Am I using the PrintWriter incorrectly when sending to the comet servlet? out.close(); urlConn.disconnect(); } Thanks for any help, Peter -- system -- using

comet read event

2007-05-22 Thread Peter Warren
the buffer to contain the client's second message since the client blocks for an ack from the server before sending its second message. Any other thoughts on what happens to the client's second message and why no READ event is generated? Thanks for your help, Peter

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
(); if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context); } } } On 5/21/07, Leon Rosenberg [EMAIL PROTECTED] wrote: On 5/21/07, Peter [EMAIL PROTECTED] wrote: hi all, I have

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
in the mail before, i put 0 in a list and get 1 as result. On 5/21/07, Leon Rosenberg [EMAIL PROTECTED] wrote: On 5/21/07, Peter [EMAIL PROTECTED] wrote: hi all, I have come into a very wired problem. here it is. my project using JBuilder 2006 and tomcat 5.5.20. when i put a 0

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
, either you badly display result, either it's not the same list. Peter a écrit : hi all, I have come into a very wired problem. here it is. my project using JBuilder 2006 and tomcat 5.5.20. when i put a 0 into a list and get 1 as a result. simple code for testing! List alist =new ArrayList

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
hi all i try to do like List alist =new ArrayList(); alist.add(0L); alist.get(0); and it is fine. donot know why? On 5/21/07, Peter [EMAIL PROTECTED] wrote: hi all, I have come into a very wired problem. here it is. my project using JBuilder 2006 and tomcat 5.5.20. when i put a 0

Re: hi,wired problem? add 0 into alist but get 1 as a result!

2007-05-21 Thread Peter
(); alist.add(0); out.print(alist.get(0)); Regards On 5/22/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, Felix Schumacher wrote: Am Montag, den 21.05.2007, 13:54 +0800 schrieb Peter: hi all, I have come into a very wired problem. here

<    8   9   10   11   12   13   14   15   16   17   >