You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Ortega <ro...@wcom.com> on 2000/06/06 00:42:59 UTC
use of apxs to build mod_jserv.so
I tried to use apxs to build mod_jserv.so according to instructions in
"Tomcat - A Minimalistic User's Guide". I got an error I'm trying to
understand:
teams2# /usr/local/apache/bin/apxs -c *.c -o mod_jserv.so
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
autochange.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c autochange.c
autochange.c: In function `main':
autochange.c:65: warning: cast to pointer from integer of different size
autochange.c:87: warning: cast to pointer from integer of different size
autochange.c:88: warning: cast to pointer from integer of different size
autochange.c:117: warning: cast to pointer from integer of different
size
autochange.c:132: warning: cast to pointer from integer of different
size
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_ajpv11.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_ajpv11.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_ajpv12.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_ajpv12.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_balance.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_balance.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_image.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_image.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_mmap.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_mmap.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_protocols.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_protocols.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_status.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_status.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_utils.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_utils.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_watchdog.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_watchdog.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_wrapper.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_wrapper.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_wrapper_unix.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_wrapper_unix.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
jserv_wrapper_win.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c jserv_wrapper_win.c
apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
mod_jserv.c
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -c mod_jserv.c
apxs:Break: Command is -o autochange.so mod_jserv.o
jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o
jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o
jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o
autochange.o -o mod_jserv.so
-o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o
jserv_ajpv12.o jserv_ajpv11.o autochange.o -o mod_jserv.so
apxs:Break: Command failed with rc=-256
teams2#
Any suggestions?
Thanks,
Bob
Re: use of apxs to build mod_jserv.so
Posted by Torsten Glunde <tg...@pcf-software.de>.
You my have a look at this site if you are using redhat.
http://www.php.net/FAQ.php#6.11
Robert Ortega schrieb:
> I tried to use apxs to build mod_jserv.so according to instructions in
> "Tomcat - A Minimalistic User's Guide". I got an error I'm trying to
> understand:
>
> teams2# /usr/local/apache/bin/apxs -c *.c -o mod_jserv.so
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> autochange.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c autochange.c
> autochange.c: In function `main':
> autochange.c:65: warning: cast to pointer from integer of different size
>
> autochange.c:87: warning: cast to pointer from integer of different size
>
> autochange.c:88: warning: cast to pointer from integer of different size
>
> autochange.c:117: warning: cast to pointer from integer of different
> size
> autochange.c:132: warning: cast to pointer from integer of different
> size
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_ajpv11.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_ajpv11.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_ajpv12.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_ajpv12.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_balance.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_balance.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_image.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_image.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_mmap.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_mmap.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_protocols.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_protocols.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_status.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_status.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_utils.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_utils.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_watchdog.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_watchdog.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper_unix.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper_unix.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper_win.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper_win.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> mod_jserv.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c mod_jserv.c
> apxs:Break: Command is -o autochange.so mod_jserv.o
> jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o
> jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o
> jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o
>
> autochange.o -o mod_jserv.so
> -o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
> jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
> jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o
> jserv_ajpv12.o jserv_ajpv11.o autochange.o -o mod_jserv.so
> apxs:Break: Command failed with rc=-256
> teams2#
>
> Any suggestions?
>
> Thanks,
> Bob
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
RE: tomcat on IIS/NT4.0
Posted by Marcel Huijkman <ma...@glasshouse.nl>.
Its worked for me three times in a row. Hope this helps
Does this mean you have it working as a service as well,
since this is for me the most serious problem that occured.
* Dit emailbericht is verzonden op 100% gerecycled emailverkeer *
* This email-message has been sent by using 100% recycled email *
\,_('> \\\|/// <')_,/
\==_) >>>--\\ - - //----> (_==/
-'= ( @ @ ) ='-
/------------------------oOOo-(_)-oOOo-------------------------\
| | |
| Glasshouse Business Network | Marcel Huijkman |
| Lakenblekerstraat 49 | Development Manager |
| 1431 GD Aalsmeer | Mobiel Tel: 0620-367885 |
| PoBox: 74 | E-mail werk: |
| 1430 AB Aalsmeer | marcel.huijkman@glasshouse.nl |
| Tel: 0297-386066 | |
| Fax: 0297-386064 | E-mail prive: |
| E-mail: info@glasshouse.nl | marcello@theheadoffice.com |
|------------------------------+-------------------------------|
| http://www.glasshouse.nl |
| http://www.flowerweb.nl |
\---------------------------------Oooo-------------------------/
oooO ( )
( ) ) /
\ ( (_/
\_)
Re: tomcat on IIS/NT4.0
Posted by Alok Daipuria <al...@yack.com>.
I don't believe it. I have been trying to run it on my Win2000 & one NT4.0 since
y'day. On my win2k, I just tried running
http://localhost:8080/examples/servlets/HelloWorldExample and then from URL,
removed 8080 & bingo. It executed the servlet. I am still wondering what
happened.
But my NT4.0 isn't yet running it. :-(
Struggle going on.
-alok
Carl Parrish wrote:
> When I could get my servlets working but not my JSP on my NT box the problem
> was my Java_Home wasn't set correctly you may want to try going to
> Start->Settings->Control Panel - >System->Environment
> and setting the Varible there.
>
> Carl Parrish
> Webmaster
> ComputerPREP.com
>
> ----- Original Message -----
> From: Alok Daipuria <al...@yack.com>
> To: <to...@jakarta.apache.org>
> Sent: Tuesday, June 06, 2000 9:23 AM
> Subject: Re: tomcat on IIS/NT4.0
>
> > hi kjg,
> > thanks a lot for taking pains of writing every step here.
> > My situation is : my tomcat is running fine. (I connect to
> > http://localhost:8080/examples, the page comes up. & it executes
> > servlets also, but fails for JSP examples.
> > The problem is when I try to run them as http://localhost/examples,
> > the connector should pick up this request. Once I saw the IIS log trying
> > to get /jakarta/isapi_redirector.dll with 200 status, but then nothing
> > came up. The isapi.log doesn't say about anything failing.
> > I have gone thru each of the steps you mentioned again to make sure
> > I didn't miss anything. But still IIS is not redirecting requests to
> > isapi_redirector.
> >
> > My registry settings are :
> > HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundatation ->
> > Jakarta Isapi Redirector -> 1.0 ->
> > extension_uri = "/jakarta/isapi_redirect.dll"
> > log_file = "e:\Java\tomcat\logs\isapi.log"
> > log_level = "debug"
> > worker_file = "e:\Java\tomcat\conf\workers.properties"
> > worker_mount_file = "e:\Java\tomcat\conf\uriworkermap.properties"
> >
> > HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentCOntrolSet -> Services
> > W3SVC -> Parameters ->
> > Filter DLLs = "e:\java\tomcat\bin\iis\isapi_redirect.dll"
> >
> > Anything I have left, please tell me.
> >
> > thanks
> > ALok
> >
> > KJG wrote:
> > >
> > > TomCat Setup With IIS 4 Replace with your PC tcp/p
> > > http://192.168.1.1:8080
> > >
> > > Install - JavaTM2 SKD Standard Edition v 1.3 to D:\jdk1.3 download from
> the
> > > Sun web site
> > > Add to System Properties, PATH=D:\jdk1.3\bin
> > > Unzip jakarta-tomcat.zip to D:\tomcat
> > > Add redirector to D:\tomcat\iis\i386\isapi_redirector.dll
> > > Add registry HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
> Foundation/Jakarta
> > > Isapi Redirector/1.0
> > > to the registry as per IIS how to.
> > > Start IIS MMC Console
> > >
> > > Add Virtual Directory to Web root, Mine was IS called jakarta, add the
> path
> > > D:\tomcat\iis\i386\idapi_redirector.dll With execute access
> > >
> > > In the MMC IS web properties/ISAPI Filters add a filter called jakarta
> > > Executable = D:\tomcat\iis\i386\isapi_redirect.dll
> > >
> > > Stop and restart the IIS web Site
> > >
> > > Add user Variable to properties/environment JAVA_HOME=D:\jdk1.3 and
> > > TOMCAT_HOME=D:\tomcat
> > > Reboot the server and at the command prompt check set and path to see if
> > > the new additions show up.
> > >
> > > >From the dos prompt cd d:\tomcat\bin
> > > Then from the prompt tomcat start do not close the Java.exe dos window
> > >
> > > Some of the details are in the how to.
> > >
> > > Hope this helps.
> > >
> > > Its worked for me three times in a row. Hope this helps
> > >
> > > -----Original Message-----
> > > From: Alok Daipuria [mailto:alok@yack.com]
> > > Sent: Monday, June 05, 2000 7:13 PM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: tomcat on IIS/NT4.0
> > >
> > > has anyone succesfully configured tomcat on IIS.
> > > I have done the setup, connector is running, but somehow the connector
> fails
> > > to
> > > process the requests.
> > > I have tried the setup on 2 m/cs and it's not running on either. I
> couldn't
> > > figure out the reason for apj12 not serving.
> > >
> > > any clues?
> > >
> > > thanks
> > > Alok
> > > alok@yack.com
> > >
> >
> > --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> > >
> >
> > --------------------------------------------------------------------------
> > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
> > --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
--
-alok
alok@yack.com
Re: tomcat on IIS/NT4.0
Posted by Carl Parrish <cp...@computerprep.com>.
When I could get my servlets working but not my JSP on my NT box the problem
was my Java_Home wasn't set correctly you may want to try going to
Start->Settings->Control Panel - >System->Environment
and setting the Varible there.
Carl Parrish
Webmaster
ComputerPREP.com
----- Original Message -----
From: Alok Daipuria <al...@yack.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, June 06, 2000 9:23 AM
Subject: Re: tomcat on IIS/NT4.0
> hi kjg,
> thanks a lot for taking pains of writing every step here.
> My situation is : my tomcat is running fine. (I connect to
> http://localhost:8080/examples, the page comes up. & it executes
> servlets also, but fails for JSP examples.
> The problem is when I try to run them as http://localhost/examples,
> the connector should pick up this request. Once I saw the IIS log trying
> to get /jakarta/isapi_redirector.dll with 200 status, but then nothing
> came up. The isapi.log doesn't say about anything failing.
> I have gone thru each of the steps you mentioned again to make sure
> I didn't miss anything. But still IIS is not redirecting requests to
> isapi_redirector.
>
> My registry settings are :
> HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundatation ->
> Jakarta Isapi Redirector -> 1.0 ->
> extension_uri = "/jakarta/isapi_redirect.dll"
> log_file = "e:\Java\tomcat\logs\isapi.log"
> log_level = "debug"
> worker_file = "e:\Java\tomcat\conf\workers.properties"
> worker_mount_file = "e:\Java\tomcat\conf\uriworkermap.properties"
>
> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentCOntrolSet -> Services
> W3SVC -> Parameters ->
> Filter DLLs = "e:\java\tomcat\bin\iis\isapi_redirect.dll"
>
> Anything I have left, please tell me.
>
> thanks
> ALok
>
> KJG wrote:
> >
> > TomCat Setup With IIS 4 Replace with your PC tcp/p
> > http://192.168.1.1:8080
> >
> > Install - JavaTM2 SKD Standard Edition v 1.3 to D:\jdk1.3 download from
the
> > Sun web site
> > Add to System Properties, PATH=D:\jdk1.3\bin
> > Unzip jakarta-tomcat.zip to D:\tomcat
> > Add redirector to D:\tomcat\iis\i386\isapi_redirector.dll
> > Add registry HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
Foundation/Jakarta
> > Isapi Redirector/1.0
> > to the registry as per IIS how to.
> > Start IIS MMC Console
> >
> > Add Virtual Directory to Web root, Mine was IS called jakarta, add the
path
> > D:\tomcat\iis\i386\idapi_redirector.dll With execute access
> >
> > In the MMC IS web properties/ISAPI Filters add a filter called jakarta
> > Executable = D:\tomcat\iis\i386\isapi_redirect.dll
> >
> > Stop and restart the IIS web Site
> >
> > Add user Variable to properties/environment JAVA_HOME=D:\jdk1.3 and
> > TOMCAT_HOME=D:\tomcat
> > Reboot the server and at the command prompt check set and path to see if
> > the new additions show up.
> >
> > >From the dos prompt cd d:\tomcat\bin
> > Then from the prompt tomcat start do not close the Java.exe dos window
> >
> > Some of the details are in the how to.
> >
> > Hope this helps.
> >
> > Its worked for me three times in a row. Hope this helps
> >
> > -----Original Message-----
> > From: Alok Daipuria [mailto:alok@yack.com]
> > Sent: Monday, June 05, 2000 7:13 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: tomcat on IIS/NT4.0
> >
> > has anyone succesfully configured tomcat on IIS.
> > I have done the setup, connector is running, but somehow the connector
fails
> > to
> > process the requests.
> > I have tried the setup on 2 m/cs and it's not running on either. I
couldn't
> > figure out the reason for apj12 not serving.
> >
> > any clues?
> >
> > thanks
> > Alok
> > alok@yack.com
> >
>
> --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> >
>
> --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
Re: tomcat on IIS/NT4.0
Posted by Alok Daipuria <al...@yack.com>.
hi kjg,
thanks a lot for taking pains of writing every step here.
My situation is : my tomcat is running fine. (I connect to
http://localhost:8080/examples, the page comes up. & it executes
servlets also, but fails for JSP examples.
The problem is when I try to run them as http://localhost/examples,
the connector should pick up this request. Once I saw the IIS log trying
to get /jakarta/isapi_redirector.dll with 200 status, but then nothing
came up. The isapi.log doesn't say about anything failing.
I have gone thru each of the steps you mentioned again to make sure
I didn't miss anything. But still IIS is not redirecting requests to
isapi_redirector.
My registry settings are :
HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundatation ->
Jakarta Isapi Redirector -> 1.0 ->
extension_uri = "/jakarta/isapi_redirect.dll"
log_file = "e:\Java\tomcat\logs\isapi.log"
log_level = "debug"
worker_file = "e:\Java\tomcat\conf\workers.properties"
worker_mount_file = "e:\Java\tomcat\conf\uriworkermap.properties"
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentCOntrolSet -> Services
W3SVC -> Parameters ->
Filter DLLs = "e:\java\tomcat\bin\iis\isapi_redirect.dll"
Anything I have left, please tell me.
thanks
ALok
KJG wrote:
>
> TomCat Setup With IIS 4 Replace with your PC tcp/p
> http://192.168.1.1:8080
>
> Install JavaTM2 SKD Standard Edition v 1.3 to D:\jdk1.3 download from the
> Sun web site
> Add to System Properties, PATH=D:\jdk1.3\bin
> Unzip jakarta-tomcat.zip to D:\tomcat
> Add redirector to D:\tomcat\iis\i386\isapi_redirector.dll
> Add registry HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta
> Isapi Redirector/1.0
> to the registry as per IIS how to.
> Start IIS MMC Console
>
> Add Virtual Directory to Web root, Mine was IS called jakarta, add the path
> D:\tomcat\iis\i386\idapi_redirector.dll With execute access
>
> In the MMC IS web properties/ISAPI Filters add a filter called jakarta
> Executable = D:\tomcat\iis\i386\isapi_redirect.dll
>
> Stop and restart the IIS web Site
>
> Add user Variable to properties/environment JAVA_HOME=D:\jdk1.3 and
> TOMCAT_HOME=D:\tomcat
> Reboot the server and at the command prompt check set and path to see if
> the new additions show up.
>
> >From the dos prompt cd d:\tomcat\bin
> Then from the prompt tomcat start do not close the Java.exe dos window
>
> Some of the details are in the how to.
>
> Hope this helps.
>
> Its worked for me three times in a row. Hope this helps
>
> -----Original Message-----
> From: Alok Daipuria [mailto:alok@yack.com]
> Sent: Monday, June 05, 2000 7:13 PM
> To: tomcat-user@jakarta.apache.org
> Subject: tomcat on IIS/NT4.0
>
> has anyone succesfully configured tomcat on IIS.
> I have done the setup, connector is running, but somehow the connector fails
> to
> process the requests.
> I have tried the setup on 2 m/cs and it's not running on either. I couldn't
> figure out the reason for apj12 not serving.
>
> any clues?
>
> thanks
> Alok
> alok@yack.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
RE: tomcat on IIS/NT4.0
Posted by KJG <kj...@alltel.net>.
TomCat Setup With IIS 4 Replace with your PC tcp/p
http://192.168.1.1:8080
Install JavaTM2 SKD Standard Edition v 1.3 to D:\jdk1.3 download from the
Sun web site
Add to System Properties, PATH=D:\jdk1.3\bin
Unzip jakarta-tomcat.zip to D:\tomcat
Add redirector to D:\tomcat\iis\i386\isapi_redirector.dll
Add registry HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software Foundation/Jakarta
Isapi Redirector/1.0
to the registry as per IIS how to.
Start IIS MMC Console
Add Virtual Directory to Web root, Mine was IS called jakarta, add the path
D:\tomcat\iis\i386\idapi_redirector.dll With execute access
In the MMC IS web properties/ISAPI Filters add a filter called jakarta
Executable = D:\tomcat\iis\i386\isapi_redirect.dll
Stop and restart the IIS web Site
Add user Variable to properties/environment JAVA_HOME=D:\jdk1.3 and
TOMCAT_HOME=D:\tomcat
Reboot the server and at the command prompt check set and path to see if
the new additions show up.
tomcat on IIS/NT4.0
Posted by Alok Daipuria <al...@yack.com>.
has anyone succesfully configured tomcat on IIS.
I have done the setup, connector is running, but somehow the connector fails to
process the requests.
I have tried the setup on 2 m/cs and it's not running on either. I couldn't
figure out the reason for apj12 not serving.
any clues?
thanks
Alok
alok@yack.com
Re: use of apxs to build mod_jserv.so
Posted by Matthew Cordes <mc...@maine.edu>.
Bob, I'm not sure about the error, but if you need the mod_jserv.so, I
could send you mine, I just compiled it yesterday for apache 1.3.12
on debian linux 2.2 ( That is assuming you trust some guy on the
internet, and I would certainly understand if you choose not to :)
-Matthew Cordes
On Mon, Jun 05, 2000 at 05:42:59PM -0500, Robert Ortega wrote:
> I tried to use apxs to build mod_jserv.so according to instructions in
> "Tomcat - A Minimalistic User's Guide". I got an error I'm trying to
> understand:
>
> teams2# /usr/local/apache/bin/apxs -c *.c -o mod_jserv.so
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> autochange.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c autochange.c
> autochange.c: In function `main':
> autochange.c:65: warning: cast to pointer from integer of different size
>
> autochange.c:87: warning: cast to pointer from integer of different size
>
> autochange.c:88: warning: cast to pointer from integer of different size
>
> autochange.c:117: warning: cast to pointer from integer of different
> size
> autochange.c:132: warning: cast to pointer from integer of different
> size
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_ajpv11.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_ajpv11.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_ajpv12.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_ajpv12.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_balance.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_balance.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_image.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_image.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_mmap.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_mmap.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_protocols.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_protocols.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_status.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_status.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_utils.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_utils.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_watchdog.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_watchdog.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper_unix.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper_unix.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> jserv_wrapper_win.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c jserv_wrapper_win.c
> apxs:Break: Command is gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c
> mod_jserv.c
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -c mod_jserv.c
> apxs:Break: Command is -o autochange.so mod_jserv.o
> jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o
> jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o
> jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o
>
> autochange.o -o mod_jserv.so
> -o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
> jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
> jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o
> jserv_ajpv12.o jserv_ajpv11.o autochange.o -o mod_jserv.so
> apxs:Break: Command failed with rc=-256
> teams2#
>
>
> Any suggestions?
>
>
>
> Thanks,
> Bob
>
>
>
>
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>