Tomcat mod_jk install
Hi, Ive installed tomcat to develop with jsp pages, but I want to use my apache webserver with it. Basically i want to use my http://localhost/~myuser/some_site with jsp files. Ive seen references to mod_jk, but not found a good up to date step by step installation instruction. The most recent one apple has is from 2002, 6 years old now. Anyone know of any up to date mod_jk installation instructions?
thanks
The Tomcat 4 has different settings compared to the previous releases (Tomcat 3.3.x and Tomcat 3.2.x). If the previous releases use mod_jk.dll and/or mod_jk.so, the version 4 uses different modules. I have obtained the following from the server.xml file from Tomcat 4.0.3.
The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
Similar Messages
-
Can't start Tomcat after installing Bea WorkShop for JSP
Hi,
I have been using Eclipse SDK Version: 3.1.2 Build id: M20060118-1600 and Web Tools Project 1.0.2 and Tomcat 5.0 and Tomcat 5.5 for about 2 months with no problems. But now I Can't start Tomcat after installing Bea WorkShop for JSP plug-in. I get "Server Tomcat v5.0 @ localhost failed to start". Any help would be greatly appreciated.I installed BEA Workshop for JSP Version: 3.1.0
Build id: 536. I only wanted to install the plug-in to my existng Eclipse 3.1 / WTP application. The only option that I saw was to download the entire FullWorkshopFreeInstall-536.zip, which is 192,496 KB. During the installation, there is a screen that you can specify to only install the plug-in - and I selected that option. Today, I chose to uninstall the BEA Workshop for JSP and then I was again able to start Tomcat server. I then did a complete install of BEA Workshop for JSP into a totally separate location. My original Eclipse installation still works fine, but my Workshop for JSP Version (which is now a completely new installation) has the same problem with Tomcat that I reported with the plug-in. I am using j2sdk1.4.2_08 and have tried both Tomcat 5.0 and Tomcat 5.5. I have the same problem with both Windows XP Home Edition and Windows XP Professional.
Thanks for your assistance.
Ron -
Hello,
I encounter a strange error when installing apache-tomcat connector.
I have configured tomcat in order to generate automatically the file
mod_jk.conf.
The file is created whithout any problems in the 'auto' directory.
But here is was it contained :
########## Auto generated on Tue Nov 15 10:44:41 CET 2005##########
<IfModule !mod_jk.c>
LoadModule jk_module "/usr/local/apache-ssl/modules/mod_jk.so"
</IfModule>
JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
JkLogLevel emerg
and nothing else !
I must precise that I have already use this configuration without any
problems on
different servers.
Thanks for your help
RegardsOr, hey, maybe you could go to the Apache site and look at the documentation?
http://tomcat.apache.org/connectors-doc/
Oh look, here's a link that even says it's "for the impatient"
http://tomcat.apache.org/connectors-doc/generic_howto/quick.html -
Apache webserver can't find tomcat - mod_jk problem?
Hi
I have recently upgraded HP-UX apache software
FROM
Apache webserver: 2.0.55
Apache tomcat : 5.5.9
TO
Apache webserver: 2.0.55
Apache tomcat : 5.5.9
I have 2 tomcats running, one JVM for a daytime service and another for a nighttime service.
So while 1 tomcat is down, the other is up, apache always running.
However, since I have upgraded, I see the following error messages in jk.log:
[Mon Nov 20 07:00:41 2006] [error] ajp_connection_tcp_get_message::jk_ajp_common
.c (949): ERROR: can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8059), err=-232
The tomcat in question is up - and the messages returned are 500 responses - server configuration issue.
Get several a day.
Basically using mod_jk to bind the tomcat installations to apache webserver.
What is new though in mod_jk 1.2.10 is that a shared memory file is specified. I am wondering what happens to this memory that is used to load balance the workers when tomcats are bounced.
Issues go away after a bounce of apache - but after each tomcat has been stopped once - messages start to fail intermittently after that.
Done some googling but do not see any solutions - so here's hoping!
Thanks.Noticed my deliberate mistake!
From
Apache 2.0.32
Tomcat 3
Still no joy with with this in terms of finding a solution to why the newer version of apache cannot find tomcat after it has been bounced.
mod_jk.so version 1.2.9 introduced the shared memory for the workers, which as far as I can is the main config change in the 2 versions of apache that came from HP.
So rolled back to the old version of apache with the new version of tomcat - and everything works fine! -
how can i map webapp to Apache using mod_jk connector.
any tutorial, example,api
thanks & regardsOr, hey, maybe you could go to the Apache site and look at the documentation?
http://tomcat.apache.org/connectors-doc/
Oh look, here's a link that even says it's "for the impatient"
http://tomcat.apache.org/connectors-doc/generic_howto/quick.html -
How can i use my helloworld servlet in apache-tomcat-mod_jk?
hi
i copied
helloworld.java helloworld.class
to
jakarta-tomcat-3.3.1/webapps/examples/WEB-INF/classes
i can use example servlets in that directory by accessing localhost/examples/servlets
and click links..(but if i type them in browser address bar, they dont' work either)
what setting am i missing?
thank youi didn't touch web.xml server.xml at all..
i got this with logs files
/usr/local/apache/logs/error_log
[Thu Jul 25 14:14:00 2002] [notice] Apache/1.3.26 (Unix) PHP/4.1.2 mod_jk/1.1.0 configured -- resuming normal operations
[Thu Jul 25 14:14:00 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Jul 25 14:19:19 2002] [notice] caught SIGTERM, shutting down
[root@beautifulmind logs]#
[root@beautifulmind logs]# cat mod_jk.log
how does the link to jsp/servelt works and, not direct typing at address bar?
mod_jk.conf
<IfModule !mod_jk.c>
LoadModule jk_module libexec/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/jakarta-tomcat-3.3.1/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-3.3.1/logs/mod_jk.log"
JkLogLevel emerg
<Directory "/usr/local/jakarta-tomcat-3.3.1/webapps/examples">
Options Indexes FollowSymLinks
</Directory>
JkMount /admin ajp13
JkMount /admin/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
#added by eugene
JkMount /examples/servlet/* ajp13
#added by eugene
httpd.conf
Include /usr/local/jakarta-tomcat-3.3.1/conf/auto/mod_jk.con -
Can't start Tomcat after installing it
In my laptop, I installed Tomcat and it installed fine, but, when I try to start Tomcat, it doesn't do anything.
I get the following error message when I do Catalina run under tomcat's bin directory:
C:\jakarta-tomcat-5.0.12>catalina run
'catalina' is not recognized as an internal or external command,
operable program or batch file.
C:\jakarta-tomcat-5.0.12>cd bin
C:\jakarta-tomcat-5.0.12\bin>catalina run
Using CATALINA_BASE: C:\jakarta-tomcat-5.0.12
Using CATALINA_HOME: C:\jakarta-tomcat-5.0.12\
Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.12\temp
Using JAVA_HOME: C:\j2sdk1.4.1_02
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
C:\jakarta-tomcat-5.0.12\bin> -
I recently Downloaded the Tomcat4.0 JSP/Servlet server. It is the "jakarta-tomcat-4.0.exe" version and when it runs, it immediately prompts me for the JDK. The installation package quits immediately after this message.
I have version 1.3.1 SDK.. I was under the impression that the SDK was the JDK. Is thee something i need to install in addition to the following;
SDK 1.3.1
J2EE 1.3
JAVA_HOME has been set to the installation directory of the SDK1.3.1
Thank you for your help =)
PS i was using the beta2 SDK 1.4 but thought that may have been the problem. I uninstalled SDK1.4 and installed SDK1.3.1.I guess i should mention that my OS is Windows 2k pro.
-
Why cannot run tomcat after installing j2ee
I use tomcat 4.0, and it was working properly before. after I installed J2ee 1.4, it doesnt work when running startup.bat. I dont know what is going on. Can any body encounter this and tell me how to solve it please. thanx
It's possible that both Tomcat and the Application Server are configured to use the same port (probably 8080). If the Application Server is running, Tomcat won't be able to bind to port 8080 and will throw an error.
Check that the Application Server is shut down before starting Tomcat.
-Ian Evans -
Which Tomcat to install?
Hi,
I am trying to install Tomcat on my PC, however am stumped at the number of choices available when I look at the download page. I want to download a release build, but can anyone PLEASE advise exactly which link I should click on?
The web page is: http://jakarta.apache.org/site/binindex.cgi and any help would be really appreciated!
Overwhelmed,
JillJill,
If you're on a PC (Windows) you need either
"5.0.27 zip PGP MD5 "
or
"5.0.27 exe PGP MD5 "
First time around, try the latter.
hth,
/k1 -
I am experiencing the most bizarre thing that so far I am unable to reproduce with my own visits to the site.
After restarting Apache2 my cacti graphs show that the child processes increment consistently over the course of a day without dropping back down during off hours. This behavior eventually leaves the website inaccessible...
Looking at server-status it is filled with Ws (Sending Reply) and GET calls to my cfm applications :
Current Time: Tuesday, 22-Jul-2014 16:33:00 PDTRestart Time: Monday, 21-Jul-2014 22:51:12 PDTParent Server Generation: 0Server uptime: 17 hours 41 minutes 48 secondsTotal accesses: 194844 - Total Traffic: 3.8 GBCPU Usage: u201.55 s34.46 cu0 cs0 - .37% CPU load3.06 requests/sec - 63.2 kB/second - 20.6 kB/request73 requests currently being processed, 4 idle workers
WWWWWWWWWWWWWWWWWWWWWWWWWKWWWWWWWWWWWWWWWWWCWWWWW_WWWWWWCWWW_WWW _WKW...KWW.W_KWW....W........................................... ................................................................ ................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
Srv
PID
Acc
M
CPU
SS
Req
Conn
Child
Slot
Client
VHost
Request
0-0
15074
0/46/1370
W
7.39
46158
0
0.0
0.44
23.89
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=7000 HTTP/1.1
1-0
11563
0/47/468
W
2.75
58867
0
0.0
4.69
13.64
192.168.1.10
www.mysite.edu
GET /catalog/index.cfm?courselist=list&dept=&searchc=PEHW%20148
2-0
12906
0/65/884
W
7.30
54536
0
0.0
0.80
14.62
192.168.1.10
www.mysite.edu
GET /athletics/resources/nwaacc-athlete-of-the-week/ HTTP/1.1
3-0
13840
0/41/1085
W
4.01
51162
0
0.0
0.56
20.57
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=17001 HTTP/1.1
4-0
15928
0/20/1635
W
5.40
43715
0
0.0
0.06
41.37
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=37000 HTTP/1.1
5-0
18774
0/19/2387
W
0.33
34564
0
0.0
0.24
52.70
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=19009 HTTP/1.1
6-0
4321
0/36/6612
W
3.61
13200
0
0.0
0.28
129.74
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=28011 HTT
7-0
13077
0/0/808
W
0.42
54383
0
0.0
0.00
24.81
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=6005 HTTP
8-0
16488
0/118/1673
W
12.39
40692
0
0.0
1.30
35.44
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=31003 HTTP/1.1
9-0
10726
0/15/110
W
0.58
61963
0
0.0
0.05
1.83
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=All&index=Q HTTP/1.1
10-0
13154
0/1/688
W
0.00
54165
0
0.0
0.00
16.83
192.168.1.10
www.mysite.edu
GET /directory/?directory=All&firstname=Patrick&lastname=Murphy
11-0
12590
0/25/516
W
4.45
55851
0
0.0
0.76
11.19
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=4000 HTTP/1.1
12-0
12551
0/13/454
W
1.84
56055
0
0.0
0.38
10.00
192.168.1.10
www.mysite.edu
GET /directory/index.cfm?directory=department&deptexp=20001 HTT
13-0
13333
0/23/626
W
3.86
53189
0
0.0
0.57
11.66
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=31005 HTTP/1.1
14-0
12410
0/13/387
W
2.70
56484
0
0.0
0.42
10.55
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=6003 HTTP/1.1
15-0
13162
0/70/389
W
10.81
53114
0
0.0
0.86
5.60
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=6005 HTTP/1.1
16-0
12309
0/22/275
W
2.23
56878
0
0.0
0.43
3.91
192.168.1.10
www.mysite.edu
GET /directory/?directory=department&deptexp=20005 HTTP/1.1
17-0
13163
0/57/341
W
11.85
53120
0
0.0
1.38
6.49
192.168.1.10
www.mysite.edu
GET /catalog/index.cfm?courselist=list&dept=&searchc=ENGR%26%20
I have straced a hung process to only find the following :
strace -p 6472
Process 6472 attached - interrupt to quit
read(23,
Another interesting bit of info, none of these GET requests make it into my access.log file which I find very peculiar as well.
Here are my CF Specs
Server Details
Server Product ColdFusion
Version 10,0,13,287689
Tomcat Version 7.0.23.0
Edition Enterprise
Serial Number
Operating System UNIX
OS Version 3.2.0-65-generic
Update Level /opt/coldfusion10/cfusion/lib/updates/chf10000013.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.6.0_29
Java Vendor Sun Microsystems Inc.
Here are my Apache2 Specs
Server version: Apache/2.2.22 (Ubuntu)
Server built: Apr 17 2014 21:49:25
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.6, APR-Util 1.3.12
Compiled using: APR 1.4.6, APR-Util 1.3.12
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"
I am hoping this is no normal behavior for Coldfusion 10.
Many thanks in advance.We're having the same problem, although with CF11.
-
PDF printing--tomcat/cocoon installed, but report server not found------
As I understood, APEX 3.1 requires either BI/FO tools to enable PDF printing.
As I do not have BI license, and as I happened to check a very good link on a blog which had a detailed viewlet on apache-cocoon route for PDF print enabling, I downloaded the tomcat, cocoon source files, built the cocoon .WAR, put it in required place as instructed, started tomcot (ran into pronblems because of port conflits, resolved these by configuring different ports for 8005 and 8080 ports).
Now, when I want to configure the external report server, I am stuck.
I am not able to locate 'Instances' tab, or 'manage environment settings ' tab in 'manage services'
I am able to find only following tabs in 'manage services' under HOME.--> Administration ----> Manage services
1) session state
2) caching
3) workspace preferences
4) applications
5) workspace
6) workspace schema reports
7) Logs
Can anyone help me to find out where to configure the 'report server' now?
Thanks,
suresh.Sorry, it was a silly problem:) You have to be logged in as admin to 'see' the 'instances' tab. maybe in all the tomcat/cocoon build/config issues, this simply got off my head!
now, the problem of print server config is over, I have configured the same. the 'print' link is available now in report region, when I run the report. but when I click the 'print' link, it is taking ages...or rather it is still processing...!!
Can anyone please point out to me now what is the problem...?
thanks. -
Installing Tomcat Connector (mod_jk)
I just upgraded to Leopard (not the server version, but this seemed the most logical place to post this), and I'm trying to get everything working that was working under Tiger. I have always kept the most recent version of mod_jk installed so I could serve jsp applications through Apache, and I've never had much trouble building and installing it on the PPC or Intel platform. (Well, the installer always put it in the wrong directory, but that was easy to fix.)
So last night I downloaded the latest version (1.2.26), built it, installed it, modified http.config to load it and ran the syntax check. apachectl said:
Cannot load /usr/libexec/apache2/mod_jk.so into server:
dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found.
Did find:
/usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture
So I checked to see what the architecture of the file was. file said:
mod_jk.so: Mach-O bundle i386
So what's wrong with that? I checked a few other modules, and here's what file said about one of them:
mod_setenvif.so: Mach-O universal binary with 4 architectures
mod_setenvif.so (for architecture ppc7400): Mach-O bundle ppc
mod_setenvif.so (for architecture ppc64): Mach-O 64-bit bundle ppc64
mod_setenvif.so (for architecture i386): Mach-O bundle i386
mod_setenvif.so (for architecture x86_64): Mach-O 64-bit bundle x86_64
So I take it it's looking for x86_64? But why wouldn't the default architecture be the right one? I'm building it on the machine where I'm going to be using it. Not only that, but when I specify ./configure --with-apxs=/usr/sbin/apxs --with-arch-type x86_64 I get the same result.
Is there any way to build this thing, or can I get a binary somewhere?I found this in the BUILDING.txt file in the unzipped distribution.
Build for both Apache 1.3 and 2.0
If you want to build mod_jk for Apache 1.3 and 2.0, you should :
use configure and indicate Apache 1.3 apxs location (--with-apxs)
use make
copy the mod_jk binary to the apache modules location
make clean (to remove all previously compiled modules)
use configure and indicate Apache 2.0 apxs location,
then make.
./configure --with-apxs=/usr/sbin/apxs
make
cp ./apache-1.3/mod_jk.so /usr/lib/apache
make clean
./configure --with-apxs=/usr/sbin/apxs2
make
cp ./apache-2.0/mod_jk.so /usr/lib/apache2 -
[SOLVED] Installing mod_jk through Aurbuild - Cannot find...
OLD TOPIC TITLE: Tomcat + mod_jk + Apache2 - need help!
Hi everyone,
I've been trying to install mod_jk but cannot get it compiled (compiling finishes fine but then there is no mod_jk.so file.. got me stumbled..). Annyway, I found a wiki for it on the ArchWiki (http://wiki.archlinux.org/index.php/Tomcat_and_Apache), but the download link is dead, and since the only thing I really need is the compiled "mod_jk.so", that's a pretty big problem. Could someone provide me with 'jk2-2.0.2.tar.bz2'? I can get the other file ('tomcat-4.1.27-1.tar.gz') from the net easily, but googling for the jk2 file doesn't show any results other than the ArchWiki page refering to it..
I really need this for my school project so any help would be greatly appreciated!
Thanks in advance,
TargetHi mpie,
I greatly appreciate it that you take the time and effort to help me out here! I looked at the commands you where doing in the pkgbuild and tried some allready, I downloaded the source, extracted it and ran the commands as specified in the pkgbuild, the output:
(only errors)
appending configuration tag "F77" to libtool
checking for test... /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for uint32_t... yes
checking size of uint32_t... 4
checking for u_int32_t... yes
checking size of u_int32_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for unsigned longlong... no
checking size of unsigned longlong... 0
checking for snprintf... yes
checking for vsnprintf... yes
checking for flock... yes
checking for setsockopt in -lsocket... no
checking whether to use SO_RCVTIMEO with setsockopt()... yes
checking whether to use SO_SNDTIMEO with setsockopt()... yes
./configure: line 22428: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
checking for target platform... unix
no apache given
./configure: line 22749: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22752: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22759: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22954: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22966: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
./configure: line 22975: /bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/opt/gnome/bin:/opt/java/jre/bin:/opt/java/bin:/opt/qt/bin: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: creating common/portable.h
config.status: executing depfiles commands
I dont think the pkgbuild can fix those errors, what do you think? I looked through the configure script at the lines that the error messages state, but I don't see anything obviously wrong there. I've also met all the requirements for installing mod_jk as far as I know. echo $? after running ./configure shows a '0' too, so I'm not too sure if those errors are that serious.. After running a 'make' though (it does work for pretty long..) it doesn't show any errors, but there is no mod_jk.so in apache-2.0 directory. Also, after running make the exit code is still 0, so I don't think it has an error anywhere.
Any hints on what might cause these errors would be greatly appreciated!
I've attached the full output of the configure command and the make command:
http://tempz0ne.homelinux.com/configure-output.txt
http://tempz0ne.homelinux.com/make-output.txt -
Installing Tomcat connector for Apache
I realize this is more of a Linux configuration issue but it does deal with Tomcat so I am hoping someone can help.
I am having some problems installing the tomcat connector for Apache web server on Linux (Red Hat enterprise).
I need to have both Apache (by which I mean Apache Web Server) and Tomcat running on this system and it is my understanding that one can use the tomcat connector as an Apache module to connect from Apache to Tomcat for jsp requests.
Okay so here is what has been done.
Tomcat is installed and running fine (on port 8080)
Apache is running fine.
I followed this guide http://tomcat.apache.org/connectors-doc/howto/quick.html
And I created all the config files etc but when it comes to finding the mysterious mod_jk.so file I am stuck. I went to the downloads area and end up in the following directory/page http://apache.mirrors.northco.net/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.14/
I don't see a mod_jk.so file in there. (?!?) So... I poked around some more but I feel I am looking at the right directory so I downloaded the worker.so file and put that in my apache modules directory. I renamed it as mod_sk.so (now please bear in mind that I am not too dumb and I realize that renaming a file isn''t doing anything magical but due to lack of any documentation describing why there are two different files I took a guess and thought that maybe the different files are different threading setups or something (considering the other one is named prefork to me this seemed to be a logical conclusion based on the information given))
And of course it doesn't work. By which I mean the following happens if I run configtest for apache (if I try to start Apache same disaster)
# /sbin/service httpd configtest
Syntax error on line 3 of /etc/httpd/conf.d/tomcat_connector.conf:
Cannot load /etc/httpd/modules/mod_jk.so into
server: /etc/httpd/modules/mod_jk.so: cannot open
shared object file: No such file or directoryOkay... Except a file with that name (see above) IS in that directory. And it has the same permissions as the other modules which are loading.
(After moving to the modules directory)
# dir
libphp4.so mod_cache.so mod_imap.so mod_proxy_http.so
mod_access.so mod_cern_meta.so mod_include.so mod_proxy.so
mod_actions.so mod_cgi.so mod_info.so mod_python.so
mod_alias.so mod_dav_fs.so mod_jk.so mod_rewrite.so
[more stuff that loads here but edited for length]So I think something else has gone wrong here... namely that I have the wrong file or something.
Anyway I am a bit stuck at this point. Could someone point me in the right direction please because I am just going in circles at this point with the documentation not matching up to what files are available or explaining what those files in fact actually are.I solved this issue by compiling the file from source. I got hold of another admin friend who told me that the version I had was for 64 bit. Now how I was supposed to discover this or where in fact a compiled version of this file is on the apache site I know not.
But it's working now.
Maybe you are looking for
-
Streaming G5 through a TV- do you need a good video card?
Hi Everyone I recently fried my videocard (thanks so much to everyone here who helped me with that issue), just as I bought a DVI-Svideo adaptor that would allow me to stream my G5 through my TV. Unfortunately, my videocard was the Radeon 9600 card -
-
MacBook keep disconnecting from LinkSYS WAG325N WiFi Modem/Router
Hello, I've been using my MacBook for a really long time. Over 1.5 years I had no Wi-Fi connection problems until my US Robotics 9106 Modem stopped working. I bought a nice LinkSYS WAG325N Modem. From that moment on, my MacBook started to disconnect
-
SQL> begin 2 dbms_fga.add_policy( 3 object_schema=>'SA', 4 object_name=> 'TABLE_CASE', 5 policy_name=> 'SA_Audit', 6 audit_condition=> 'status = ''A''', 7 audit_column=> 'OBJID,S_TITLE,CASE_STATE2CONDITION', 8 handler_schema => 'SA', 9 handler_module
-
Itunes - airport express - remote speaker not compatible?
Airport Express unit (AX) connects to my network and verified to be connected to the network just fine...but on itunes (v. 7.4.2.4) on my desktop (Dell Dim E510 with wireless, Windows XP, Linksys router WRT350N with AX for airtunes)...when I switch s
-
hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and