Hi all,
I deployed a servlet in Tomcat which sends response to all http post
requests, and I composed the response data by HttpServletResponse
object.
But I found Tomcat will generate a default http header property in the
response: "Server: Apache-Coyote/1.1"
So my question is : Is there a w
> From: osubb [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Default ROOT Context
>
> I was just going to use the Default context for
> development.
The conf/context.xml file is *not* the default context. Instead, that
file specifies a set of default attributes to be applied to *all*
cont
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neha,
Neha Agrawal wrote:
| I installed APR -1.2.12 and compiled it with
| /dev/urandom.
| and the problem is solved
| tomcat now restarts in less than 1 second...
Now, look back at my original post. We could have saved a lot of time, here.
|
Thanks for the help. I was just going to use the Default context for
development. But I can do it the correct way.
osubb
Caldarale, Charles R wrote:
>
>> From: osubb [mailto:[EMAIL PROTECTED]
>> Subject: RE: Configuring Default ROOT Context
>>
>> I uncommented the "invoke servlet" sections
Cant contain my curiousity anymore?
What practical applications is this been used for?
I see theres a lot of control over the socket etc... but what are you guys
actually doing with it?
Trying to get rule of thumb for when one would move to it?
--
Christopher Schultz wrote:
> [several jsvc processes]
>
> No java processes? I'm not entirely sure how jsvc works... I had assumed
> it did an exec, which should change the process name. Do you see java
> processes in a ps listing, or only jsvc? I'm wondering if jsvc uses
> /dev/urandom for somet
Hello
I installed APR -1.2.12 and compiled it with
/dev/urandom.
and the problem is solved
tomcat now restarts in less than 1 second...
only testshm test of APR failed when i did make test..
Hope it will not result in any future problem...
thanks chris for your inputs throughout...
Neha
neil davudo wrote:
Where can I find the source code for the NIO connector that uses the
CometProcessor?
http://tomcat.apache.org
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROT
Where can I find the source code for the NIO connector that uses the
CometProcessor?
TIA
Neil
--
View this message in context:
http://www.nabble.com/NIO-connector-source-code-tp15621736p15621736.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neha,
Neha Agrawal wrote:
| sorry , i checked, i did recompile APR with
| /dev/urandom earlier..it just missed out from my last
| eamil post..sorry about that..
Okay. That doesn't explain why you were able to grep (successfully) for
/dev/rando
Hi!
sorry , i checked, i did recompile APR with
/dev/urandom earlier..it just missed out from my last
eamil post..sorry about that..
> Any reason not to use 1.2.12 instead of 1.2.7?
No, but would it better if i use the latest version?
> Do you see java
> processes in a ps listing, or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
Adam Lipscombe wrote:
| In my app I spawn a new IE window with window.open(). I want the new
| window to share the same session as the parent, because it needs to
| access some session data.
If you are using cookies to track session ids, this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raghuveer,
Raghuveer wrote:
| Is there any difference in compatibility of Java-Tomcat Versions with
| Windows system and Linux?
|
| Tomcat 5.5.25 and j2sdk1.4.2_07 are working on windows.
|
| We get some problems with same versions on RedHat Enterpri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neha,
Neha Agrawal wrote:
|> Exactly how did you [build APR]? Are you sure you did it correctly?
|> If you were recompiling, why not upgrade to the most recent version
|> (1.2.12)?
|
| APR 1.2.7 package i downloaded and compiled it using
| ./configur
> From: Matt Doller [mailto:[EMAIL PROTECTED]
> Subject: RE: Multiple Hosts all using the same web
> application instance
>
> Nothing is in the conf/Catalina directory for any of my
> sites, so I'm not sure how to go about the first option.
You'd just create the needed subdirectories and files
Caldarale, Charles R a écrit :
>> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED]
>> Subject: Re: realm login and user session are not the same
>>
>> We are also using a ThreadLocal static reference in a class
>> to store the request.getUserPrincipal() to give the current
>> username to bean
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 21, 2008 1:49 PM
> To: Tomcat Users List
> Subject: RE: Multiple Hosts all using the same web application instance
> Do you want to share the .war files across the multiple hosts, or do
>
> 1. use some kind of redirection such as iptables and leave the tomcat
> mapping at 8080
How do I redirect? Shall I open the Apache2(httpd) service as well as
start the Tomcat server?
As it is now
-I see the httpd welcome page when I browse http://87.227.4.194 with
the
httpd service running an
Hello
thanks for the inputs
> | i recompiled my APR 1.2.7 with /dev/urandom
> Exactly how did you do this? Are you sure you did it
> correctly? If you
> were recompiling, why not upgrade to the most recent
> version (1.2.12)?
APR 1.2.7 package i downloaded and compiled it using
./conf
JohnSka7 wrote:
We've gone ahead and followed all of the instructions to get
Tomcat to recognize cgi and execute it, but the problem is that our main
application isn't within the Tomcat\webapp\ROOT directory...it's in a
directory called PowerSchoolPremiere\Data\custom\webapp\.
Can anyone give
> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED]
> Subject: Re: realm login and user session are not the same
>
> We are also using a ThreadLocal static reference in a class
> to store the request.getUserPrincipal() to give the current
> username to beans which are not access to the request
Hello everyone,
I've searched around on google trying to figure this out, but I've had no
luck so far, so I'm sorry if this has been answered already...
I work for a school district and we are using the PowerSchool web
application from Pearsons, and we'd like to integrated some custom CGI
progra
> From: Matt Doller [mailto:[EMAIL PROTECTED]
> Subject: Multiple Hosts all using the same web application instance
>
> Which brings me to my issue - I can't figure out how to have
> coldfusion files in each of my hosts rendered using that
> single coldfusion application.
Do you want to share
Caldarale, Charles R a écrit :
>> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED]
>> Subject: realm login and user session are not the same
>>
>> When a user logs in through the realm authentification
>> FORM method in the website, the username and login are
>> well checked but the user com
> From: osubb [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Default ROOT Context
>
> I uncommented the "invoke servlet" sections in web.xml
Don't ever, ever do that; read the comments about the Invoker servlet in
the FAQ:
http://wiki.apache.org/tomcat/FAQ/Miscellaneous
> I made these chan
Hello,
I've been trying to figure this issue out for days and I can't seem to make any
headway. To give some background on my environment, I'm running Tomcat -
6.0.16 and Java 1.6.0_03 on XP, and using IIS 6.0 as the web server.
I have multiple hosts defined in the server.xml file in the tomca
I got the servlet reload to work, but can't get the default ROOT context to
work.
I uncommented the "invoke servlet" sections in web.xml and when I executed
any Servlets, I got a blank page.
I then commented them back out, and the Servlet worked fine (although I
could not execute under ROOT defa
> From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED]
> Subject: realm login and user session are not the same
>
> When a user logs in through the realm authentification
> FORM method in the website, the username and login are
> well checked but the user come in with the session of
> an other u
Hi,
I've a problem with tomcat server 5.5.
When a user logs in through the realm authentification FORM method in the
website, the username and login are well checked but the user come in with the
session of an other user with roles of this other user. This happens randomly
with on user sessions w
Folks,
I have a perplexing problem. I don't think its a tomcat issue but maybe someone
else has encountered it?
In my app I spawn a new IE window with window.open(). I want the new window to share the same
session as the parent, because it needs to access some session data.
I find that som
Hi Raghu
Only with platform specific binaries..(most of which are located in
$JRE_HOME/bin)
Is there something specific you wanted to look at?
M-
- Original Message -
Wrom: ONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ
To: "'Tomcat Users List'"
Sent: Thursday, February 21, 2008 10:06 AM
Subjec
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Subject: RE: setting up SSL
>
> Except Tomcat is taking over a minute to initialize.
Another topic frequently discussed. Search the archives for random SSL
APR:
http://marc.info/?l=tomcat-user&w=2&r=1&s=random+SSL+APR&q=b
- Chuck
THIS CO
Ah, never mind - it looks like this only happens the first time.
> -Original Message-
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 21, 2008 11:17 AM
> To: 'Tomcat Users List'
> Subject: RE: setting up SSL
>
> Thanks! This is exactly what I needed. I'
> From: Thompson,Roger [mailto:[EMAIL PROTECTED]
> Subject: Trailing slash problem
>
> The http connector adds a trailing slash to the top level
> rerquest [sic] to a web app
As I recall, it's required by the HTTP RFC (or possibly the URI RFC -
you can look it up).
> Is there a way to tell the
Thanks! This is exactly what I needed. I've followed the instructions
(creating a simple certificate, and self-signing just for testing purposes),
and things are working... Except Tomcat is taking over a minute to
initialize. Is this normal?
> -Original Message-
> From: Caldarale, Ch
gp456 wrote:
thanks for your reply.
first the fix you mentioned is not in the current tomcat release (6.0.16).
Since I have to build/patch the tomcat for a productive environment what
whould you recommend: patch the 6.0.16 sources or build tomcat from the
newest trunk?
either or, they haven'
Thanks, Philip. I did have it in there. As I said in my reply to Chuck's reply
I removed it and got a 404 and then replaced it.
> Subject: RE: mod_jk/apache+tomcat/400 bad request
> Date: Thu, 21 Feb 2008 14:58:12 +
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
>
> Hi,
>
> You m
I read the documentation that you pointed out. I was confused as the bulleted
list below this statement said you could put the context element inside a
hostname tag in the server.xml. So I commented it out and restarted
tomcat/apahce and I got a 404. I uncommented it out and restarted and go th
I know this has been discussed, but I seem unable to find much about it
other than a comment by Yoav Shapira.
Environment: Tomcat 5.5.20 with no apache front end. The http connector
adds a trailing slash to the top level rerquest to a web app like as
follows:
http://tspilot.oclc.org/gsafd ==> htt
Yup, I should be using a local context
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 21 February 2008 15:26
To: Tomcat Users List
Subject: RE: mod_jk/apache+tomcat/400 bad request
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: RE: mod_j
> From: Raghuveer [mailto:[EMAIL PROTECTED]
> Subject: Java -Tomcat- compatability on linux and windows
>
> We get some problems with same versions on RedHat Enterprise Linux 4.
>
> RedHat Enterprise Linux 4
> Apache - tomcat 5.5.25
> Java version probably 1.4.2.
Are you sure that's a real To
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: RE: mod_jk/apache+tomcat/400 bad request
>
> You might want to put a element into your
> server.xml inside the relevant :
Perhaps you haven't been keeping up with the last few years of Tomcat
releases. As noted, in bold, in the
Is there any difference in compatibility of Java-Tomcat Versions with
Windows system and Linux?
Tomcat 5.5.25 and j2sdk1.4.2_07 are working on windows.
We get some problems with same versions on RedHat Enterprise Linux 4.
RedHat Enterprise Linux 4
Apache - tomcat 5.5.25
Java version probably
Hi,
You might want to put a element into your server.xml inside the
relevant :
-Original Message-
From: Tommy Peterson [mailto:[EMAIL PROTECTED]
Sent: 20 February 2008 18:48
To: users@tomcat.apache.org
Subject: mod_jk/apache+tomcat
Hi Chris,
You are right about the ports, thanks for pointing it out. I made sure
the ports were matching on the system, but when I typed it I specified
it incorrectly.
I got this to work, it was the Linux firewall issue, I had to
configure iptables and forward requests coming in from the external
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Goran,
Goran Jambrović wrote:
| i tried your advice, and it didn't help.
If you want to grab content from a remote URL and display it in a web
browser, why are you even bothering to get it yourself? Just build the
target URL and send a browser to it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Goran,
Goran Jambrović wrote:
| I would like to run a servlet(/FunPacmanServlet) from java.
You should call it via HTTP.
| This servlet
| would then show a jsp page in web browser.
That's going to be a problem, depending on your platform, the secu
We put a proxy in front of Tomcat. It serves all the static content.
emerson cargnin wrote:
Well, I said at the beginning that I'm not a big fan of this approach,
but I understand the reasons behind it and the difficulties it would
have to change it.
Other reason for using this approach is when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hitesh,
Hitesh Raghav wrote:
| Is there any URLs about these backward incompatibilities (i.e.
| Servlet/JSP specs backward incompatibilities)?
As Chuck suggests, the servlet specification has changed between
versions, and the best reference for that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alaska,
Alaska Winter wrote:
| what happens if user hits the back button to catalogue. Perfectly valid
| thing to do.
If they submit an old (expired) token, then you simply ignore the
request. You will probably want to notify them why the request w
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Subject: setting up SSL
>
> Any ideas? Is it possible that Tomcat isn't able to find the openssl
> libraries (or something?).
Did you read the doc for using SSL with APR? Did you ignore the big
bold message at the top of the normal SSL doc:
> From: emerson cargnin [mailto:[EMAIL PROTECTED]
> Subject: Re: Mapping JSP's to outside of the war or expanded folder
>
> Other reason for using this approach is when you have a great amount
> of static content, like images.
One would normally package a large amount of static information in a
thanks for your reply.
first the fix you mentioned is not in the current tomcat release (6.0.16).
Since I have to build/patch the tomcat for a productive environment what
whould you recommend: patch the 6.0.16 sources or build tomcat from the
newest trunk?
We've ran another test and encountered
-----
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
>
**
HSBC Software Development (Guangdong) Limited
whose office address is
5/F Jie Tai Plaza, 218 - 222 Zhong Shan Liu Road, Guangzhou,
The People's Republic of China
---
It got rolled back due to some vetos. (Hence the if your brave comment).
See the dev list for details.
The patch itself works fine.
-Tim
emerson cargnin wrote:
Thanks Tim.
Do you know if this will be included on next release of tomcat6?
regards
emerson
On 19/02/2008, Tim Funk <[EMAIL PROTEC
Hi Vishal,
I see the problems and think I can fix it.
At my test env (Linux, Mac OS x) the Registry and Platform
MBeanServer are the same. I can see all Tomcat Mbeans at my jconsole.
Many thanks,
Peter
Am 16.02.2008 um 23:18 schrieb Vishal Goenka:
2. JMXAdaptorLifecycleListener register
Hello All;
I can get the JVM memory information using the following SNMP commands.
/usr/bin/snmpwalk -c public -v 2c 172.10.1.11:3000
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.2
SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.1 = STRING: "Code
Cache"
SNMPv2-SMI::enterprises.42.2.145.3.163.1.
Well, I said at the beginning that I'm not a big fan of this approach,
but I understand the reasons behind it and the difficulties it would
have to change it.
Other reason for using this approach is when you have a great amount
of static content, like images. An update of the war would have to
inc
Thanks Tim.
Do you know if this will be included on next release of tomcat6?
regards
emerson
On 19/02/2008, Tim Funk <[EMAIL PROTECTED]> wrote:
> If you are brave ... you can apply this patch:
>
> http://svn.apache.org/viewvc?view=rev&revision=575332
>
> -Tim
>
>
> emerson cargnin wrote:
> > This
Well, i don't really see the difference regarding security of having
the jsp's separated or not. Even with the JSP's inside the war, once
expanded you could change a JSP without that been detected anyway.
On 20/02/2008, Ralph Goers <[EMAIL PROTECTED]> wrote:
> Right.
>
> The only way access to
Hallo Luke,
Here the information from tomcat.apache.org
Unsubscription: Send a blank email to [EMAIL PROTECTED]
Digest unsubscription: Send a blank email to [EMAIL PROTECTED]
best ahmed
Original-Nachricht
> Datum: Thu, 21 Feb 2008 09:27:31 -
> Von: [EMAIL PROTECTED]
> An
Thanks, I did try to unsubscribe but I kept getting them. Will try the
address below.
Luke Walshe
BT Operate, HGIPCC Technical Specialist
Telephone: +44 (0)1314483482, Email: [EMAIL PROTECTED]
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: 21 February 2008 09:30
See the footer of any mail on the list:
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
All
Apologi
All
Apologies, this is unrelated. How do I unsubscribe from this mailing
list, I thought it would be useful and small but its overwhelming my
inbox?
Thanks in Advance.
Luke Walshe
BT Operate, HGIPCC Technical Specialist
Telephone: +44 (0)1314483482, Email: [EMAIL PROTECTED]
-Original Messa
Hello Rainer,
Thanks for your informations - the Situation gets more clear now.
I will read again some dics - following your links and will make further tests
also with the improved logging.
Thanks a lot for your time
with best regards
ahmed
Original-Nachricht
> Datum: Wed, 20
66 matches
Mail list logo