Re: [OT] login form on directly referenced page

2005-03-07 Thread Chong Yu Meng
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeroen Kransen wrote: | Hello, | | I think I already found the answer elsewhere (it is not possible!), | but I would be very frustrated and disappointed, and that's why I'm | trying here. What I want is to have a login form on the (publicly |

Re: jsvc.exec error on FC3

2005-03-02 Thread Chong Yu Meng
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Barker wrote: | Chong Yu Meng [EMAIL PROTECTED] wrote in message | news:[EMAIL PROTECTED] | | The daemon starts up ok, but when shutting down, I get this error: | | Feb 28, 2005 3:23:40 PM org.apache.coyote.http11.Http11Protocol pause | INFO

jsvc.exec error on FC3

2005-02-28 Thread Chong Yu Meng
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to configure jsvc to work on a Fedora Core 3 system running Blackdown Java 1.4.2. I managed to do a configure and compile jsvc all right. I used the Tomcat5.sh script to start up and shutdown jsvc. The daemon starts up ok, but when

Re: installing tomcat 4.1.27 on linux

2004-08-13 Thread Chong Yu Meng
I've written a kind of quick start guide that hopefully will be useful to you. You can find it here : http://cymulacrum.net. Just scroll down and look for the Tomcat 4 on Linux link. I'm currently updating my Tomcat 5 write-up with help from some volunteers. I've stopped updating my Tomcat 4

Re: Tomcat4 won't start

2004-08-10 Thread Chong Yu Meng
Hi Matt, I almost deleted your message, because today I was inundated by spam ! Not sure if you are starting Tomcat from the command prompt. I know that when you install on Win9x, you can get some funky errors. This is a hint from another site that I can't seem to get access to: You may need to

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-01 Thread Chong Yu Meng
I think RHAS is running NPTL. If you're using IBM's Java 1.4, 1.3.x or earlier and RH9, RHEL, RHAS , you need to set LD_ASSUME_KERNEL=2.2.5. If you're using IBM's Java 1.4.1 or better on RH9, RHEL (not sure about RHAS), you don't need to set LD_ASSUME_KERNEL at all If you're using IBM's Java

Re: Is there such a beast ? (virtual directories)

2004-07-13 Thread Chong Yu Meng
Hi Mike, Mike Curwen wrote: Hm... would that work in this case: host ... context docBase=/path/to/web-app/root/ path=/foo-app ... / context docBase=/some/other/path path=/images / /host I think this syntax would confuse Tomcat. I thought only one context tag is allowed ...? I could be

Re: mod_jk2 ./configure problem/query

2004-07-07 Thread Chong Yu Meng
Tim Wills wrote: Sorry to say but I have gone through the whole process 3 times now (including re-installing Redhat itself) and I still get error 503 Service Temporarily Unavailable. I reckon it must be a permissions problem but where? I have tried the following: chmod 666 jk2.socket I tried

Re: tc 5.019, web app deployment location?

2004-07-06 Thread Chong Yu Meng
Hi David, I wrote a tutorial on Tomcat here : http://cymulacrum.net/writings/tomcat5/book1.html Hope this helps. Regards, pascal chong [EMAIL PROTECTED] wrote: I'm confused over terminology. The 'root' application seems to reside at ${catalina.home}/webapps/ROOT Logically then (with a tree

Re: mod_jk2 ./configure problem/query

2004-07-05 Thread Chong Yu Meng
Tim Wills wrote: Reading your article more thoroughly, I am a bit confused on a number of matters. 1. Why am I seemingly editing Apache's Makefile (I assume from the directory you have given) and not mod_jk2? Does the apxs command read that file? 2. I checked Apache's make file and it has no

Re: Need to tie Tomcat 4.1 with VisiBroker 6.0

2004-06-28 Thread Chong Yu Meng
arseny wrote: Hello, I need to tie Tomcat 4.1 with VisiBroker Standalone 6.0 and have no idea how to do that. Could anyone help me? Google is your friend : try http://www.google.com/search?q=visibroker+tomcatsourceid=mozilla-searchstart=0start=0ie=utf-8oe=utf-8 Regards, pascal chong

Re: Apache2, Tomcat5 and mod_jk2 configuration problems

2004-06-23 Thread Chong Yu Meng
Hi Ryan, It sounds like an error similar to one Andrew Clute encountered on Red Hat Enterprise Linux 3 (apr_md5_final). I transcribed some of the steps he took here : http://cymulacrum.net/writings/tomcat5/a1375.html Can you test it first ? If it works, I would like to add a comment to the

Re: Apache2, Tomcat5 and mod_jk2 configuration problems

2004-06-23 Thread Chong Yu Meng
Hi Ryan, I should have asked this earlier, but are you using the RPM version of Apache or compiling the source tarball ? I notice that your directory is /usr/local, which indicates that you are probably using the source tarball (for RH9 rpms, it would be /etc/httpd). If you are using the

[ANN] : Tomcat 5 on Linux Step-By-Step

2004-06-18 Thread Chong Yu Meng
The document has been updated. Contributions and Help: - Andrew Clute : Building mod_jk2 on Red Hat Enterprise Linux 3 (resolving the 'undefined symbols: apr_md5_final ' error) - Patricia Karsten : Eclipse + Tomcat + Tomcat Deployer - Trevor Butler : Configuring mod_jk2 and Apache-Tomcat

Re: question

2004-06-17 Thread Chong Yu Meng
Hi Angelo, Please read my write-up on Tomcat 5 here : http://cymulacrum.net/writings/tomcat5/book1.html I am currently updating the document, but what you need now is right there. Regards, pascal chong [EMAIL PROTECTED] wrote: I put my web application under webapps... (moved the entire subtree

Re: Connecting Tomcat and Apache

2004-06-17 Thread Chong Yu Meng
Hi Graeme, You need to install gcc. Regards, pascal chong Graeme wrote: Hi all, when I try this command: ./configure --with-apxs=/usr/sbin/apxs I get the following output. How can I sort out this C compiler? [EMAIL PROTECTED] native]# ./configure --with-apxs=/usr/sbin/apxs checking for a

