Hi Mark, In my view, the JSP 11.4.2 spec says that if client adds the jsp_precompile parameter, the request will not execute the jsp page's service method,what's more, JspServlet just compiles and loads new generated jsp servlet class, it's right, JspServlet works fine when JspServlet compiles a
Hi,
Can you just tell me, please, if the option
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
should be put in JAVA_OPTS or in CATALINA_OPTS?
Thanks.
--
View this message in context:
http://www.nabble.com/commons-logging-problem-tp21736872p25816008.html
Sent from the Tom
Hi Chuck,
We have increased the codecache for the workaround, found the root casue of
this issue is in drool 4.0.7 which we have recenlty integrated in our
application. For a permanent fix we will post in jboss drool forum .
--
View this message in context:
http://www.nabble.com/InvocationTarget
I know this configuration works and that Apache states Tomcat 5.5.x support for
Java 1.5 and above, but I cannot find a statement for support of Java 1.6 with
Tomcat 5.5.x. Anyone know where this support is documented?
> From: desertdenizen [mailto:erik.sch...@gmail.com]
> Subject: Apache Version
>
> Is there a particular Tomcat version that works best with that
> version of Apache?
No, but it's always recommended to use the latest (6.0.20, today), since that
will have the most recent security fixes and will
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] JNI problem
>
> C99 allows /dynamic/ size determination:
Sounds like a flaw in the article; it can't possibly be true, since there is no
standard-defined API to discover the size of a malloc'd item; sizeof is
The version of Tomcat won't really matter, because Apache communicates
with Tomcat through a connector, or as a proxy. If you use the connector
method, just make sure you use the Apache 2.0 connector and you should
be all set!
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviote
I've never before installed Tomcat. I compiled and installed Apache 2.0.63
earlier today and have a further requirement to install Tomcat. Is there a
particular Tomcat version that works best with that version of Apache? Thank
you, everyone!
--
View this message in context:
http://www.nabble.com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/8/2009 7:24 PM, Caldarale, Charles R wrote:
> char array[6];
...
> sizeof array returns 6
This is what I was describing. The Wikipedia article states (I don't
have my K&R book in front of me... besides, it wouldn't cover this case,
any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cyrille,
On 10/8/2009 4:03 AM, Cyrille Le Clerc wrote:
>I am afraid there may be a flaw in the algorythm looking for the
> first IP of the coma delimited x-forwarded-for header without
> ensuring that this first IP has been set by a trusted proxy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Halm,
On 10/8/2009 3:20 AM, Halm Reusser wrote:
> Christopher Schultz wrote:
>
>> Give [accept-charset] a try and see what happens.
>
> Does neither work. But thanks.
:(
Does the client send a Content-Type header including a charset if you
explici
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohamedin,
On 10/8/2009 5:42 AM, Mohamedin wrote:
> I have fixed this bug (Long time without coding in C). But still the
> error.
You didn't look for all uses of "sizeof":
> while((bytes = read(inF, buff, sizeof(buff))) > 0)
I think you meant this:
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] JNI problem
>
> I saw the same thing at first glance, but then I looked-up the sizeof()
> operator and it seems that sizeof /can/ return the number of bytes in
> an array in C99
Minor correction: the operator is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 10/8/2009 4:37 AM, Konstantin Kolinko wrote:
> 2009/10/8 Mohamedin :
>> Here is one function that always crash. The portion of the code that couse
>> the crash in my opinion is the if which has malloc. I noticed it crash
>> whenever it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Another correction to the code:
On 10/8/2009 4:22 PM, Christopher Schultz wrote:
> public static class SoftReferenceSessionWrapper
> implements HttpSession
> {
Remember to implement getValue and putValue to call getAttribute and
setAttr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
A correction to my code:
On 10/8/2009 4:22 PM, Christopher Schultz wrote:
> public class SoftReferenceFilter
> implements Filter
> {
This class needs two additional methods:
public void init(FilterChain chain) { }
public void des
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
On 10/8/2009 12:12 PM, Joe Hansen wrote:
> I will now think twice before I store anything in the session and
> will make sure I remove no longer used objects from the HTTP
> Session.
It's always a good goal to limit your session size, but it's n
> From: Joe Hansen [mailto:joe.hansen...@gmail.com]
> Subject: Re: java.lang.OutOfMemoryError: Java heap space
>
> Is the use of SoftReference popular?
You'll find it as the underlying mechanism of many cache managers, since it
automatically adapts reasonably well to whatever the execution envir
Hi Jiri,
Thanks for the link it clears up better what you and Thomas are saying. You
both have been extreemly helpful. What you and Thomas need to understand is the
typical developer will not ask the questions that I do. To me a profiler and
static code analysis tools are as important as a IDE
> Yup, it looks like you have more of your application objects taking up
> memory than the tickets you were worried about.
So True! We are right now designing and developing our next generation
of websites and this experience will surely come handy. I will now
think twice before I store anything i
Hi Christopher,
I tried to change JBoss to run on port 80 and seems not to work so I will leave
a message on JBoss forumabout how that can be accomplished since there have
been others having the same issue with 5.1.
I did run a profiler and found out the response time for the ajp connection was
> From: Maciej Zabielski [mailto:m...@tessel.pl]
> Subject: RE: mod_jk problem related to multiple hosts on Apache and
> Tomcat
>
> when I started reading what is the easiest way to make Tomcat
> available on port 80 (under Centos 5.3) the most common
> answer was: use Apache HTTPD.
Probably wri
oops thats great working fine and have one more and how can i use ant to
build this project to work with tomcat and eclipse
Mercy Ma wrote:
>
> Hi,
>
> At first , you need to create a web project , and the add it into
> tomcat server.
>
> Later, you create a new jsp page, select it a
Mercy wrote:
> Hi,
>
> Yes, it just does on the first time request,I need to compile the
> page when I need.
What is wrong with the process described in JSP.11.4.2?
Mark
>
> Kind regards,
> Mercy
>
> On Thu, 08 Oct 2009 20:00:50 +0800, Konstantin Kolinko
> wrote:
>
>> 2009/10/8 Mercy :
Hi,
Yes, it just does on the first time request,I need to compile the page
when I need.
Kind regards,
Mercy
On Thu, 08 Oct 2009 20:00:50 +0800, Konstantin Kolinko
wrote:
2009/10/8 Mercy :
Hi Kolinko,
In order to implement requirement is that our application can't
set
devel
Maciej Zabielski wrote:
> Hi,
> I couldn't find anything related to my configuration problem.
> I have Alfresco application installed under webapps/alfresco. The host looks
> like this:
>
> autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false">
>
>alfresco
Maciej Zabielski wrote:
I have Alfresco application installed under webapps/alfresco. The host looks
like this:
alfresco.mydomain.com
When I look at the application log, or catalina.out I can see, that the
application is started twice.
Application is started twic
2009/10/8 Mercy :
>
> Hi Kolinko,
>
> In order to implement requirement is that our application can't set
> development=true and needs to compile little of pages without restart need.
Even if development=false, it compiles new pages.
Hi,
I couldn't find anything related to my configuration problem.
I have Alfresco application installed under webapps/alfresco. The host looks
like this:
alfresco.mydomain.com
When I look at the application log, or catalina.out I can see, that the
application is sta
Hi Kolinko,
In order to implement requirement is that our application can't set
development=true and needs to compile little of pages without restart need.
If I use the JspServlet , it compiles JSP Pages and loads them class and
works fine, but If use my compiler to compile and load, the Js
2009/10/7 Mercy :
> Hi Mark,
>
> I just want to compile the pages what i need, not all. Actually,the
> most pages ware compiled by ANT,thus, our application does not set the
> development parameter is true.
>
> What's more , I did not re-invent the wheel rather than I re-use the
> Jsp
2009/10/8 Mohamedin :
> Thanks a lot
>
> I have fixed this bug (Long time without coding in C). But still the error.
> Then I removed all malloc from the code. Still crashing
You are using free(..). Thus you need to have malloc()s somewhere.
Also,
(void) fprintf(stderr,"%s %s %d %.1024s\n",GetMag
Does this issue depend on Firefox version? (which version you are
using?) Is it reproducible on different client PCs running the same
Firefox version? Maybe different Firefox settings? Is TLS protocol
enabled in Firefox (usually it is)?
>From description, this issue is not dependent on your applic
Thanks a lot
I have fixed this bug (Long time without coding in C). But still the error.
Then I removed all malloc from the code. Still crashing
Examples of stack traces:
Stack: [0x7fff8c015000,0x7fff8c215000), sp=0x7fff8c212b58,
free space=2038k
Native frames: (J=compiled Java
2009/10/8 Mohamedin :
> Here is one function that always crash. The portion of the code that couse
> the crash in my opinion is the if which has malloc. I noticed it crash
> whenever it is called with the same srcFile and dstFile
>
> int reduce_quality(const char * srcFile, const char * dstFile, in
Am Thu, 24 Sep 2009 10:54:56 -0500
schrieb "Strickland, Lawrence P" :
> I am having some problems building mod_jk on AIX and I see the same
> functionality is supported in mod_proxy_ajp.
> Does anyone have some good reason why I should use one over the other?
Using mod_proxy_ajp we got problems w
Here is one function that always crash. The portion of the code that couse
the crash in my opinion is the if which has malloc. I noticed it crash
whenever it is called with the same srcFile and dstFile
int reduce_quality(const char * srcFile, const char * dstFile, int maxSize){
struct stat inf
Hello Elli,
I am afraid there may be a flaw in the algorythm looking for the
first IP of the coma delimited x-forwarded-for header without
ensuring that this first IP has been set by a trusted proxy and not by
the requester ( getFirstIP(xforwardedForHeaderValue) ). Such spoofing
can easily
Christopher Schultz wrote:
On that page is a POST form. When I evaluate the posted data, they are NOT
utf-8 encoded.
/Most/ clients will act the way you expect, yet, there is no requirement
for them to do so. What client is this, by the way?
Firefox 3.5.3, IE7, Safari 4.0.3
See the W3C doc
Well Andre, you are right, but when I started reading what is the easiest way
to
make Tomcat available on port 80 (under Centos 5.3) the most common answer was:
use Apache HTTPD.
Other solutions looked even more complicated as:
1 - Ports below 1024 are available only to root user, and I wanted
40 matches
Mail list logo