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
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
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
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,
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
.
--
Mikolaj Rydzewski
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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
) 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
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
---
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
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
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
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
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
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.
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
---
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
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
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
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
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
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
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
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
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
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
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:
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
-
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-
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
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
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
-
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
storage destination.
--
Mikolaj Rydzewski
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
. 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
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
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
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
.
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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
war file properly.
--
Mikolaj Rydzewski
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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
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
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
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
.
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
.
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
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 - 100 of 419 matches
Mail list logo