Hi,
I'm trying to block external access to port 8009 (AJP13), as only my local host
really needs to be able to talk to it.
I'm wondering if there are any internal/mod_jk mechanisms for that, or if
iptables is the best option.
I have tried iptables, which did block external requests, but it also
OK, first I'll point out that I'm pretty new to Tomcat myself
> workers.properties.minimal:
Is jk even using this config file? Normally it would use workers.properties
unless it was configured otherwise.
> [Mon Feb 13 07:56:49 2006] [info] jk_ajp_common.c (1248):
> Error connecting
> to th
hi,
When i add a Context in the server.xml, an error occurs:
Apache Tomcat/4.1.31
Catalina.start: LifecycleException: Context startup failed due to previous
errors
LifecycleException: Context startup failed due to previous errors
at
org.apache.catalina.core.StandardContext.start(Sta
Hello:
Hello:
Can u tell how to prevent browser or webserver using persistent connection ?
thanks and regards,
-- Kannan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 9:58 PM
To: Tomcat Users List
Subject: RE: No of concurrent req
I've solved part of the problem... or at least made it less
complicated (I hope). The ClassNotFound exception mentioned at the
bottom is due to the jackrabbit jars being located in server/lib as
opposed to common/lib. I'd placed them in server lib on the advice of
someone more familiar with
Hello:
Thanking everyone for words of wisdom ..
I checked with firefox 1.0.7 also. It is also showing the same behaviour as
with IE.
thanks and regards,
-- Kannan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 9:58 PM
To: Tomcat Us
Yes, i've got similar setup .
We might end up setting up ssh tunnelling as well.
Kind regards,
Sasha.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 14 February 2006 8:18 AM
To: Tomcat Users List
Subject: Re: Encrypting ajp13 traffic
While I can't sp
Hi;
Still having problems. I think among other issues, it is forwarding for
pages it should not forward on. This is using the new version Mark Thomas
created.
uriworkermap.properties:
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet
Dear tomcat internals experts;
I'm taking a shot at prototyping a new method (yet untested) within
org.apache.cataline.authenticator.AuthenticatorBase:
public void doLogin(HttpServletRequest request, HttpServletResponse
response, Principal principal)
{
register(((CoyoteRequestFacade)reques
http://www.google.com/search?hl=en&q=j2ee+versus+php
http://www.google.com/search?hl=en&lr=&q=%22j2ee+or+php
.
.
.
-Original Message-
From: Iosev Perez Rivero [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 10:43 PM
To: Tomcat Users List
Subject: ask a comparison between J2EE a
I have a 2K3 Server on our intranet running Trend InterScan Messaging
Security Suite which uses Apache Tomcat.
I can access this app on the server through http://localhost:8447/ just
fine.
But when we try to access this app through a client connected to the 2k3s,
we get a blank page with no
My apology, but I need one hard comparison between J2EE and PHP for development
of Enterprise SYSTEMS.
Please, this is very important.
Thanks.
Iósev Pérez Rivero
Estudiante 4to. Año
Universidad de las Ciencias Informáticas
-
T
I'm running Tomcat 5.5.9 with JVM 1.5.0_05-83 on MacOS X 10.4.4. I'm
trying to build an example webapp that shows the configuration for
two Jackrabbit resources: one configured as an embedded resource for
that web app and another configured as a shared resource for the
entire host. I've tri
How do I loading data in tree model from database
table by Java?
1) ReadData(Result); read following table;
table structure:
id msg child
1 msg1 0
2 msg2 1
3 msg3 2
2) ViewTree(); print following tree;
Tree View:
msg1
msg2
msg3
Please help me solve it.
_
Sebastian-
Sorry Im just a portal developer and not a Super User 'sudo' guy
Im used to sticking environment variables into .profile or .bashrc files or
execute at home/$USER as . .profile
Thanks,
Martin-
603-438-6038
- Original Message -
From: "Sebastian Funk" <[EMAIL PROTECTED]>
To
ok, thanks a lot!
Best Regards.
jacky
- Original Message -
From: "Duan, Nick" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, February 14, 2006 12:21 AM
Subject: RE: jdbc context
Well, I guess it was my mistake. In Tomcat 5.5 you will be able to
define
Hello:
I am running Apache 1.3 on a Linux box and when I try to configure
the JK 1.2.15 connectors, I do these commands:
cd /usr/local/jakarta-tomcat-connectors-1.2.15-src/jk/native
./configure --with-apxs=/usr/sbin/apxs
I get this error:
could not find /usr/sbin/apxs
configure: error: You must
> -Original Message-
> From: Len Popp [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 13, 2006 2:32 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: Example of Flaky Problems with Microsoft Products
>
> >From the documentation of the ResultSet interface:
> "For maximum port
because some distribution like debian only offer FREE and OPEN SOURCE
software, which Sun's JDK is not...
regards
Leon
On 2/13/06, Antony Riley <[EMAIL PROTECTED]> wrote:
> try as root:
>
> rpm -e `rpm -q -f /usr/bin/javac`
>
> Or something like that.
>
> Basically uninstall which ever pitiful ex
On 2/13/06, Reinhard Moosauer <[EMAIL PROTECTED]> wrote:
> Hi List,
>
> it seemed clear to me, that this construct:
>
>
> ... (some inner logic)
>
>
> should be equivalent to this one:
>
> <%
> for (Iterator it=t.getRecords(); it.hasNext(); ) {
> String x = (String)it.next();
>
try as root:
rpm -e `rpm -q -f /usr/bin/javac`
Or something like that.
Basically uninstall which ever pitiful excuse for java is installed on your
system by default leaving only the sun jdk.
Probably a good idea to check that nothing needs it before you do it.
On that note, why do certain linu
On 2/13/06, Wade Chandler <[EMAIL PROTECTED]> wrote:
> --- Rhino <[EMAIL PROTECTED]> wrote:
>
> >
> > - Original Message -
> > From: "George Sexton" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'"
> > Sent: Monday, February 13, 2006 1:00 PM
> > Subject: OT: Example of Flaky Problems with
While I can't speak for the O.P., I have had need for this myself once
upon a time.
Consider a setup where the content has to be secured via SSL and
communication to/from the tomcat is over untrusted infrastructure SSL
can't be proxied, so there is a need for the AJP/13 communication to be
e
i ending up modifying the startup to include
-Dfile.encoding=ISO-8859-1
On 2/13/06, Pulkit Singhal <[EMAIL PROTECTED]> wrote:
> Hi
>
> I think there were a few posts earlier regarding consistent UTF-8 encoding
> in tomcat.
> If I remember correctly, this was resolved by setting some flags in a fe
Ron Day
Is there a way to have autodeploy="true", but inhibit a redeploy when
only the web.xml is changed.
I'm using 5.0.28 not 5.5 so I do not have a context.xml file with
WatchedResources.
Thanks
Ron Day
-
To unsubscribe, e
--- Rhino <[EMAIL PROTECTED]> wrote:
>
> - Original Message -
> From: "George Sexton" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'"
> Sent: Monday, February 13, 2006 1:00 PM
> Subject: OT: Example of Flaky Problems with
> Microsoft Products
>
>
> > In another thread I commented on s
I've never ran into this problem in PostgreSQL. Note that its also dependent
upon the presence of a BLOB.
So, if someone adds a field to your table, BANG! Your application will start
dying.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
Hi
I think there were a few posts earlier regarding consistent UTF-8 encoding
in tomcat.
If I remember correctly, this was resolved by setting some flags in a few
files. I know I'm being awfully vague :( but I know its there.
Cheers,
- Pulkit
On 2/7/06, Randy Paries <[EMAIL PROTECTED]> wrote:
>
That has not been my experience. We use Opta2000 drivers with MS SQL Server and
we can read columns in any order and any number of times within the same row.
Earnie!
-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 3:06 PM
To: Tomcat Users List
Sub
Akoulov, Alexandre wrote:
> I am wondering if there is a way encrypt the traffic between apache and
> tomcat when they talk to each other on ajp13.
Why do you want to do this? What requirement are you trying to meet /
security threat are you trying to mitigate?
Mark
---
- Original Message -
From: "George Sexton" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Monday, February 13, 2006 1:00 PM
Subject: OT: Example of Flaky Problems with Microsoft Products
In another thread I commented on strange behaviors when dealing with MS
Products, and the t
Hi List,
it seemed clear to me, that this construct:
... (some inner logic)
should be equivalent to this one:
<%
for (Iterator it=t.getRecords(); it.hasNext(); ) {
String x = (String)it.next();
%>
... (some inner logic)
<% }
%>
But the forEach-version is not wor
Hi,
On Feb 13, 2006, at 5:56 PM, Caldarale, Charles R wrote:
From: Sebastian Funk [mailto:[EMAIL PROTECTED]
Subject: Re: java.lang.Object cannot be resolved
No, simple "javac Hello.java" doesn't work. Only if I set $CLASSPATH
to "/usr/lib/jdk/jre/lib/rt.jar" or with the -cp-option.
Then your
Manuel Nicolas Ortuño wrote:
JkMount /jsps/servlet/* ajp13
JkMount /jsps/*.jsp ajp13
#--
But i get the same result:
http:///jsps/page.jsp <-- not password needed
http:///jsps/page.js <-- password needed
You have any idea?
Since mod_jk mounts 'virtual' address space, unless
Thank you for your help.
I have other Server.
This server have apache 2.0.46 and httpd -l are:
core.c
prefork.c
http_core.c
mod_so.c
I switch the order of LoadModule
#--
LoadModule jk_module modules/mod_jk.so
LoadModule access_module modules/mod_access.so
LoadModule auth_mod
Sebastian Himberger wrote:
Hi,
a week ago i posted a question regarding my problem installing Tomcat as
a windows service. Before i'll try again to get it work it would be nice
if anybody could just give me a sign if he or she has installed Tomcat
(5.5) successfully using StartMode=java or S
In another thread I commented on strange behaviors when dealing with MS
Products, and the time that they eat in projects. Here is an example:
http://support.microsoft.com/default.aspx?scid=kb;en-us;824106
"For any row in the ResultSet, you can read any column from left to right,
and each column s
I run tomcat 5.5.12 as a service on Win2K (not 2k3), but don't know what
mode it is in. How do I find that?
Sebastian Himberger wrote:
Hi,
a week ago i posted a question regarding my problem installing Tomcat
as a windows service. Before i'll try again to get it work it would be
nice if
Hi,
a week ago i posted a question regarding my problem installing Tomcat as
a windows service. Before i'll try again to get it work it would be nice
if anybody could just give me a sign if he or she has installed Tomcat
(5.5) successfully using StartMode=java or StartMode=exe on as a Windows
> From: Sebastian Funk [mailto:[EMAIL PROTECTED]
> Subject: Re: java.lang.Object cannot be resolved
>
> No, simple "javac Hello.java" doesn't work. Only if I set $CLASSPATH
> to "/usr/lib/jdk/jre/lib/rt.jar" or with the -cp-option.
Then your JDK installation is broken. Where is javac being exe
Hello,
I am running apache-tomcat-5.5.15
I start tomcat under the user apache
what concerns me is that when i look at my logs in $TOMCAT/logs
the catalina logs (currently and rotated) are owned by apache,
But the admin, host-manager and manager rotated logs are owned by root.
Does this mean these
> From: Abhilash Kumar [mailto:[EMAIL PROTECTED]
> Subject: No of concurrent requests per session
>
> I am using Tomcat 5.0.30 with HTTP 1.1 Connector. If I try
> to make a third request while two other request's (which i
> have already made) responses have not yet arrived, then
> Tomcat is n
I suspect the problem relates to pipelining of HTTP 1.1 requests over a
single persistent TCP connection. Pipelining is intended to improve
efficiency, allowing the need for multiple images to present a web page be
expressed to a web server one after another, before any of the responses
are
Well, I guess it was my mistake. In Tomcat 5.5 you will be able to
define the context information within each web app, by creating a
context.xml in your war file, and the corresponding resource-ref in
web.xml. Apparently this is not available in tomcat 4.1
I guess there are two options you may c
You might use JNDI in a way that's not tied to the servlet engine. This could
seperate it from the servlet engine altogether, maybe LDAP or something.
Hadraba Petr <[EMAIL PROTECTED]> wrote: Hi,
maybe helps this, but it's working on Tomcat 5.5.15:-(
http://mail-archives.apache.org/mod_mbox/t
Hi,
maybe helps this, but it's working on Tomcat 5.5.15:-(
http://mail-archives.apache.org/mod_mbox/tomcat-users/200602.mbox/[EMAIL
PROTECTED]
PETR
On 2/13/06, chen jacky <[EMAIL PROTECTED]> wrote:
> hi,
> Do you mean add the following code in the web.xml?
>
> DB Connection
> j
When this error happens, are you able to issue the command
1. to see if tomcat is listening,
netstat -na |grep 8009 |grep LISTEN
2. if yes, try to connect to the socket
"telnet localhost 8009"
on the box you see the error, this will tell you if the server socket is
alright.
Fillip
Randy Pa
Another option would be to create your own proxies that do
encryption/decryption on both ends (apache and tomcat). It should be
quite straightforward if using JSSE. Or if simple encryption is
sufficient (SSL is quite expensive in terms of performance), apply your
own symmetric encryption algorith
Filip
The Both the apache and tomcat are on the same server and the
workers.properties connects via localhost
Thanks
On 2/13/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> Hi Randy, if Apache cannot talk to Tomcat, then its not because of the
> clustering. The first error in catalina.o
Hi Randy, if Apache cannot talk to Tomcat, then its not because of the
clustering. The first error in catalina.out, is just a result of
replication keep alive sessions getting closed, I will fix the code that
generates that error so that it doesn't log as an error.
do you have a firewall or any
hi,
Do you mean add the following code in the web.xml?
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
But this still need to add the jdbc config in the server.xml,right?
Can you give me some suggestions?
From: "Duan, Nick" <[EMAIL PROTECTED]>
Reply-To: "Tomcat
I'm guessing this is more of a browser issue. If you're using IE, I seem to
recall there is a registry entry that lets you set the maximum concurrent
requests.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Abhilash Kumar [ma
Thanks for your help
I already have localhost set in my workers.properties file
Randy
On 2/13/06, Antony Riley <[EMAIL PROTECTED]> wrote:
> I thought you said tomcat ran on 3 different boxes and it was a cluster ?
>
> java.io.IOException: Connection reset by peer
>
> This means that the tcp con
I thought you said tomcat ran on 3 different boxes and it was a cluster ?
java.io.IOException: Connection reset by peer
This means that the tcp connection was severed somehow, this is typically
caused by a firewall dropping idle TCP connections, or someone unplugging a
network cable, or someone r
i am the IT, the admin everything. I am a small business owner and i
do everything.
the apache server and tomcat are on the same box, and there is no
firewall involved
Is there something that is cluing you into the network problem?
Something i should look for?
Thanks
Randy
On 2/13/06, Duan, N
You should be able to add the context info in your web.xml file. In
other words, instead of making the JDBC resource available to all web
apps, you make it only to particular applications. If this JDBC
connection is only used by the workflow web app, defining it in web.xml
is actually preferred.
It looks like a network problem to me. Is there any firewall between
the apache and your tomcat server? Or did your IT dept reconfigure the
network recently?
ND
-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 9:27 AM
To: Tomcat Users List
Anonymous authentication is an additional feature that you need to create in
your web application. It doesn't come by default in any app servers. So there
is no need to disable it when configuring Tomcat.
There is a good article in JavaWorld discussing about anonymous authentication
in J2EE.
First off, thank you.
Second, if there is someone who knows isapi_redir very very well, I would be
happy to rewrite the docs for it if I can ask him/her questions so I can get
all of it fully documented.
Thanks - dave
David Thielen
www.windwardreports.com
303-499-2544
-Original Message---
:)
Should be
worker.ajp13w.cachesize=100
> -Original Message-
> From: David Thielen [mailto:[EMAIL PROTECTED]
> Sent: 13 February 2006 15:16
> To: 'Tomcat Users List'
> Subject: RE: Desperate for help with isapi_redirect.dll
>
>
> worker.properties.minimal:
> worker.list=ajp13w
> wor
Hiya David,
You have a typo (forgot a "w") in the cachesize line of your
worker.properties...
> worker.ajp13w.cachesize=100
Should fix most of y'r problems :)
Greetz,
Paul Hamer
management & development
[EMAIL PROTECTED]
toHAVE websolutions
www.tohave.nl
[EMAIL PROTECTED]
> -Original Me
hello,
I am running apache-tomcat-5.5.15 on three boxes 2 rh9 and one fedora
4. and they are clustered together
I am seeing problems where apache can not longer talk to tomcat.
if anyone can point me on how to debug this please help, i am not sure
what else i should include as far a conf setups,
worker.properties.minimal:
worker.list=ajp13w
worker.ajp13.cachesize=100
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
uriworkermap.properties:
/store/*=ajp13w
/store=ajp13w
/track/*=ajp13w
/forums/*=ajp13w
/forums=ajp13w
/WindwardReportsServlet/*=ajp13w
/WindwardRe
Hello:
I am using Tomcat 5.0.30 with HTTP 1.1 Connector. If I try to make a third
request while two other request's (which i have already made) responses have
not yet arrived, then Tomcat is not serving the request until one of the
pending response arrives. This limits me to only two pending r
While you're at it, you could add "and must not contain the . character"
(and any other illegal ones... I had a bear of a time figuring that out a
few years ago when I chose the FQDN of the machine for the jvmRoute!)
Tim
-Original Message-
From: Fred K [mailto:[EMAIL PROTECTED]
Sent: Sun
Hi,
Do you really need sudo here? Perhaps that's creating some issues.
doesn't seem so. I get exactly the same error in my home directory.
What happens if you try to compile a simple "Hello World" program,
without anything specified for -cp? (Try it with and without sudo to
see if that make
You might consider the necessity of using port 8080 as well - client-side
firewalls might block it, it is non-standard, and probably hard-coded
everywhere along side the IP address. You can run Tomcat on port 80 (see
the archives of this list--it has been discussed recently), or front with
httpd (
hi,
I have deploy a workflow webapp in Tomcat4.1.31. First time, i add the
following code in server.xml:
maxActive
100
maxIdle
30
maxWait
15000
removeAbandoned
true
On Mon, 2006-02-13 at 00:37 -0800, Ian Shafer wrote:
> What do I need to look out for in getting this to perform better? I
> tried the max=XXX configuration at the end of my ProxyPass line, but
> that didn't help. Any thoughts?
What about your Apache keepalivetimeout? Shorter timeout should fr
David Thielen wrote:
Hello;
Ok, I upped the cachesize and now have a new problem
worker for name ajp13
[Sun Feb 12 15:29:22 2006] [error] jk_isapi_plugin.c (1049): could not get a
worker for name ajp13
Post your workers.properties file.
Regards,
Mladen.
Hi David,
> First, it seems to not write all of the log entries. The
> final line is:
> [Sun Feb 12 21:14:08 2006] [warn] jk_uri_worker_map.c (42
This, I think, is normal. The logentries appear to be cached, and may
therefore seem incomplete at any given time. Just wait a couple of minutes
and
Hi,
I have a question about the security issue that I have to cover of my
server.
I have web service which runs on Tomcat 5.5 with SSL ...
I have installed all the SSL system on the server and it works fine,
however as a little advance subject,
I have to recover some security issues,...
the
Hello,
I just started using Apache 2.2 and mod_proxy_ajp with Tomcat 5.0.28
on OS X 10.4.4. I'm doing some load testing on this configuration and
am getting some pretty dismal results. My load test consists of 10
clients each sending about 150 HTTP GETs for images that are about 6K
each.
73 matches
Mail list logo