I'm receiving a HTTP POST request containg XML data and want to process the data in
the doPost method of my servlet. When I do request.getContentLength(), it gives the
length of the entire request including the HTTP header etc, but I only want the XML
portion of it. I can't find any Java
I'm receiving a HTTP POST request containg XML data and want to process the data in
the doPost method of my servlet. When I do request.getContentLength(), it gives the
length of the entire request including the HTTP header etc, but I only want the XML
portion of it. I can't find any Java
I'm familiar with using AXIS webservices to send SOAP-XML to Tomcat and back. But how
do i receive a request and send a response with raw XML data so that I can then parse
the request with SAX?
Thanks so much,
Tom
-
Do you Yahoo!?
Win 1 of
Duh haven't slept for 48 hours and forgot about servlets. Thanks a lot for
reminding me!
-Tom
QM [EMAIL PROTECTED] wrote:
On Mon, Aug 30, 2004 at 01:36:40PM -0700, tom ly wrote:
:
: I'm familiar with using AXIS webservices to send SOAP-XML to Tomcat and back. But
how do i receive
I need to display on a .jsp page the number of requests for Tomcat in the past 5 / 10
/ 15/ 30 / 45 / 60 seconds. I've already implement a Filter will count the total
number of requests. I did this with a static int, which is incremented everytime a
request comes in. But what should I do so
My team is thinking about getting a profiling tool. Does anybody have any experience
with either tool? What are your thoughts about each one?
-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
tom ly [EMAIL PROTECTED] wrote:My team is thinking about getting a profiling tool.
Does anybody have any experience with either tool? What are your thoughts about each
one?
-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2
shown from a windows box?
Peter Lin [EMAIL PROTECTED] wrote:
my biased perspective, Borland OptimizeIt is better than JProbe.
the last time I tried to use JProbe to profile Tomcat 4 it was ungodly slow. it's
probably improved since then.
peter
tom ly wrote:
My team is thinking about
I've got tomcat running on a Linux machine with 2000GB of RAM. The tomcat settings
are JAVA_OPTS=-server -Xms1500M -Xmx1500M; therefore, when i start Tomcat, I'll see
free memory drop to about 500MB - which is expected. But, when tomcat is running and
especially under heavy load the free
will insure the heap is garbage ASAP
instead of several minutes. Say I make an object model
for some data that has a hierarchical structure. Once
I'm done with translating the data into HTML, I clear
that object structure to make sure the heap is
garbaged efficiently. I hope that helps.
peter
--- tom ly
Once in a while we're getting out of thread errors with Tomcat. We have a requirement
timeout of 5 seconds. Is there a way to use Filters (or whichever any other method)
so that we can limit the time that a thread/servlet stays alive.
-
Do you
What's the difference between org.apache.axis.client.Stub.setTimeout() vs.
org.apache.axis.client.Call.setTimeout()?
-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
tom ly [EMAIL PROTECTED] wrote:What's the difference between
org.apache.axis.client.Stub.setTimeout() vs. org.apache.axis.client.Call.setTimeout()?
-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
Are the servlets and the Filters that filters that particular servlet part of the same
thread?
-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
I've got multiple instance of a presentation front end sending requests to multiple
instances of the component I'm building. I know about using cookies for state
management, but it won't work with our case because we don't connect to any client web
browser. The front end does provide a
I started up tomcat with both the Sun JDK and JRockit. Even without any load, the
total avaiable memory contiues to drop. Why does this happen?
Thanks,
Tom
tom ly [EMAIL PROTECTED] wrote:
Background threads? What can be causing them to occur? If you have any suggestions on
where to look
Background threads? What can be causing them to occur? If you have any suggestions
on where to look that'll be great.
Thanks
Tom
Tim Funk [EMAIL PROTECTED] wrote:
Sounds like background threads doing bad things or things that the GC can't
resolve as candidate for freeing.
-Tim
tom ly
The Free Memory(not the java heap) continues to drop even when there is nothing going
on with tomcat. It gets to the point where there is hardly any left and we have to
restart tomcat. I'm using JRockit and have my JAVA_OPTS=-server -Xms1200 -Xmx1200
on a Pentium 3 machine with 2GB of RAM.
I've got Tomcat running Axis in a Non-GUI Linux Environment, so I'll have to be able
to monitor tomcat from a GUI windows environment. The options I've come across are
Rational Purify and JProbe. Rational Purify doesn't seem to be as tailored for Web
Servers as JProbe, and I've found nothing
I've got AXIS as a webapp inside Tomcat. When I use JRockit1.4.1SP2, for some reason
it always fails on the first invoke to the webservice upon startup of Tomcat, but then
runs fine after that. I don't get the problem with Sun JDK1.4.2. The error from the
client is:
(500)Internal Server
I hear that JRockit only works with Intel processors. Will it work with the new Xeon
Processor?
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
Forgot to add that I'm running web services with Axis
tom ly [EMAIL PROTECTED] wrote:I hear that JRockit only works with Intel processors.
Will it work with the new Xeon Processor?
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try
It seems that much of the lag is taking place with the http connectors, the time
spent processing is much less than the time it takes to send the reqest back through
the http connector. For instance, from looking at the SOAP logs, i can see that the
thread took 3 seconds to process inside of
Thanks for the reply peter!
The CPU and memory on the server seem to have a lot left over that we're not using,
we're using about 15-20% of them. Is there some way I can utilized more CPU and memory
in order to improve performance. We're the middleware where the frontend sends
XML-RPC
I'm building a middleware component accepting requests from 2-4 instances of a
frontend through a load balancer then relaying the requests to a backend, then
returning the response back to the frontend servers. I've load tested with Jmeter and
have noticed that the first requests from each
I get an Exception:: java.net.SocketTimeoutException: Read timed out when i attempt
deploy a web service with heavy xml parsing. What can I do?
-
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
?
Antonio Fiol
tom ly wrote:
I've got Tomcat set up as the middle component passing heavy XML data
between and client and a backend and it is very very slow. I've set a
filter up to log the time it takes to process a request and loadtest with
JMeter using 10 threads. Takes around 25,000ms to get
...
http://java.sun.com/docs/hotspot/VMOptions.html
Jake
At 09:24 AM 2/15/2004 +0100, you wrote:
Try disabling name resolution (see previous posts, I can't remember how
this is done), just in case.
How does your CPU perform? Is it idle all time, or completely busy?
Antonio Fiol
tom ly wrote
the load gets rolling, time/request goes up and
CPU vs. memory usage is more even.. I'm sure it has something to do with connection
speed rather than code processing that is making it so slow. Any advice anyone? My
goal is to have performance at 30 requests/sec.
tom ly [EMAIL PROTECTED] wrote:I
I've got Tomcat set up as the middle component passing heavy XML data between and
client and a backend and it is very very slow. I've set a filter up to log the time
it takes to process a request and loadtest with JMeter using 10 threads. Takes around
25,000ms to get a response from looking
I've got this is my web.xml, but tomcat won't run with it:
Logger className=org.apache.catalina.logger.SystemErrLogger
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
sorry, i meant in the server.xml file
tom ly [EMAIL PROTECTED] wrote:I've got this is my web.xml, but tomcat won't run
with it:
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
-
Do you Yahoo!?
Yahoo
I did that but I don't see catalina.out. Do you have to do some extra configuration
for 4.1.29 to have catalina.out?
Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
I've got this is my web.xml, but tomcat won't run with it:
For starters, you need to enclose attributes in double quotes. Then
On Redhat Linux machine I get the catalina.out. But not on my windows computer. On
windows, it insteads prints out the out and err streams to the command window.
tom ly [EMAIL PROTECTED] wrote:I did that but I don't see catalina.out. Do you have
to do some extra configuration for 4.1.29
this? or is there a
better way?
Regards,
Tom Ly
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
My company might have dual Xeon processors and Linux Redhat during production, are
there issues/problem I should be aware of?
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
I don't have to write to a file, as long as I find a way to persistently store the
changes and make sure they take effect after a restart. How would I be able to change
the static variable on the fly, say through a command line in unix?
Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
I'm running a web service using Axis with Tomcat. How can I count the number of
active requests? I used the HttpListener interace but the sessionDestroyed method
doesn't seem to get called until 5 minutes after the servlet ends.
-
Do you Yahoo!?
Yahoo!
i'm using tomcat 4.1.29
Tom Ly [EMAIL PROTECTED] wrote:I'm running a web service using Axis with Tomcat. How
can I count the number of active requests? I used the HttpListener interace but the
sessionDestroyed method doesn't seem to get called until 5 minutes after the servlet
ends
I have an application where I need to generate a unique int for each request that
comes in. I've got about 8 Tomcat instances running spread across four machines(two
tomcat's each machine). It's pretty simple with one Tomcat, but with mulitple Tomcats
it gets tricky. I tried using
I have a web application where I need to generate a unique id(of type int) for each
request. I've got 8 tomcats running across 4 machines, 2 tomcats each machine. It's
pretty simple to generate a unique id with one tomcat, but with mulitple tomcats, it
gets pretty tricky. I tried to use java
string, concatenate your IP address with
java.rmi.server.UID(), for example:
String guid = InetAddress.getLocalHost().getHostAddress() +
(new java.rmi.server.UID()).toString());
See the javadocs on UID for more info.
-Tim
Tom Ly wrote:
I have an application where I need to generate a unique int
bump
Tom Ly [EMAIL PROTECTED] wrote:That works great in a windows environment. But on
Linux machines,the line will always return 127.0.0.1
Tim Funk wrote:Ideally use a string for uniqueness, not an int. For an int is too
small
across a cluster.
To get a unique string, concatenate your IP
I've been using to JMeter to load test Tomcat on a RedHat machine. How can I load
test an Axis service?
-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
I plan on using cron to automatically run a script to check if Tomcat is running. How
would I write one?
-Tom
-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
45 matches
Mail list logo