Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
ngine like e.g. Velocity. There's one servlet that is capable of serving any page. Compare it to 16000 servlets. I mean: anything is good that will read/process content on the fly and will not keep it forever in memory. -- Mikolaj

Re: Maximum number of JSP ?

2014-04-11 Thread Mikolaj Rydzewski
number of pages I strongly recommend using a templating engine (there are plenty of them). -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Hosting recommendations

2014-03-17 Thread Mikolaj Rydzewski
other words: to download/upload only changed entities? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: filter question

2014-03-14 Thread Mikolaj Rydzewski
refusal : "can't do that, the response is already committed". +100 Wow, great explanation! -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: how to best launch a jnlp from and then return to a different jsp

2014-02-25 Thread Mikolaj Rydzewski
on to run. Of course application may use e.g. REST to peform any actions on the server. But it has nothing to jnlp itself. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional c

Re: how to best launch a jnlp from and then return to a different jsp

2014-02-25 Thread Mikolaj Rydzewski
. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Installing the OWF webapp to an existing Tomcat Instance

2014-02-25 Thread Mikolaj Rydzewski
L with APR What about adding missing attribute? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: how to best launch a jnlp from and then return to a different jsp

2014-02-25 Thread Mikolaj Rydzewski
) what we do not have and want to add is when the JNLP completes the calling jsp is redirected to an other page (print preview)... what is the best way to do this? One cannot "launch jnlp". It's up to user whether he will accept it and run the application. -- Mi

RE: Installing the OWF webapp to an existing Tomcat Instance

2014-02-24 Thread Mikolaj Rydzewski
s created and with correct permissions? You said, that install guide is for older version of Tomcat. Several versions of Tomcat back, there were changes in way one configures datasource resources. Maybe your install guide refers to the old way? -- Mikolaj Rydzewski ---

Re: Tomcat 7 on FreeBSD

2014-02-24 Thread Mikolaj Rydzewski
one ran with Linux compatibility enabled. Is it better nowadays? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] Symantic has a first tomcat worm ;-)

2013-11-25 Thread Mikolaj Rydzewski
h username "tomcat" and passoword "s3cret", and that needs to be prevented. Can you elaborate on that? What do you mean by randomly passwords for 401 pages? -- Mikolaj Rydzewski - To unsub

Re: Different handling of -Dfoo="bar" between versions

2013-10-03 Thread Mikolaj Rydzewski
uot;-Dfoo=bar bar" while these are not: -Dfoo="bar bar" Its shell's job to parse quotes, wildcards, etc. You have to verify quotes/parameters handling on bare tomcat instance. Otherwise, you should raise a bug to maintainers of third party tool you use

Re: multiple tomcat instances for every application

2012-11-19 Thread Mikolaj Rydzewski
on many other factors. Usually it's enough to go with option 2, but you have to decide yourself. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: us

Re: Where's the source code of Tomcat Installer?

2012-10-16 Thread Mikolaj Rydzewski
x27;t found any source code about installer. Have you checked http://izpack.org/ ? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 16:39, Patrick Flaherty wrote: Is this a Windows platform ? Looking at the path I suppose so :-) "${root}\\bin\\tomcat6.exe" -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
act I use ant script to modify service parameters (please forgive broken lines): dir="${root}\\bin"> -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tom

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
http://commons.apache.org/daemon/procrun.html Syntax is not so easy to use. The easiest way is to use tomcatw.exe - unless you have to use CLI. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addit

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
ch) located in bin folder. You can specify service properties there. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Root context switching

2012-09-04 Thread Mikolaj Rydzewski
host/app1, host/app2 URLs, or with virtual hosts: host1/app, host2/app, etc. With virtual hosts you can have multiple ROOT contexts as well. Does it answer your question? -- Mikolaj Rydzewski - To unsubscribe, e-mail: user

Re: restrict per user public_html to serve static files only...

2012-06-27 Thread Mikolaj Rydzewski
suits better in this situation. There's built in support for public_html directories. Since all you need is to serve static files I see no point in using tomcat. -- Mikolaj Rydzewski - To unsubscribe, e-mail: user

Re: tomcat slowing down

2012-05-17 Thread Mikolaj Rydzewski
On 17.05.2012 09:29, Christian Kaufhold wrote: But who knows, do you know a way to check the size of a session in tomcat? Psi probe allows to peek into the session (not exactly the size). http://psi-probe.googlecode.com/svn/wiki/Features/session-attributes.png -- Mikolaj Rydzewski

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
applications? Myfaces (which used to work for a long time) and wicket (which takes server down)? I'd separate them first to have clear environment for investigation. Then enable GC logging, attach jvisualvm, deploy psi probe (http://code.google.com/p/psi-probe/), etc. -- Mikolaj Rydz

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 17:11, André Warnier wrote: Mikolaj Rydzewski wrote: It looks you have some ajax requests Just curious : how do you see that from the OP's stack trace ? Just a guess, maybe I'm wrong: org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
often, or they are too CPU intensive? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat slowing down

