I would have responded sooner, but I've been to busy banging my head against
my desk.. :-)
Much easier indeed, and better.. thanks for the heads up! I wish I had
posted this question earlier..
I understand that it's hard to keep documentation up-to-the-minute on every
change, but this seems
RTFM: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
"keyur sheth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi everybody,
>
> I am trying to convert the tomcat container from http
> to https. But I want to do it by installing the trusted certifica
It would have been easier to change server.xml, to something like:
"brian bay" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> SOLVED!
>
> Well since no one else seems to care about ldap authentication and user
> roles, I guess I'll reply to myself..
>
> Apparently backwards co
I have this working with tomcat 5.5.17 and apache2, jk1
You need mod_jk.so in apache/modules..for me
/usr/lib/apache2/modules/mod_jk.so
In apache home ---create workers.properties
workers.tomcat.home=/path/to/tomcat
ps=/
workers.list=worker1
worker.ajp13.type=ajp13
worker.ajp13.host=whatever.wh
I am moving to jk (1.2.18) from jk2 & am having problems with the
workers.properties file. I have separate apache and tomcat servers. Here is
my working jk2 (workers2.properties) config:
[logger]
level=ERROR
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0
[uriMap:]
info=M
1) I am pretty sure that you can specify the alias that you want your tomcat
"connector" (https in this case) to use in the server.xml file so you don't
HAVE to name your alias "tomcat" it can be whatever you want
2) I am pretty sure you don't need to have your CSR in your keystore for any
SSL fun
David Cotter wrote:
This turns out to be because I call session.invalidate() and then
request.getSession(true). I don't have to do this so it's fine. Don't know
if two JSESSIONIDs is valid behaviour.
In the case of the sample quoted the new one will just overwrite it.
There are a few minor pro
SOLVED!
Well since no one else seems to care about ldap authentication and user
roles, I guess I'll reply to myself..
Apparently backwards compatiblity is built into the source code for tomcat.
To work around the problem of * you need to got and
grab the tomcat source code, not the binaries..
it is a mod_jk issue, it uses permanent connections, that is how it was
designed. setting MaxRequestsPerClient to 1, will kill the child, hence
kill the mod_jk connection, this way, you can have
maxProcessors
Filip
Edoardo Causarano wrote:
Using mpm_worker gave less impressive results; I'd sa
in the server.xml file, (in the conf dir) see if you have a line like this:
port=8080 is where you configure it.
-Original Message-
From: Jim Weir [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 2:59 PM
To: users@tomcat.apache.org
Subject: Apache 80 Tomcat 8080
jakarta-tomcat-5.0.18 running on Solaris 8 Sparc
I have CGI turned on http://ir13.accuvoice.com/cgi-bin/test-cgi works fine
However passing a parameter bombs
http://ir13.accuvoice.com/cgi-bin/test-cgi?xyq=pdq
Throws a HTTP 500 page with the following tomcat log.
2006-09-01 14:36:33 Standar
I can broswe my html site with www.myhtml.com..
I can't get to my Tomcat deployed webapps without adding 8080 on the end,
This is my workers.properties entry,
[uri:/mysite/*]
info=MySite.org
...http-vhosts.conf entry,
Options Indexes FollowSymLinks
AllowOverride None
Order al
Using mpm_worker gave less impressive results; I'd say about 1/2, a
much worse load average (way more than 5), and lots of swap. Seems
like prefork works better on linux and I'm surprised. Anyway,
assuming that I got the maxProcessors wrong I should have seen queues
building up @ 150*4 inst
Hi,
Fred I forget to say at the post that I use it (JkOptions +FlushPackets) at my
httpd.conf and it "fix" the flush call, but don't get a exception only when I
shutdown the container. I found this post of another person about the same
problem (http://threebit.net/mail-archive/tomcat-users/msg0
since you are using prefork, you must set cachesize=1 for your
workers.properties file.
However, you have 4096 MaxClients, in order to serve this up in tomcat,
your JK connector should have maxProcessors="4096".
An alternative, and safe solution, although much less performance, is to
set "MaxReq
Hello List,
scenario:
- 4 node tc 5.0.28 vertical cluster ( :-| same server... still
testing, but it could have been 8) listening on ajp
protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
redirectPort="8443">
- 1 httpd 2.0.52 with mod_ajp 1.2.15 an
you have to take the command line and cram it into one .bat file to start, then
make that .bat file a service.
-Original Message-
From: Anca Barbuc [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 1:41 PM
To: users@tomcat.apache.org
Subject: Tomcat as a Service
Hi,
I am h
I would suggest you use
http://people.apache.org/~fhanik/wrapper.html
with that kit, comes a script called TomcatService.bat, this is the same
as you would have started it as a service and you can troubleshoot.
This also lets you control a few more options and settings, as well as
generate thre
Hi,
I am having a problem with starting Tomcat as a service.
Here are some of the details of the environment:
Tomcat 5
OS: MS Windows Server 2003 SP 1
Ram: 960
JDK: jdk1.5.0_07
If i start it manually with the starttom.bat it works.
If I go and try servic
i think you need this in your httpd.conf mod_jk related configuration
section:
JkOptions +FlushPackets
Rgds, Fred
Marcio Camurati wrote:
>
> Hi everyone,
>
> We have a application that run at the Tomcat container. This application
> was made at the Tomcat 4.1 using the Mod_jk 1.2.12 with th
I recently upgraded from tomcat 5.0.28 to 5.5.17. I have security set up
on all my apps to allow any user that can authenticate against ldap access
to the application
So in 5.0.28, I defined * to allow all role
names. In 5.5.17 the behavior changes on the role-name attribute, and
appar
Thanks, I was looking through their site and wondering what quality
instructors they had. Hopefully the java instructors will have worked
at Sun.
joon
On 9/1/06, Tracy Nelson <[EMAIL PROTECTED]> wrote:
| -Original Message-
| From: Steve Ochani [mailto:[EMAIL PROTECTED]
|
| I get catalo
Hi everybody,
I am trying to convert the tomcat container from http to
https. But I want to do it by installing the trusted certificate. So I wanted
to know how would you install the trusted certificate into your keystore.
First of all I created
This turns out to be because I call session.invalidate() and then
request.getSession(true). I don't have to do this so it's fine. Don't know
if two JSESSIONIDs is valid behaviour.
Regards,
David
On 9/1/06, David Cotter <[EMAIL PROTECTED]> wrote:
I send a request into my web app and the respons
I got an error code in Catalina.err
java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassL
| -Original Message-
| From: Steve Ochani [mailto:[EMAIL PROTECTED]
|
| I get catalogs from www.learningtree.com , they have j2ee, jsf, struts
| training. They have classes in NYC
|
| I don't know how good they are though, I haven't attended any of their
| training.
I took a course on Or
Pascal:
Thanks for the detailed explanation,
The procedure I used to launch jsvc
Login in SERVER using root account through SSH.
Go to TOMCAT directory,
Run startTomcat.sh, nothing happened.
Then run command cat startTomcat.sh and copy/paste the command to the console,
hit enter.
Tocmat star
On 1 Sep 2006 at 12:02, joon yoo wrote:
> Hi,
>
> Sorry for the off-topic post. One of my programmers who helps
> maintain our tomcat 5.5 install asked about getting training in java,
> specifically J2EE/J2SE/J2ME among other things.
>
> If anyone knows where to find good courses in training fo
Patrick Wang wrote:
> Thanks for the reply, you are correct. The same command line doesnot work
> when I
> put into a shell command. I used the command netstat to see if Tomcat has
> started since it listen to the port.
Rather use lsof -i instead of netstat + having to grep the output:
if lsof -
Hi,
Sorry for the off-topic post. One of my programmers who helps
maintain our tomcat 5.5 install asked about getting training in java,
specifically J2EE/J2SE/J2ME among other things.
If anyone knows where to find good courses in training for java in
Manhattan, that'd be awesome.
Thanks for an
I send a request into my web app and the response contains two JSESSIONID
cookies. This doesn't cause a problem on most browsers but on some OpernWave
mobile browsers the two identicle cookies seems to be cause the browser not
to return the cookie is subsequent request thereby dropping the session
Samuel:
Thanks for the reply, you are correct. The same command line doesnot work when I
put into a shell command. I used the command netstat to see if Tomcat has
started since it listen to the port.
Command from console works, starting shell script not working without an error
shown up on the co
Class not found problem
java.lang.ClassNotFoundException: org.apache.catalina.Container
you're probably missing some environment variable that is used to setup class
loaders, such as CATALINA_BASE or CATALINA_HOME etc
Filip
Zach Calvert wrote:
I have a problem with Tomcat and I cannot fig
Hi everyone,
We have a application that run at the Tomcat container. This application was
made at the Tomcat 4.1 using the Mod_jk 1.2.12 with this configuration the
application run perfectly without any problem, at this days we want to make an
upgrade at the servers to use the new Mod_Jk 1.2.1
I have a problem with Tomcat and I cannot figure out what is going on.
I am using Tomcat 4.1.31. When running bootstrap.jar's main, I get
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Catalina.start: LifecycleException: Context startup failed due to
previous errors
LifecycleException:
Matthias Klein wrote:
Hi everyone,
What is the best method of handling files that are to be offered for
download?
I have a web application that uses JSF as presentation framework. This
web app is available as both stand-alone application in Tomcat as well
as portlet deployed within a portle
Have you checked to see how your servlets are mapped in the web.xml file?
i.e.
chngctrl.ChangeControlApprovalServlet
chngctrl.ChangeControlApprovalServlet
chngctrl.ChangeControlApprovalServlet
/chngctrl/ChangeControlApproval.jsp
in other words within the web-app tags y
Hi everyone,
What is the best method of handling files that are to be offered for
download?
I have a web application that uses JSF as presentation framework. This web
app is available as both stand-alone application in Tomcat as well as
portlet deployed within a portlet container that relies
Hi Mark,
Thank you for your help.
This is the information I need!
-Kikuchi
Mark Thomas wrote:
> Toshiaki Kikuchi wrote:
>
>> Hi,
>>
>> I would like to use username with multi-byte character(Shift-JIS)
>> in FORM BASED Authentication of DataSourceRealm. But it does not work.
>> username with
On 9/1/06, Mladen Turk <[EMAIL PROTECTED]> wrote:
Jongjin Choi wrote:
> Thanks for your quick response.
>
> It feel that the syntax error ('retries=0') is NOT the direct reason
> of 'validate failed for XXX' or 'factory failed lb for XXX' error,
> because the error shows up occasionally.
>
Righ
Jongjin Choi wrote:
Thanks for your quick response.
It feel that the syntax error ('retries=0') is NOT the direct reason
of 'validate failed for XXX' or 'factory failed lb for XXX' error,
because the error shows up occasionally.
Right, you should have at least a warning in the log that the
Thanks for your quick response.
I have another question.
In tomcat-connector document
(http://tomcat.apache.org/connectors-doc/config/workers.html)
, I can not find any clue of syntax error about 'retries=0'.
Isn't zero valid value when I don't want to retry?
What value should I use when I don't
Jongjin Choi wrote:
Can anyone give me a hint what makes the following mod_jk error.
I use isapi_redirect.dll 1.2.14 with IIS 6.0 on Windows 2003.
Syntax error. retries=0
BTW, 1.2.15 is broken. Use at least 1.2.16
Regards,
Mladen
-
Can anyone give me a hint what makes the following mod_jk error.
I use isapi_redirect.dll 1.2.14 with IIS 6.0 on Windows 2003.
The log is :
[Fri Aug 18 14:57:31 2006] [error] jk_worker.c (158): validate failed for ajp13
[Fri Aug 18 14:57:31 2006] [error] jk_worker.c (256): failed to create
worke
Hello!
I´m having a problem to deploy an aplication that is configured as a virtual
domain in server.xml.
When I deploy the application it works fine IF I use the default url. But
when I use my subdomain (x.y.com) , the application is not deployed!!
I have to restart tomcat, and then the chang
Pat,
Send us your entire script. Also, which Linux, Tomcat, and Java are you
using? That'll help us, too.
warren
>
> From: "Patrick Wang" <[EMAIL PROTECTED]>
> Date: 2006/08/31 Thu PM 05:41:32 EDT
> To:
> Subject: Why cannot I put JSVC into a shell script to run
>
> Hi,
>
> I can only co
Hello,
Could You explain what is "Processing time" in sessions statistics in
manager? Is value over higher than one second a bad sign?
Regards,
Tofiq
Szybko i tanio ubezpiecz samochod!
Kupno polisy zajmie Ci 15 minut!
Are you saying that when you run a command from console it works but when you
put it into a shell script and try and run the script it doesnt work ?
Are you using the same command from console , did you try and do a ps to see if
tomcat has started/not started ?
Putting the entire command on one
That was only the GET. The complete headers was so:
GET
/geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsPerPage=10
HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powe
49 matches
Mail list logo