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 

Re: Session attributes lost

2003-10-27 Thread Javier Sanchez Monzon
hi , 
i didn't use JBoss, but i had also a problem about losing http sessions while 
trying to connect apache and tomcat.  the problem was on my configuration 
serv.xml. Therer was no proxy sever defined. I set up the proxy sever on 
tomcat an it works, but only internal. i mean only at the computers of the 
firma. but there was no way for people outside the firma to call the web app.  
Then i need to setup a tomcat connector, where actually i am.  if i setup 
correctly, then it shall work the connection.

i do not know if this would help you.

reagards, 
tino
 
Quoting Markus Heussen [EMAIL PROTECTED]:

 Hi all,
 
 Our environment:
 
 * Win2K
 * first Apache Tomcat/4.1.18 with JDK 1.3.1_07-b02
 * Apache 2.0.44 in Front of the Tomcat an with mod_jk2 2.0.43 running for
 load balancing
 * JBoss 3.2.1 with a separate JDK 1.3.1_07 included a Tomcat 4.1.24
 
 
 We have some strange losts of session attribute values. It seems that the
 problem occurs in particular when the servers load is high. Our Cocoon
 2.0.4
 application stores each request parameter and any user given form data in
 separate session attributes. Again and again it happens, that stored
 session
 attributes are lost. In all cases the session itself seems to be valid. It
 also happens that a date like 19.10.2000 stored in a session attribute
 returns on getAttribute the value 19.10.. Mostly the informations stored
 in session attributes are string objects.
 
 I searched round about few days in different mailing lists for hints
 finding
 a fix for this problem. It seems that we are not alone with this problem.
 But still I did not find a answer :-(
 
 Anybody out there who can turn us to the right direction to solve this
 behavior?
 
 Please help us!
 
 Best regards, Markus
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
This mail sent through IMP: http://horde.org/imp/


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



building mod_jk from source

2003-10-22 Thread Javier Sanchez Monzon


Hi , dear community

i am fixing slowly my bugs with your help!.  This mailing list works fine.

I want to build my own mod_jk from source for solaris.

I have a new problem while trying to run the command make (after I did: 
./configure -with-apxs=APACHE_HOME/bin/apxs). 

I receive this message:
/bin/bash ./config.status --recheck
running /bin/bash ./configure  --with-apxs=/opt/apache-1.3.27-2002-12-
14/bin/apxs  --no-create --no-recursion
./configure: line 1261: syntax error near unexpected token `AM_INIT_AUTOMAKE
(${PACKAGE},'
./configure: line 1261: `AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})'


After this i cann see only links of mod_jk.so under apache1.3/ 
mod_jk.so - mod_jk.so.0.0.0
mod_jk.so.0 - mod_jk.so.0.0.0


Any idea to fix this? 


best regards, 
tino

-
This mail sent through IMP: http://horde.org/imp/


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



RE: building mod_jk from source - TO GREG -

2003-10-22 Thread Javier Sanchez Monzon
Hi Greg,

i am using make, version: GNU MAKE 3.80
-?? i don't know, if apache was compiled with sun's cc/make/automake

helps you to make conclusions?

regards, 
tino




Quoting [EMAIL PROTECTED]:

 Jusy a thought;
 
 What varients of automake/cc/make are you using?  Was apache complied with
 sun's cc/make/automake and you are using GNU's?
 
 Greg
 
 
  
  Hi , dear community
  
  i am fixing slowly my bugs with your help!.  This mailing 
  list works fine.
  
  I want to build my own mod_jk from source for solaris.
  
  I have a new problem while trying to run the command make 
  (after I did: 
  ./configure -with-apxs=APACHE_HOME/bin/apxs). 
  
  I receive this message:
  /bin/bash ./config.status --recheck
  running /bin/bash ./configure  --with-apxs=/opt/apache-1.3.27-2002-12-
  14/bin/apxs  --no-create --no-recursion
  ./configure: line 1261: syntax error near unexpected token 
  `AM_INIT_AUTOMAKE
  (${PACKAGE},'
  ./configure: line 1261: `AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})'
  
  
  After this i cann see only links of mod_jk.so under apache1.3/ 
  mod_jk.so - mod_jk.so.0.0.0
  mod_jk.so.0 - mod_jk.so.0.0.0
  
  
  Any idea to fix this? 
  
  
  best regards, 
  tino
  
  -
  This mail sent through IMP: http://horde.org/imp/
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
This mail sent through IMP: http://horde.org/imp/


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