2012-05-16 Thread Mikolaj Rydzewski
On 16.05.2012 14:49, Christian Kaufhold wrote: What can we do to analyse the problem? Make a thread dump (kill -3 ). Information usually will be written to catalina.out. You can use jvisualvm tool to capture threads, memory snapshots, etc. -- Mikolaj Rydzewski

Re: Webapp reading from .war rather than from exploded files

2012-05-07 Thread Mikolaj Rydzewski
option? AFAIR Tomcat will not read/unpack war on startup when unpacked directory already exists. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Reload servlet remotely

2012-04-26 Thread Mikolaj Rydzewski
rd@/manager/text/reload?path=/ -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Mikolaj Rydzewski
fig() method). Could you help me with this? Help with what? What is the problem? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Mikolaj Rydzewski
ector initialization, etc. My idea is to configure the tomcat instance by looking at the server.xml (will be a strip down version of server.xml). Not a direct answer, but have you checked http://cargo.codehaus.org/ ? -- Mikolaj Rydzewski ---

Re: Problem in apache tomact 6.0

2012-01-19 Thread Mikolaj Rydzewski
On Thu, 19 Jan 2012 14:19:02 +0530, Uttpal Kachhawa wrote: You have at least two connectors bound to the same port. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Problem in apache tomact 6.0

2012-01-18 Thread Mikolaj Rydzewski
this server you will need to stop the other process or change the port number(s). Which part of the above sentence you do not understand? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Really block a directory

2012-01-11 Thread Mikolaj Rydzewski
possible? Yes. Write a Servlet. Hard code it to return 404 and map it to the path that equates to the directory. Or use some kind of URL rewriter, e.g. http://code.google.com/p/urlrewritefilter/ -- Mikolaj Rydzewski - To

Re: Tomcat with certificate on load balances - prevending redirect https/http

2011-12-13 Thread Mikolaj Rydzewski
ache.org/tomcat-7.0-doc/config/http.html With this attribute set to true Tomcat assumes that connection is over secure channel. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additi

Re: Compatability Problem OSX to Windows 7 Port

2011-12-12 Thread Mikolaj Rydzewski
On Mon, 12 Dec 2011 08:07:31 -0500, Glyn Thomas wrote: The following test JSP shows the problem: Does the problem occur only in JSP? Are you able to run the query using regular SQL client? -- Mikolaj Rydzewski - To

RE: [OT]RE: Maximum memory that can be assigned to Tomcat on windows platform

