Hi,
My servlet generates a page containing embedded JavaScript and sometimes
the page received in the browser comes with CRLFs stripped from the text,
starting at some point in the text. This creates a big problem if the
script contains CRLF as statement separator instead of semi-colon. It's
On Jan 13, 2014, at 6:09 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
Hi,
My servlet generates a page containing embedded JavaScript and sometimes
the page received in the browser comes with CRLFs stripped from the text,
starting at some point in the text. This creates a big problem if
On Jan 12, 2014, at 8:45 AM, Ray Holme rayho...@yahoo.com wrote:
I haven't been following this thread, but I wanted to clarify a couple comments
here just to make sure someone reading this in the future doesn't get the wrong
ideas.
serialization causes some problems in apache-tomcat-7.0.35
I checked the string, say, s, just before and after writing it to the
PrintWriter.
PrintWriter out=response.getWriter();
Print(before=+s);
out.println(s);
out.flush();
out.close();
Print(after=+s);
where Print is a static method printing on the log file localhost...log
And the log shows no
OK, that makes perfect sense. We are NOT talking about SESSION objects (where I
am defining session as login to logout of a USER as I mentioned before, perhaps
you are defining this as while tomcat is up - I can see either def.). These
type beans are all fine, but I would actually never want
On Jan 13, 2014, at 8:26 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
I checked the string, say, s, just before and after writing it to the
PrintWriter.
PrintWriter out=response.getWriter();
Print(before=+s);
out.println(s);
out.flush();
out.close();
Print(after=+s);
where Print
No, I don't have any filter, except for a session counter listener. I am going
to make a demo servlet and post it soon once I am back at home,
Thanks Dan. I really appreciate your help,
Sent from my iPhone
On 13 Jan, 2014, at 9:36 PM, Daniel Mikusa dmik...@gopivotal.com wrote:
On Jan 13,
Oh, I missed one comment from Daniel before (embedded and I did not see on the
first pass, sorry).
No, you don't know the application so I would like to explain that some
information kept in the shared application beans is very static, needs to be
loaded from the DB and is used everywhere by
On Jan 13, 2014, at 8:37 AM, Ray Holme rayho...@yahoo.com wrote:
OK, that makes perfect sense. We are NOT talking about SESSION objects (where
I am defining session as login to logout of a USER as I mentioned before,
perhaps you are defining this as while tomcat is up - I can see either
Asok Chattopadhyay wrote:
Hi,
My servlet generates a page containing embedded JavaScript and sometimes
the page received in the browser comes with CRLFs stripped from the text,
starting at some point in the text. This creates a big problem if the
script contains CRLF as statement separator
Thank you so much i have it working now i had to change the httpd.com from
JkMount /Hello/*loadbalancer1
To
JkMount /Hello*workspace1
On Jan 12, 2014 9:31 PM, 侯树成 chain...@gmail.com wrote:
Hi, Alex
What is your mod_jk.conf file that used for mod_jk configuration.
You can config it as
IS THERE A WAY TO STOP WARNINGS AND TELL TOMCAT NOT TO SERIALIZE A BEAN?
Right now, I have stopped warnings but caused other problems.
just don't add those beans to a session or if you do add them make sure
that they are in containers and that those fields are transient
then those fields
I have (in the past) dealt with transient so OK, makes sense.
Not familiar with putting in container to shield from Apache serialization.
Will look for writeup. Thanks.
On Monday, January 13, 2014 10:12 AM, Johan Compagner jcompag...@servoy.com
wrote:
IS THERE A WAY TO STOP WARNINGS AND
On Jan 13, 2014, at 9:02 AM, Ray Holme rayho...@yahoo.com wrote:
Oh, I missed one comment from Daniel before (embedded and I did not see on
the first pass, sorry).
No, you don't know the application so I would like to explain that some
information kept in the shared application beans is
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends out to the browser. When I
run this servlet, it strips all CRLFs from line 153 onward.
Thanks.
On Mon, Jan 13, 2014 at 9:57 PM, Asok Chattopadhyay da.a...@gmail.comwrote:
Another option would be to read them from the db once, at system
startup, and then keep them static from there. You're still hitting
your db, but not on an ongoing basis.
On 1/13/2014 9:02 AM, Ray Holme wrote:
Oh, I missed one comment from Daniel before (embedded and I did not see on the
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
Thanks again
On Mon, Jan 13, 2014 at 11:36 PM, Asok Chattopadhyay da.a...@gmail.comwrote:
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends
On Jan 13, 2014, at 10:36 AM, Asok Chattopadhyay da.a...@gmail.com wrote:
I am attaching the Test servlet and the text file that contains the page.
The Test servlet simply reads the file and sends out to the browser. When I
run this servlet, it strips all CRLFs from line 153 onward.
Your
Hi,
-Original Message-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 4:52 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
I am attaching the Test servlet and the text file that contains the page.
The Test
Dears,
I have checked documentation/FAQ/WEB/archives but it didn't help to resolve
the following trouble:
I have a java servlet which is currently deployed on Oracle Application
Server 10g R3 with jdk 1.5u19 on RHEl 5.7 and one works fine with Oracle
Application Server.
The servlet works with
Nice, I do that for many things, but not all of it. You are right, I probably
could do that.
Nice food for thought!
:=]
On Monday, January 13, 2014 11:31 AM, Daniel Mikusa dmik...@gopivotal.com
wrote:
On Jan 13, 2014, at 8:37 AM, Ray Holme rayho...@yahoo.com wrote:
OK, that makes
We're trying to determine if it's possible to build a WAR with an embedded
META-INF/Context.xml that defines the webapp path to be different then the WAR
file name. Let's say we have AppServer-version.war, but we want to access
it as: http://host/Server. In addition, we want to support
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http://workshop.dreamapps.com/da/docs/Test.java
(2) http://workshop.dreamapps.com/da/docs/test.html
Thanks.
On Tue, Jan 14, 2014 at 12:39 AM, Konstantin Preißer
kpreis...@apache.orgwrote:
Hi,
-Original Message-
Andre: I changed the out.println(s) to out.print(s), but that did not make
any difference. Regards.
On Tue, Jan 14, 2014 at 1:40 AM, Asok Chattopadhyay da.a...@gmail.comwrote:
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http://workshop.dreamapps.com/da/docs/Test.java
Am 13.01.2014 07:22, schrieb Divyaprakash Y:
-Original Message-
From: Stefan Mayr [mailto:ste...@mayr-stefan.de]
Sent: 10 January 2014 23:26
To: users@tomcat.apache.org
Subject: Re: Packet misses in Tomcat
Hi
Am 09.01.2014 14:21, schrieb Divyaprakash Y:
-Original Message-
2014/1/13 Asok Chattopadhyay da.a...@gmail.com:
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
1. Downloading the page with WGET tool, all CRLFs (on line 153 and below) are OK
2. Opening the page in Firefox, and doing View page source shows
HTML markup errors
Asok Chattopadhyay wrote:
You can see the test servlet working at
http://workshop.dreamapps.com/da/test
According to what I see when I save this page and view it with an editor that can show the
end-of-lines used, you have a terrible mixture of lines terminated by CR/LF, and lines
Asok Chattopadhyay wrote:
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http://workshop.dreamapps.com/da/docs/Test.java
(2) http://workshop.dreamapps.com/da/docs/test.html
Same comment as before, for the file test.html : the file itself contains a mixture of
end-of-line
From: Bob DeRemer [mailto:bob.dere...@thingworx.com]
Subject: META-INF/Context.xml path question
We're trying to determine if it's possible to build a WAR with an embedded
META-INF/Context.xml that defines the webapp path to be different then the
WAR file name.
Short answer: no.
Let's
Hi,
-Original Message-
From: Asok Chattopadhyay [mailto:da.a...@gmail.com]
Sent: Monday, January 13, 2014 6:41 PM
To: Tomcat Users List
Subject: Re: Tomcat strips CRLFs from the generated page
Hi,
Sorry about that.
Here are the locations of the two files:
(1)
On 13/01/2014 17:38, Bob DeRemer wrote:
We're trying to determine if it's possible to build a WAR with an
embedded META-INF/Context.xml
It is context.xml, not Context.xml. Case matters.
that defines the webapp path to be
different then the WAR file name.
No, it is not possible to do this.
2014/1/13 Bob DeRemer bob.dere...@thingworx.com:
Tomcat version =?
We're trying to determine if it's possible to build a WAR with an embedded
META-INF/Context.xml that defines the webapp path to be different then the
WAR file name.
Not possible.
BTW, the file name is context.xml (case
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Тимур,
On 1/13/14, 11:34 AM, Тимур Кулибаев wrote:
Dears, I have checked documentation/FAQ/WEB/archives but it didn't
help to resolve the following trouble: I have a java servlet which
is currently deployed on Oracle Application Server 10g R3
On 1/13/2014 9:40 AM, Asok Chattopadhyay wrote:
Hi,
Sorry about that.
Here are the locations of the two files:
(1) http://workshop.dreamapps.com/da/docs/Test.java
(2) http://workshop.dreamapps.com/da/docs/test.html
Thanks.
On Tue, Jan 14, 2014 at 12:39 AM, Konstantin Preißer
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Friday, January 10, 2014 9:04 PM
To: Tomcat Users List
Subject: Re: Would a developer please add this mime type to the distro?
2014/1/11 Jeffrey Janner jeffrey.jan...@polydyne.com:
Tomcat 7 did a
I modified conf/context.xml Context unloadDelay=6
I hoped tomcat would wait 60 seconds for request to end.
But there are some problems with spring app, I get
HTTP Status 503 - Servlet jsp is currently unavailable:
I use tomcat 7.42 64 bit on windows 7
steps to reproduce:
use app from
As I said before, I have no control over the input text. In the test
servlet I am simply reading text from a file and sending it out to the
browser. No other processing has been done to the text by the servlet. The
browser, however, receives a page with CRLF stripped starting from a
certain point
Hello, Christopher !
The user.language and user.country system properties for my running
Tomcat instance are not set.
In Oracle Apllication Server I also do not see these properties set in ps
-ef | grep java output.
I set both properties in JAVA_OPTS env.var:
[oracle@n36 logs]$ echo $JAVA_OPTS
38 matches
Mail list logo