Thanks Charles for quick reply.
However, can you assist me with some hints that can help me to do so (with
Tomcat APIs)?
Caldarale, Charles R wrote:
>
>> From: meamit221 [mailto:amit.n...@aceicon.com]
>> Subject: Load server.xml without restarting Tomcat 5.5.26 Server
>>
>> Is it possible to
Thanks everyone for there comments.
I was actually comparing the behavior between IIS and Apache, since IIS(5/6) is
able to handle Japanese characters inside the headervalues not the header name.
Thanks
Rajat
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@u
Hi,
In my application, using tiles
at the run time from the database we pick the the jsp file.
But some times exception occurred.So that if any include page got exception I
want to go to the error page.
In my case blank page comes or some time header displayed & body part is blank.
Now My ques
> From: Caldarale, Charles R
> Subject: RE: JNDI: Name java:comp is not bound in this Context
>
> For all I know, a leading slash might be ignored
It looks like "java:comp/env" and "java:/comp/env" are equivalent; the leading
slash is indeed ignored, and the same object is retrieved for either
Caldarale, Charles R wrote:
>> From: David Smith [mailto:d...@cornell.edu]
>> Subject: Re: JNDI: Name java:comp is not bound in this Context
>>
>> My copy of the spec is at work at the moment
>>
>
> What? You use paper?
>
>
:-) I printed just one a few years ago while testing a new copie
> From: David Smith [mailto:d...@cornell.edu]
> Subject: Re: JNDI: Name java:comp is not bound in this Context
>
> My copy of the spec is at work at the moment
What? You use paper?
> Someone should probably fix the docs at
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howt
Caldarale, Charles R wrote:
>> From: David Smith [mailto:d...@cornell.edu]
>> Subject: Re: JNDI: Name java:comp is not bound in this Context
>>
>> Try java:/comp instead.
>>
>
> That's not in the spec; what is in the spec is java:comp/env, so java:comp
> should work.
>
> - Chuck
>
>
>
M
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Issue in sending Request/response http headers
> containing Japanesecharateres
>
> > java.net.URLEncoder.encode(text, "ASCII")
> > You'll get a string like
> > "foobar%45%67%65%43%45%45%78%69...".
>
> Yes, but in my humble opinion yo
> From: David Smith [mailto:d...@cornell.edu]
> Subject: Re: JNDI: Name java:comp is not bound in this Context
>
> Try java:/comp instead.
That's not in the spec; what is in the spec is java:comp/env, so java:comp
should work.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHER
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Tomcat 5.0.28 and 6.0.18 on same server
>
> > The tomcat.exe was not found...
> > The CATALINA_HOME environment variable is not defined correctly.
> > This environment variable is needed to run this program
You do not (and should not)
Try java:/comp instead. If that doesn't help, then we'll need more info:
- OS:
- where you got tomcat from (tomcat.apache.org or third party repackage)
- Details of your setup like what's in tomcat's common/lib folder?
- Config (relevant parts of server.xml, the webapp's context.xml and
WEB-INF/
Leo Donahue - PLANDEVX wrote:
You guys are good
We're trying our best, modestly.
...
> Thank you very much for your help. Much appreciated.
No problem, we like to show off.
...
I did have one problem when I issued the "service" command. It gave me the
reply:
The tomcat.exe was not found..
Chris,
Christopher Schultz wrote:
[...]
there's a somewhat obvious way to encode your
headers (including Japanese or other non-ASCII characters) so they will
work:
java.net.URLEncoder.encode(text, "ASCII")
You'll get a string like "foobar%45%67%65%43%45%45%78%69...". You just
have to remembe
> I am wondering if there are plans to support JSF 2.0 when it is
> released.
Doesn't Tomcat 6.0 already support JSF 2.0 if it supports Servlet 2.5? I had
this same question this morning.
https://javaserverfaces.dev.java.net/nonav/rlnotes/2.0.0/releasenotes.html
-Original Message-
F
You guys are good and for that I am thankful. I wasn't trying to be pointed, I
just didn't know.
Since Tomcat5028 was already running as a service, I downloaded the zip file
for Tomcat6018 as suggested. I edited the server.xml file and changed the
Shutdown port to 8006 and the http port to 80
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/18/2009 5:09 PM, André Warnier wrote:
1) you cannot run two http servers listening on the same port(s), on the
same host.
Just to be clear, you /can/ bind to the same port more than once on the
same host if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/18/2009 5:09 PM, André Warnier wrote:
> 1) you cannot run two http servers listening on the same port(s), on the
> same host.
Just to be clear, you /can/ bind to the same port more than once on the
same host if you have multiple IPs: you
Leo Donahue - PLANDEVX wrote:
I'd like to run two different versions of Tomcat on the same server if poss=
ible.
I have Tomcat 5.0.28 running as a windows service from a non-zipped version=
download. I'd like to be able to run Tomcat 6.0 on the same server.
I'm not trying to setup a test and
> From: Darrell Esau [mailto:darrell.e...@gmail.com]
> Subject: Re: full stack trace?
>
> Logging.properties:
Nothing unusual there or in server.xml; if the stack traces are missing, I have
to think it's your webapp that's catching the exception and making the decision
about whether or not to
> From: Leo Donahue - PLANDEVX [mailto:donah...@mail.maricopa.gov]
> Subject: Tomcat 5.0.28 and 6.0.18 on same server
>
> I have Tomcat 5.0.28 running as a windows service from a
> non-zipped version= download. I'd like to be able to run
> Tomcat 6.0 on the same server.
Use the 6.0 zip downloa
THERE'S NO context.xml.
Also, since my app is a third party (not properly Tomcat or Apache's)
server.xml does not contain any information ab them.
Server.xml was uploaded.
Thanks for the reply.
Caldarale, Charles R wrote:
>
>> From: Rodro [mailto:rodrigo_alle...@ibi.com]
>> Subject: Re: Tomcat
I'd like to run two different versions of Tomcat on the same server if poss=
ible.
I have Tomcat 5.0.28 running as a windows service from a non-zipped version=
download. I'd like to be able to run Tomcat 6.0 on the same server.
I'm not trying to setup a test and development environment, I actua
André Warnier wrote:
> Darrell Esau wrote:
>> Hi all,
>> Using tomcat 6.
>>
>> Stack traces go to my logs -- however it appears that after a certain
>> stack
>> trace is reported a few times, it'll stop posting the full stack trace
>> with
>> line numbers, and just post the exception name.
>>
>> Fo
On Wed, Mar 18, 2009 at 12:16 PM, Caldarale, Charles R
wrote:
>
> Which Tomcat 6, exactly? What JVM? What platform?
Tomcat 6.0.13
jjava version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
Linux, CentOS 5.2, 2.6.18-53.1.
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Access log behavior
>
> how is that space reclaimed when the application finally
> closes the file ? Is that automatic, or does one need
> to run an fsck or the like to really reclaim that space ?
It's automatic. The disk allocati
Caldarale, Charles R wrote:
Although the paths to the files are no longer accessible, the disk space
they're consuming won't go away until you do the restart.
While this is a bit [OT] probably, how does that work ? I mean, if the
directory entry is deleted, but the original application keeps
Darrell Esau wrote:
Hi all,
Using tomcat 6.
Stack traces go to my logs -- however it appears that after a certain stack
trace is reported a few times, it'll stop posting the full stack trace with
line numbers, and just post the exception name.
For instance, I get a NullPointerException with the
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> Subject: Access log behavior
>
> I'm wondering if anyone can tell me what happens when an
> active (ie. today's) access log file is deleted?
There's not really any such thing as "delete" in Linux. When you do an rm, all
that happens
Jonathan Mast wrote:
We're using the AccessLogValve extensively and I'm wondering if anyone can
tell me what happens when an active (ie. today's) access log file is
deleted?
Will Tomcat handle this gracefully or go bonkers?
Well, did you try ? does it, like, go bonkers ?
In a general sense, I
> From: Darrell Esau [mailto:darrell.e...@gmail.com]
> Subject: full stack trace?
>
> Using tomcat 6.
Which Tomcat 6, exactly? What JVM? What platform?
> For instance, I get a NullPointerException with the full
> stack trace, then a few minutes later it happens again,
> and I only get:
> SE
We're using the AccessLogValve extensively and I'm wondering if anyone can
tell me what happens when an active (ie. today's) access log file is
deleted?
Will Tomcat handle this gracefully or go bonkers?
I occasionally delete some log files that are active but are unimportant,
when that happens i
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Tomcat for dummies, subtopic Acronyms
Pointers to "JMX" and "RMI", please ?
http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/
http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp
Mighty Tornado wrote:
Thank you all. The answers were very valuable and I got the thing to work.
You don't seem to realise how nice they all were. I tell you, no
technical issue is too complex for these guys.
-
To unsubscrib
Thank you all. The answers were very valuable and I got the thing to work.
On Wed, Mar 18, 2009 at 1:41 PM, Ilya Kazakevich
wrote:
> Mighty,
>
> Here is good and small HTML tutorial, which I advice you to read:
> http://www.w3schools.com/html/default.asp
>
> -Original Message-
> From: Cal
Mighty,
Here is good and small HTML tutorial, which I advice you to read:
http://www.w3schools.com/html/default.asp
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, March 18, 2009 7:41 PM
To: Tomcat Users List
Subject: RE: Newline doesn
> From: André Warnier [mailto:a...@ice-sa.com]
> I think I'll have to refresh my TCP knowledge base, to see if there is
> any byte somewhere in a TCP header specifying the internet protocol.
> But I don't think so.
Sort of :-). The nearest you get is the four bytes specifying the source and
dest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/18/2009 11:09 AM, Mark Thomas wrote:
> Go for it. Maybe as a new question along the lines of "Why does it have to be
> like this?"
Done. Now all the research I often re-do when someone asks this question
is collected in one place. I can no
Hi all,
Using tomcat 6.
Stack traces go to my logs -- however it appears that after a certain stack
trace is reported a few times, it'll stop posting the full stack trace with
line numbers, and just post the exception name.
For instance, I get a NullPointerException with the full stack trace, the
> From: Mighty Tornado [mailto:mighty.torn...@gmail.com]
> Subject: Newline doesn't work
>
> But when I try to make it a string with newline characters it
> still prints everything in one line - like newline characters
> turn into regular space characters.
That's the way HTML works. You need
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: tracing port to port
>
> how does Wireshark figure out if the contents of a packet
> are HTTP or not ? It must be either "heuristic" by sniffing
> the content, or else just by the port in use ?
It does both. The protocol determina
Try
If this is going to be displayed by a browser then try:
String newline = "";
-Tim
Mighty Tornado wrote:
Silly question.
I wrote a servlet that gets init params from the web.xml and stuffs them
into the request which is the displayed by JSP.
But when I try to make it a string with newline
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Tomcat for dummies, subtopic Acronyms
>
> Pointers to "JMX" and "RMI", please ?
http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/
http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp
Those are the startin
Silly question.
I wrote a servlet that gets init params from the web.xml and stuffs them
into the request which is the displayed by JSP.
But when I try to make it a string with newline characters it still prints
everything in one line - like newline characters turn into regular space
characters.
I think I've waited long enough with these.
Pointers to "JMX" and "RMI", please ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Gregor Schneider wrote:
If I understand André correctly, he wants to find out the encoding
dirung the communication between servlet & java-demon - I doubt that
this goes as HTTP over the wire.
True. It's not HTTP.
In fact it is .. well .. nothing, apart from TCP. The servlet just opens
a socke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/18/2009 11:15 AM, André Warnier wrote:
> So, with Japanese characters in HTTP headers, you are outside of the
> HTTP specification, and you cannot expect any webserver (or proxy) to
> handle this in any consistent manner.
>
> HTTP headers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 3/18/2009 11:08 AM, Gregor Schneider wrote:
> On Wed, Mar 18, 2009 at 3:47 PM, Christopher Schultz
> wrote:
>>
>> Wireshark does full TCP capture but also "understands" protocols, so it
>> will show you only the HTTP details for a particul
Rajat Gupta05 wrote:
In that case response is "??user1"
Rajat,
you are talking about HTTP headers, so below is relevant if you are
using the correct words and refer effectively to HTTP headers.
I think what Mark was tying to tell you before is :
The current HTTP specification do
Christopher Schultz wrote:
> Mark,
>
> On 3/18/2009 8:57 AM, Mark Thomas wrote:
>> Rajat Gupta05 wrote:
>>> Hi All,
>>>
>>> I have a configuration where Apache(2.2) -->Mod_jk-->Tomcat(5.0) for my
>>> program.
>>> Now whenever I receive request or response having httpheaders with Japanese
>>> cha
On Wed, Mar 18, 2009 at 3:47 PM, Christopher Schultz
wrote:
>
> Wireshark does full TCP capture but also "understands" protocols, so it
> will show you only the HTTP details for a particular packet, etc.
>
But will this help to find out the characterset of encoded string in
an RMI-object?
If I un
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/18/2009 8:57 AM, Mark Thomas wrote:
> Rajat Gupta05 wrote:
>> Hi All,
>>
>> I have a configuration where Apache(2.2) -->Mod_jk-->Tomcat(5.0) for my
>> program.
>> Now whenever I receive request or response having httpheaders with Japanese
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amit,
On 3/18/2009 10:36 AM, Caldarale, Charles R wrote:
>> From: meamit221 [mailto:amit.n...@aceicon.com]
>> Subject: Load server.xml without restarting Tomcat 5.5.26 Server
>>
>> Is it possible to reload the server.xml without restarting the server
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/18/2009 9:36 AM, Mark Thomas wrote:
> RFC2616. You have to use ISO-8859-1.
It's worse than that: it's ASCII, not ISO-8859-1.
HTTP headers are actually delegated (in section 4.2) to RFC822
("Internet Text Messages").
HTTP section 4.2
(htt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 3/17/2009 8:02 PM, Filip Hanik - Dev Lists wrote:
> wireshark.org
+1
Wireshark does full TCP capture but also "understands" protocols, so it
will show you only the HTTP details for a particular packet, etc.
- -chris
-BEGIN PGP SIGNATU
Hello everybody,
I have faced interesting issue recently. Here are details:
I had to implement custom log4j appender that logs particular messages
to database (JDBCAppender was not enough). So I did, using JNDI based
datasources, not a difficult task. Of course I updated server.xml,
context.xm
> From: meamit221 [mailto:amit.n...@aceicon.com]
> Subject: Load server.xml without restarting Tomcat 5.5.26 Server
>
> Is it possible to reload the server.xml without restarting the server?
No. However, if you examine the Tomcat source, you can build a webapp to call
the appropriate APIs to r
Hi,
I am using Tomcat 5.5.26 server for my application. I need to add a host
entry inside server.xml everytime a user registers himself. But the server
does not recognize the new entry without restarting server. Is it possible
to reload the server.xml without restarting the server?
--
Vie
--
View this message in context: http://www.nabble.com/R-tp22579395p22579395.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional com
> From: Dinesh Gupta [mailto:dinesh.gupt...@hotmail.com]
> Subject: error page configuration
>
> If anyone have idea about this please help.
http://www.catb.org/~esr/faqs/smart-questions.html
If you provide real information, you might get a real answer...
- Chuck
THIS COMMUNICATION MAY CONT
In that case response is "??user1"
Thanks
Rajat
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, March 18, 2009 7:07 PM
To: Tomcat Users List
Subject: Re: Issue in sending Request/response http headers containing Japanese
charateres
Rajat Gupt
Rajat Gupta05 wrote:
> Hey Mark,
>
> Thanks for your response... I have tried to isolate the issue if it is being
> caused by Apache/Mod_jk/Tomcat. Firstly I tried a request to standlone apache
> with customize d header having Japanese characters. The requested page
> displays the headers in th
Hey Mark,
Thanks for your response... I have tried to isolate the issue if it is being
caused by Apache/Mod_jk/Tomcat. Firstly I tried a request to standlone apache
with customize d header having Japanese characters. The requested page displays
the headers in the request. To my surprise Apache
I can't find the JSP 2.2 specification, but if you look at JSR-316, you will
see that the basis for Java EE 6 is servlet 3.0, JSP 2.2 and JSF 2.0. I am
not sure it makes much sense to align JSP 2.1 with servlet 3.0.
Martin
On Tue, Mar 17, 2009 at 4:34 PM, Mark Thomas wrote:
> Martin Dubuc wrote
Rajat Gupta05 wrote:
> Hi All,
>
> I have a configuration where Apache(2.2) -->Mod_jk-->Tomcat(5.0) for my
> program.
> Now whenever I receive request or response having httpheaders with Japanese
> charaters, those are either replaced by ??? or they are replaced by some junk
> charateres.
> Ple
Hi André. That was just an error when copying and pasting, I picked up
the wrong connector. This is the right one:
##
##
Thanks for pointing that out.
André Warnier escribió:
Diego Manilla Suárez wrote:
[...]
Hi.
No idea about your pro
André,
two questions:
what type of conenction is the servlet using? Is it RMI, Socket, something else?
If you're not happy with Wireshark, there might be an approach which
takes a bit more effort but might work in case the Java-classes are
not obfuscated:
Talking RMI:
- try to decompile the Ja
Filip Hanik - Dev Lists wrote:
wireshark.org
Thanks.
I had seen that name several times, but it is only yesterday that
someone told me that this was the new name for Ethereal.
-
To unsubscribe, e-mail: users-unsubscr...@tomc
Diego Manilla Suárez wrote:
[...]
Hi.
No idea about your problem, but in the information you provide, you are
showing the Apache connecting to port 8009 of Tomcat, but for Tomcat you
are showing the Connector that listens on port 8080.
That's probably not very helpful.
Hi everyone. I'm running Tomcat 5.0.30 + Apache 2.2.3 on a SuSE EL 10.
After a few days running, the CPU load increases, until Tomcat is eating
99% of it, and I need to restart. The last time this happened, I
executed jstack on the Tomcat VM, and I saw most of threads stacks are
like this:
##
Anthony J. Biacco a écrit :
Remember that over nfs, the client's access to the server will be as
user nobody or nfsnobody, depending on your system, so that user will
have to have access to all those directories/files, unless of course you
use the anonuid/anongid directives in your exports file.
Caldarale, Charles R a écrit :
type Status report
message /~paul/test.jsp
description The requested resource (/~paul/test.jsp)
is not available.
Does the userid Tomcat is running under have access to the file in question?
If not, you'll always get the 404.
Hello and thank you for your rep
Hi All,
I have a configuration where Apache(2.2) -->Mod_jk-->Tomcat(5.0) for my program.
Now whenever I receive request or response having httpheaders with Japanese
charaters, those are either replaced by ??? or they are replaced by some junk
charateres.
Please see the Japanese headers are encod
Hi,
I am using tiles for template.
In body jsp got error.
Now I want to configure the error page if any of the included page have
exception.
If anyone have idea about this please help.
Regards
Dinesh Gupta
_
How fun is th
73 matches
Mail list logo