Ok, in the first page, which use a tag, I generate 10 random numbers. and
generate a SQL statement containing this numbers like the following:
SELECT * FROM table WHERE id in ( 2, 3, 5, 10, etc). I use a string to
hold the in statement and bound it to the whole query string.
After
Thank you Len for the suggested approach . The web apps should be
abstracted from the procedure of starting the broker, otherwise I'll end up
adding a servlet context listener for every new web app added to our
application. If possible, Iam looking for a way , in which Tomcat would
start the
On 7/27/07, Mohammed Zabin [EMAIL PROTECTED] wrote:
Ok, in the first page, which use a tag, I generate 10 random numbers. and
generate a SQL statement containing this numbers like the following:
SELECT * FROM table WHERE id in ( 2, 3, 5, 10, etc). I use a string
to hold the in
Ok guys, here we are. I have define the new resource inside a Context tag
inside a Host tag, as suggested by Tomcat documentation. I removed it and
put it inside GlobalNamingResources tag like the following:
1. Configure naming Resource:
inside GlobalNamingResources i put the following:
I dont know ActiveMQ but I think you will have to allow any WebApp that
needs it, to start it, if its not already running I think you have 2
options, create a custom JNDI object or create a singleton start up object
in common/lib, here is an article
Hi ,
I am trying to register a com.ibm.db2.jcc.DB2ConnectionPoolDataSource
datasource in tomcat 5.5.4.
I am not getting any exception's while doing a context lookup and gives me
the datasource.
However the paramaeter's that are set with that Resource are always null.
Server.xml
I didn't work on DB2 before, but i have configured Oracle and MySql
database in the same way.
First, you have to get the ideal connector for DB2, jar file, and
place it inside CATALINA_HOME/lib, or JAVA_HOME/lib/ext.
Second, Define your resource name, you already did.
Thrid: Add extra
Mohammed Zabin wrote:
On 7/27/07, Mohammed Zabin [EMAIL PROTECTED] wrote:
Ok, in the first page, which use a tag, I generate 10 random numbers. and
generate a SQL statement containing this numbers like the following:
SELECT * FROM table WHERE id in ( 2, 3, 5, 10, etc). I use a string
to
Hi,
Thrid: Add extra information in your web.xml file like the following:
resource-ref
descriptionOracle Datasource example/description
res-ref-namejdbc/db2universal/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
Hi,
I'm still studying this problem. While checking the
HTML SPEC
(http://www.w3.org/TR/html4/struct/global.html#h-7.4.4),
I find the following:
---
META and HTTP headers
The http-equiv attribute can be used in place of the
name attribute and
I know this is a tomcat mailing-list but I'm just curious if anybody has
used tomcat with terracotta. How well do the features of session
replication and the idea of a distributed jvm pan out. Just curious
if anybody has done it and how they feel about it.
I'd be running tomcat 5.5.23 and sun's
Has anyone ran into this problem before?
I found a few items via Google... they most/all reference removing the
/var/lock/subsys/tomcat then restarting Tomcat and everything being fine.
Well, I've tried that, restart Tomcat, and run 'service status tomcat'
and receive the same error tomcat
I am using hibernate. I am looking to use JTA Transaction because i want to
use JBoss tree cache for cluster environment. My hibernate.cfg.xml files
contains
session-factory
property name=connection.datasourcejava:comp/env/MykDS/property
!-- SQL dialect --
property
Lyallex,
That worked! Thank you! I had copied and pasted from the TomCat SSL
HowTo, but that didn't work...
I appreciate your time! Now, on to other TomCat problems this
server failure is killing me!
-jeff
Lyallex wrote:
The first thing that strikes me is that you have not defined
This is what Microsoft has to say on 64 bit using Websphere.
Basically 32bit better for small volume servers that can live with a 2GB
memory ceiling.
Fundemental problem is that a process can only use 2GB no matter how
much memory you have.
Java VM only gets to see 2GB no matter how much
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Nathan wrote:
Otherwise 64bit machines suck! That;s why 64bit Windows is not
popular. I don't them many shops selling!
64-bit Windows is not popular because it costs much more than the 32-bit
versions (though MS will send you a 64-bit
Can't any of the gurus help me on this?
I tried to follow the steps given in one thread:
http://www.nabble.com/UserTransaction%2C-JOTM-and-Tomcat-5.5.x-tf1073172.html#a10830695
but now the problem has worsened. Now my Navigation is also not working
leave alone the adding of new record.
I am stuck
Hello Everyone,
I am trying to migrate a sun java studio creator JSF (which uses Sun
App Server 8) project to Netbeans 5.5 + inbuilt Tomcat 5.5.17. While
trying to add a new record to my screen i am getting the following
exception. Can anyone help me on this?
I already have tried a few
When Tomcat starts, I get:
Jul 27, 2007 10:06:11 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
Greetings
My Company has a number of servlets that communicate with each other using
Webdav requests, in particular
Requests containing the PROPPATCH verb. Under the tomcat 4.x environment,
there is no issue, but once under tomcat 5.x or even tomcat 6.x, the
requests fail (although no exceptions
What kind of environment are you testing in? Does the servlet run on
your local development machine or over the network. Are there possibly
transparent proxies between the two endpoints? You could try testing
with network tools such as netcat to debug what's happening.
Regards,
Sebastiaan
The APR libs are not enough for the APR connector. Have a look at
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
Regards,
Rainer
James Rome wrote:
When Tomcat starts, I get:
Jul 27, 2007 10:06:11 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native
Hi Guys,
Does anybody have experience or even better some numbers comparing
performance of Tomcat running with and without Tomcat native library
(libtcnative-1)?
I don't see any comparable difference so far (using TC 5.5.23, Native
Library 1.1.10, Solaris/i386).
Cheers,
Petr
Hi,
I'm trying to implement the comet code-example from the Tomcat
documentation,
using Tomcat 6.0.13, Http11NioProtocol is working and my servlet is
implementing CometProcessor.
I am trying to write into the response's PrintWriter with this code in
event():
if (event.getEventType() ==
On 7/27/07, dileep_sivaraman [EMAIL PROTECTED] wrote:
Hi,
Thrid: Add extra information in your web.xml file like the following:
resource-ref
descriptionOracle Datasource example/description
res-ref-namejdbc/db2universal/res-ref-name
res-typejavax.sql.DataSource/res-type
On 27/07/2007, at 12:19 PM, Joe Nathan wrote:
Christopher Schultz-2 wrote:
Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using
64 bit
machine which will be much slower than 32 bit machines.
Huh? Why would a 64-bit machine run slower than a 32-bit machine?
Caldarale, Charles R wrote:
I don't think JVMs have used stop-the-world GC for some time, now.
Strictly speaking, they still do, but global suspends occur much, much
less frequently and for much shorter periods, so in most environments
it's of negligible impact.
Christopher Schultz-2 wrote:
Joe Nathan wrote:
I would discourage to use such machine! 8GB means you are using 64 bit
machine which will be much slower than 32 bit machines.
Huh? Why would a 64-bit machine run slower than a 32-bit machine?
Overall performance depend on many things: CPU
Hi All
I have a server with apache and tomcat 5.5 with xfire, integrated together
with mod_jk. When I strongly load this server, tomcat stops response any
request. But it isn't write any exception to log file. I change parameter
maxThreads to 2000 but it isn't help me (tomcat works with more than
Could you provide some additional information?
So far 64bit machines always outperformed 32bit machines in my
personal benchmarks as well as in third party benchmarks I stumbled
upon.
So it would be great if you could provide some links or explanations.
thank you
leon
On 7/27/07, Joe Nathan
I will be out of the office starting 27/07/2007 and will not return until
28/07/2007.
Vous pouvez joindre l'équipe du Support Technique Artemis par mail à
l'adresse [EMAIL PROTECTED] ou par téléphone au 33 1 46 90 15
85
-
To
From: Joe Nathan [mailto:[EMAIL PROTECTED]
Overall performance depend on many things: CPU speed, number of CPUs,
memory size, I/O, especially, virtual memory paging, network interface
bandwidth
64bit machines come with better capacity except
cpu computation speed!
Please state your
ok, this information is for free, the next one you'll have to pay me for:
they keys of software.distributions are check-sums over the
program-archives (like zip, tgz etc.).
those check-sums usually are calculated using a program like pgp
(pretty good privacy) or the free version from the
You have to compile libtcnative as well.
In addition to the documentation mentioned by Rainer, also look in the
archives for the threads
Tomcat native library Not found in Solaris 9 and
Tomcat 5.5, IPv6, APR, HTTP and HTTPS
Lakshmi
-Original Message-
From: Rainer Jung [mailto:[EMAIL
Petr Sumbera wrote:
Hi Guys,
Does anybody have experience or even better some numbers comparing
performance of Tomcat running with and without Tomcat native library
(libtcnative-1)?
most definitely, the APR connector lets you do keep alive connections on
more connections than you have threads
I have a servlet that processes requests for file uploads. When I write this
file to disk, root is the owner? Is this the correct behavior? Since I do
not have root access on the machine that the servlet executes I cannot
remove these files. Any documentation that explains how to change the owner
Josh Rountree wrote:
I have a servlet that processes requests for file uploads. When I write this
file to disk, root is the owner? Is this the correct behavior? Since I do
not have root access on the machine that the servlet executes I cannot
remove these files. Any documentation that explains
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Koshy,
Geevarghese, Koshy wrote:
I'm trying to run a web application on Eclipse 3.3 with Tomcat 5.5.
I configured the Tomcat 5.5 server in the eclipse server view and
added my project to the server.
I'm starting tomcat through the eclipse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
Josh Rountree wrote:
I have a servlet that processes requests for file uploads. When I
write this file to disk, root is the owner?
You should not be running Tomcat as root. Are you doing that? Stop it!
Is this the correct behavior?
Unless
Hi,
I'm trying to run a web application on Eclipse 3.3 with Tomcat 5.5.
I configured the Tomcat 5.5 server in the eclipse server view and
added my project to the server.
I'm starting tomcat through the eclipse server view and get the
following error -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amol,
Amol Chaudhari wrote:
Can't any of the gurus help me on this?
Perhaps. Can you post the code you are using near this line of code:
test.Student.btnSave_action(Student.java:593)
Also describe how you are configuring your JNDI DataSource. In
Hi
I want to know how verify the downloaded Tomcat .zip version's integrity
using pgp keys and cheksums
and what is the theory behind it
Varuna
| From: Riccardo [mailto:[EMAIL PROTECTED]
| Sent: Thursday, 26 July, 2007 16:10
|
| Maybe I should define some headers management rule within the webapp..
| I haven't measured the time exactly, but i find quite interesting that
| this caching effect lasts around 2 minutes, than disappears. I
To expand on Chris's comment,
With Eclipse it is possible to compile for a newer version of Java and
run with an older JRE, which will fail. Make sure it's both compiling
and running the version of Java you want to use.
I always have a hard time finding anything in the maze of Eclipse
settings,
Leon Rosenberg-3 wrote:
Could you provide some additional information?
So far 64bit machines always outperformed 32bit machines in my
personal benchmarks as well as in third party benchmarks I stumbled
upon.
So it would be great if you could provide some links or explanations.
thank
I'd like to change the default of 60 seconds in relation to the log
This operation will timeout if no session state has been received within
60 seconds.
Is there an equivalent? I'm running 6.0.13.
Thanx!
-Tony
--
Anthony J. Biacco
Senior Systems/Network Administrator
Decentrix Inc.
ronatartifact wrote:
This is what Microsoft has to say on 64 bit using Websphere.
Basically 32bit better for small volume servers that can live with a 2GB
memory ceiling.
If you have applications that can benefit from memory bigger thab 2 or 4GB,
your application is data intensive.
On 7/27/07, Joe Nathan [EMAIL PROTECTED] wrote:
Leon Rosenberg-3 wrote:
Could you provide some additional information?
So far 64bit machines always outperformed 32bit machines in my
personal benchmarks as well as in third party benchmarks I stumbled
upon.
So it would be great if
Thank you so much Johnny for the idea. We have two web apps A and B namely.
A is the front end of our application and B is the back end. Our application
is web based, so we have a lot of https requests coming from the browser. We
could have used a servlet for inter web app communication , but a
Christopher Schultz-2 wrote:
64-bit Windows is not popular because it costs much more than the 32-bit
versions (though MS will send you a 64-bit upgrade disk for a small fee
if you already own a copy of Vista). Also, most people out there don't
know what the hell a 64-bit OS is.
Next,
I was under impression that GC does not scale linearly. That means one
8GB process will be slower than two 4GB processes. There are other
considerations too: multi-threading - global locks will lock less
threads (maybe in GC, heap, application logic, ...), but cluster
overhead may be
Anthony J Biacco wrote:
I'd like to change the default of 60 seconds in relation to the log
This operation will timeout if no session state has been received within
60 seconds.
Is there an equivalent? I'm running 6.0.13.
stateTransferTimeout?
Filip
Thanx!
-Tony
I had a processor design class and know very well the actual gate design
in bit arithmetic. Aside from the propagation of the carry bit taking a
teeny, tiny bit longer in 64 bit arithmetic, it still occurs in a single
clock cycle.
Further, primitive data type sizes in java are very clearly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Nathan wrote:
Arithmetic operations on 64bit takes app. twice long as 32bits.
You are out of your mind.
Note that hardware clocking time also
slower than 32 machines.
Clock speed has nothing to do with integer width.
- -chris
On 7/27/07, Joe Nathan [EMAIL PROTECTED] wrote:
It does in single operation, but it taks twices clock pulse than 32bit!
You cannot perform binary adder operation in parallel. Speed of operation
is measured with the number of clock pulse. 32bit adder may require
something like 36 clock pulses
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Nathan wrote:
Leon Rosenberg-3 wrote:
Sorry, this just sounds plain wrong. If a 64 bit processor comes
with 64 bit register it means that it can make an integer 64 bit
addition (long) in one operation,
It does in single operation,
Hi - Sorry to be asking a dumb question; but, maybe the answer is simple and
fast and will save me even more hours.
I'm serving a dll from webapps/ROOT to IE. I have added the mime type for
the .dll as application/octet-stream to the server's web.xml (same as
apache's
mime type). The component
From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat with 8 GB memory
I was under impression that GC does not scale linearly. That
means one 8GB process will be slower than two 4GB processes.
Not true. The time of a full GC using modern algorithms depends mostly
on the
No, each of two 4GB processes will have only a half of the objects under
the same load. And I heard that GC does not scale linear with heap size.
And this is without multi-threading performance considerations. As
usual, your mileage may vary and only tests can tell for sure.
- Alexey.
59 matches
Mail list logo