2011-12-01 Thread Mikolaj Rydzewski
our application. In general: the bigger heap, the longer GC will run. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Mikolaj Rydzewski
ase do the following: 1. Replace GNU Java with a real one. 2. Use CATALINA_OPTS instead of JAVA_OPTS (so shutdown script won't pick it up). 3. Have you tested server's memory for errors? -- Mikolaj Rydzewski - To unsubs

Re: Custom Standard Classloader

2011-11-04 Thread Mikolaj Rydzewski
On Fri, 4 Nov 2011 11:23:59 +, Paul Wilson wrote: It seems that only the lib/* jars are available at this point in time, and not bootstrap.jar. What's the correct way to override the StandardClassLoader? Just out of curiosity: what do you need it for? -- Mikolaj Rydz

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread Mikolaj Rydzewski
tomcat. mod_proxy will catch running tomcat after some time. It's a matter of proper configuration how long will it take. I guess that we all know tools like Nagios. I prefer to use them to detect problems instead of hacking startup scripts. -- Mikolaj Rydz

RE: Display a static page while application loading.

2011-09-19 Thread Mikolaj Rydzewski
that and contribute it back. In other words, you need some kind of a mechanism, that notifies other pieces of application, that particular component is ready to serve requests? Is that correct? -- Mikolaj Rydzewski - To

Re: How to add/remove DataSource dynamically to a running Tomcat/WebApp

2011-08-18 Thread Mikolaj Rydzewski
I'd rather choose to create Datasource instances myself (e.g. jakarta's pooled datasource, the same tomcat uses). You will not have to write tomcat specific code. -- Mikolaj Rydzewski - To unsubscribe, e-mail:

Re: TOMCAT 64bit & 32BIT differences - URGENT

2011-07-07 Thread Mikolaj Rydzewski
s JVM itself. As long as you use .bat files to start Tomcat you don't need to worry. I'm not sure what about additional binaries (tomcat.exe, tomcatw.exe, etc), running tomcat as a system service. -- Mikolaj Rydzewski -

Re: Wine and tomcat

2011-06-08 Thread Mikolaj Rydzewski
topic not for this list. With my small experience of wine, I do not see why it would not be possible. Wine is a fiberglassted piece of code. But it doesn't work :-) -- Mikolaj Rydzewski - To unsubscribe, e-

Re: Wine and tomcat

2011-06-08 Thread Mikolaj Rydzewski
like) and deploy/test on windows running inside VM. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Query regarding an issue been faced in TOMCAT

2011-06-03 Thread Mikolaj Rydzewski
reate logfile, but incorrectly recognizes it as a no space left error. Anyway, migration to new tomcat version is recommended. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comman

Re: Monitoring memory usage of JVM

2011-05-27 Thread Mikolaj Rydzewski
gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps We use nice tool from HP (HPJmeter) at work. It parses GC logfile and produces various graphs. I guess you can download it for free from www.hp.com/go/java -- Mikolaj Rydzewski -

Re: Hosting a website

2011-05-25 Thread Mikolaj Rydzewski
On Wed, 25 May 2011 12:52:48 +, abdelghni belfkih wrote: yeah thats what I think I should do. But, how can i deploy my .rar since I connect to the distant server via DirectAdmin? Ask support guys? -- Mikolaj Rydzewski

RE: Static Resources - Runtime Problems

2011-05-24 Thread Mikolaj Rydzewski
storage destination. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread Mikolaj Rydzewski
you can configure spring (is there anyone who does not use spring nowadays?) to hide direct factory calls. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

Re: Find out reason HEap Space Error

2011-05-17 Thread Mikolaj Rydzewski
jvisualvm - which comes bundled with JDK. You can use it to try isolate the problem. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [slightly OT] Tomcat 6 crash, no log, no hs_err_pid file

2011-05-06 Thread Mikolaj Rydzewski
lead to (what I see as) memory leaks ? Or is it a faulty design at the level of the Hibernate webapp ? I guess that it's easier for everyone affected to restart container... Including me :-) It's been a problem for long time - google for cglib hibernate re

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-06 Thread Mikolaj Rydzewski
On Fri, 06 May 2011 09:42:12 +0200, André Warnier wrote: Naive question : and is this a normal thing to happen, or does it indicate a problem ? Unfortunately it's a normal thing when redeploying hibernate webapps. -- Mikolaj Rydz

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-06 Thread Mikolaj Rydzewski
on modern machines. I usually start it every time from the IDE. No need for any -XX options in development environment. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comman

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-06 Thread Mikolaj Rydzewski
run with root priviliges and run tomcat as a normal user. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-04 Thread Mikolaj Rydzewski
On Thu, 5 May 2011 02:19:59 +0200, Jakub Królikowski wrote: Before upgrade, if jvm crashed, the hs_err_pid*.log file was always in root home directory. My $0.02: do not run tomcat as root. You can try to log GC output to diagnose OOM errors. -- Mikolaj Rydzewski

Re: Working of Tomcat with MS Access

2011-04-15 Thread Mikolaj Rydzewski
RAHUL RAJ wrote: This is like a small assignment that has to be submitted urgently..so I have to run away from the error! and tried with MS ACCESS. The jdbc program for access works perfect alone.. So run tomcat as a 'standalone' java program - that means not as a service.

Re: Working of Tomcat with MS Access

2011-04-15 Thread Mikolaj Rydzewski
On Fri, 15 Apr 2011 17:01:05 +0530, RAHUL RAJ wrote: I know my code is not perfect. But I just want to resolve this error now. Can u say how to solve this? pls answer to the question.have u read my message completely? How do you run your tomcat - as a service? -- Mikolaj Rydzewski

Re: Working of Tomcat with MS Access

2011-04-15 Thread Mikolaj Rydzewski
on 8. use any framework/library to wrap jdbc calls 9. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat GzipOutputFilter

2011-04-01 Thread Mikolaj Rydzewski
rk segment. So there's no need to compress such traffic. You want compression to limit bytes sent to remote clients, over WAN connection. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: OT: a good jmx browser?

2011-03-14 Thread Mikolaj Rydzewski
On Mon, 14 Mar 2011 11:28:58 +0100, Leon Rosenberg wrote: sorry for the off-topic-ness, but what jmx browser are you guys using if any. By jmx browser i mean something with a GUI where I can enter my server's adress and click through the tree of available values. jconsole -- Mi

Re: Configuring Tomcat 6.0.30 for PHP 5.3.5 (OS:Windows 7)

2011-03-14 Thread Mikolaj Rydzewski
nding to work only on PHP, not on both (servlets and PHP). Short answer: don't do this. There're plenty of easy-to-install-and-use bundles (web server, php, mysql) for Windows. -- Mikolaj Rydzewski - To unsubscribe

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread Mikolaj Rydzewski
specific amount of time has passed? Do not create such file! Instead stream data on the fly from within a servlet. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: java thread open after Tomcat shutting down

2011-03-10 Thread Mikolaj Rydzewski
s not a container job to terminate them. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: console with when running as service

2011-03-09 Thread Mikolaj Rydzewski
rder to box operate correctly. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: console with when running as service

2011-03-09 Thread Mikolaj Rydzewski
On Wed, 9 Mar 2011 08:41:09 -0600, "Caldarale, Charles R" wrote: If you want a console window, run Tomcat from the startup.bat script. If you want just console output look at commons-daemon documentation. There's everything you need to redirect output to any file. -- Mi

Re: connecting jsp with mysql

2011-02-21 Thread Mikolaj Rydzewski
at.apache.org/tomcat-7.0-doc/jndi-resources-howto.html Or at least any framework (spring, dbutils, etc). -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Monitoring production tomcat

2011-02-03 Thread Mikolaj Rydzewski
usage per site, thread view etc. Is it your webapp or a third party one? Take a time and read about JMX - it's a standard way of monitoring Java applications. For a quick start check http://www.lambdaprobe.org/ and jconsole. -- Mikolaj Rydz

Re: mail.jar, activation.jar and classloading

2011-01-26 Thread Mikolaj Rydzewski
On Wed, 26 Jan 2011 12:24:58 +0100, Michael Ludwig wrote: Mikolaj Rydzewski schrieb am 26.01.2011 um 12:07 (+0100): On Wed, 26 Jan 2011 11:52:04 +0100, Michael Ludwig wrote: >What is special about mail.jar (and activation.jar) that requires >putting them into the common.loader

Re: mail.jar, activation.jar and classloading

2011-01-26 Thread Mikolaj Rydzewski
located in common classloader. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Mikolaj Rydzewski
s due to inactivity time, then try to login. One solution is to use HttpSession.isNew() check on login JSP page and perform redirect to e.g. to main page. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-uns

Re: HTTP Status 404 - /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet

2011-01-20 Thread Mikolaj Rydzewski
guess you were never able to upload files. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
eak, but not returning to a stable value *after* a full GC would be. I thought, that PermGen data cannot be garbage collected... -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
ncrease with no webapps! -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat uses more and more PermGen space

2011-01-03 Thread Mikolaj Rydzewski
. I googled and found that there are reports related to XStream and PermGen issues. I wonder if anyone encountered anything similiar? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Intercept Tomcat log

2010-12-30 Thread Mikolaj Rydzewski
log4j appender? I'd rather use offline tool (perl script?) to process logfiles. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Mikolaj Rydzewski
e those generated JSPs do something useful! Have you considered switching to velocity? You can serve velocity templates from DB with no problems. And it's container agnostic. -- Mikolaj Rydzewski - To unsub

Re: Placing JARs in "..../tomcat/shared/lib" causes leaks when stopping apps?

2010-11-16 Thread Mikolaj Rydzewski
hat, there would be only one webapp deployed - no matter how many domains you need to handle. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Mikolaj Rydzewski
. Personally I do not like JSP precompiling. 1. I do not put into JSP anything that user should not see. 2. Cost of compilation with first request is acceptable. 3. Possibility to change produced markup either by me or customer is priceless. -- Mikolaj Rydzewski

RE: DBCP abandoned trace - unable to understand the leak

2010-11-04 Thread Mikolaj Rydzewski
those variables (connection, rs, pstmt) to null again in those catch blocks? One more reason to use well designed utilities like commons-dbutils or jdbc-template. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat

Re: DBCP abandoned trace - unable to understand the leak

2010-11-04 Thread Mikolaj Rydzewski
On Thu, 4 Nov 2010 13:20:48 +0530, sasidhar prabhakar wrote: We are using struts and following DAO pattern. Looks fine. Does the problem occur everytime? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr

Re: DBCP abandoned trace - unable to understand the leak

2010-11-04 Thread Mikolaj Rydzewski
show us your code. For small projects I found commons-dbutil very convenient. For larger ones, spring's JdbcTemplate is my choice. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Protecting static resources in IIS

2010-11-02 Thread Mikolaj Rydzewski
g the existing images. Smells like security by obscurity... Hint: how do you want your legitimate clients to access those images if they are well protected? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-uns

Re: APR Features

2010-10-19 Thread Mikolaj Rydzewski
is so expensive, that you will not gain any performance boost by using sendfile at the end. Run simple test with jmeter to find out the actual numbers. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-09 Thread Mikolaj Rydzewski
deploy your code to tomcat. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Why an email list, and not a forum?

2010-09-24 Thread Mikolaj Rydzewski
new or updated topics. > The forums these days let you subscribe to topics or complete forums and > send you a notification when a new topic gets started or updated. Use gmail to read list. You'll have a 'forum'. I do really hope we won't switc

Re: Some problem of analyzing the tomcat logs

2010-09-17 Thread Mikolaj Rydzewski
ers for images, resources (e.g. PDFs) and actual pages. Let's say: /i/ - for images /files/ - for ZIPs, PDFs, etc ... - and the rest if for 'pages' It's trivial to configure Webalizer to understand such site structure. -- Mikolaj Rydzewski --

Re: JSP:includes parameter passing vulnerability

2010-09-15 Thread Mikolaj Rydzewski
JPS's in 'safe way' (because there're in WEB-INF folder, in this case). It can be reused e.g. by include page directive. Developer should never trust any values passed via request parameter. Period. -- Mikolaj Rydzewski

Re: Tomcat 64 bits

2010-08-20 Thread Mikolaj Rydzewski
On 08/20/2010 02:15 PM, KiLiCoOl wrote: True but no one explain how to compile tomcat in 64 bits for unix ... :( There's no need to compile anything. Just use 64-bit JVM. -- Mikolaj Rydzewski - To unsubscribe, e

Re: Fire off asynch task in Tomcat.

2010-07-22 Thread Mikolaj Rydzewski
g and exciting feature to implement. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Fire off asynch task in Tomcat.

2010-07-22 Thread Mikolaj Rydzewski
than using consumer/producer patterns or Executor classes.. sigh. No no. You have opportunity then to use JMX for altering anything inside webapplication. It becomes more exciting :-) -- Mikolaj Rydzewski - To unsubscri

Re: Fire off asynch task in Tomcat.

2010-07-22 Thread Mikolaj Rydzewski
an easier option. Not to mention Quartz - but that would be an overkill I guess. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: JSF + tag files problem with new Tomcat

2010-07-10 Thread Mikolaj Rydzewski
libraries. Hi Mark, Thanks for prompt response. It's good when you've got opportunity to learn new things! For those who do not know about implicit.tld: http://download.oracle.com/docs/cd/E17477_01/javaee/5/tutorial/doc/bnamu.html -- Mikolaj

JSF + tag files problem with new Tomcat

2010-07-10 Thread Mikolaj Rydzewski
e http://www.ceti.pl/~miki/java/jsf-test-case.war -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error: Invalid or unreadable WAR file : error in opening zip file

2010-07-09 Thread Mikolaj Rydzewski
war file properly. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error: Invalid or unreadable WAR file : error in opening zip file

2010-07-09 Thread Mikolaj Rydzewski
that to remote server caused similiar error to appear. Simply Tomcat discovered new war file before I finished my upload. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comman

Re: Tomcat windows service

2010-07-09 Thread Mikolaj Rydzewski
On 07/09/2010 10:23 AM, Mikolaj Rydzewski wrote: I was trying to create izpack.org installer for Tomcat and my application. There was only one problem - how to install Tomcat as a Windows service. I tried various Tomcat versions, 6.0.18, 6.0.20, 6.0.26. I gave up with 6.0.20. Installing

Tomcat windows service

2010-07-09 Thread Mikolaj Rydzewski
pache to distribute it, my windows system is old/unpatched? -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: .jar file deploying fail

2010-07-08 Thread Mikolaj Rydzewski
On 07/08/2010 06:10 PM, allensim wrote: Where to see the log file. Sorry i am new in using tomcat. please guide me. Probably somewhere in the directory tomcat is installed. Might depend on distribution you use. Be creative and look for them. -- Mikolaj Rydzewski

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-02 Thread Mikolaj Rydzewski
. I guess there are and <%@ include file %> directives in you webapp. Check them for case sensitivity. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: u

Re: Implementing Connection Pooling

2010-07-01 Thread Mikolaj Rydzewski
. Idea is simple: create one pool for database. -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread Mikolaj Rydzewski
process is platform dependant, or there are differences between Tomcat setups (Windows vs Solaris). -- Mikolaj Rydzewski - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

  1   2   3   4   5   >