jk2 connector with apache 1.3 ?

2003-10-21 Thread Javier Sanchez Monzon
Hi there, 

i have only one question, 
do you know if the jk2 connector can also be connected with apache 1.3 ? 


regards, 
tino





-
This mail sent through IMP: http://horde.org/imp/


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



cannot build jk on solaris

2003-10-20 Thread Javier Sanchez Monzon
hi

I want to build jk2 from source, but i only can run the ./configure command.  
when i type make nothing hapens.  I only can see the mod_jk2.c and mod_jk2.dsp 
on apache13.  But noting about mod_jk.so


regards, 

Tino

-
This mail sent through IMP: http://horde.org/imp/


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



cannot build jk on solaris

2003-10-20 Thread Javier Sanchez Monzon


hi 

I want to build jk2 from source, but i only can run the ./configure command.   
when i type make nothing hapens.  I only can see the mod_jk2.c and mod_jk2.dsp 
on apache13.  But noting about mod_jk.so 


regards, 

Tino 
 
 


-
This mail sent through IMP: http://horde.org/imp/


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



warp connector under tomcat 4.1?

2003-10-20 Thread Javier Sanchez Monzon


Hi all there, 

do you know if the warp connector still works on the tomcat 4.1.27 ? I have 
an apache 1.3(solaris), this is already setup with mod_webapp.  On the other 
side i have tomcat 4.1.27 and my application that want to present.  Do you 
know if this tomcat version still have the warpConnector and the warpEngine ? 


regards, 
tino


-
This mail sent through IMP: http://horde.org/imp/


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



mod_webapp configuration

2003-10-20 Thread Javier Sanchez Monzon
 
Hi,  
 
 
has anyone setup the warp connector? for tomcat 4.1? I know that this 
connector is part of the tomcat 4.0, but i start my service configured with 
the warp connector without problems. but i do not see my application with 
http://localhost:portNumber.   
 
I did this:  
 
1.-mod_webapp, already installed on the apache 1.3.27 and works fine with 
other apps. 
2.- the setup on the $TOMCAT_HOME/conf/server.xml 
 
Service name=Tomcat-Apache 
 Service name=Tomcat-Apache 
 
Connector className=org.apache.catalina.connector.warp.WarpConnector 
 port=9081 address=localhost minProcessors=5 maxProcessors=75 
 enableLookups=true appBase=webapps/zeno 
 acceptCount=10 debug=0/ 
 
 
!-- Replace localhost with what your Apache ServerName is set to -- 
Engine className=org.apache.catalina.connector.warp.WarpEngine 
 name=Apache debug=0 
  !-- Global logger unless overridden at lower levels -- 
 
  Logger className=org.apache.catalina.logger.FileLogger 
  prefix=apache_log. suffix=.txt 
  timestamp=true/ 
 
  !-- Because this Realm is here, an instance will be shared globally -- 
 
  Realm className=org.apache.catalina.realm.MemoryRealm / 
 
/Engine 
 
  /Service 
 
3. i call the localhost:9081, and there is no answer 
 
4 Do i need to install any other programm in tomcat? 
 
regards,  
 
tino 

-
This mail sent through IMP: http://horde.org/imp/


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



mod_webapp connector ?

2003-10-19 Thread Javier Sanchez Monzon
Hi all, 

i am searching the mod_webapp web connector in order to connect tomcat 4.1.27 
LE and Apache 1.3.27.  I am using solaris.   

This connector does not appear anymore under the jakarta-tomcat server. Anyone 
that already downloaded it?, please send me it to this email. 


tino 








-
This mail sent through IMP: http://horde.org/imp/


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