Hi Folks
Past couple of months i was working to make tomcat perform with a "push"
application. I have posted the results of our effort @
http://rjha94.blogspot.com/
I would welcome your comments and suggestions
Thanks
- Rajeev.
-
Hi
Right now our application supports only new set of browsers (firefox and
IE 6+) so we need to display a custom Unsupported Browser page when user
hits a servlet via apache front-end URL . The way we are planning to do
this is
1) set environment variables in apache based on browser match ru
Hi
How do i pass multiple environment variables from apache to tomcat on
mod_jk connector. All the documents say to put this in httpd.conf
JkEnvVar ENV_VAR_NAME
and read this as a request attribute in servlet engine. But this gives
you ability to pass only one env variable.
[
Actually we a
looking at http://www.jfree.org/jfreechart/javadoc/ ,
org.jfree.chart.encoders.EncoderUtil.writeBufferedImage does not look
thread-safe.
try checking sun.awt.image.codec.JPEGImageEncoderImpl.encode API.
Try increasing the latency by re-requesting the servlet every 30 secs/ 1 min
and see if tha
what does the logs say? turn debug on and check the logs.
Also see if the DB URL, user password etc are correct.
And I dont think people will like your posting image blobs in mail.
Thanks
- Rajeev.
Patil, Sheetal wrote:
Hello all
I am using tomcat 5.0 for my application. My application in cre
No idea on what you are missing.
you try reloading the application from tomcat manager application. that
works for me.
Atleast you save the restart trouble.
Akoulov, Alexandre [SB] wrote:
Hi ,
So I've got to restart tomcat to get my change deployed.
Any idea on what I am missing?
-
application could be doing lot of heavy-duty data processing/storage.
- Rajeev Jha
tcUser wrote:
Hi,
does anyone know what is the max. number of concurrent users for Tomcat?
I have been searching for this information but can't really find an exact
answer. Can anyone help?
Thanks.
--
View
This should not be a big issue. Lets say we submit some arabic data
through a form and then re-display it
To submit correct data
1) HTMl page should be
2) when you receive the data , do a
request.setContentEncoding() before getting string data from request
To display
3) set the response conten
ust queued.
and for established sockets
[EMAIL PROTECTED] async]$ netstat -a -n|grep -E "^(tcp)"| cut -c 68-
| grep ESTABLISHED | wc -l
2228
F) conclusion ? am i missing something ?
Thanks
Rajeev Jha.
Bill Barker wrote:
Since MaxClients is so big, I'm assuming that you have a p
No clue if the manager application is available with 4.x. i have 5.5.x.
maybe a reason to update ?
if you are running your tomcat with jdk1.5 , you can enable JMX and see
the number of active threads in JVM.
balaraju mandala wrote:
Hi Tang and Rajeev,
Thank You very much for u r reply.
Raje
Your config (or Environment ;o) will fix the number of maximum
simultaneous clients. Tomcat manager application has a server status
link. you can use that or you can start catalina with JMX support and
see number of active threads!
balaraju mandala wrote:
Dear Comunity,
I want to know how
set JK log level to debug. That may help trace the problem.
fooshyn wrote:
Your settings seems ok to me (or maybe I missed out something). Could it be
the application inside Tomcat that caused this to happen? Does Tomcat's
Catalina log contain any error which might caused Tomcat to hang?
And
if the DLL in windows system 32 then it should be picked right up. have
you registered this DLL or not ? if not then try registering this dll
first.
--- "Ho, Sam" <[EMAIL PROTECTED]> wrote:
Hi, All
My servlet use a DLL, currently the DLL is located
at window system32 and in the webapp's W
TP
If the thread servicing your request blocks, the browser will not quit.
The browser would wait the min( browser time-out ,response stream is
closed). this is the trick many people use.
doGet(request, response){
out = response.getOutputStream();
// when you write something
out.write(by
I think everybody on the list here agrees that http is not the right
sort of thing for a chat application. And most of the IM/chat
applications do not run on http anyway. opening the sockets directly
for such an application is better/easier any day.
However, people do demand an HTTP
Remy Maucherat wrote:
Yes, but you need the 5000 or so threads to do this, and there's no
workaround. So it is the real problem since it forces you to use
polling.
How about bypassing the servlets alltogether?
we can take any exisitng http/ajp13 connector code and replace the
servlet con
Remy Maucherat wrote:
On 4/3/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections
Tp wrote:
And there seems to be no workaround, because the connection will close
after the doGet() and doPost() method finishes (is that actually
true?). So, the only way to keep 3000 simultaneous connections is to
keep 3000 of those methods from returning, wehich means keeping 3000
thread
NBIO will not help very much ;o) we are running such an application
and want to migrate to apache/tomcat. The issue is, all the
optimizations you hear about are done from the request's side which is
of not much use in this case. The limiting factor would be
* how many connections can you open
On 3/22/06, Remy Maucherat <[EMAIL PROTECTED]> wrote:
> On 3/22/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
> > In our case,the servlet is interfacing to the back-end that sends
> > async events from time to time.
>
> As you may have noticed, the HTTP protoco
Hi
We are desiging a push application to run with tomcat. Our servlet
interfaces to a backend and listens for async events, when the events
arrive,data is pushed to the browser. Browser opens a keep-alive
connection and shows the data received from servlet.
The doGet() method is like this
doGet(
> On 3/17/06, Rajeev Jha <[EMAIL PROTECTED]> wrote:
>
>
> What's your ratio of Apache to Tomcat instances? You may want to look
> into using squid as a reverse proxy to Tomcat, it is very good at
> supporting a huge number of concurrent clients without having to sp
Hi
I would like to try out tomcat for new my application. I have used
tomcat for quite some time, but the nature of new application is very
different from the traditional request-response model.
We want to build an application that supports about 1024 keep-alive
connections per machine.(2 GB, x86
23 matches
Mail list logo