environment and the production environment
is now live so I can't mess with it.
Cheers!
Yuval Perlov
www.r-u-on.com
On Mar 10, 2009, at 6:27 PM, Rainer Jung wrote:
Hi Yuval,
did you find out in the meantime, whether you were using the
tcnative (aka APR) connector?
Regards,
Rainer
, Rusty Wright wrote:
Yuval, wouldn't that give you the client's address? I thought she
wanted the server's ip address, with the added wrinkle that her
server has multiple network interfaces.
Yuval Perlov wrote:
request.getRemoteAddr();
You can only get your actual IP
request.getRemoteAddr();
You can only get your actual IP after opening a connection. Of course
it can change depending on where the connection is coming from.
Alternatively you can open a connection to a known public server, and
figure out your IP using the resulting socket. If you are goin
:48 PM, Yuval Perlov wrote:
Is APR part of tomcat or apache [httpd]?
APR is the Apache Portable Runtime. Technically, it's its own beast and
is used by both httpd and Tomcat (optionally).
If I am running on linux and have no
.so files in my tomcat directory does that mean I have n
is maturity?
Yuval Perlov
www.r-u-on.com
On Feb 17, 2009, at 1:38 AM, dave smith wrote:
Sorry for not providing an update sooner. I disabled the APR and the
problem went away.
On 2/12/09, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
On 2/12/2009 3:12 AM
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
On 2/11/2009 1:56 AM, Yuval Perlov wrote:
What leads me to believe this is unrelated to my application code is
that restarting apache makes the problem go away.
So, when your site goes crazy, a simple httpd-bounce does the trick? No
Tomcat
just so we can switch to proxy_http but it takes a few
day to test.
Yuval
On Feb 11, 2009, at 4:38 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
On 2/10/2009 3:44 PM, Yuval Perlov wrote:
We started restarting apache on a regular basis but if a user is i
ughts?
Regards,
Yuval Perlov
On Feb 5, 2009, at 11:27 PM, LukeK wrote:
JohnHardin wrote:
* Have others (that now seem to be "fixed") gotten things to work by
updating to the latest mod_jk (1.2.27)?
I suspect that it's related to 1.2.27 - I have been playing around with
older v
/ipmaster !
ProxyPass /ptimg !
ProxyPass / ajp://localhost:8009/
If anyone has seen this or has some ideas how to troubleshoot and
isolate, I'd be most grateful.
Regards,
Yuval Perlov
www.r-u-on.com
-
/
ProxyPass /ipmaster !
ProxyPass /ptimg !
ProxyPass / ajp://localhost:8009/
If anyone has seen this or has some ideas how to troubleshoot and
isolate, I'd be most grateful.
Regards,
Yuval Perlov
www.r-u-on.com
--
That did the trick. Thanks a bunch!
Yuval
On Dec 22, 2008, at 4:51 PM, Rainer Jung wrote:
On 22.12.2008 15:41, Yuval Perlov wrote:
I tried this - thought I was missing something so I asked. For some
reason this does not work on mac.
If you use an older version of mod_jk than 1.2.27, you
I tried this - thought I was missing something so I asked. For some
reason this does not work on mac.
On Dec 22, 2008, at 3:37 PM, Rainer Jung wrote:
On 22.12.2008 13:27, Yuval Perlov wrote:
I am trying to configure httpd->tomcat ajp bridge that will catch all
requests except for
I am trying to configure httpd->tomcat ajp bridge that will catch all
requests except for one directory to be served from httpd.
Ideally I'd like to map /* to the AJP except for one /staticcontent
directory to be served from apache.
Has anyone done this?
Thanks,
Yuval Perlov
www.r-
(see this table http://www.iangraham.org/books/html4ed/appb/mimetype.html)
.
For an exercise this isn't a must but some browsers will take issue
with the server not reporting content-type correctly.
Yuval Perlov
www.r-u-on.com
On Dec 14, 2008, at 9:29 PM, Robert Drescher wrote:
Exactly. S
The problem with this approach is that when you upgrade the war file
the files will be deleted.
I believe It is better to save the files outside the web app and
deliver them either with a symbolic link from within your war file or
using a reader servlet.
Yuval Perlov
www.r-u-on.com
On
Where ever you forward, that's what the address bar shows
On Jul 28, 2008, at 7:45 PM, nilanthan wrote:
Hi,
I have a website hosted on netfirms. I have a domain,exmaple,
mydomain.com
and it forwards to an address http:/xx.xx.xxx.xx:8080/folder1/
welcome.action
where xx is the ip of the se
You are right of course, silly me.
Is there a least a way to programatically add connectors at run time?
On May 21, 2008, at 1:31 PM, Peter Crowther wrote:
From: Yuval Perlov [mailto:[EMAIL PROTECTED]
Is anyone aware of a way to programatically decide which SSL
certificate to use?
I am
Hello All,
Is anyone aware of a way to programatically decide which SSL
certificate to use?
I am exploring the option of letting the user upload her own
certificate. Of course
I only want that user to use the newly uploaded certificate.
Any ideas are welcome...
Yuval Perlov
www.r-u-on.com
It is also affected by the compiler version.
It is most advisable to add serialVersionUID
Yuval Perlov
www.r-u-on.com
On May 17, 2008, at 7:16 AM, Dola Woolfe wrote:
Hi,
I get
java.io.InvalidClassException
when I send a serialized class from an application
launched by Eclipse to a JSP page
Did you check the Java heap?
What is the max heap defined.
It would be good to add gc logging.
Yuval Perlov
www.r-u-on.com
On May 16, 2008, at 6:38 AM, [EMAIL PROTECTED] wrote:
Hi,
We are running Tomcat 5.5 on a powerful VM Server. MS Sql Server is
also
on the VM. It is fronted by an
Use the £ to side step the issue. diff the old and the new page
to see what changed (something must have, right?)
On May 12, 2008, at 5:33 PM, Stephen Nelson-Smith wrote:
Hello,
On Mon, May 12, 2008 at 3:30 PM, Yuval Perlov <[EMAIL PROTECTED]> wrote:
Probably the encoding has c
Probably the encoding has changed
On May 12, 2008, at 5:15 PM, Stephen Nelson-Smith wrote:
I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my
code usually displays a British Pound sign, I get an odd char - a ? in
a diamond on Linux, an empty box on Windows.
Here's the html t
Perhaps you have some contention between the threads or intensive IO.
Can you elaborate a little about the servlet job? Time it takes, kind
of processing it does, etc.
Yuval Perlov
R-U-ON
On May 4, 2008, at 11:21 PM, Gilbert, Antoine wrote:
Hi
I have a 2x quad core (8 cpu units
Actually, I just checked some of our code and this:
">jsp:include>
works...
I think the problem is that you are do mix a string and a runtime
expression in a tag. These are not html tags - the variables are
passed to a function - it's all or nothing.
Try:
<% String path = "directory/"+fi
as not a GC
problem).
Hope this helps...
Yuval Perlov
R-U-ON
PS It is windows.
On Apr 30, 2008, at 4:37 PM, Larry Prikockis wrote:
Yuval Perlov wrote:
Out tomcat servers are handling around 30K SSL hits every 5 minutes
with very little effort (10% cpu average on a dual core machine,
go
<%
getServletContext().getRequestDispatcher(fileName).include(req,resp);
%>
On May 1, 2008, at 10:35 PM, Jonathan Mast wrote:
I know this not exactly a Tomcat issue, but thought someone could help.
Here is what I'm trying to do:
Dynamically include a file where the file name is dynamic. Neither
andle the load and we had to roll back
(quickly) to a tomcat only configuration.
Hope this helps...
Yuval Perlov
www.r-u-on.com
On Apr 28, 2008, at 6:27 PM, Larry Prikockis wrote:
I know the latest edition of the O'Reilly Tomcat book by Brittain and
Darwin strongly advocates
I am not sure this will encourage you but I've got the same setup and
it works. Is that the whole jsp and nothing but? is there any servlet
that does something before it?
To isolate, you might want to use curl or some other tool to issue
the post command.
Yuval Perlov
www.r-u-on.co
You should probably create a servlet that serves external files...
Yuval Perlov
www.r-u-on.com
On Mar 7, 2008, at 4:32 PM, Maffitt, David wrote:
I agree that that is the most likely response and that there are good
reasons why links are a bad idea. To counter that though, if that
were
This is what I use to make sure dynamic data is not cached:
resp.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
resp.setHeader("Cache-Control", "no-store, no-cache, must-
revalidate");
resp.addHeader("Cache-Control", "post-check=0, pre-check=0");
resp.setH
Maybe the browser is getting an old page from the cache?
Clear the browser cache and see if its better. Also, use a
System.out.println() and make sure what you are seeing on the browser
is what really happens on the server.
Yuval Perlov
www.r-u-on.com
On Feb 26, 2008, at 10:22 AM, Sascha
the session
and print it to the page. If the strings differ, tomcat is doing fine
and you should check where you mix the variables.
Yuval Perlov
http://www.r-u-on.com/
On Feb 26, 2008, at 5:58 AM, Sascha Monteiro wrote:
Hi,
I am struggeling with securing my pages where private data needs
On Jan 21, 2008, at 11:50 PM, Caldarale, Charles R wrote:
From: Yuval Perlov [mailto:[EMAIL PROTECTED]
Subject: ssl.SessionId Cache keeps growing
1. Any one has ever met this problem?
I haven't, but it's definitely an interesting one.
2. Is there anyway to access the ssl.Sessio
u which user is actually sending the request.
Yuval Perlov
www.r-u-on.com
On Jan 22, 2008, at 3:42 AM, Jonadan wrote:
IMHO, there isn't much you can do about once you use sessions. The
problem
with session is that there is no natural way telling that session is
ended
and can be discarded! S
connector (or, as a last resort to all connectors).
4. Does anyone know of a mechanism to flush all SoftReference or
limit their number?
5. Can you think of any other way to tackle this?
6. What were the guys in Sun thinking???
Thanks!
Yu
35 matches
Mail list logo