tomcat apache question

2003-10-27 Thread Javier Sanchez Monzon


hi there , 

Hi Matt Raible,

i have read on the Tomcat Users List <[EMAIL PROTECTED]> that you 
have already configured the tomcat and apache server.  I am trying to do this 
but i have some problems.  I hope you can help me.  

My scenario is: apache 1.2.37 and tomcat 4.1.27 LE. on solaris 8 and i have no 
access to root rights my make Program is: GNU Make 3.80. and I am new with 
tomcat. These aplications are already installed and configured. All works 
right.

I have not found any binary for this combination, because of this, i wanted to 
build it from source the jakarta-tomcat connector.  I choose the jk1.2.5, 
because i read that works good with my apache.  Is it right this or is easier 
to install or better to use than the jk2 connector?

While building this jk1.2.5 from source i receive this message(excuse me the 
size of the file). I built this with ./configure --with-
apxs=/opt/apache.../bin/apxs.  And then "make"

After going to the directory: ..native/apache1-3 i only found this files that 
are related with mod_jk: 

apache-1.3/mod_jk.a  
apache-1.3/mod_jk.dsp
apache-1.3/mod_jk.la 
apache-1.3/mod_jk.o  
apache-1.3/mod_jk.so.0@
apache-1.3/mod_jk.c  
apache-1.3/mod_jk.exp
apache-1.3/mod_jk.lo 
apache-1.3/mod_jk.so@
apache-1.3/mod_jk.so.0.0.0*

The file mod_jk.so is no there why? and I need to save it under the libraries 
libexec from apache.

I found after i did this messageAfterMake.txt file these lines:
libtool: install: warning: remember to run `libtool --
finish /opt/apache/libexec'
libtool: install: warning: remember to run `libtool --
finish /opt/apache/libexec'

I did this, but then i did not see any created files.  I change after this the 
directoy of /opt/apache/... to my home, but also there are no generated 
files.   What is wrong? Is the version from make bad?

kind regards and gladly to hear any suggestions, 
tino



-
This mail sent through IMP: http://horde.org/imp/
Making all in common
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
Making all in apache-1.3
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
/usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so
cp .libs/mod_jk.so.0.0.0 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3 && rm -f 
mod_jk.so.0 && ln -s mod_jk.so.0.0.0 mod_jk.so.0)
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3 && rm -f 
mod_jk.so && ln -s mod_jk.so.0.0.0 mod_jk.so)
chmod +x 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
cp .libs/mod_jk.lai 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.la
cp .libs/mod_jk.a 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
ranlib /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
chmod 644 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native'
target="all"; \
list='common apache-1.3'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i" != "."; then \
   (cd $i && make $target) || exit 1; \
fi; \
done;
Making all in common
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/common'
Making all in apache-1.3
make[1]: Entering directory 
`/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3'
/usr/local/bin/libtool --mode=install cp mod_jk.la `pwd`/mod_jk.so
cp .libs/mod_jk.so.0.0.0 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3 && rm -f 
mod_jk.so.0 && ln -s mod_jk.so.0.0.0 mod_jk.so.0)
(cd /home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3 && rm -f 
mod_jk.so && ln -s mod_jk.so.0.0.0 mod_jk.so)
chmod +x 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.so.0.0.0
cp .libs/mod_jk.lai 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.la
cp .libs/mod_jk.a 
/home/tino/jakarta-tomcat-connectors-jk-1.2.5-src/jk/native/apache-1.3/mod_jk.a
ranlib /home/ti

Authentication with Tomcat/Apache Question

2003-03-21 Thread Mete Kural
Hi,

I am perplexed at this interesting problem. We want to use JDBCRealm to authenticate 
users in Tomcat, but yet we want to serve static stuff via Apache to improve 
performance. If we set up Tomcat as a worker for Apache using the JK2 connector, I 
don't see how requests for static files are going to be authenticated via JDBCRealm, 
since Tomcat doesn't even know about these static requests in the first place due to 
the fact that Apache handles them right away without dispatching them to Tomcat. I'm 
thinking that if we could somehow set up Apache to be a worker for Tomcat, and Tomcat 
received all requests and dispatched those that are static to Apache, then all 
requests would be authenticated via JDBCRealm. But I don't know how to do that neither 
if this is possible at all. Do you have any ideas on how to authenticate "every 
request" with JDBCRealm yet serve only static stuff with Apache.

Thanks,
Mete


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]