[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Re: [cobalt-developers] Installing Tomcat 4.1.18 / jdk 1.4 on Raq 550
- Subject: RE: Re: [cobalt-developers] Installing Tomcat 4.1.18 / jdk 1.4 on Raq 550
- From: travis@xxxxxxxxxxxxxxxx
- Date: Mon Feb 24 18:39:03 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I didn't have as much luck.
Coupel of questions, do you have to upgrade the mod_jk.so ?
Do you have to put the appBase on the vhosts? And other than that, just copy them from the tomcat 3.2 server.xml?
What did you put in teh mod_jk.conf file?
Travis
---- Original Message ----
From: java <java@xxxxxxxxxx>
Sent: 2003-02-24
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] Installing Tomcat 4.1.18 / jdk 1.4 on Raq
550
In last post I said I had a nasty segmentation fault. But the good news
is I solved the problem. basically the solution is compile from the
source. Not everything just the native jk that produces the mod_jk.so
I downloaded the jakarta-tomcat-connectors-4.1.18-src.tar.gz.
gunzip the package
tar -xvf jakarta-tomcat-conectors-4.1.18-src.tar
cd jk
./buildconf.sh
Ignore error messages or warnings (I still don't know what they mean)
make
cd ./apache-1.3
cp mod_jk.so.0.0.0 /usr/lib/apache
restarted the httpd
And as a big suprise to me it worked.
I hope you can use this information. I still have to test the uploading
en unpacking of war-files and the creation of vhosts with tomcat
enabled. Will do this tomorrow and if I run into problems you will be
hearing of me. But for now the apache tomcat is working and my RaQ 550
is enabled with jdk 1.4.1 and tomcat 4.1.18.
Oh the property of the saxparser is also set. Just copied the
xercesImpl.jar and the xmlParserAPIs.jar from the xerces-2.2.1 distro
into the <TOMCAT_HOME>/common/endorsed dir and that problem was solved.
If you follow those steps I have taken big change you running into some
security issues. I gave my webapp a bit to much room in the security. I
have to try to make it a bit stricter.
regards
Johan C. Stöver
> Michele Neylon :: Blacknight Solutions wrote:
>
>> Change the settings to give you a more verbose logfile
>>
> I suppose you mean the settings for httpd, but I'm sorry I don't know
> how. I must say that Tomcat runs now okay on port 8080. And this led
> me to the next very minor problem. I need to set a property for a sax
> parser. And I don't know where I need to set that property.
>
> If you let me know where I can set a setting to get a more verbose
> output I am happy to post the results :-)
>
> So close and yet so far.
>
> Just for info:
> I installed jdk 1.4.1 into /usr/java/j2sdk1.4.1 and linked this to
> /usr/java/jdk
> In /etc/profile.d/java.sh I changed the JAVA_HOME to /usr/java/jdk and
> also the PATH I changed to use /usr/java/jdk
> In httpd.conf I changed the line Include
> /usr/java/jakarta-tomcat/conf/mod_jk.conf-auto to
> /usr/java/jakarta-tomcat/conf/mod_jk.conf
> I installed tomcat 4.1.18 in /usr/java/jakarta-tomcat-4.1.18-LE-jdk1.4
> and link this one to /usr/java/jakarta-tomcat
> In the conf/server.xml I added the virtual hosts and enabled the ajp13
> connector on port 8009 and a normal connector on 8080
> Very important for each virtualhost in server.xml I added a appBase
> directive with the same value as docBase. This made the webapps working.
> I changed the JAVA_HOME in /usr/sausalito/sbin/java_load_war.pl to use
> /usr/java/jdk
> In /usr/sausalito/handlers/base/servlet.pl I changed the ajp12 lines
> to ajp13
> Also I changed the sites in /etc/httpd/conf/vhosts to use ajp13
> instead of ajp12
>
> I installed a mod_jk-1.3-1.0-7.i586.rpm. This gave me a mod_jk.so an
> jni_connect.so both I copied to /usr/lib/apache (I back-up the old
> mod_jk.so).
>
> Now one problem is the segmentation error which line is
> [Mon Feb 24 14:30:15 2003] [notice] child pid 32112 exit signal
> Segmentation fault (11).
>
> The other problem is that I want for virtual hosts in server.xml the
> appBase directive automatically added. I think it's done from the
> servlet.pl. I'm I rigth and how should I do it, because pl scripts is
> something I don't know a lot about.
>
> regards
> Johan C. Stöver
> Nilling Software Design
>
>>
>>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>
--
Nilling Software Design
Postbus 43
2280 AA Rijswijk ZH
w: http://www.nilling.nl
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers