In the meanhile I would strongly suggest you run locally so you can control
the environment-
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email m
maybe you should look at existing tools first?
http://www.lambdaprobe.org/d/index.htm
regards
leon
On 6/12/06, Peter Neu <[EMAIL PROTECTED]> wrote:
Hello,
I want to build a small custom reporting tool for our tomcat production
server.
First of all is this the right place to ask about this ki
Yes, I am using this already. But there is some vital functionality missing.
When an java.lang.outOf.MemoryException happens I won't get an alert unless
I happen to be using lambda at the moment. So what we have at hand is a
'Schrödinger Cat' situation.
I need to monitor the jmx control layer an
I'm not sure that after something "bad" happens you can access the
server at all. An OutOfMemory or an AllThreadsBusy Exception normally
lead to a non-responding tomcat. The best thing you could do is
monitoring the logs with a separate script on the same machine and
send mails on failure imho.
r
Thanks for all your help and I have gotten it to work. It seems to be,
however, dependant on the name it is being access by. I was hoping that I
could just put 127.0.0.1 in there and then it would only accept connections
from the local machine. It turns out that doing this only accepts
connectio
You are right Leon. I just did a field test on our test server. The perm gen
space is relatively small on that machine. So opened a lot sessions and
did a lot of XSLT/FOP/Excel generation.
Thus the perm gen space was spent very fast. I monitored this with lambda.
In the end the server did not resp
I think the address tag will accept a regular expression. So you could put
a negative 127.0.01 address entry in there. I am not good at regular
expressions so google them.
On 6/12/06, Mark Claassen <[EMAIL PROTECTED]> wrote:
Thanks for all your help and I have gotten it to work. It seems to
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Say Tomcat is on a machine called TestMachine.
> If I put "127.0.0.1" in the address field, it accepts
> connections of the
> form "http: //127.0.0.1/..." only
> It does not accept connections from "http:
> //TestMachine/...", even though
> the s
@Mark,
as Peter wrote, have a look in /etc/hosts.
It probably looks like
127.0.0.1 localhost
192.168.0.2 testmachine.domain.com testmachine
You should change this to
127.0.0.1 localhost testmachine
192.168.0.2 testmachine.domain.com
Just be careful if you are using Solar
I think you need a multilayer system :-)
1) a http-client app which simply calls the same simple servlet
(simply writing "available" in the response or something like this)
each 10 seconds and check if the server replies at all.
2) monitor cpu load on the machine. If the idle time is 100% the
to
We do have something similar to your first example.
> 127.0.0.1 localhost
> 192.168.0.2 testmachine.domain.com testmachine
So we can probably move testmachine like you did. But does this mean that
accesses by "testmachine.domain.com" will not comply?
I was just hoping that the restrictio
Thanks, I think this answers my questions
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 9:08 AM
To: Tomcat Users List
Subject: RE: Restricting access to localhost for an HTTP connector - Email
has different SMTP TO: and MIME TO: fields in t
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> I was just hoping that the restriction would be based on some
> intrinsic information and not just on the name that was used.
It *is* based on the intrinsic information: the IP address to which the
socket is bound.
Repeat after me: "A Hostname I
The configuration in the connector is so that java know on which
interface to 'BIND' to on the machine.
Do a
netstat -anp |grep LISTEN
on your machine. This shows which interface which processes are bound
to.
The only process (generally speaking) that can connect to 127.0.0.1
is
--- Begin Message ---
Hi,
Is it possible to run multiple instances of Jboss Server on a single win2k box?
Thanks
Sanjeev
<>--- End Message ---
DISCLAIMER:
---
The contents of th
It is restricted based on IP, not name. The name you give in the
browser is resolved to an IP address via host file and/or DNS before
making the request.
What you really seem to be looking for is the remote address valve which
allows/denies access based on the client's IP address. See
http:
Glenn Holliday wrote on May 30
>
> Tomcat 5.0.28 on Solaris 9 has been correctly serving Web apps
> using both http and https. Then, after the Sun computer was
> shut down and restarted, Tomcat failed to serve https requests.
> It appears it could not initialize the https connector.
> It continues
unfortunately you can't do both, its either or
Filip
David Ron wrote:
Hey
everybody,
I would like to configure Tomcat for both session replication
across
> 3 servers and database session persistence. The database
persistence
lags several seconds which is why I don't think that
greetings,
i go into the web-based admin tool, click localhost, create a new context,
type in the stuff, and save it. it says save successful. the context appears
under the "localhost". i click commit changes. the context is still there.
if i stop/start tomcat, the context is gone.
is that
I am trying to find a memory leak in our web application.
I have set JProfiler up to take a heap snapshot upon every entry and exit of
a screen in our web application; This is because upon entry of a screen, we
write data to the user session, and upon exit we remove data from the user
session. The
> From: John McClain [mailto:[EMAIL PROTECTED]
> If it is not in user session memory, then can I
> assume it is a Tomcat memory leak???
No. Consider, for example, retained memory in third-party libraries
that you use and singletons you may instantiate.
- Peter
-
Also look at the memory useage of your servlet code, jsps, etc., ...
Take a look at the objects you create and see if they are being
dereferenced as you'd expect. Tomcat recycles certain instance objects
(like servlets) instead of creating/destroying them per requests for
performance reasons.
--- "Sanjeev Kumar Bhat, Noida" <[EMAIL PROTECTED]> wrote:
> Is it possible to run multiple instances of Jboss
> Server on a single win2k box?
>
> Thanks
>
> Sanjeev
>
Yes.
You should use server/service-bindings.xml to
orchestrate
port # assignment.
-Bob
Hello,
I am trying to discover the differences between these two protocols (AJP
and JNI) when using the Jakarta Connector with Apache HTTPD and Tomcat.
Any information on the difference between these two and what scenarios
work best with each is greatly appreciated.
Thanks,
Brad Mann
Software En
On 6/10/06, hv @ Fashion Content <[EMAIL PROTECTED]> wrote:
I had an incident on my server the other day where someone had succesfully
broken into the server to execute a port scanner.
The port scanner was running under the tomcat process so I assume the
breakin was done by getting through the T
I have the following lines in my source file:
<%@ taglib prefix="mp" uri="com.mintpixels.web.helper" %>
[snip]
When I run the jsp, I get the following errors:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 69 in the jsp file: /free_home_valuation
It looks like it's generating the following function:
private boolean _jspx_meth_mp_dynselect_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// mp:dynselect
com.mintpixels.web.h
Mann, Bradley wrote:
Hello,
I am trying to discover the differences between these two protocols (AJP
and JNI) when using the Jakarta Connector with Apache HTTPD and Tomcat.
Any information on the difference between these two and what scenarios
work best with each is greatly appreciated.
Chalk
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Hi,
I'm trying to install Tomcat on one our department servers. I've
already un-tared the tomcat distribution into folder
/opt/research/apache-tomcat-5.5.17. Accordingly, my CATALINA_HOME
variable is set to /opt/research/apache-tomcat-5.5.17 and JAVA_HOME
variable is set to /usr/local/java/
omkar tilak wrote:
Take a look at /opt/research/apache-tomcat-5.5.17/logs/catalina.out for
errors.
--David
Hi,
I'm trying to install Tomcat on one our department servers. I've
already un-tared the tomcat distribution into folder
/opt/research/apache-tomcat-5.5.17. Accordingly, my CATALINA
When I click on that link, I get an error that looks nothing like a
tomcat error - something else is running on port 8080, so you have 2
options:
1) Edit $CATALINA_HOME/conf/server.xml to run on another port
-or-
2) Kill (or reconfigure) the other app listening on port 8080
Larry
On 6/12/06,
Thanks a lot Larry :) it works now .
Larry Meadors <[EMAIL PROTECTED]> wrote: When I click on that link, I get an
error that looks nothing like a
tomcat error - something else is running on port 8080, so you have 2
options:
1) Edit $CATALINA_HOME/conf/server.xml to run on another port
-or
Thanks a lot David it works now !!
David Smith <[EMAIL PROTECTED]> wrote: omkar tilak wrote:
Take a look at /opt/research/apache-tomcat-5.5.17/logs/catalina.out for
errors.
--David
>Hi,
> I'm trying to install Tomcat on one our department servers. I've
>already un-tared the tomcat distr
34 matches
Mail list logo