We are running apache and tomcat on the same machine (using the http
connector) and logging requests in both. Occasionally (maybe 1% of
requests) we see 502 response in the apache log spread fairly evenly
throughout the day. these requests don't appear in the tomcat log
produced by the access valve
> From: Jordan Michaels [mailto:jor...@viviotech.net]
> Subject: tomcat, mod_jk, and apache
>
> I'm using mod_jk with apache and I was wondering if it would be
> possible to configure mod_jk in a way that I wouldn't have to
> specify the entries in Tomcat's server.xml file in addition
> to apach
> From: jigneshjsoni [mailto:jigneshjs...@gmail.com]
> Subject: $CATALINA_HOME
>
> When I run above command on cmd prompt , I get message path can not be
> found. How to find path for $CATALINA_HOME from cmd prompt ?
Read *all* of RUNNING.txt, including this from 2.2:
"For the purposes of the re
> From: jigneshjsoni [mailto:jigneshjs...@gmail.com]
> Subject: tomcat not working
>
> what is wrong in here ?
Lots of things, such as you not telling us the Tomcat version you're using, the
JDK/JRE it's running on, the platform this is all installed on, the complete
contents of server.xml, how
I am trying to do following.
(3) Start Up Tomcat
(3.1) Tomcat can be started by executing the following commands:
$CATALINA_HOME\bin\startup.bat (Windows)
When I run above command on cmd prompt , I get message path can not be
found. How to find path for $CATALINA_HOME from cmd prompt ?
I
I have set up, ports as below
<-- whats the eaning of snhutdown
here ? -->
Now when I run the "http://localhost:8080";, I get an error essage "Internet
Explorer cannot display the webpage "
what is wrong in here ?
--
View this message in context:
http://www.nabble.com/tomcat-not-wo
Thanks! To both Chuck & Andre.
Not only does the simple solution work, but I understand a tiny bit
more.
Have a good night.
Ken
On Apr 7, 2009, at 7:20 PM, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Do multiple Hosts force multiple instances of w
André Warnier wrote:
Jordan Michaels wrote:
Hey Folks,
I'm using mod_jk with apache and I was wondering if it would be
possible to configure mod_jk in a way that I wouldn't have to specify
the entries in Tomcat's server.xml file in addition to apache.
It's not terribly difficult to enter in
I have used the service.bat in various versions of Tomcat with no such error.
The script you posted is different from the service.bats in Tomcat
5.0, 5.5 and 6.0 that I have lying around. Where did you get your
service.bat from?
--
Len
On Tue, Apr 7, 2009 at 19:52, mailinglist wrote:
> Hi,
>
Hi,
I am trying to create a tomcat service with the service.bat. The
service.bat looks for my environment variable to create the service. If
my directory name has a space in it (e.g. Program files) it will create
the service but it will not start. It keeps saying that the service has
nothing t
Jordan Michaels wrote:
Hey Folks,
I'm using mod_jk with apache and I was wondering if it would be possible
to configure mod_jk in a way that I wouldn't have to specify the
entries in Tomcat's server.xml file in addition to apache. It's not
terribly difficult to enter in host information in b
Hey Folks,
I'm using mod_jk with apache and I was wondering if it would be possible
to configure mod_jk in a way that I wouldn't have to specify the
entries in Tomcat's server.xml file in addition to apache. It's not
terribly difficult to enter in host information in both places, but it
woul
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Do multiple Hosts force multiple instances of webapps?
>
> The first defined is the "default host".
No - the defaultHost is the defined by the defaultHost attribute of the
. It can be any of the elements.
> To make a longer story
André Warnier wrote:
Ken Bowen wrote:
[Feels like a newbie question, but I don't know the anwser.]
I have a web app (myapp) which has its context.xml in META-INF.
When I run it on a local vanilla Tomcat 6.0.18 (Apache download) with
the standard unzipped
server.xml, only one instance of myapp
Ken Bowen wrote:
[Feels like a newbie question, but I don't know the anwser.]
I have a web app (myapp) which has its context.xml in META-INF.
When I run it on a local vanilla Tomcat 6.0.18 (Apache download) with
the standard unzipped
server.xml, only one instance of myapp is started (as observ
> From: Ken Bowen [mailto:kbo...@als.com]
> Subject: Do multiple Hosts force multiple instances of webapps?
> Note that they share the appBase.
Which can lead to "interesting" events when updating on the fly.
> When I drop myapp.war in webapps, and observe catalina.out, I see that
> it is starte
André Warnier wrote:
Trying to redeem myself to Andrey for hijacking his post..
Andrey, in your (latest) client code you do not set either a
content-length, nor a "chunked" encoding headers.
Is it possible that Tomcat 6 just ignores your POST content in that case ?
In RFC2616, I find this in se
[Feels like a newbie question, but I don't know the anwser.]
I have a web app (myapp) which has its context.xml in META-INF.
When I run it on a local vanilla Tomcat 6.0.18 (Apache download) with
the standard unzipped
server.xml, only one instance of myapp is started (as observed in
catalina.
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Cannot read httpservlet's inputstream
Does there exist a library somewhere which allows me to feed it this
InputStream and which will parse the parts for me appropriately (for
example allowing me to determine i
On Tue, Apr 07, 2009 at 05:30:49PM -0500, Caldarale, Charles R wrote:
> > CGI? That URL gives me download links.
>
> Sorry, I scanned it too quickly (time to go home).
No problems. It happens. Thanks for replying and have fun. :)
--
"Not to engage in the pursuit of ideas is to live like ants i
> From: Caldarale, Charles R
> Subject: RE: Newbie Question with Apache Tomcat v6.0.18 in Windows XP
> SP2.
> CGI? That URL gives me download links.
Sorry, I scanned it too quickly (time to go home).
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL an
> > http://www.google.com/search?q=tomcat+pac+script reveal that the
> > relationships.
>
> If you actually took a look at what the search found, you'd see that the
> relationship is ... nothing. Mostly hits on a similarly confused thread from
> a while back.
Oh. Strange results then.
>
> >
> From: Phillip Pi [mailto:a...@zimage.com]
> Subject: Re: Newbie Question with Apache Tomcat v6.0.18 in Windows XP
> SP2.
>
> http://www.google.com/search?q=tomcat+pac+script reveal that the
> relationships.
If you actually took a look at what the search found, you'd see that the
relationship i
On Tue, Apr 07, 2009 at 05:58:46PM -0400, Christopher Schultz wrote:
> > OK, she said we need Tomcat because of PAC scripts to do the proxy auto
> > configurations.
>
> I think she's still confused. Sorry if you already know all this, but
> I'm new to proxy research and I'd never heard of a "PA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 5:56 PM, André Warnier wrote:
> Now suppose I /do/ a POST with multipart/form-data encoding to a Tomcat
> servlet, and one of the parts /is/ a large file.
> How can I handle this at the servlet level ?
Of course you can. Haven't we
On Tue, Apr 07, 2009 at 04:46:32PM -0500, Caldarale, Charles R wrote:
> > OK, she said we need Tomcat because of PAC scripts to do the proxy auto
> > configurations.
>
> I've never heard of PAC scripts in conjunction with Tomcat.
http://www.google.com/search?q=tomcat+pac+script reveal that the
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Cannot read httpservlet's inputstream
>
> Does there exist a library somewhere which allows me to feed it this
> InputStream and which will parse the parts for me appropriately (for
> example allowing me to determine if a given paramete
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rashid,
On 4/7/2009 5:45 PM, Rashid Malik wrote:
> What I mean here is that I have three 3 installations of tomcat not
> 2.
How many total web applications do you have?
Do any of them have any requirements for which Tomcat version on which
they are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip,
On 4/7/2009 5:38 PM, Phillip Pi wrote:
> OK, she said we need Tomcat because of PAC scripts to do the proxy auto
> configurations.
I think she's still confused. Sorry if you already know all this, but
I'm new to proxy research and I'd never
> From: Rashid Malik [mailto:rma...@dhmh.state.md.us]
> Subject: Re: Migration from Tomcat 4.1 to 6.0 <<>>
>
> There is tomcat 2.2 application (using port 80)
There was never any Tomcat 2.2 release. You may actually have httpd on port
80, since there is a 2.2 version of that. httpd usually com
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 4:49 PM, André Warnier wrote:
Ok Mark, I don't pretend I know how it works in Tomcat.
How does one upload a file then ?
That depends on how you /want/ to upload it. If you want to use the
standard HTM
> From: Phillip Pi [mailto:a...@zimage.com]
> Subject: Re: Newbie Question with Apache Tomcat v6.0.18 in Windows XP
> SP2.
>
> OK, she said we need Tomcat because of PAC scripts to do the proxy auto
> configurations.
I've never heard of PAC scripts in conjunction with Tomcat.
To repeat: Tomcat h
Hello Chris,
Thanks for your quick response. What you said makes sense to me but let me
clarify my situation further.
> Hi, I changed port 8080 to 80 and I get page not found error. Please
> note that I have another website that is running on an older version
> of tomcat.
What I mean here i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip,
On 4/7/2009 4:57 PM, Phillip Pi wrote:
> On Tue, Apr 07, 2009 at 04:49:06PM -0400, Christopher Schultz wrote:
>
>>> I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
>> Question 1: What is "Tomcat's proxy server"?
>
On Tue, Apr 07, 2009 at 02:10:39PM -0700, Phillip Pi wrote:
> > >>>I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
> > >>Question 1: What is "Tomcat's proxy server"?
> > >
> > >Apache Tomcat to act like a proxy server so other PCs, on the LAN, can
> > >go through it to acc
Me too. And looking at the source (via Google search), it looks like that is
what is was meant to do. I'm using Sun Java JDK 1.6.0_13.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Tuesday, April 07, 2009 12:48 PM
To: Tomcat Users List
Subje
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rashid,
On 4/7/2009 5:08 PM, Rashid Malik wrote:
> Hi, I changed port 8080 to 80 and I get page not found error. Please
> note that I have another website that is running on an older version
> of tomcat.
Aah, you didn't mention that.
Only one proce
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 4:49 PM, André Warnier wrote:
> Ok Mark, I don't pretend I know how it works in Tomcat.
> How does one upload a file then ?
That depends on how you /want/ to upload it. If you want to use the
standard HTML form-based file upload, y
> >>>I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
> >>Question 1: What is "Tomcat's proxy server"?
> >
> >Apache Tomcat to act like a proxy server so other PCs, on the LAN, can
> >go through it to access the Internet. Is this not a correct way to set
> >up?
>
> What yo
Hi,
I changed port 8080 to 80 and I get page not found error. Please note that I
have another website that is running on an older version of tomcat. that
website is already using port 80. On that page, there is a link that connects
to http://localhost/MyWebAPP/ . If I use the older version o
Phillip Pi wrote:
On Tue, Apr 07, 2009 at 04:49:06PM -0400, Christopher Schultz wrote:
I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
Question 1: What is "Tomcat's proxy server"?
Apache Tomcat to act like a proxy server so other PCs, on the LAN, can
go through it to
as2 wrote:
> Is this possible?
Yes.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Is this possible?
Thanks x
--
View this message in context:
http://www.nabble.com/Redirect-from-https-to-http-tp22938216p22938216.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
On Tue, Apr 07, 2009 at 04:49:06PM -0400, Christopher Schultz wrote:
> > I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
>
> Question 1: What is "Tomcat's proxy server"?
Apache Tomcat to act like a proxy server so other PCs, on the LAN, can
go through it to access the I
André Warnier wrote:
> Mark Thomas wrote:
>> André Warnier wrote:
>>> Despite what you may wish and what you may have found in Google, I
>>> believe that if you want to send a file, you have to do it with a
>>> "multipart/form-data" content type.
>>
>> Nope. That is just plain wrong.
>>
>>> http://
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rashid,
On 4/7/2009 4:45 PM, Rashid Malik wrote:
> To give you an example, the URL to get to the application in 4.1 is:
>
> http://localhost/MyWebAPP/
>
> However, after shutting down tomcat 4.1, installing and configuring
> tomcat 6.0, I can use th
Hello,
Yes we do logrotation for the tomcat catalina.out but that happens once a
night at 4 en doesn't include a kill -SOMESIGNAL command. (We use
'copytruncate' in a logrotate.d config). I have never seen tomcat's go down
around this time.
Groeten Leon
--
Leon Brouwers
System Engineer
GX
o
Mark Thomas wrote:
André Warnier wrote:
Despite what you may wish and what you may have found in Google, I
believe that if you want to send a file, you have to do it with a
"multipart/form-data" content type.
Nope. That is just plain wrong.
http://www.faqs.org/rfcs/rfc2616.html
Sections 9.5
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillip,
On 4/7/2009 4:34 PM, Phillip Pi wrote:
> I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
Question 1: What is "Tomcat's proxy server"?
Are you talking about using another web server out in front of Tomcat?
That woul
To whom it may concern: I am new to Tomcat and anyone's help will be greatly
appreciated. I have recently deployed an application in Tomcat 6.0 that works
flawlessly. However, previous version of this same application was running on
Tomcat 4.1. My issue is that I want to basically replace th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vulnerability announcement:
CVE-2008-5519: Apache Tomcat mod_jk information disclosure vulnerability
Severity: important
Vendor: The Apache Software Foundation
Versions Affected:
mod_jk 1.2.0 to 1.2.26
Description:
Situations where faulty clients s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 4:29 PM, André Warnier wrote:
> I would have to disagree again.
Sorry, I should have done the code in a haiku.
> The Tomcat you describe above is totally deterministic : it is alive
> (since it can receive your request), but as so
timmy_ wrote:
Ok I solved it
Centos security settings by default are enforcing so port 8080 was not
available then all requests were just ignored.
Which is what a "telnet (ip_address) 8080" would have told you too, quickly.
-
Hello!
I was asked to set up a Tomcat's proxy server in Windows (using XP SP2).
I am a total newbie on this and had never done this type of Web server
setup before.
Here is what I did so far based on reading documentations and
searching (e.g., http://tomcat.apache.org/tomcat-6.0-doc/setup.html,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
So, my original code was missing some important stuff (the ??? parts)
and was incorrect in one place (the first two arguments to
SSLContext.init() are arrays, not scalars).
The following code compiles and executes on my machine. You'll need t
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 7:57 AM, André Warnier wrote:
A Schrödinger Tomcat would be one that exists multiple times, in quantum
superposition. Which would probably create problems with all of them
trying to listen on the same T
Rainer,
That did the trick.
Thanks a lot.
Dmitri
Rainer Jung-3 wrote:
>
> On 07.04.2009 01:34, dmitriz wrote:
>> No, it did not help. NameTrans does not seem to work here. WebServer
>> still
>> looks for subfolder examples under its docroot.
>
> I could reproduce the problem and th reason was
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcus,
On 4/7/2009 9:49 AM, Marcus Carlson wrote:
> I've developed an application that sets up an encrypted socket in a
> separate thread when running init() on my servlet. However, I have no
> idea how to set up the truststore and keystore just for
André Warnier wrote:
> Despite what you may wish and what you may have found in Google, I
> believe that if you want to send a file, you have to do it with a
> "multipart/form-data" content type.
Nope. That is just plain wrong.
> http://www.faqs.org/rfcs/rfc2616.html
> Sections 9.5 (POST) and 9.6
Andrey Razumovsky wrote:
Well, I've been looking through those 15 lines last two days.. I tried
Apache's HttpClient with same effect (I used FileEntity for body, not
multipart). I've seen many examples in Google which send post request.. My
code is just the same..
Hi.
I did some research, becaus
> From: Mikael Brännström [mailto:mikael.brannst...@gmail.com]
> Subject: java.util.logging in tomcat 6
>
> I have based my tomcat/conf/logging.properties on the
> examples in
> http://tomcat.apache.org/tomcat-6.0-doc/logging.html
The above refers primarily to Tomcat's logging rather than indiv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrey,
On 4/7/2009 10:12 AM, Andrey Razumovsky wrote:
> HttpURLConnection connect = (HttpURLConnection)
> url.openConnection();
> connect.setRequestMethod("POST");
> connect.setDoInput(true)
On 07.04.2009 21:21, Rainer Jung wrote:
> Will add to the docs.
Done.
Rainer
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 4/6/2009 7:41 PM, Tomas Rodriguez wrote:
>
> thanks for the answer about advantages of tomcat + mod_jk, ok.
> I want to have a different directory for my examples of java, or web
> pages, wherever, but I will don't like to have the defaul
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MT,
On 4/5/2009 10:24 PM, Mighty Tornado wrote:
> I have an index.jsp page with 3 links to other JSP's.
> These links don't seem to work. I get the 404 error.
If you're getting a 404, then your URLs are incorrect.
> Do I have to register the JSP's s
On 07.04.2009 01:34, dmitriz wrote:
> No, it did not help. NameTrans does not seem to work here. WebServer still
> looks for subfolder examples under its docroot.
I could reproduce the problem and th reason was a sillyness in the
config file parsing of the web server (not the plugin). Remove the
l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/7/2009 7:57 AM, André Warnier wrote:
> A Schrödinger Tomcat would be one that exists multiple times, in quantum
> superposition. Which would probably create problems with all of them
> trying to listen on the same TCP ports. Unless of cour
Hi,
I'm trying to configure logging for my web app but the logging output
is sent to 'catalina.-mm-dd.log' and 'catalina.out' instead of
'myapp.-mm-dd.log'. How can I control that?
I use java.util.logging in my web app. I have based my
tomcat/conf/logging.properties on the examples in
htt
Ok I think VMware is not a problem anymore
I have hamachi installed and its interface was interfering when I had it in
bridged form that is why I initially had it on NAT. Now that I disabled
hamachi's
interface I am able to have bridged mode again and all of my network pcs are
able to ping back
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 4/7/2009 3:10 AM, Leon Brouwers wrote:
> For instance we have a scripts which rotates the apache logfiles once a
> month. I think we have about 50 tomcats (distributed across a number of
> servers) of which 3 went down last month after the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
On 4/7/2009 11:13 AM, brunobau wrote:
> I found the solution.
> just configured the jsp with: text/html; charset=iso-8859-1
Note that the default content type is "text/html; charset=it0-8859-1",
so you haven't actually changed anything, unless
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
On 4/6/2009 6:33 PM, Jason Smith wrote:
> Sun's implementation of HttpURLConnector apparently creates a new
> ChunkedOutputStream every time you call .getOutputStream().
That's obnoxious and completely unexpected. Latest version of Java, huh?
Ok I solved it
Centos security settings by default are enforcing so port 8080 was not
available then all requests were just ignored. Changing this
did the job thank you all.
timmy_ wrote:
>
> Ok I think VMware is not a problem anymore
>
> I have hamachi installed and its interface was i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrey,
On 4/6/2009 11:47 AM, Andrey Razumovsky wrote:
> //connect.setRequestProperty("Content-Type", "text/plain");
One more thing: you should /definitely/ set the charset in the Content-Type.
- -chris
-BEGIN PGP SIGNATURE-
Version:
Thanks Mark... I will try this and update the post.
--
View this message in context:
http://www.nabble.com/Jsp-working-fine-from-tomcat%2C-but-displaying-source-when-accessed-through-apache-%28Only-on-Firefox%29-tp22931646p22934602.html
Sent from the Tomcat - User mailing list archive at Nabble.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 4/6/2009 6:50 PM, John Oliver wrote:
> On Mon, Apr 06, 2009 at 06:08:54PM -0400, Christopher Schultz wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> John,
>>
>> On 4/6/2009 5:51 PM, John Oliver wrote:
>>> RHEL 5.2, httpd-2.2.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 4/6/2009 6:30 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: ajp_read_header: ajp_ilink_receive failed
>>
>>> [r...@mda-services ~]# rpm -qa | grep java
>>> java-1.4.2-gcj-c
On Tue, Apr 7, 2009 at 9:36 AM, timmy_ wrote:
> Anyway I'll try reinstalling everything on Virtual Box...VMWare is making me
> have
> a lot of trouble when it shouldn't be supposed to...
VMWare isn't causing you any trouble -- your *configuration* of the
networking for the virtual host is causin
newToMina wrote:
> Mark, could you please explain it a little more detail and provide an example
> of the proper JKmount entries. Thanks in advance ...
Replace what you have previously with:
JkMount /appname/* tomcat5
JkMount /appname tomcat5
Note this means you do not use the Alias or Directo
Mark, could you please explain it a little more detail and provide an example
of the proper JKmount entries. Thanks in advance ...
--
View this message in context:
http://www.nabble.com/Jsp-working-fine-from-tomcat%2C-but-displaying-source-when-accessed-through-apache-%28Only-on-Firefox%29-tp229
Hey all,
First of all sry if this was no the forum to ask...I wouldn't have
expected VMware to be the problem since I may access internet
from the virtual machine and I may also ping both ways (host-VM-Host)
However
I may not ping from any other pc...this might be the problem.
Yes I have the
newToMina wrote:
> Thanks for the reply. The JK mount is difined as follows. The wired thing is
> that first couple of page of the application is working fine. Only a
> purticular page is giving this problem. (the response headers were for this
> page). I have no clue on why is it happening. For s
Thanks for the reply. The JK mount is difined as follows. The wired thing is
that first couple of page of the application is working fine. Only a
purticular page is giving this problem. (the response headers were for this
page). I have no clue on why is it happening. For some reason the firefox
r
> From: newToMina [mailto:askme...@yahoo.com]
> I have jsp page which displays fine when I access it directly
> from tomcat.
> But when the page is access through apache (mod_jk) it
> displays the source code.
Do you have a JkMount for the directory with the .jsp in *and* the same
directory expos
Well, I've been looking through those 15 lines last two days.. I tried
Apache's HttpClient with same effect (I used FileEntity for body, not
multipart). I've seen many examples in Google which send post request.. My
code is just the same..
And I found a nasty thing - when I run my request against G
This smells like tomcat is behaving absolutely correct, but your client
code isn't. Can you verify your client code is properly making the
request and handling the response? It could be you aren't using
HttpURLConnection correctly to upload a file. As much as you are trying
to avoid it, you are
I have jsp page which displays fine when I access it directly from tomcat.
But when the page is access through apache (mod_jk) it displays the source
code. This is happening only on Firefox and on IE it works fine. Firefox is
rendering the page in quirk mode when accessed through apache and render
On Apr 7, 2009, at 7:57 AM, André Warnier wrote:
János Löbb wrote:
On Apr 6, 2009, at 4:10 AM, André Warnier wrote:
Caldarale, Charles R wrote:
[...]
The metaphysical implications of existing without a trace are
rather intriguing...
I am surprised that you would not have heard of stealth t
> From: brunobau [mailto:barbalall...@yahoo.it]
> Subject: confiugure Lang in Tomcat
>
> I'm trying to set the Lang It (italian), in order so view the special
> character (like ò,à,è) correctly in the jsp.
Try looking at this:
http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
If that doesn't a
I found the solution.
just configured the jsp with: text/html; charset=iso-8859-1
brunobau wrote:
>
> Hi all,
> I've installed and configured tomcat under xampp with os Win.
> I'm trying to set the Lang It (italian), in order so view the special
> character (like ò,à,è) correctly in the jsp.
Hi all,
I've installed and configured tomcat under xampp with os Win.
I'm trying to set the Lang It (italian), in order so view the special
character (like ò,à,è) correctly in the jsp.
I don't konw how to do do.
Please could you help me?
Thanks in advance.
--
View this message in context:
http:
Will do.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Tuesday, April 07, 2009 8:15 AM
To: Tomcat Users List
Subject: Re: Help with a Tomcat issue???
Jason Smith wrote:
> As follow-up, I guess I would have to count this as a core Java API bug,
> since the high-l
Jason Smith wrote:
> As follow-up, I guess I would have to count this as a core Java API bug,
> since the high-level functions (HttpURLConnection) allow you to routinely
> emit bad markup.
>
> However, wouldn't it be prudent in Tomcat to recognize that something has
> gone wrong with the method
I ran Tomcat on localhost and everything's the same. I don't have firewall
and I disabled antivirus, so there's nothing between client and tomcat. So
the problem is either in client code (or JDK?) or in Tomcat. I'm posting
full client code once again to show how I'm connecting to server
Thanks,
An
Thanks for the response.
As far as I see in log files, this error occurs on pages used for ajax.
I mean I post data(and that is a few parameters, not large files) to
some jsp pages, used for ajax, and they reply back. I use prototype
javascript library for sending ajax requests and JSON for proces
As follow-up, I guess I would have to count this as a core Java API bug, since
the high-level functions (HttpURLConnection) allow you to routinely emit bad
markup.
However, wouldn't it be prudent in Tomcat to recognize that something has gone
wrong with the method name earlier? Should method n
> From: Andrey Razumovsky [mailto:razumovsky.and...@gmail.com]
> Subject: Re: Cannot read httpservlet's inputstream
>
> I'm sending POST request from Java (see code in my first message)
> to Tomcat 6. But, somehow, the request comes there is GET (!) Also
> Content-Length, Content-Type and other he
Hi,
I've developed an application that sets up an encrypted socket in a
separate thread when running init() on my servlet. However, I have no
idea how to set up the truststore and keystore just for this
application. Is this possible at all?
TIA,
Marcus
--
First of all, I recommend you don't use 5.5.26. There was a known buffering
issue with that version that is fixed in 5.5.27. If I remember correctly, the
input stream of the request in a servlet was truncated at 8192 bytes.
As for your original question, are you posting streaming data (large
Sure.
That's where my investigations lead me to:
I'm sending POST request from Java (see code in my first message) to Tomcat
6. But, somehow, the request comes there is GET (!) Also Content-Length,
Content-Type and other header parameters are reset to default values (see
valve trace in my second me
1 - 100 of 110 matches
Mail list logo