Christopher Schultz wrote:
Shouldn't you use the content-type of the request instead of just
forcing your own content-type? If the browser does not send a MIME type
with the request, then the default is defined to be ISO-8859-1:
Well, for a form post, that just means that the text of the body
We were playing around with a little JSP application, and trying to
submit (and handle) Big5 characters.
(The real purpose was to exercise our primary app which sniffs HTTP
traffic and "does stuff" with the raw data it captures - it sees the
headers and body as sent over the wire.)
One odd t
L.W. van Braam van Vloten wrote:
So my question is: would there be an easy way to make Tomcat on my
iSeries machine run rediculously slow?
Lots of funny replies come to mind, but the simplest is:
* Run a process that just spins forever:
while (1) ;
Run as many of these as you have CPU
Jean-Sebastien Pilon wrote:
I would like to know if I need to recompile JSVC if I update the jvm.
Current version of the JVM is 5.0_u6 and the new one will be 5.0_u10
No recompile will be needed.
-
To start a new topic, e-ma
Rajendra Sakpal wrote:
1.> I am gathering that "/" refers to the drive where my Tomcat is
installed on Windows. (With file path as "/subscribers.txt" the file is created at
the root of the drive.)
That's right:
1. **there is no special meaning for "/"**.
It's as if you went into a command
Rizwan Merchant wrote:
So how do I stop tomcat from logging to catalina.out and into a
different file?
For the webapps themselves, their should have
swallowOutput="true".
Better still, don't do System.out.println() from your webapps..
-
Raju Balugu wrote:
So,On which basis it will load that?(For example Alphabetical ..etc)
What MarkT said.
Tomcat will load the webapps in whatever order it gets them from
File.listFiles() (which is *not* guaranteed alphabetical!), and then
during shutdown, it unloads them in some internal ha
Shankar Unni wrote:
However, I'm stuck trying to retrieve the client certificate from the
ServletRequest in the servlet itself.
Never mind - I had botched the truststore setup for the server, so the
client cert was not being passed in.
Answer for the archives:
i
Shankar Unni wrote:
However, I'm stuck trying to retrieve the client certificate from the
ServletRequest in the servlet itself.
Q: How do I get to the client's X.509 certificate? Help!
I forgot to mention: the attributes that I do see in HttpServletRequest are:
re
r, I'm stuck trying to retrieve the client certificate from the
ServletRequest in the servlet itself.
Q: How do I get to the client's X.509 certificate? Help!
Thx,
--
Shankar Unni.
-
To start a new topic, e-mail: u
Mark van Wyk wrote:
tcp4 0 0 localhost.8005 *.*LISTEN
tcp46 0 0 *.8009 *.*LISTEN
tcp46 0 0 *.http-alt *.*LISTEN
Somehow, that feels right, although I don't really kn
Luis Rivera wrote:
I have a web service which will JNI to access the application, which
according to the documentation should be placed in the shared/classes
directory. I did so and I got a dreaded
java.lang.reflect.InvocationTargetException, which I believe is a class
loader problem.
You nee
Robert Harper wrote:
One thing to think of is that if you have to do that to protect it, then
everything else on that system is suspect.
Yeah, yeah. I used to use this argument a lot, too. But that's like
saying: if your harness isn't secure, then why bother with an additional
safety net bel
David Grace wrote:
Maybe the solution to the problems with bad posts can be solved by an
email once a month that describes exactly what the accepted posting
policy is.
Ah, but that's not enough - see, that would require that you actually
read the archives, and that's something that's apparen
Alpha Huang wrote:
Tomcat5.exe and Tomcat5w.exe are missing in the packages 5.5.16.zip and
5.5.16.tar.gz
It's always been that way, IIRC. The "zip" distributions are not only
for Windows - they are portable distributions that run fine on other
OSes as well.
Both the .zip and the .tar.gz di
Paul Hamer wrote:
Just checked: the same problem occurs with Tomcat 5.5.15.
Definitely smells like a bug. Can you package a small *self-contained*
example (preferably a fully self-contained webapp example with such a
minimal set of files) and post a bug in ASF Bugzilla?
That's http://issue
[EMAIL PROTECTED] wrote:
username="userMe" password="myPassword"
driverClassName="jdbc:oracle:thin:@msbdev2:1521:OracleServicensbdb"/>
Whoa!
Your driverClassName must be the class name of the oracle driver class:
oracle.jdbc.driver.OracleDriver.
It's your url= that's "jdbc:oracle:
Koneru, Narendra wrote:
When the port that I specify to start tomcat is in use, then I want
tomcat to go down after printing a message. What I observed is that
tomcat prints the message on the screen that there is a bind exception
but tomcat server does not go down.
Do you have some servlet m
Kevin Roll wrote:
I'm using Tomcat 5.5.12 on a Linux box. My web application uses a
third-party library which opens up a port to listen for incoming
connections.
You definitely need a LifecycleListener or some other mechanism (an
InitServlet with a destroy() method) to catch the stopping of
Rogerio Baldini das Neves wrote:
I need that app3 starts up first of all. and app2 in second and so on.
As several folks have said: no. I'm currently exploring a notion of
extending StandardHost and subclassing the addChild(), etc., behavior to
keep the children in a list rather than a hash
Radhakrishnan J wrote:
Servlet Engine, Webapp are all higher level notions. The JVMTI is "JVM"
level feature. The out of the box debuggers are not "servlet-engine aware"
or "webapplication-aware". The place to look for would be local variables
within tomcat code. But again the assumption is that
Radhakrishnan J wrote:
Eclipse's Debug UI shows the breakpoints threadwise. If these executions
are happening over different threads, thats one way to tell the difference.
It's not the thread that's the issue - it's which _webapp_ it's
currently executing. That's what the OP cared about - t
John MccLain wrote:
OK...So, correct me if I am wrong, but is this because the JVM can't load 2
classes with the same package/class name?
The JVM *can* (and in this case, *does*) load classes with the same
name, as long as they are in different classloaders (which they are, for
the two diff
faria hassan wrote:
I'm running Tomcat5.0.26 (as it comes bundled with JBoss) on Fedora Linux
2.6.12-1.1381_FC3smp. I'm having the strangest problem. For users behind a
proxy and making requests over Http1.0, the response time is very slow.
However, for clients who are not behind a proxy server,
Paul Mahoney wrote:
This is very strange. When I add commons jars, e.g. commons-bean-utlis.jar,
to my webapp lib directory, the webapp will no longer deploy to tomcat
5.5.12.
Are your jars corrupted?
Have you tried a simple "jar tvf commons-bean-utils.jar" to see if the
archive is intact?
25 matches
Mail list logo