Re: tomcat 4.1.x and RHEL3.0 problem

2004-06-16 Thread Chong Yu Meng
Hi Eyup, If you are using JDK 1.3.x, you will need to set an environment variable: export LD_ASSUME_KERNEL=2.2.5 I have written something about this here : http://cymulacrum.net/writings/java/ibm-java.html#APPENDIX_A I do not work for IBM or Sun or Red Hat, so please do not complain to me.

Re: Fedora Core 2 and mod_jk2

2004-05-27 Thread Chong Yu Meng
Hi Lars, You're lucky ! My FC2 system locks up hard when running any kind of Java. Complete freeze. I have to reboot the computer using the power switch because the keyboard doesn't work. Apparently, there is a known problem with running Java on FC2. See this :

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol? SUCCESS!!

2004-05-16 Thread Chong Yu Meng
, Chong Yu Meng wrote: Andrew Clute wrote: /usr/sbin/apxs exist -- as I have used it to do the second statement you talked about. Although I am not sure how running apxs against mod_jk2.so will change libjkjni.so Err, it won't. Just reminding you that you have to run it. One last attempt : did you

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) There is no libaprutil-0.so.0 attached to it. Wonder I get that. BTW, I do have a libaprutil in /usr/lib/libaprutil-0.so.0 Thanks for all the help! On May 15, 2004, at 1:06 AM, Chong Yu Meng wrote: Further to my previous message

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
Hmm... you have another problem : no apxs given Can you check if you have /usr/sbin/apxs ? I don't know what RHEL names it, apxs or apxs2. Also, there is an additional step, if you are using version 2.0.4 for mod_jk2 : After you have finished configure and make, assuming that your download

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-15 Thread Chong Yu Meng
Andrew Clute wrote: /usr/sbin/apxs exist -- as I have used it to do the second statement you talked about. Although I am not sure how running apxs against mod_jk2.so will change libjkjni.so Err, it won't. Just reminding you that you have to run it. One last attempt : did you run buildconfig

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Hi Andrew ! Clute, Andrew wrote: If it is channelUnix, I just now need to figure out this crazy 'undefined symbols: apr_md5_final' error. I wrote a document for compiling mod_jk2 on Fedora Core 1, in which I specified the necessary packages, one of which is the APR libraries. You can find

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
...### [100%] file /usr/lib/libapr-0.so.0.9.4 from install of apr-0.9.4-2 conflicts with file from package httpd-2.0.46-32.ent Looks like the httpd package that commes with RHEL already includes that file. -Original Message- From: Chong Yu Meng

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
...### [100%] file /usr/lib/libapr-0.so.0.9.4 from install of apr-0.9.4-2 conflicts with file from package httpd-2.0.46-32.ent Looks like the httpd package that commes with RHEL already includes that file. -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 11:32 AM To: Tomcat Users List Subject: Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol? Hi Andrew ! Oops ! I should have told you also that the Fedora packages do not work on RHEL. Some

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
, is this unresolved symbol error because the libjkjni.so was built missing a static references, or because at runtime that library cannot be found? -Andrew -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 11:43 AM To: Tomcat Users List Subject: Re: Tomcat

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
Milutinovic wrote: Chong Yu Meng wrote: Hi Andrew ! Clute, Andrew wrote: If it is channelUnix, I just now need to figure out this crazy 'undefined symbols: apr_md5_final' error. I wrote a document for compiling mod_jk2 on Fedora Core 1, in which I specified the necessary packages, one of which

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
then. On May 14, 2004, at 11:35 PM, Chong Yu Meng wrote: Are you using mod_jk2 binaries (RPM packages) or source ? Clute, Andrew wrote: Yeah, I have the file: [EMAIL PROTECTED] /]# find -name libaprutil-0.so.0 ./usr/lib/libaprutil-0.so.0 Does that help? I tried following directions on that site to no avail

