This is the snippet where the connectors are defined. It is identical
to my older development system and it's pretty much the Tomcat comes out
of the box (or the tarball):
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />
On 0
Please forgive my rather "dumb naivete" but what exactly is OpenEdit
supposed to be anyway? I don't believe that I have ever heard of it
before!!
Antonio F. Tornisiello wrote:
Hi,
I'm facing a very strange problem trying to install OpenEdit as a WAR
archive.
If I extract it under the main s
You need to call response.setHeader before calling chain.doFilter.
Otherwise, except for very small responses (like 304) Tomcat will have
already sent the headers to the browser before chain.doFilter returns.
What you are seeing in the Expires header for your 200 responses is Tomcat's
default v
If you want all your webapps to access the jar place ant.jar in your
$TOMCAT_HOME/shared/lib
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this e
I fingured it out - simply specify "executable" to be empty.
-Original Message-
From: YuanGao Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 6:09 PM
To: List, Tomcat Users
Subject: Help needed for TOMCAT CGI configuration: how to run an executable
binary/script cgi (not perl
I have a cgi written in c/c++, built into a binary executable, say
"myCpp.cgi".
I put it under webapps/ROOT/WEB-INF/cgi and then try "get
/cgi-bin/myCpp.cgi",
nothing happens.
It works if I use a perl script instead, say, "get /cgi-bin/myPerl.cgi".
I assume the actually command is "perl xx" so
Mark,
You seen to have located the problem :D
On the main server the option to unpack WAR files was set to true but
not in the virtual site section.
It seens to have solved my problem.
Thanks a lot :D
[]'s
Antonio
Mark Thomas wrote:
This is expected with a WAR file. It looks like the app exp
Download Tomcat Deployer and play with it. There is straightforward
documentation and example in the deployer.
Regards,
Hansen
-Original Message-
From: Raju Balugu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 09, 2006 11:42 PM
To: Tomcat Users List
Subject: Re: How to do the precom
Hi Rob,
I'm just curious to know how you manage to access your application
from port 8009 via browser while your Config shows :
worker.ajp13.port=8009
either you specified the wrong port number for the http connector or
you stated the wrong one.
AFAIK the port 8009 is used by mod_jk to communic
Rob Tanner wrote:
> Mark,
>
> The distinction does not appear to be the case. On my old development
> system which does work, I can go via apache or directly to port 8009 and
> they both work.
>
> -- Rob
For this to work, you can't be using port 8009 for the ajp connector
on your dev system. Ca
Rob-
If you have 2 servlets e.g.you have two tomcat running, listning Ajp12 on 10001
and 10002 ports:
Take a look at
/etc/httpd/conf/httpd.conf:
-
LoadModule jk_module /etc/httpd/libexec/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
Listen 8001
Por
Mark,
The distinction does not appear to be the case. On my old development
system which does work, I can go via apache or directly to port 8009 and
they both work.
-- Rob
Mark Thomas wrote:
Rob Tanner wrote:
Hi,
I'm building a new development system. I can access my applications
dir
THANKS, that URIencoding property of HTTP connector was source of GET
problems
I tried to remove filter after that, but POST requests stop working. So
ive instaled filter back.
Now I have working both GET and POST. Aleluja...
d.
Anyway its
On Mon, 14 Aug 2006 22:40:27 +0200, Mark Thomas
Antonio F. Tornisiello wrote:
> Hi,
>
> I'm facing a very strange problem trying to install OpenEdit as a WAR
> archive.
> If I extract it under the main server webapps directory, it works fine.
> But the application is for only one customer, so I need to get it
> working under a virtual website.
Rob Tanner wrote:
> Hi,
>
> I'm building a new development system. I can access my applications
> directly from my browser 0n port 8009, but not through Apache.
If it works through a browser you must have the connector configured
for http. You need to configure it for ajp for it to work with the
Hi,
I'm building a new development system. I can access my applications
directly from my browser 0n port 8009, but not through Apache. I'm have
j2sdk1.4.2_12 and apache-tomcat-4.1.32 installed. The version of Apache
is 2.0.54 (from the FC4 distro). I built the connector from the
tomcat-co
Hi,
I'm facing a very strange problem trying to install OpenEdit as a WAR
archive.
If I extract it under the main server webapps directory, it works fine.
But the application is for only one customer, so I need to get it
working under a virtual website.
It's a Windows box (Yes, I hate it too
Thanks a lot, Mark. That's the answer I was looking for.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 1:45 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5.17 rejects PUT request
Propes, Barry L wrote:
> I'll have to double check...maybe no
look in your tomcat log files, the answer will be in there
Filip
Patrick Wang wrote:
One more thing, I am invoking Tomcat only, no apache involved here by using URL
like
http://169.229.141.108:8080/
-Original Message-
From: Patrick Wang [mailto:[EMAIL PROTECTED]
Sent: Monday, Augu
One more thing, I am invoking Tomcat only, no apache involved here by using URL
like
http://169.229.141.108:8080/
-Original Message-
From: Patrick Wang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 3:00 PM
To: users@tomcat.apache.org
Subject: Tomcat 5.5.17 not displaying jsp
Hi,
I recently upgrade the TOMCAT from 5.0.28 to 5.5.17 and suddenly found out all
the .JSP page turns out blank page for my application.
So I did some investigation and found out
1) jsp-examples folders come with the TOMCAT 5.5 works perfect.
2) A simple page test.jsp not
yeah, that's what I meant. Sorry, I'm sure I explained it very poorly.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 4:03 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5.17 rejects PUT request
Propes, Barry L wrote:
> part of the HTTP spec,
Propes, Barry L wrote:
> part of the HTTP spec, but essentially it achieves what FTP would, doesn't
> it? i.e. putting files (binary or other to a directory?).
> Sorry if I'm mistaken on this. Not meaning to mislead or confuse.
The end result is the same but is is done over http rather than ftp.
part of the HTTP spec, but essentially it achieves what FTP would, doesn't it?
i.e. putting files (binary or other to a directory?).
Sorry if I'm mistaken on this. Not meaning to mislead or confuse.
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 20
Propes, Barry L wrote:
> I'll have to double check...maybe not, but I was thinking it did.
It most certainly does not. PUT is part of the HTTP spec and has
nothing to do with FTP.
Check conf/web.xml for the readonly parameter of the DefaultServlet.
Mark
-
dizzi wrote:
> Im not sure if this is problem of tomcat, but i think that its most
> probable.
Unlikely. I haven't seen a valid bug in this area for quite some time.
It is usually a combination of configuration (check the URIEncoding
property of your connector) and application errors. For a correc
>From looking for this error message with Google, it
appears that there is a problem with the manifest
information in your jar file.
Use the following two search items in Google:
java.io.IOException "invalid header field"
error in dependencycheck
What JDBC driver (DB and version), Tomcat version
Hi list,
we have a real, real odd behaviour when trying to modify the Expiry-Headers
.
I did the following:
I created a filter which is called every time my context is accessed. This
is the definition in web.xml of the application:
2 http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://ww
Forget about all the above, it doesn't work.
You will have to subclass the used Authenticator-Class (i.e.
org.apache.catalina.authenticator.FormAuthenticator), create a jar from it
and out this jar into server/lib of your Tomcat-Installation-directory.
Then you'll have to patch catalina.jar: Insi
> -Original Message-
> From: Matt Jibson [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 14, 2006 12:15 PM
> To: users@tomcat.apache.org
> Subject: JSP declarations persisting over page loads
>
> Using Tomcat 5.5.17 and a HTML of:
>
> <%! boolean processed = false; %>
> <%=processed%>
>
I get a very strange error when starting my web-app:
---
14.08.2006 18:38:25 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in dependencyCheck
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:393)
at java.util.jar.Ma
It may be ugly, but this comes to mind.
Map all requests to /admin* to your servlet.
Also setup the /admin* to be constrained.
Someone goes to http://www.yourserver.com/admin.
They must log in. Once logged in, all requests go to your servlet.
The servlet strips off the URL information and re
Using Tomcat 5.5.17 and a HTML of:
<%! boolean processed = false; %>
<%=processed%>
<% processed = !processed; %>
<%=processed%>
subsequent page loads will toggle the output. The first load is false,
true. Second true, false. Etc. This is reproducable in 5.0.28. Is this
expected behavior?
Hi,
I'm using Tomcat 4 through Apache to handle jsps etc and have Tomcat
configured to handle login.
Frequently, although I know the login supplied is correct, the login
page will either be redisplayed or the login error page if specified is
brought up. The second time it then takes it ok.
Is
Another on this list had the same problem. I'm starting to wonder if
Jasper has a problem loading non-traditional package names (ie those not
starting in java, javax, org, edu, com, etc., ...).
--David
Kathy Lo wrote:
Dear,
I encounter a strange problem.
I developed a web application usin
That was my guess initially, but there is no way of knowing that the
request the filter is given has been through the security...
Unless I'm wrong about this...?
Marc Farrow wrote:
My guess is that the easiest thing to do is to create a filter.
On 8/14/06, Eurig Jones <[EMAIL PROTECTED]> wr
Andrew Stepanenko wrote:
> hello,
>
> this issue has already been discussed before. Pls, search the archives.
> AFAIK, you need to put log4j JAR to $CATALINA_HOME/common/lib dir in
> addition to your WEB-INF/lib.
Adding log4j JAR to $CATALINA_HOME/common/lib just changed the error to
IllegalState
My guess is that the easiest thing to do is to create a filter.
On 8/14/06, Eurig Jones <[EMAIL PROTECTED]> wrote:
Hi, hopefully someone can help me...
My Secured area is /admin/* which requires the "administrator" role to
view.
If someone requests /admin/edit.faces, they are prompted with a
Hi, hopefully someone can help me...
My Secured area is /admin/* which requires the "administrator" role to view.
If someone requests /admin/edit.faces, they are prompted with a login
prompt as expected. If they login correctly they'll proceed to
/admin/edit.faces
What I want to do is forwar
hello,
this issue has already been discussed before. Pls, search the archives.
AFAIK, you need to put log4j JAR to $CATALINA_HOME/common/lib dir in
addition to your WEB-INF/lib.
Regards.
Andrew Stepanenko
On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
When I try to reload an application
When I try to reload an application in Tomcat, I get the following error:
log4j:ERROR Error occured while converting date.
java.lang.NullPointerException: null array passed into arraycopy
at
java.lang.System.arraycopy(Ljava.lang.Object;ILjava.lang.Object;II)V(Unknown
Source)
at
java.lang.A
All who can help,
I am having a problem getting Tomcat to time the
session out.
The setup:
Tomcat 5.5.9 running on Slackware using Java
5.
The issue:
We have two general classes of users: Administrator
types who need a long session timeout and casual users who need a very short
tim
Dear,
I encounter a strange problem.
I developed a web application using tomcat 5.5.17 and jdk-1.5.0_06 in
Linux Fedora Core 4.
I wrote some JSP files in the following directory structure
/usr/apache-tomcat-5.5.17/webapps/test/index.jsp
/usr/apache-tomcat-5.5.17/webapps/test/error/get_ref_fail
Session relate one-to-one with clients (more or less -- arguments can be
made that a client can have more than one session). Threads on the
other hand are just workers that process requests with no affinity
towards any particular session.
--David
Tomcat wrote:
Hello
what is the difference
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear anonymous
You may want to invest a few dollars and buy yourself this book...
http://www.oreilly.com/catalog/headservletsjsp/
Regards
Andrew
On 14/08/2006, at 2:40 PM, Tomcat wrote:
Hello
what is the difference between thread and session
Hello
what is the difference between thread and session in tomcat ?
I was thinking that they are the same, but in server setting of tomcat
manager
it shows different thread number to session number in application list.
Thanks for help
---
Peter
Horizontal scaling specifically Clustered solutions will address the need--
"Vertical scaling is achieved by increasing the number of servers running on a
single machine, whereas horizontal scaling is done by increasing the number of
machines in the cluster
Horizontal scaling is more reli
Hi,
tomcat versionfiltered=apache-tomcat-5.5.16
jdk version = java version 1.5.0_07
I am having issues shutting down tomcat 5
When I execute shutdown.bat the server stops and I can no longer deploy
applications but the tomcat console stays open and tha java.exe process stays
a
> From: Eickvonder Bjoern [mailto:[EMAIL PROTECTED]
> Is the following formula correct?
>
> (response time if 100% CPU would have been granted for the request) /
> (percentage of CPU actually granted) = response time
No. If CPU was the only resource, and thread switches were free, then
this wou
49 matches
Mail list logo