Hi,
I've been thinking about this a bit more, and I understand why normally
the response.close() should not go to the TCP layer: I'd forgotten all
about request pipelining.
However, in my case, the request has an explicit "Connection: close" header.
Would not this case warrent an immediate s
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: run two versions of tomcat as windows services at
> the same time
>
> how to install and run tomcat 5.0.27 and 5.5.23 as windows
> services at the same time on single machine?
We already discussed something very like this earlier t
how to install and run tomcat 5.0.27 and 5.5.23 as windows services at the same
time on single machine?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Multi-Router Traffic Grapher -- http://oss.oetiker.ch/mrtg/
(it can use RRDTool under the covers to generate its graphs.)
Tim
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 26, 2007 9:04 PM
> To: Tomcat Users List
> Subject: Re: Measurement a
Hi Tim
what is MRTG???
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email an
I have a pile of MRTG/Perl scripts which scrape together stats from the JMX
proxy in the Tomcat manager, from home-grown webapp filters, and from one or
two other sources. If you (or anyone) would like a copy, I'll send them to
you. Send me private e-mail.
Tim
> -Original Message-
> Fr
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Re: Configure SSL on Tomcat.
>
> And. what can I do ?
If you choose not to use APR, delete the .dll from the bin directory,
and configure SSL according to the doc I gave you before:
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
And. what can I do ?
On 4/26/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Re: Configure SSL on Tomcat.
>
> I should install one by one or just tcnative-1.dll??
I'm the wrong person to ask, since I prefer to run pure Java rather t
> From: Bryan Rood [mailto:[EMAIL PROTECTED]
> Subject: Error Running Multiple Tomcat 6.0.10 Instances on
> Windows: Prunsrv.c
>
> Am I required to run tomcat 6 on windows as a service only?
No, but the .exe download does not contain the scripts necessary to run
it from a command prompt. For t
This is my first post to this users group. I have read the posting
guide, so forgive me if I attempt a RTFM or STFW post.
I've been using tomcat 6.0.10 for 2 weeks now and read the users guide
back and forth, but I can't figure out how to get two instances to run
simultaneously.
One runs fine, le
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raj,
Raj Sidh wrote:
> I am a newbie running Apache Tomcat/5.5.20.
>
> My web.xml has these entries:
>
>
[snip]
> application.getAttribute("EmailId")
You are confusing these types of values. In web.xml, you are configuring
/context/ parameters,
Hello,
I am a newbie running Apache Tomcat/5.5.20.
My web.xml has these entries:
EmailId
[EMAIL PROTECTED]
Test JSP
/testjsp.jsp
I have this in testjsp.jsp:
PLEASE CONTACT: ${applicationScope.EmailId}
More contact: <%=
application.getAttribute("EmailId")%>
BUT, I do
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Re: Configure SSL on Tomcat.
>
> I should install one by one or just tcnative-1.dll??
I'm the wrong person to ask, since I prefer to run pure Java rather than
mix native code into the pot. Unless you're really pressed for
performance or capac
> My Apache Tomcat is 5.5.9
> My jdk is 1.5.05
Is that a Sun JDK? If so, you're not being precise with the version
number; do you mean 1.5.0_5?
Sorry, jdk-1_5_0_05-windows-i586-p.exe
And my windows is 2003 server.
>
> how to I configure apr?
If APR is installed, you'll see a tcnative-1.
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Re: Configure SSL on Tomcat.
>
> My Apache Tomcat is 5.5.9
> My jdk is 1.5.05
Is that a Sun JDK? If so, you're not being precise with the version
number; do you mean 1.5.0_5?
> And my windows is 2003 server.
>
> how to I configure apr?
If
I'm trying to use cobertura to find code coverage by instrumenting my server
side classes and using a Junit/HttpUnit client. Things seem to go fine until I
stop the tomcat process at the end of the test cycle. Once that happens, my
cobertura.ser file is corrupted and the following exceptions
Hi, thanks for your answer, so...
My Apache Tomcat is 5.5.9
My jdk is 1.5.05
And my windows is 2003 server.
how to I configure apr?
On 4/26/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Configure SSL on Tomcat.
>
> I try to configure
Nothing running on 8080...
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 11:54 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.23 and NetBeans 5.5
> From: David Short [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.23 and Net
Hi,
For the activity seen in the last weeks it seems definitely clear that Comet
is hot topic.
Anyways, I've been playing now for some days with Tomcat 6 and Comet. No
substantial tomcat related problems as far as I know, so great job.
My scenario is quite simple. A desktop application opens a
> From: David Short [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.23 and NetBeans 5.5
>
> ports) and now it works... So, my advanced logic skills tell me that
> something else within the IDE is running on port 8080.
Since you appear to be running on Windows, run "netstat -abno" to find
ou
I changed the 5.5.23 startup and shutdown ports to 8084 and 8025
respectively within the 5.5.23\conf\server.xml (to match the embedded 5.5.17
ports) and now it works... So, my advanced logic skills tell me that
something else within the IDE is running on port 8080. There is an embedded
NetBeans H
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
I don't understand why the client does not get an immediate -1 (EOF) on
the read() as soon as I do this. The socket itself does not need to be
closed, but the output stream close should flush the output stream and
ca
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
If the body of the POST request is not present at the time of the
getParameter() call, it returns null even if the parameter value is set.
Things don't work like this, obviously. Parameter parsing only occurs
Taking a look at Gentoo's docs
(http://www.gentoo.org/proj/en/java/tomcat-guide.xml), I see
naming-factory-dbcp.jar is not included in the distribution.
According to their documentation, it should be downloaded and placed in
/usr/share/tomcat-5.5/common/lib for proper operation.
You might wa
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
If the body of the POST request is not present at the time of the
getParameter() call, it returns null even if the parameter value is set.
Things don't work like this, obviously. Parameter parsing only occurs
if nothing used getRead
Let me start by explaining that my goal is to have a Java servlet log its
implementation version number when it is loaded and initialized by
Tomcat. I am having trouble with my current approach. I would appreciate
responses that help me to fix my current approach, or offer alternative
approaches
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
I don't understand why the client does not get an immediate -1 (EOF) on
the read() as soon as I do this. The socket itself does not need to be
closed, but the output stream close should flush the output stream and
call shutdownOutput() on
Hi,
If the body of the POST request is not present at the time of the
getParameter() call, it returns null even if the parameter value is set.
How to reproduce:
1) Send the headers of a POST request to the CometProcessor.
2) in the event() method of the CometProcessor use getParameter(); it
Quoting lightbulb432 <[EMAIL PROTECTED]>:
A lot of industry-standard measurement and monitoring tools/applications
seem, from my uninformed perspective, to not integrate with Java but rather
things like PHP, Perl, etc. As I’m sure some of you manage large web
applications that require such meas
A lot of industry-standard measurement and monitoring tools/applications
seem, from my uninformed perspective, to not integrate with Java but rather
things like PHP, Perl, etc. As I’m sure some of you manage large web
applications that require such measurement and monitoring, how do you go
about d
Hi,
Sorry about the essays. :-) I will try to keep it shorter.
What I'm doing is closing the *output stream* of the response from the
server side application asynchronously.
Since this is outside the event() method, I do not have any reference to
a CometEvent instance.
I don't understand why
Hi,
Thanks for the answer.
The problem is that available() returns 0 and I cannot be sure that I
can do a read without blocking. I would prefer the internals of Tomcat
handling this special case and calling the event method with a READ
event on the Comet processor if there is already read dat
Hi David
Netbeans 5.5 Needs these 2 startup scripts
$CATALINA_HOME/bin/catalina.bat
$CATALINA_HOME/bin/setclasspath.bat
HTH/
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If y
I've registered Tomcat 5.5.23 per the NetBeans 5.5 instructions. When I try
to start Tomcat from within the NetBeans IDE, Tomcat refuses to start. The
IDE displayed and actual Tomcat log files look normal, but the IDE hangs and
eventually times out. I've removed and added Tomcat back in the IDE
> From: Aurélien Allienne [mailto:[EMAIL PROTECTED]
> Subject: Re: ClassNotFoundException:
> org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
>
> I use a gentoo distribution and their tomcat
I'd strongly suggest you remove that one and use a real Tomcat download:
http://tomcat.apache.org/down
Correct, an asynchronous close doesn't go all the way down to the IO
layer, it just marks the request closed.
remember event.close doesn't mean TCP.socket.close, it means that this
event/request sequence is done
There are still many enhancements to be done to the Comet API, such as
non blockin
Yes, this is an interesting use case, I usually issue a read on the
BEGIN event.
These events are IO related, ie, triggered by IO events and that is what
they are. Since the data already has been read in with the request headers,
there will be no following IO event.
You could issue a read() in t
I use a gentoo distribution and their tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck;
["Caldarale, Charles R" <[EMAIL PROTECTED]> @ Thu, 26 Apr 2007
09:56:45 -0500]
> changes are required, which is why it's strongly discouraged these
> days. The element should be defined in META-INF/context.xml
> within the webapp structure;
That article refers to Fedora's use of JPackage distributions. Could
you post your system's OS and where you got your tomcat from? (tomcat
site or os package)
--David
Aurélien Allienne wrote:
After search with google, i found this :
https://www.pkrinternet.com/taskjitsu/task/3482;jsessioni
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Note that there really IS a bug here:
request.getInputStream().available() returns 0 in the BEGIN event, so I
cannot test if the data is already available there. However, the API
seems cleaner to me anyway if you onl
> From: Kristian Rink [mailto:[EMAIL PROTECTED]
> Subject: Re: deployment / war unpacking and Context definition?
>
> It lives inside the Host definition in server.xml, according to the
> example pointed out in
>
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
tml
Unfort
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck;
first off, thanks for the reply.
["Caldarale, Charles R" <[EMAIL PROTECTED]> @ Thu, 26 Apr 2007
09:36:38 -0500]
> >
> Where is the above declaration? If it's anywhere other than
> in server.xml (where it shouldn't be), the path attribute
> From: Kristian Rink [mailto:[EMAIL PROTECTED]
> Subject: deployment / war unpacking and Context definition?
>
>
> ...
>
> ...
>
Where is the above declaration? If it's anywhere other than
in server.xml (where it shouldn't be), the path attribute must not be
present.
> removing
Depends on which version of tomcat you're implementing (maxProcessors for
Tomcat 4.x) or (maxThreads for Tomcat 5.x)
http://tomcat.apache.org/tomcat-5.5-doc/printer/ssl-howto.html
also whether you are implementing modProxy (low load site) or modJK(high
load site)
and whether or not you're supp
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Note that there really IS a bug here:
request.getInputStream().available() returns 0 in the BEGIN event, so I
cannot test if the data is already available there. However, the API
seems cleaner to me anyway if you only allow reads within th
> From: Cartman [mailto:[EMAIL PROTECTED]
> Subject: Configure SSL on Tomcat.
>
> I try to configure my apache tomcat server with
> ssl support, but I can't.
What version of Tomcat are you using? (The web sites you listed were
for everything from 3.0 through 5.0, so most of that is not applic
Hi,
I found the cause of the missing READ event, and seems to me that it is
not too difficult to fix.
The problem is as follows. When Tomcat receives a request, the
Http11NioProcessor reads the headers. It does this by filling its
internal buffer using a read call on the socket. However, if
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: ClassNotFoundException:
> org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
>
> I dont see org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
> but I see org.apache.tomcat.dbcp.BasicDataSourceFactory
> from commons-dbcp-1.2.1.jar
T
No I don't know where the calling come from. But with this method, there
isn't have error
Folks
I dont see org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
but I see org.apache.tomcat.dbcp.BasicDataSourceFactory
from commons-dbcp-1.2.1.jar
Can you provide more details on who is calling
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory ?
Thanks
Martin--
This email message and an
Venkata Naveen wrote:
Can you find out how many concurrent users can one tomcat server support?
Yes.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
After search with google, i found this :
https://www.pkrinternet.com/taskjitsu/task/3482;jsessionid=89D92BC4AA0598216A90754B8129264E#note7089
I change the conf.d/tomcat-5.5 for add :
JAVA_OPTS="-
Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
"
Now I have a new er
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
The http://tomcat.apache.org/tomcat-6.0-doc/aio.html documentation clear
states that I am not allowed to read from the input stream outside of
the READ event; thus I'm not allowed to read in the BEGIN event. So the
b
> -Original Message-
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 26, 2007 8:54 AM
> To: Tomcat Users List
> Subject: Re: Seamless transition between application updates
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Lightbulb,
>
> lightbulb432 w
I change the owner of all tomcat's directory in tomcat.
I restart the server and I have the same error :[
Is it possible that it's a classpath error?
Can you find out how many concurrent users can one tomcat server support?
--
View this message in context:
http://www.nabble.com/Tomcat-support-tf3651532.html#a10200068
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
Ok.. naming-factory-dbcp.jar is in the right place. The root owner I'm
sure was a contributing factor so it's good that was fixed. The only
immediate thought I have here is to be sure you restarted tomcat after
changing the ownership on naming-factory-dbcp.jar.
--David
Aurélien Allienne wro
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
The http://tomcat.apache.org/tomcat-6.0-doc/aio.html documentation clear
states that I am not allowed to read from the input stream outside of
the READ event; thus I'm not allowed to read in the BEGIN event. So the
behavior I expect would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lightbulb,
lightbulb432 wrote:
> What are the strategies you might use to update an application
> running on multiple Tomcat instances (clustered with Apache mod_jk)
> with a seamless transition for somebody who's using the application
> at the time t
1- There is tomcat 5.5.23
2- when I make 'locate naming-factory-dbcp.jar' I have one match in
tomcat/common/lib
3- The file have root permission, I change it for tomcat, but there are no
change
4- And it's the first error in the logs file.
I noticed this: When I start the server I have this m
Some questions:
1. Tomcat version?
2. Did you move or copy any of the tomcat supplied jar files from where
they should be? In this case, there should only be one
naming-factory-dbcp.jar and it should be in the common/lib directory of
tomcat.
3. Are file permissions on naming-factory-dbcp.j
At my company, we have a weekly application update. Sometimes it is more
frequent than that. We have Apache/httpd + mod_jk and three clustered
Tomcats. Updating the Tomcats one at a time causes no loss of service as
the other two pick up. Of course we do this during the periods of lowest
usage,
please display jsp (with the iframe)
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by teleph
Hi,
The CometProcessor seems to sometimes miss the initial READ event.
THE OBSERVED BEHAVIOR:
The client sends a request to the server. This request (a POST request)
is sent in the initial TCP packet. The initial packet also contains some
data (a boundary, Content-Disposition: form-data header
In case anyones interested I did finally get the build working. The issue
with the build.xml remains. If I want to follow the build instructions on
the web site I have to make the change I mentioned below. The
MalformedURLException was a result of a recently installed program adding a
XML parsin
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
Thanks for the clear statement!
As I do see processing objects that are not recycled, I now know that I have to
postpone my efforts of using the CometProcessor interface. Maybe I'll retry
with Tomcat 6.1 when it is released ;-)
If some da
Thanks for the clear statement!
As I do see processing objects that are not recycled, I now know that I have to
postpone my efforts of using the CometProcessor interface. Maybe I'll retry
with Tomcat 6.1 when it is released ;-)
If some day you like to take a look at a situation where processing
Hi everybody, I try to configure my apache tomcat server with ssl support,
but I can't. I've done everything but don't work.
I've visited some web pages where say, the same but I can't configure my
tomcat.
http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html
http://www.digicert.com/ssl-certif
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Folks,
feeling kinda ashamed asking such a (probably rather basic) question,
but nevertheless: By now, I only built applications packed to *.war
files and then thrown to a tomcat /webapps/ folder, which obviously
made / makes tomcat redeploy the appl
Hi
I have a system with Max threads 250,
Current thread count 175
and
current thread busy 5.
Since the busy threads are only 5, there shouldn't be
a problem, I guess. But I am worried about the current
thread count that is so high.
The system has been working for several months
handling aroun
Got it - had to change 8443 to 443.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
Well, anyway the lifecycle should be well-defined, and I doubt that it
currently is well-defined.
If I try to find a better name for class CometEvent which reflects the
lifecycle of it's instances
according to the current implementation, t
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
The clear semantics of this approach would be: Processing is the same as for
synchronous requests , except that the RequestProcessor thread is released from
processing early, and another thread (or several threads that synchronize when
acc
Actually, I have different iframes on my page and the images are used in
pages loaded in those iframes. The problem is that the images shown in the
first iframe are not shown properly (i have divs which are sized on the
basis of the width of image width, those are all wrong the first time
and the
Hi,
I want to deploy bedework calendar on my tomcat but I have this error :
FATAL http-8080-Processor25
org.hibernate.connection.DatasourceConnectionProvider - Could not find
datasource: java:comp/env/jdbc/calDB
javax.naming.NamingException: Could not create resource factory instance
[Root except
Well, anyway the lifecycle should be well-defined, and I doubt that it
currently is well-defined.
If I try to find a better name for class CometEvent which reflects the
lifecycle of it's instances
according to the current implementation, the name CometRequest fits much better
than the name Come
Excuse me that I left you alone during the discussion yesterday!
Let me clarify: The scenario is that the client polls for events.
Thus, it sends a subsequent poll request once it got an answer from the server.
(And how should I bring Tomcat to create hundreds of request objects with four
browser
This was useful. Thanks. I should have tried this before posting the
question!
I also went through the bug you filed for synchronization. Again,
useful.
Thanks,
Praveen
-Original Message-
From: Reich, Matthias [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 6:31 PM
To: Tomcat
>> Exception in thread "Thread-17" java.lang.NullPointerException
>> at
>> org.apache.catalina.connector.CometEventImpl.close(CometEventImpl.java:84)
>> at
>> com.mrtattle.tcniotest.CometServlet$Transport.close(CometServlet.java:42)
>> at com.mrtattle.tcniotest.CometServlet$1.run(Co
Hi,
The reason I get the exceptions on the Tomcat server side seems to be
because I close the socket on the client at the same time I try to close
it on the server, causing two unsynchronized closes on the OutputStream.
I don't really know what to synchronize on though, since I don't have an
I see the same problem with my client too. However, I don't see the
issue when I use a client using Jakarta HTTP client. I'm still looking
into this. Any help will, of course be welcome and delightfully
devoured.
This is not really the same bug report, but something to think about
when you're wor
Pid-2 wrote:
>
>
> Actually, I disagree. I have deployed the Axis and support jars in a
> shared classloader (shared/lib for TC5.5) and then deployed a .war for
> each webapp.
>
> In your case you could do:
>
> /app1/axis/services/
> /app2/axis/services/
>
> You're both correct. Th
Hi,
I the following Comet question; due to a server event (not a comet
event), I want to write some data to a client request and finish the
request. Currently I write the data and then call OutputStream.close()
on the response output stream. This seems to work, except that it takes
a long tim
One more problem after switching to using port 80 instead of 8080.
https is no longer working. I just get "can't establish a connection
to the server".
It works fine if I switch back to 8080
Here is part of my server.xml:
Do I need to change something else, beside the port number?
Thanks,
JavierL wrote:
Rashmi Rubdi-2 wrote:
Javier,
I don't know much about Webservices and Axis in particular, but at one
time I did download the Axis distribution.
In the lib folder of the Axis distribution there are a few JAR files
axis.jar, wsdl4j-1.5.1.jar etc.
Normally, when I write multiple
Rashmi Rubdi-2 wrote:
>
> Javier,
>
> I don't know much about Webservices and Axis in particular, but at one
> time I did download the Axis distribution.
>
> In the lib folder of the Axis distribution there are a few JAR files
> axis.jar, wsdl4j-1.5.1.jar etc.
>
> Normally, when I write multi
Hi Peter thanks for your reply.
I configure only files that I mention on my previous e-mail. The
instructions are written a bit confusing. They are mention some
mod_jk.dll that needs to be used on Windows machines, but I haven't
found any where I could download it.
I'm trying to use this f
88 matches
Mail list logo