Re: Tomcat and HTTPD on the same box: What's the best mod_jk2 protocol?

2004-05-14 Thread Chong Yu Meng
) Or something similar. Do you see this ? Regards, pascal chong Andrew Clute wrote: I originally used the RPM's I found somewhere, but I didn't see the libjkjni.so in it, so I built from source then. On May 14, 2004, at 11:35 PM, Chong Yu Meng wrote: Are you using mod_jk2 binaries (RPM packages

Re: Apache2/Tomcat5/mod_jk2 problems

2004-05-11 Thread Chong Yu Meng
Hi, Another way to verify if the connectors are really giving you the problems (as opposed to the application) is to setup Apache as a reverse proxy and proxy all requests to Tomcat. There is documentation on this on the Tomcat site. My suspicion is that it could be your application. Daniel

Re: JNDIRealm strangeness

2004-05-09 Thread Chong Yu Meng
Hi Shane ! Thanks for your help! After experimenting over the weekend, I think that this is probably a bug in the Tomcat code. I checked and corrected some problems in my OpenLDAP setup, and verified that SSL/TLS connections can be made successfully to it using ldapsearch. When I tried

JNDIRealm strangeness

2004-05-07 Thread Chong Yu Meng
Hi All ! I wonder if anyone has seen this anomaly, when following my instructions on setting up a JNDIRealm, on my website (http://cymulacrum.net/writings/adv_tomcat/c487.html). I wrote these instructions after version 5.0.19 of Tomcat came out and fixed the character encoding issue in the

Re: JNDIRealm strangeness

2004-05-07 Thread Chong Yu Meng
Hi Shane ! Thanks for the description and advice! I managed to finally turn on OpenLDAP logging (a pain in Fedora Core 1), and set the loglevel to 256. Here's what I get. When the Tomcat server starts up, the connection errors seem to be related to port 636 : May 7 19:51:50 localhost

Re: the pain of choice

2004-04-20 Thread Chong Yu Meng
Hi Michiel ! Cut the developers some slack, man ! Writing the software is difficult enough, if you need to do a buildfile, test it and document it, it can seem like a monstrous commitment. If you want instructions on getting it built, I just updated my Tomcat 5 document to cover jk2.0.4. The

Re: How does tomcat redirect from login

2004-04-18 Thread Chong Yu Meng
Hi Jim, You might want to look at SecurityFilter (http://securityfilter.sourceforge.net/). I have a write-up on this on my site (http://cymulacrum.net), using JDBC. If you look at the source files in the download tarball, you can easily guess how to adapt it for your own needs, I think. I'm

Re: Realm(?) authentication

2004-04-18 Thread Chong Yu Meng
Frank Schaare wrote: Or maybe you just think that my writing sucks i´m reading a lot of this stuff but your writing definetly NOT sucks ! Is is cool, short and very useful, thank you for posting your link. Greetings from Germany... Thanks a lot, Frank !! I hope it's good enough for another

Re: Authentification against NT Domain Controller

2004-04-18 Thread Chong Yu Meng
Hi Frank ! I seem to remember ActiveDirectory being discussed here, on this mailing list. The good thing about ActiveDirectory is that, if you do not have an overly complicated schema, you can use the LDAP subset to query the directory (you need to do a fair bit of tweaking to get

Re: Urgent pls help ! Protection problems of using Realm

2004-04-15 Thread Chong Yu Meng
An easier method would be to use SecurityFilter (http://securityfilter.sourceforge.net/). There is an example web application (actually several web apps) bundled with the software. Just look at the code and I think you'll find it fairly straightforward to implement what you want. a a wrote: Dear

Re: Realm(?) authentication

2004-04-15 Thread Chong Yu Meng
Matthew Bechly wrote: Hi Tomcat users, I am a new user and have Tomcat 5.0.19 - windows. I only run one application which is running well on our intranet. I am thinking of giving external (outside my firewall) users access. I have configured Tomcat for SSL, no problems. As added security, I

Re: [OT] JAVA_OPTS in catalina.sh

2004-04-14 Thread Chong Yu Meng
Hi Thomas, I don't use RH Enterprise Server, so I'm not sure if this is your problem : RH7.x does not use the NPTL (Native Posix Thread Libraries). I'm not sure if ES 2.1 does. One way to check is to set the following environment variables and check if you still get crashes : As root, execute

Re: How to get Tomcat 5 back to original state?

2004-04-01 Thread Chong Yu Meng
Hi Josh, Don't start deleting stuff just yet. If you do this: rm -rf conf/Catalina Then your admin and manager applications will definitely not work, because the context fragments for both web applications (and the balancer app) are in conf/Catalina/localhost/. What I *would* do in your

Re: tomcat sends every email 3 times

2004-03-30 Thread Chong Yu Meng
Hi Cheng, How are you testing this? Do you have a servlet that sends emails whenever you get a 404 ? Or when you get a 404, Tomcat directs the request to a JSP or servlet that sends an email ? I'm pretty sure Tomcat does not have a built-in facility that sends email. Regards. zhicheng wang

Re: JNDI Realm Problem - Cause determined

2004-03-27 Thread Chong Yu Meng
I'm using Tomcat 5.0.18 (going to upgrade soon, but I'm using this version to do documentation at the moment), and OpenLDAP 2.1.22. I configured OpenLDAP to log everything, and here's the error (as you suspected): 1. Tomcat authenticates the user, but cannot find the role he belongs to. Below

[ANN] : Doc Mirror

2004-03-27 Thread Chong Yu Meng
Hi All! I will be dismantling my site over the next few days, so, very soon, you will not be able to find my Tomcat 4 and Tomcat 5 tutorials at http://cymulacrum.net Werner van Mook, of connecties.com, has generously offered to host the documents for free. The new links are shown below:

First impressions: JK2 + Apache 2 + Tomcat 5.0.18

2004-03-26 Thread Chong Yu Meng
Hi all, Just downloaded, compiled and tried out the new JK2 (v 2.0.4). The Ant build file still doesn't work, and there is one additional step (as defined in your INSTALL.txt), but otherwise the compile went smoothly. The mod_jk2.so file gets copied automatically to the Apache modules

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
Hi Joshua, If you're using a war file, then you should place the Context fragment inside META-INF then deploy it. If you have already deployed the web application (that is, it is either already expanded inside your web application directory, or the directory was manually created and your

JNDI Realm Problem

2004-03-25 Thread Chong Yu Meng
Hello, all ! I've got a really strange problem that is probably caused by my eyesight. I followed the JNDI Real HowTo on the Jakarta site, and I setup the necessary LDIF file and put the necessary entries inside server.xml. After struggling with various typo errors and configuration mistakes

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
. I have tried naming the context fragment both context.xml and myAppName.xml. Any other ideas? Joshua -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 8:03 AM To: Tomcat Users List Subject: Re: context.xml - what's the secret? Hi Joshua

[OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi all ! The amount of traffic I'm getting for my Tomcat tutorial has shot up in recent days, and though I'm very happy with the response, I'm also more than a little worried about my bandwidth bill at the end of the month. Because I am currently unemployed, I'm not sure how long I can keep

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi Yoav ! Shapira, Yoav wrote: Hi, Technically, we can host this on jakarta.apache.org/tomcat. The network traffic numbers you quote would be a tiny fraction of what our servers receive. However: - You won't have direct write access to the docs: you'll have to send a message to tomcat-dev.

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
Hi Joshua, There's your answer right there. Yes, the directory *has* to exist. In fact, when you install Tomcat (the full version, not sure about LE, though), you should see admin.xml and manager.xml inside that directory. You are using Tomcat 5, right ? If the directory does not exist, you

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi Tim ! Tim Funk wrote: The drawback (which is a good drawback!) is the tomcat4 and tomcat5 links below contain many files and can easily grow to many more as it becomes more comprehensive. Thanks, Tim ! The docs are not FAQ worthy but definitely worth linking to from the FAQ. Well, the

Re: [OT] Thank you! : New homes for Tomcat on Linux Found !

2004-03-25 Thread Chong Yu Meng
Hi All ! When I woke up this morning, I was really surprised at the number of people who offered to help me out ! You guys are really generous ! Thanks a lot ! I think I have enough mirror sites, so I will close my request for new homes. To those who offered to host my pages, I will email you

Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread Chong Yu Meng
I have a tutorial on my site that you can use : http://cymulacrum.net/writings/tomcat5/book1.html Shapira, Yoav wrote: Hi, Read the First Webapp guide: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html, especially the deployment organization. You can simply create these

Re: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Chong Yu Meng
I use Docbook to write my documentation, and the same docbook XML file can be used to generate a single PDF document. Problem is, when you use it to generate HTML, the filenames are sometimes randomly generated. This can play havoc on search engines, like Google, because the location can

Re: Jk2 installation failure

2004-03-18 Thread Chong Yu Meng
Mike Burkhouse wrote: Yes, that is the correct path to apxs but it may not have been the binary that came with apache2. I did the following: 1) mv /usr/sbin/apxs /usr/sbin/apxs.old 2) cp /usr/local/src/httpd-2.0-48/support/apxs /usr/sbin/apxs 3) chmod 755 /usr/sbin/apxs 4) cd

Re: mod_jk3, Tomcat, Apache2 Wildcard problem (Linux)

2004-03-18 Thread Chong Yu Meng
Hi Ken, First, there is no mod_jk3 that I am aware of. You are referring to mod_jk2, perhaps? Second, please look at Appendix A of my Tomcat 5 write-up (http://cymulacrum.net/writings/tomcat5/c1215.html). I encountered the same problem. You wouldn't be using Mandrake or Mandrake's Advanced

Re: Context mapping and war

2004-03-18 Thread Chong Yu Meng
Jesse Vitrone wrote: When I try to install my application, I put the war file in the webapps directory, and in the server.xml I add a context mapping. When I start Tomcat, my war file isn't getting extracted. Unpack wars is set to true: Host name=localhost debug=0 appBase=webapps

Re: jk2.properties documentation

2004-03-18 Thread Chong Yu Meng
Daniel Savard wrote: Is there any documentation on the jk2.properties? There is the Jakarta documentation available on their site. Or you could dig through the source code. After reading the document: http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2 I still get a problem lying

[Shameless Plug] Re: help needed building JK2 connector

2004-03-15 Thread Chong Yu Meng
Adrian Lanning wrote: Hi Matt, I have built JK2 successfully several times on Redhat 9 with Tomcat 5 and Apache 2.0.48. The problem I had with the default apache installed on rh 9.0 was that mine didn't have the apxs program or maybe it was some missing libraries.. In any case I had to build

Re: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Chong Yu Meng
Asif Chowdhary wrote: Hi, I am installing tomcat on RH9. Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz The installation works with JDK 1.4 but tomcat does not start when I try to use JDK 1.3.1 The browser returns the message Unable to connect to localhost with

JPackage RPMs for mod_jk2

2004-03-06 Thread Chong Yu Meng
Hi All, I'm trying to help someone out with his integration of Apache and Tomcat. He's using the jpackage RPM packages for mod_jk2 and he's having problems. I remember that someone on this list once got them working and posted the instructions. I tried looking for that email in the Tomcat

Re: Tomcat 4.1.30 and Apache 2.0.48

2004-03-04 Thread Chong Yu Meng
Hi Swen, I've written a tutorial on this at http://cymulacrum.net. If you're using Fedora (and Fedora's stock httpd), you should have no problems getting it working. If you're using some other distribution or compiling Apache from source, you may have problems. I'm having some wonderful

Re: jsp deployment

2004-02-14 Thread Chong Yu Meng
Hi Jerry, You *are* right in saying that there is no additional configuration necessary for Tomcat to serve JSP files. The way I see it, there are several possibilities: 1. If you say that you can access your web application servlets, that means that your web application has been deployed

Need information about Tomcat deployer/embed

2004-02-13 Thread Chong Yu Meng
Hi all, I'm updating my Tomcat on Linux Step By Step for Tomcat 5 (http://cymulacrum.net/tomcat/tomcat_toc.html) and I need some clarification on something: I noticed that there are now 2 other packages available for download, in addition to the base Tomcat package : a Deployer and an Embed

JNDIRealm question

2003-12-01 Thread Chong Yu Meng
Hi All, I have a configuration that is not covered in the JNDIRealm HOWTO, and was wondering if someone else has tried this before : I am using OpenLDAP 2.1.22 on Red Hat 9. For the DN, I am using the CN instead of the UID (i.e., dn: cn=Zhu De,ou=People,o=Cymulacrum instead of

Re: Tomcat on Montavista HardHat Linux winth J9 VM?

2003-11-28 Thread Chong Yu Meng
What's a J9 VM ? If you mean does Tomcat run on Linux with IBM's Java 2 SDK 1.4.1/1.4/1.3, the answer is yes but you may need to setup some environment variables and maybe download a different package for Montavista Hardhat Linux (does it support rpms?). Give us more information about your

Re: Question on mod_jk2 (working)

2003-11-27 Thread Chong Yu Meng
Hi Nikola, I have a write-up on this configuration. Only difference is that I am using the Falsehope RPMs for Apache instead of Red Hat's. You can access it at http://cymulacrum.net/tomcat/jk2_compile.html I think what you are referring to is serverRoot, not serverConf. This is a reported

Re: Problem with JNDIRealm

2003-11-26 Thread Chong Yu Meng
It looks like one of you attributes is missing (i.e. null). Do you have a role associated with the username? I'm also having problems with JNDIRealm -- I can't get it working ! Going to check if it is because I'm missing some libraries. Regards, pascal chong Jörn Heid wrote: I have

Re: Many process on Red Hat

2003-11-18 Thread Chong Yu Meng
Did you set this environment variable : export LD_ASSUME_KERNEL=2.2.5 I think you'll need it. Regards, pascal chong Walter do Valle wrote: Hello all I'm running Tomcat 4.1 with IBM J2RE 1.3.0 on Red Hat Linux, but some times Tomcat turns crazy and open many process (about 80 - 90) and hangs.

Re: RedHat 9 tomcat

2003-11-17 Thread Chong Yu Meng
Red Hat 9 uses the New Posix Thread Library (NPTL), and has been known to even break some Java SDK's (for example, if you're using IBM's Java 2 SDK 1.3.1, you'll need to put in an environment variable LD_ASSUME_KERNEL=2.2.5 or you'll get a segmentation fault). I know I'll probably get flamed

Re: Looking for mod_jk2

2003-11-13 Thread Chong Yu Meng
I'm using the Falsehope RPMs for Apache 2, not Red Hat's. That could be the reason why it compiles cleanly on my system and not on others. Regards, pascal chong Mark Eggers wrote: Dave, The linker is looking for libapr-0.so. I don't know what you used in your ./configure run. On some

Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Chong Yu Meng
David, I have a sample UNIX sockets configuration on this page (http://cymulacrum.net/tomcat/jk2man_channel_UNIX.html ). This page is actually linked from the page I mentioned to you earlier for the Apache 2 and Tomcat integration with mod_jk2 (http://cymulacrum.net/tomcat/jk2_compile.html)

Re: Looking for mod_jk2

2003-11-12 Thread Chong Yu Meng
Hi Dave, The compile is not really so difficult. I've written a section on this on my website : http://cymulacrum.net/tomcat/jk2_compile.html. Regards, pascal chong Dave Morrow wrote: Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / Apache 2 RPM binary. Anyone know where I can

Re: second try : help needed for tomcat -jsp issue

2003-11-11 Thread Chong Yu Meng
I'm thinking that if it is the servlet, not the JSP, that is returning results to the browser, this can easily happen if you don't use setContentType(text/html). Regards, pascal chong Schalk wrote: Venkatesh Does you client access the application by a URL similar to:

Re: Connector Problem

2003-11-07 Thread Chong Yu Meng
Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: (bcc: LOH Choon Leng/Mfg Plan Sys/CHRT/ST Group) Subject: Re: Connector Problem Hello! I have a set of instructions that may help you (see http

Re: Connector Problem

2003-11-07 Thread Chong Yu Meng
? Best Regards, Loh Choon Leng Chartered Semiconductor Manufacturing Ltd. 60 Woodlands Ind. Park-D St-2 Singapore 738406 Off : +65-63603684 HP : +65-98463801 Email : [EMAIL PROTECTED], Fax : +65-63603816 Chong Yu

Re: Connector Problem

2003-11-06 Thread Chong Yu Meng
Hello! I have a set of instructions that may help you (see http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it yesterday. Are you using Linux or Solaris. If Linux, my instructions cover the following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2. I used to

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-05 Thread Chong Yu Meng
Hi Tony, I can't help you with the load balanced configuration because I'm not using load balancing (yet). I was using the older version of mod_jk2 just fine too. When the rpm file disappeared from the download site, I had to compile using the latest version, and that is when my problems

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-05 Thread Chong Yu Meng
WorldLingo Technical Support -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 November 2003 5:23 PM To: Tomcat Users List Subject: Re: jk2_init() Can't find child in none of the 1024 scoreboard slots Hi Tony, I can't help you with the load balanced

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-05 Thread Chong Yu Meng
Hi Tony ! I'm surprised you got the ant command working ! I tried that first, and wasted a lot of time tinkering with the build.xml with no success. I always use the configure command now. Ant is a great tool, but I suspect that the buildfile is broken somehow (or maybe it's just me !).

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-05 Thread Chong Yu Meng
Thanks for the link, Tony ! Just uploaded my updated write-up with corrections and modifications to the mod_jk2 compile. Regards, pascal chong Tony F. White wrote: Hi Chong, I know I did have some problems when I first tried it but found this page http://www.pubbitch.org/jboss/mod_jk2.html I

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-04 Thread Chong Yu Meng
I'm having the same problems, Tony. I got mod_jk2 compiled and tried to setup the connection between Apache 2.0.47 and Tomcat 4.1.29. I get the missing child (children ? ;)) errors, but I was able to get the servlets and JSPs working, though they spit out errors occasionally. Can you post

Re: jserv Vs Tomcat

2003-10-23 Thread Chong Yu Meng
Hmm... the problem could actually be with Apache itself. Can you check what your MaxClients setting in httpd.conf is? By default, I think it is 11. You can probably set it to 128 and see what happens. Regards, pascal chong Mrs. Geeta Thanu wrote: Hello all, I am new to this list. I was using

Re: [ANN] Updated Apache + Tomcat RH HOWTO

2003-10-13 Thread Chong Yu Meng
Hi John, You may want to correct the URL -- it says localhost in your email. :) Regards, pascal chong John Turner wrote: Apache 2 HTTP + Tomcat + JK. Updated with the most recent JK source version, 1.2.5. http://localhost/johnturner/howto/apache2-tomcat4127-jk-rh9-howto.html Virtual

Re: RH9's Apache 2 and Tomcat 4

2003-10-05 Thread Chong Yu Meng
this. Do you have any specifics such as articles or facts that show the downside of using the default Apache that comes w/ RH? Thank you, Mike On Sat, 2003-10-04 at 21:54, Chong Yu Meng wrote: Hi Dave, Do NOT use the default Apache that comes with RH9 ! According to some reports

Re: RH9's Apache 2 and Tomcat 4

2003-10-04 Thread Chong Yu Meng
Hi Dave, Do NOT use the default Apache that comes with RH9 ! According to some reports, there are some serious bugs inside it. I'm using RH9, but my Apache comes from Falsehope.com (http://ftp.falsehope.com/home/gomez/apache2/). It takes a bit of tweaking, but you can get the Falsehope rpm to

Re: Tomcat on Linux HOWTO

2003-06-28 Thread Chong Yu Meng
Michael Cardon wrote: I have compiled a HOWTO using Linux 8.0, Tomcat 4.1.24, and mod_jk2. I hope this will help some people. I would also like to hear from anyone with any suggestion on how I could improve the setup I've done. I'm always learning Thanks. http://www.cardon.biz/docs/tomcat/

Re: Tutorial for Tomcat Beginners!!

2003-06-25 Thread Chong Yu Meng
Try my write-up : http://www.cymulacrum.net/tomcat/tomcat_toc.html Regards, pascal chong Dominic Parry wrote: OK, then try the docs that come with your tomcat installation. You can find them at %Install Dir%\webapps\tomcat-docs Those are the same as the ones online. Good Luck! -

Re: [OT] best hardware config for Tomcat

2003-06-20 Thread Chong Yu Meng
Antony wrote: Thanks for the reply. I had never thought of the RAID sub system. My situation is that there is no one I know to advice me in this regard and my company can't affod any highly paid consultancy. That is why asked a question like this here. Another question. Do Tomcat a requires a

Re: Ajp13Connector vs. Coyote/JK2 connector

2003-06-13 Thread Chong Yu Meng
On Thu, 12 Jun 2003 10:42:33 -0400, Yueshang (Wendy) Zhang [EMAIL PROTECTED] wrote: I searched the archive and found that mod_jk is better than mod_jk2 for apache 1.3.26. My question is, if mod_jk is used in this case, can we still use the Ajp13Connector in stead of Coyote/JK2 connector?

Re: UnsatisfiedLinkError with DB2 app driver and JDK1.4.1

2003-06-11 Thread Chong Yu Meng
Which JDK are you using ? IBM's Java or Sun's Java ? There is a difference in the way the classes are organized. Regards, pascal chong Jochen Schweflinghaus wrote: I use a link named db2java.jar in $CATALINA_HOME/common/lib referring to the db2java.zip (JDBC 1) file comming along with DB2. For

Re: Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-07 Thread Chong Yu Meng
Michael Cardon wrote: Where I am missing this?: undefined symbol: apr_md5_final My platform: RH Linux 8.0 You're missing the Apache Portable Runtime (APR). This is found in the apache2-devel rpm package, which I see you do not seem to have. Download it from Falsehope as well.

Re: Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-07 Thread Chong Yu Meng
Michael Cardon wrote: Thanks Chong, I did have the apache2-devel package installed, but I started a fresh install of Linux 8.0 and all the rpm's following your instructions again anyway. I'm ready to pull my hair out I get the same error about the undefined symbol: apr_md5_final Something

Re: Getting JK2 to work with Apache 2.0.46

2003-06-07 Thread Chong Yu Meng
Rick Salsa wrote: Hi all, I'm trying to get mod_jk2.so working with Apache 2.0.46 on Mandrake Linux. Hmm... Mandrake ? Not sure if my write-up will help, but you can refer to : http://www.cymulacrum.net/tomcat/tomcat_mod_jk2.html Be careful ! I have not tested out the configurations inside

Re: Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-06 Thread Chong Yu Meng
Duccio Fallani wrote: Weeks ago, I try to setup Tomcat mod_jk2 + Apache2 + Tomcat 4.1.24 with SSL and Tomcat CLIENT-CERT authentication !!! There are bugs in tomcat-jk2.jar co., I solve all my problem download and using tomcat-connectors-1.1M1.jar !!! Not sure if I understand you, Duccio ...

Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-05 Thread Chong Yu Meng
I've updated my write-up for Tomcat to include integration with Apache2 using mod_jk2. At present, I only cover channel sockets and UNIX sockets. I was not able to get JNI to work. You can view the whole document at : http://www.cymulacrum.net/tomcat/tomcat_toc.html or you can jump to the

Re: Tomcat problems every morning.

2003-06-03 Thread Chong Yu Meng
Hollerman Geralyn M wrote: Why, yes, I am. And I thought perhaps MySQL was the problem - but I was told by some people using Oracle and PostgreSQL databases that they'd seen the problem as well. To put it bluntly, don't believe them, Lynn. It seems to me like you've done everything necessary

Re: Tomcat problems every morning.

2003-06-03 Thread Chong Yu Meng
Geralyn M Hollerman wrote: For the stuff I'm working with, *I'm* the DBA. Oops ! Sorry to hear that ! I've never had much luck with MySQL myself, because it has some pretty funky methods of configuring permissions. I use Firebird when I can. Anyway, I'm pretty sure it isn't Tomcat that is

  1   2   >