Apache Tomcat WebServer on Lenny
Is there anything different needed to configure Tomcat to work behind Apache webserver under Debian, as opposed to say OpenSuse or Windows. I've been fighting this all day and Apache flatly refuses to forward URL's to tomcat and instead look for all urls at /var/www. All the relevant config files are found by Apache, mod_jk is loaded but still no joy. If I use port 8080 to go straight to Tomcat the app loads, so Tomcat is fine and I've flat run out of ideas. Regards -- View this message in context: http://www.nabble.com/Apache-Tomcat---WebServer-on-Lenny-tp25508100p25508100.html Sent from the Debian User mailing list archive at Nabble.com. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Apache Tomcat WebServer on Lenny
Hi, Roger: On Friday 18 September 2009 14:48:32 RogerV wrote: Is there anything different needed to configure Tomcat to work behind Apache webserver under Debian Not that I'm aware off. as opposed to say OpenSuse or Windows. I've been fighting this all day and Apache flatly refuses to forward URL's to tomcat and instead look for all urls at /var/www. All the relevant config files are found by Apache, mod_jk is loaded but still no joy. If I use port 8080 to go straight to Tomcat the app loads, so Tomcat is fine and I've flat run out of ideas. Let's see... You install mod_jk package (libapache2-mod-jk). Just in case, have a look at its config file (/etc/libapache2-mod-jk/workers.properties). You make sure Tomcat runs the ajp connector (the Define a Coyote/JK2 Connector section on /etc/tomcat5/server.xml). Then you bind your apache fronted to your tomcat app through the proper connector through a JKMount directive, like JKMount /mywebapp ajp13 And then have a look both at the tomcat startup logs under /var/log/tomcat5/ and those from Apache under /var/log/apache2/ at startup and when trying to access your webapp through the handler. Barring this, any other error would be one the the usual non-distribution specific problems between apache and tomcat (mismatching configurations, problems defining valves/connectors on tomcat, etc.) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
installing SAM/ELN using apache+tomcat on debian?
I am attempting to install the SAM/ELN software from ORNL/PNNL (collaboratory.emsl.pnl.gov and sourceforge.net/projects/eln/) but I am hampered by having no experience with tomcat. Has anyone successfully run this software on a debian box with apache and tomcat? I am not able to get user authentication to work. Mike P.S. I am using tomcat5 5.0.30-12etch1 and apache2.2 2.2.3-4+etch3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apache Tomcat 5.5 no Debian (1)
Bom dia, Sou novo nesta lista mas não sou novo em linux. Recorro a lista por que definitivamente, nao consegui resolver alguns detalhes do Tomcat após longas pesquisas no Google e muita tentativa e erro, somado ao fato que a terminologia do Tomcat é bem sui-generis e o tempo esta passando sem as soluções. Situação: Tomcat 5.5 no Debian Etch, server.xml padrão, Policies padrão, Java.Security disabled (até eu saber como o tomcat pode funcionar sem isso travando ele). Problema 1 : Ao definir um arquivo de contexto na minha aplicação (minhapplic) e colocado no diretorio META-INF (/minhapplic/META-INF/context.xml) , o arquivo de contexto não é copiado para o diretorio /var/lib/tomcat5.5/conf/Catalina/localhost/minhapplic.xml na hora do deploy da aplicação no Tomcat, obrigando a uma copia manual que deve ser feito acessando o servidor como root. Em tese isso deveria ser automatico. Não faço ideia por que isso nao funciona no meu Debian. Problema 2: Sinto imensa falta de um log de acessos/erros das páginas/servlets do Tomcat, similar ao log de acesso que temos no Apache. Há como ter uma dica sobre este assunto? Problema 3: Logo no start do Tomcat, o log do catalina.out reclama que o Tomcat não consegue acessar o Apache Runtime Library para melhorar a performance. Verifiquei que tenho o APR instalado mas não vi como/onde colocar os dois pra conversar. Qualquer ajuda sobre esse mardito vale um chopp virtual. Haveria alguma página especifica sobre o tomcat no Debian, feito pelos empacotadores talvez...? Olivier Hallot BrOffice.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Res: Apache Tomcat 5.5 no Debian (1)
Caro Olivier! Quando decidi estudar TomCat (simplesmente para ver como funciona), em diversas documentações (a oficial recomenda utilizar os pacotes rpm - http://java.sun.com/javase/6/webnotes/install/index.html) que encontrei (by Google) nenhuma achei pacotes .deb, pois na verdade quem mantém os pacotes java de instalação é a Sun, mas sei que tem gente que consegue fazer tal instalação sem maiores problemas, consegui homologar com sucesso uma solução utilizando o CentOs4. Você só vai ter certeza que o problema está no tomcat e não na aplicação se ver isso com o pessoal do desenvolvimento, ou vc mesmo está desenvolvendo a aplicação e mantendo o servidor? Utilizei como parâmetro as documentações abaixo: http://www.mhavila.com.br/topicos/java/tomcat.html http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=6467 http://programandosemcafeina.blogspot.com/2007/05/nmero-de-threads-no-tomcat.html http://www.zago.eti.br/apache2.txt http://java.sun.com/javase/downloads/index.jsp http://tomcat.apache.org/tomcat-5.0-doc/setup.html http://www.tummy.com/Community/Articles/tomcat-centos/ http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=5425 http://www.vivaolinux.com.br/dicas/verDica.php?codigo=8732 http://www.vivaolinux.com.br/dicas/verDica.php?codigo=8732 http://jf.eti.br/howto-instalando-tomcat-integrado-com-apache/ http://under-linux.org/wiki//index.php/Tutoriais/Apache/Apache-tom-cat Boa sorte e bons estudos - Mensagem original De: Olivier Hallot [EMAIL PROTECTED] Para: debian-user-portuguese@lists.debian.org Enviadas: Quarta-feira, 16 de Janeiro de 2008 8:33:21 Assunto: Apache Tomcat 5.5 no Debian (1) Bom dia, Sou novo nesta lista mas não sou novo em linux. Recorro a lista por que definitivamente, nao consegui resolver alguns detalhes do Tomcat após longas pesquisas no Google e muita tentativa e erro, somado ao fato que a terminologia do Tomcat é bem sui-generis e o tempo esta passando sem as soluções. Situação: Tomcat 5.5 no Debian Etch, server.xml padrão, Policies padrão, Java.Security disabled (até eu saber como o tomcat pode funcionar sem isso travando ele). Problema 1 : Ao definir um arquivo de contexto na minha aplicação (minhapplic) e colocado no diretorio META-INF (/minhapplic/META-INF/context.xml) , o arquivo de contexto não é copiado para o diretorio /var/lib/tomcat5.5/conf/Catalina/localhost/minhapplic.xml na hora do deploy da aplicação no Tomcat, obrigando a uma copia manual que deve ser feito acessando o servidor como root. Em tese isso deveria ser automatico. Não faço ideia por que isso nao funciona no meu Debian. Problema 2: Sinto imensa falta de um log de acessos/erros das páginas/servlets do Tomcat, similar ao log de acesso que temos no Apache. Há como ter uma dica sobre este assunto? Problema 3: Logo no start do Tomcat, o log do catalina.out reclama que o Tomcat não consegue acessar o Apache Runtime Library para melhorar a performance. Verifiquei que tenho o APR instalado mas não vi como/onde colocar os dois pra conversar. Qualquer ajuda sobre esse mardito vale um chopp virtual. Haveria alguma página especifica sobre o tomcat no Debian, feito pelos empacotadores talvez...? Olivier Hallot BrOffice.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/
Balanceo de carga y tolerancia a fallos - Apache + Tomcat + MySQL
Hola lista: Estoy viendo de agregar tolerancia a fallos y balanceo de carga a una estructura formada por un Apache + Tomcat, el cual consulta un servidor de bases de datos en MySQL. Internet---FW--Apache/Tomcat---MySQL Se ha agregado otro servidor web, InternetFWApache/Tomcat--MySQL |--Apache/Tomcat--| Mi intención es de alguna manera balancear la carga entre ambos servidores web, y configurar algún tipo de tolerancia a fallos, Por necesidad de las aplicaciones hechas es Java, es condición necesaria que una vez que un usuario web inicia sesión en un equipo web, la misma se mantenga en dicho equipo durante la duración de la sesión. Si alguien tiene experiencia en el tema, le agradecería que me acerque algún dato. No pido que me resuelvan la instalación, sino que me guíen en la dirección correcta. Desde ya muchas gracias. -- Federico Lazcano [EMAIL PROTECTED] Área Tecnología Dirección General de Informática Municipalidad de Rosario pgpLN9Z0GYXVo.pgp Description: PGP signature
Re: Balanceo de carga y tolerancia a fallos - Apache + Tomcat + MySQL
El jue, 03-08-2006 a las 18:01 -0300, Federico Lazcano escribió: Hola lista: Estoy viendo de agregar tolerancia a fallos y balanceo de carga a una estructura formada por un Apache + Tomcat, el cual consulta un servidor de bases de datos en MySQL. Internet---FW--Apache/Tomcat---MySQL Se ha agregado otro servidor web, InternetFWApache/Tomcat--MySQL |--Apache/Tomcat--| Mi intención es de alguna manera balancear la carga entre ambos servidores web, y configurar algún tipo de tolerancia a fallos, Por necesidad de las aplicaciones hechas es Java, es condición necesaria que una vez que un usuario web inicia sesión en un equipo web, la misma se mantenga en dicho equipo durante la duración de la sesión. Si alguien tiene experiencia en el tema, le agradecería que me acerque algún dato. No pido que me resuelvan la instalación, sino que me guíen en la dirección correcta. Desde ya muchas gracias. Yo tengo algo similar 2 apaches con load balancing que redireccionan con mod_jk a 2 tomcat Uno de los apache maneja la direccion IP virtual y el balanceo de carga y si se cae el otro toma la IP virtual hasta tanto reviva el otro (con heartbeat) el balanceo a nivel apache lo hago con LVS y despues podes hacer algo similar con el mod_jk Lo unico diferente es que el clustering de aplicacion lo hacen los jboss Y no los tomcat Por el mantenimiento de la sesion no te preocupes que lo resuelven bien el LVS y el mod_jk -- Angel Claudio Alvarez Usuario Linux Registrado 143466 GPG Public Key en http://pgp.mit.edu key fingerprint = 3AED D95B 7E2D E954 61C8 F505 1884 473C FC8C 8AC4 Puede alguien decirme: me voy a comer tu dolor?? P Rey signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: Apache TOMCAT + PHP 5
El jue, 26-01-2006 a las 10:02 -0500, Diego Quintana Cruz escribió: El 26/01/06, Patricio Rocca Huguet[EMAIL PROTECTED] escribió: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. Yo tengo entendido que es un apache basico y le han agregado el modulo para mostrar y compilar jsps. Pues has entendido mal. Tomcat no tiene nada que ver con apache. Apache es un servidor web, tomcat es un contenedor de servlets que también puede servir páginas web. Lo que ocurre es que tomcat se integra muy bien con apache, de modo que el servidor web sea apache y éste llame a tomcat cuando tenga que servir un servlet java. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA)/ \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apache TOMCAT + PHP 5
Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT?Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas?Estuve buscando un poco de info y no encontre ningun link que me satisfaga.Saludos y gracias
Re: Apache TOMCAT + PHP 5
El Jueves, 26 de Enero de 2006 14:38, Patricio Rocca Huguet escribió: Estuve buscando un poco de info y no encontre ningun link que me satisfaga. sigue buscando. Saludos y gracias -- Training is everything. The peach was once a bitter almond; cauliflower is nothing but cabbage with a college education. -- Mark Twain, Pudd'nhead Wilson's Calendar -- // //Rober Morales Chaparro // #include /* RMC'05 */ iostream class saludo { public: saludo(){ std::cout Hola; } ~saludo() { std::cout Mundo! ; } } ; int main() { saludo holamundo; }
Re: Apache TOMCAT + PHP 5
Hola Patricio... decías, el 26-ene-2006 [10:38 -0300]: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas? Estuve buscando un poco de info y no encontre ningun link que me satisfaga. Saludos y gracias http://gentoo-wiki.com/HOWTO_Apache2_and_Tomcat5 http://www.cublog.cn/u/7879/showart.php?id=31596 (en chino pero solo hace 2 o 3 comentarios el resto es un listado de como intalarlos, merece la pena verlo) Y ya seguro que alguien lo pregunto antes que tu, tienes http://mail-archives.apache.org/mod_mbox/tomcat-users/ Suerte signature.asc Description: Digital signature
Re: Apache TOMCAT + PHP 5
El 26/01/06, Patricio Rocca Huguet[EMAIL PROTECTED] escribió: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. Tomcat es un contenedor de servlets. Es un servidor de java servlets que también puede servir páginas estáticas. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas? Usa apache para servir páginas estáticas y todo lo demás, y luego tomcat como un ayudante de apache para servir los servlets. En la documentación de tomcat se comenta como se hace esto. Saludos Aritz Beraza [Rei] -- Aritz Beraza Garayalde [Rei] ___ [ WWW ] http://www.ayanami.es [jabber] rei[en]bulmalug.net
Re: Apache TOMCAT + PHP 5
El 26/01/06, Patricio Rocca Huguet[EMAIL PROTECTED] escribió: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. Yo tengo entendido que es un apache basico y le han agregado el modulo para mostrar y compilar jsps. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas? Creo que no es posible hacer eso, pero lo que podrias hacer es instalar el apache y tambien el modulo para linkear al tomcat, de tal forma que no pongas 8080 para ingresar. En google hay harta info sobre este modulo que ahorita no recuerdo el nombre Estuve buscando un poco de info y no encontre ningun link que me satisfaga. Ya tienes por donde empezar Saludos y gracias De nada Saludos, -- Diego Quintana a.k.a. RouterMaN Estudiante Ing de las Telecomunicaciones PUCP Linux Registered User #382615 - http://counter.li.org/ http://routerman.blogsome.com http://planeta.debianperu.org
Re: Apache TOMCAT + PHP 5
Apache es un servidor web que a crecido mucho y hace muchas cosas. Tomcat es un servidor de servlets jsp que tambien puede hacer de servidor web. Pero en toda la documentación dice que no es productivo usar Tomcat como servidor web, aunque es práctico para desarrollo o sitios pequeños. Lo ideal es configurar apache con los módulos que quieras (entre ellos PHP) y dejar que Tomcat gestione únicamente los jsp. Para ello en tu virtual host pones algo parecido a VirtualHost *:80 ServerName mi.dominio.com DocumentRoot /var/www/html Location /*.jsp JkUriSet worker ajp13:aplicacion:8013 /Location Location /manager JkUriSet worker ajp13:aplicacion:8013 /Location /VirtualHost Un ejemplo paso a paso de instalación de apache2 con Tomcat (aunque sobre RH) http://www.guimi.net/index.php?pag_id=tec-docs/apache_tomcat.html Saludos Guimi http://www.guimi.net - Original Message - From: Diego Quintana Cruz [EMAIL PROTECTED] To: Lista Debian debian-user-spanish@lists.debian.org Sent: Thursday, January 26, 2006 4:02 PM Subject: Re: Apache TOMCAT + PHP 5 El 26/01/06, Patricio Rocca Huguet[EMAIL PROTECTED] escribió: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. Yo tengo entendido que es un apache basico y le han agregado el modulo para mostrar y compilar jsps. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas? Creo que no es posible hacer eso, pero lo que podrias hacer es instalar el apache y tambien el modulo para linkear al tomcat, de tal forma que no pongas 8080 para ingresar. En google hay harta info sobre este modulo que ahorita no recuerdo el nombre Estuve buscando un poco de info y no encontre ningun link que me satisfaga. Ya tienes por donde empezar Saludos y gracias De nada Saludos, -- Diego Quintana a.k.a. RouterMaN Estudiante Ing de las Telecomunicaciones PUCP Linux Registered User #382615 - http://counter.li.org/ http://routerman.blogsome.com http://planeta.debianperu.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache TOMCAT + PHP 5
El jue, 26-01-2006 a las 10:38 -0300, Patricio Rocca Huguet escribió: Alguien tiene experiencia o sabe si se puede instalar php5 (con phpMyAdmin) sobre un apache TOMCAT? Por lo que tengo entendido el apache TOMCAT es un apache al cual se le agregan funcionalidades, pero nunca estuve muy seguro. En caso que esto sea posible, algun link donde se explique como instalar ambas cosas? Leiste la documentacion de tomcat?? Tomcat es un servidor de paginas jsp con una muy mala perfomance como servidor http. De hecho la mayoria de las aplicaciones jsp trabajan con otro servidor Apache utilizando un conector Si vas a desarrollar jsp instala tomcat + Apache2 Si no, solo Apache2 Estuve buscando un poco de info y no encontre ningun link que me satisfaga. donde??? Saludos y gracias -- Angel Claudio Alvarez Usuario Linux Registrado 143466 GPG Public Key en http://pgp.mit.edu key fingerprint = 3AED D95B 7E2D E954 61C8 F505 1884 473C FC8C 8AC4 signature.asc Description: Esta parte del mensaje está firmada digitalmente
apache-tomcat
Saludos, una pregunta trivial necesito instalar apache-tomcat para poder realizar algunas cosas en jsp, pero tambien estoy trabajando en php. Mi pregunta es la siguiente si instalo apache-tomcat, podre seguir trabajando con los script de php sin ningun problemas o cuando instale apache-tomcat me desabilitara el modulo del servidor apache para php. Gracias.
Re: apache-tomcat
El tomcat se encargará de los JSP, Servlets, etc. Lo que deberás hacer es instalar un Apache que se encargará de los scripts de php y luego instalar un tomcat. Por defecto el tomcat servirá las páginas web en el puerto 8080. Es decir, tendrás un Apache en el 80 y un Tomcat en el 8080. Ya tienes un servidor capaz de responder a peticiones de PHP y Java. Para que todo esto sea transparente al usuario debes hacer que el Apache le pase las peticiones de Java al Tomcat y eso se hace con un conector que tambieén está en la página web de tomcat jakarta.apache.org. Creo que eso es todo. Ahora mismo no te puedo explicar más sobre el tema del conector, porque no lo recuerdo bien... hace tiempo que lo hice, pero funciona de vicio.. Un saludo. On Sun, 25 Sep 2005 10:26:34 -0400 Radagast Istar [EMAIL PROTECTED] wrote: Saludos, una pregunta trivial necesito instalar apache-tomcat para poder realizar algunas cosas en jsp, pero tambien estoy trabajando en php. Mi pregunta es la siguiente si instalo apache-tomcat, podre seguir trabajando con los script de php sin ningun problemas o cuando instale apache-tomcat me desabilitara el modulo del servidor apache para php. Gracias.
Domínio Virtual + Apache + Tomcat
Senhores, Estou precisando configurar o Apache + Tomcat para suporte a domínios virutais, já tenho o Apache 1.3.31 rodando com o Jk2 e o Jakarta-Tomcat 5.0.27 já consigo enviar as solicitações por caminho para serem interpretados pelo TomCat mas preciso que quando alguém digite tipo: www.dominio.com.br o todas as páginas sejam enviadas para o Tomcat. Agradeço qualquer sugestão, dica, link na internet, mandual de 500 páginas em pdf, endereço de pai de santo qualquer :-), qualquer coisa... -- - # ANDERSON BISPO DA SILVA # Analista de Redes - Jornal A TARDE / A TARDE On-Line # [EMAIL PROTECTED] - UIN: 121821039 # 55 71 340-8736 / 55 71 340-8252 # http://www.atarde.com.br # Linux Registered User #2063550 # # Talento eh 1% inspiracao e 99% transpiracao - pgp1jLDjZ2xbr.pgp Description: PGP signature
Apache + Tomcat + Postgresql + Mysql
Se puede tener los cuatro juntos en un mismo servidor, los html que los atienda apache, los php también apache, los jsp tomcat, y que ademas se puedan realizar accesos a dos bases de datos diferentes. Por cierto, porque no hay tomcat 5 en Debian?
Re: Apache + Tomcat + Postgresql + Mysql
Caba wrote: Por cierto, porque no hay tomcat 5 en Debian? Lo puedes averiguar tu mismo Lo único que he conseguido averiguar, es que... puede que sea porque es muy inestable???. Cosa que no puedo dar por cierta, porque desde que uso la versión 5, no he tenido grandes problemas, por eso, me pregunto ( y no soy capaz de averiguarlo) porque no lo han incluido aun en Debian.
Re: Apache/Tomcat integration on Debian?
If there's a tutorial somewhere I'd appreciate it if you can point me to it. Maybe http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html helps you? Rainer Hoeckmann -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apache/Tomcat integration on Debian?
Hi.. I'm a linux newbie and am trying to set up a web server using Apache (to serve html, _javascript_sand images) and tomcat (to serve up JSPs that talk to mysql). I have apache 1.3.26 running on port 80 and have downloaded tomcat 5.0.19 that starts on port 8080. How do I get these two to work together so that I can access jsp files thru port 80 (and serve up images used by JSPs thru apache)? If there's a tutorial somewhere I'd appreciate it if you can point me to it. Thanks Charlie
Re: Apache/Tomcat integration on Debian?
Charlie Wu wrote: Hi.. I'm a linux newbie and am trying to set up a web server using Apache (to serve html, javascripts and images) and tomcat (to serve up JSPs that talk to mysql). I have apache 1.3.26 running on port 80 and have downloaded tomcat 5.0.19 that starts on port 8080. How do I get these two to work together so that I can access jsp files thru port 80 (and serve up images used by JSPs thru apache)? If there's a tutorial somewhere I'd appreciate it if you can point me to it. Thanks Charlie Hello Charlie, Perhaps the apache site would have something already formatted for this sort of configuration? Regards, David. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Apache+Tomcat
On Tue, 29 Jul 2003 18:33:07 -0300, Henrique Vinicius wrote: estou tendo problemas para configurar o tomcat + o apache. Já peguei algumas receitas mas ainda não fui feliz. Como tentou, mensagens de erro? -- _ Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34 / \ http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34 \ / Answer to the list, not to me directly!+55 (11) 5686 2219 / \ Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro
Apache+Tomcat
Boa tarde, estou tendo problemas para configurar o tomcat + o apache. Já peguei algumas receitas mas ainda não fui feliz. Alguém poderia ajudar ? Obrigado. _ Voce quer um iGMail protegido contra vírus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/
Hosting junto a Apache+Tomcat+JSP+Servlets (Java) ?
Hola Lista: Me gustaría saber sobre la posibilidad de Hosting de la Base de Datos junto a Apache+Tomcat+JSP+Servlets (Java), ya que mi idea es el utilizar dicha combinacion para el desarrollo de aplicaciones web segun J2EE. Alguna opinion al respecto ? Alguien esta utilizando esta combinacion ? En caso afirmativo, Cual es la experiencia obtenida ? En caso negativo, Que tecnologia usas y Cual es la experiencia obtenida ? Muchas Gracias Pablo Darío Ingelhorn Ingelhorn Sistemas [EMAIL PROTECTED] La Pampa - Argentina
Re: Problemas con Apache+Tomcat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hola On Tuesday 18 February 2003 20:42, Diego Fernando Muriel wrote: Hola Debian Tengo un pequeño problema... espero que me entiendan Tengo instalado el Apache 2.0.44 corriendo bien Tengo Instalado el Tomcat 4.1.18 corriendo bien pero tengo problemas al intentar comunicarlos ya descargue el webapp-module y segui las instrucciones pero al intentar correo el apache me aparece el siguiente error Syntax error on line 232 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_webapp.so into server: /usr/local/apache/libexec/mod_webapp.so: undefined symbol: ap_pstrdup barranquillo:/usr/local/apache/bin# Cannot load /usr/local/apache/libexec/mod_webapp.so into server: Debes prestar atención a este error: /usr/local/apache/libexec/mod_webapp.so: undefined symbol: ap_pstrdup Lo que te está diciendo de una forma muy simple es que las librerías del sistema y el módulo que tienes no se llevan bien, ¿es un paquete precompilado?, de ser así yo compilaría el módulo en tu sistema o utilizaría todos los paquetes implicados de la misma fuente ( un apt-get de todos ellos, por ejemplo ) Un saludo Victor -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+U0hXEzqHF8R72ekRAiPfAJ4voeYe8h4VrGx+I62MCwAZdXMFZwCfakBZ UU2rFOTdF5uPwWhwYA3oXs4= =sE8E -END PGP SIGNATURE-
Re: Problemas con Apache+Tomcat
Diego Fernando Muriel dijo: pero tengo problemas al intentar comunicarlos ya descargue el webapp-module y segui las instrucciones pero al intentar correo el apache me aparece el siguiente error Yo creo que se te solucionaría si te bajas el fuente del deb y lo recompilas. Pero si no te ves con ganas, pon un bug con reportbug y espera a que suban una versión arreglada. -- .''`. Girl, you gotta change your crazy ways, you hear me? : :' :Crazy by Aerosmith `. `'Proudly running Debian GNU/Linux (Sid + 2.4.20 + Ext3) `-www.amayita.com www.malapecora.com www.chicasduras.com
Problemas con Apache+Tomcat
Hola Debian Tengo un pequeño problema... espero que me entiendan Tengo instalado el Apache 2.0.44 corriendo bien Tengo Instalado el Tomcat 4.1.18 corriendo bien pero tengo problemas al intentar comunicarlos ya descargue el webapp-module y segui las instrucciones pero al intentar correo el apache me aparece el siguiente error
Re: Problemas con Apache+Tomcat
y el error??? trata de mandarlo de nuevo! _\|/_ (O-O)--oOO-(_)-OOoDiego Alvarez ZuluagaUniversidad Autonoma de ManizalesEstudiante.Usuario Linux: 280515Icq: 36670725.NET Passport: [EMAIL PROTECTED]-- - Original Message - From: Diego Fernando Muriel To: debian-user-spanish@lists.debian.org Sent: Tuesday, February 18, 2003 1:29 PM Subject: Problemas con Apache+Tomcat Hola Debian Tengo un pequeño problema... espero que me entiendan Tengo instalado el Apache 2.0.44 corriendo bien Tengo Instalado el Tomcat 4.1.18 corriendo bien pero tengo problemas al intentar comunicarlos ya descargue el webapp-module y segui las instrucciones pero al intentar correo el apache me aparece el siguiente error
Problemas con Apache+Tomcat
Hola Debian Tengo un pequeño problema... espero que me entiendan Tengo instalado el Apache 2.0.44 corriendo bien Tengo Instalado el Tomcat 4.1.18 corriendo bien pero tengo problemas al intentar comunicarlos ya descargue el webapp-module y segui las instrucciones pero al intentar correo el apache me aparece el siguiente error Syntax error on line 232 of /usr/local/apache/conf/httpd.conf:Cannot load /usr/local/apache/libexec/mod_webapp.so into server: /usr/local/apache/libexec/mod_webapp.so: undefined symbol: ap_pstrdupbarranquillo:/usr/local/apache/bin# Cannot load /usr/local/apache/libexec/mod_webapp.so into server: /usr/local/apache/libexec/mod_webapp.so: undefined symbol: ap_pstrdup
Connecting Apache Tomcat
I wanted to try some Java Server Pages, so I today installed Apache, Tomcat and some other required packages from woody. Apache works fine for simple HTML, with Tomcat (on port 8180) I can view my .jsp files. But I want to view jsp with Apache. apache is 1.3.26-0woody3, tomcat 4.0.3-3woody1 (+ webapps) In file /etc/tomcat4/server.xml I read: 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. so I installed libapache-mod-webapp v. 1.2.1-1 (the mod_webapp.so was loaded fine) and then I added lines with WebAppConnection and WebAppDeploy into my httpd.conf. But when I started apache deamon, it writed: Starting web server: apacheSyntax error on line 245 of /etc/apache/httpd.conf: Invalid command 'WebAppDeploy', perhaps mis-spelled or defined by a module not included in the server configuration failed Are there other posibilities to connect Apache and Tomcat? Any hints greatly appreciated, thanks. Palo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Debian + Apache + Tomcat + J2sdk 1.3
Boa noite Pessoal, Estou tendo um pequeno problema aqui no ajuste fino do servidor. Se alguem puder me dar uma luz, eu agradeceria muito. Vamos, inicialmente descrever a paisagem: Estou usando um Debian woody (sempre up2date), com: apache 1.3.26-0woody1 tomcat44.0.3-3 libapache-mod-jk 3.3a-4 j2sdk1.3 1.3.1-1 Tudo configuradinho butininho, rodando que é uma beleza os exemplos do tomcat4 numa boa... Mas quando necessito colocar os jar para a comunicação com o MS SQL (mssqlserver.jar, msutil.jar e msbase.jar) para funcionar... elas simplesmetne sao ignoradas Coloquei os referidos jar no dir /usr/lib/j2sdk1.3/lib/ e no arquivo /usr/share/tomcat4/bin/setclasspath.sh arrumei a linha do CLASSPATH para: # Set standard CLASSPATH CLASSPATH=$JAVA_HOME/lib/tools.jar:/usr/lib/j2sdk1.3/lib/msbase.jar:/usr/lib/j2sdk1.3/lib/msutil.jar:/usr/lib/j2sdk1.3/lib/mssqlserver.jar export CLASSPATH Depois, iniciava o apache e o tomcat e... e... e... Acessava o site e em /var/log/tomcat4/catalina.out aparecia temida mensagem de erro: ConnectionBean: driver not loaded Pois bem... fiz um teste: Defini em /root/.bashrc a variavel de ambiente JAVA_HOME tal como no script /etc/init.d/tomcat4 e executei o tomcat4 através de seu executavel (em /usr/bin/tomcat4), depois restartando o apache normalmente... e... e... e... Voilá!!! Funcionou tudo o acesso aos banco de dados e as pesquisas!!! em catalina.out: Database: Microsoft SQL Server Versao: Microsoft SQL Server 2000 - 8.00.534 (Intel X86) Nov 19 2001 13:23:50 Copyright (c) 1988-2000 Microsoft Corporation Standard Edition on Windows NT 5.0 (Build 2195: Service Pack 2) Alguem pode me explicar o porque disto e de como fazer para eu poder iniciarlizar pelo script /etc/init.d/tomcat4 com os jar funcionando??? De antemao, obrigado!!! cheers, Frederico
apache - tomcat
Hallo Gemeinde, ich habe per apt-get einen Apache, Tomcat4 und libapache-mod-webapp installiert und laut Anleitung konfiguriert, will ich aber nun zu meinen connections eine Verbindung herstellen, dann erhalte ich folgende Fehlermeldung: mod_webapp(warp) error Unable to connect (-2) to Host: localhost (127.0.0.1) Port: 8008 http://localhost/examples/ oder http://localhost/ROOT/index.html sind die URL die ich aufrufe in der /etc/hosts steht folgendes; 172.0.0.1coder001localhost hier meine anderen config files: httpd.conf: --- LoadModule webapp_module /usr/lib/apache/1.3/mod_webapp.so IfModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppMount examples warpConnection /examples/ WebAppMount ROOT warpConnection /ROOT/ /IfModule server.xml: --- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=false appBase=webapps acceptCount=10 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 DefaultName=127.0.0.1 Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: apache - tomcat
Christian Meissner wrote: Hallo Gemeinde, ich habe per apt-get einen Apache, Tomcat4 und libapache-mod-webapp installiert und laut Anleitung konfiguriert, will ich aber nun zu meinen connections eine Verbindung herstellen, dann erhalte ich folgende Fehlermeldung: mod_webapp(warp) error Unable to connect (-2) to Host: localhost (127.0.0.1) Port: 8008 http://localhost/examples/ oder http://localhost/ROOT/index.html sind die URL die ich aufrufe in der /etc/hosts steht folgendes; 172.0.0.1coder001localhost Hallo Christian, das Paket mod_webapp ist nicht das mod_webapp, dass vom Tomcat normalerweise verwendet wird. Nimm mod_jk, damit hat es bei mir geklappt. Gruß Carsten Schulz -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Apache, Tomcat y toda su familia
Hola a todos: He instalaldo el tomcat4 y tomcat4-webapps que vienen en woody junto con libmodules_mod_jk para integrarlo en el apache. Primero, cuando arranco el tomcat se tira mil años, hasta que doy a enter y se sale. ¿Sabéis por qué puede ser esto? Segundo, alguien usa tomcat con virtualhost de apache? Muchas gracias a todos. Ángel
Re: Apache, Tomcat y toda su familia
falkom dijo: Primero, cuando arranco el tomcat se tira mil años, hasta que doy a enter y se sale. Si miras por /var/log/tomcat te puedes encontrar alguna pista de por qué no está arrancando. Segundo, alguien usa tomcat con virtualhost de apache? Sí, ¿qué duda tienes? -- .''`. Life is WYGIWYD: What You Get Is What You Deserve : :' : `. `' Proudly running Debian GNU/Linux Sid (2.4.18 + Ext3) `-www.amayita.com www.malapecora.com www.chicasduras.com
problem error 404 XML : apache + tomcat + cocoon1
Bonjour à tous, Je souhaite faire fonctionner Cocoon à des fins d'expérimentation. * Bon, j'ai commencé par installer TOMCAT et ses fichiers d'exemples... pas de problèmes... ça marche bien sur http://localhost:8081/examples cool. * puis j'ai bien interfacé avec Apache avec mod_jserv selon les explications de http://www.3ie.org/~cocoon/. ça marche bien sur http://localhost/examples * maintenant cocoon : J'ai bien installé, ainsi que les exemples. J'ai fait l'ajout du context dans la conf tomcat : ça marche sur http://localhost:8081/cocoon et de même sur avec la conf apache : http://localhost/cocoon Mais le problèmes, c'est que dès que j'essais d'interprêter un xml comme les exemples cocoon fournis par debian : j'ai toujours une erreur 404 : Not Found (404) Original request: /cocoon/index.xml Not found request: /cocoon/index.xml --- Quel peut-être la solution à mon problême ? --- Merci de votre aide. ps: j'ai aussi testé en mod_jk au lieu de mod_jserv... c'est pareil. ps2: c'est sur j2sdk1.3. -- Pascal Pucci : [EMAIL PROTECTED] http://www.pascalou.org, sur le mobil : [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apache + tomcat = root
Gente... cuidado com o Tomcat... Já sairam algumas vulnerabilidades onde se pode conseguir acesso root no servidor que executa o Tomcat. Então tratem de atualizar seus servidores, que agora que todos que participam anônimamente da lista (só ficam vendo o que rolam) sabem que seus servidores estão vulneráveis... então... mãos-a-obra. Links Relacionados: Apache Tomcat 3.0 http://www.hacker.com.br/vuln.php?id=3063 Incluindo sequências de /../ na requisição de uma URL poderá conseguir acesso aos arquivos do sistema. É possível por exemplo o servidor Tomcat enviar o conteúdo do arquivo win.ini. URL JSP Request Source Code http://www.hacker.com.br/vuln.php?id=3069 Requisitando certos caracteres para um servidor web que estiver Tomcat e WebLogic's, será retornado o código fonte de arquivos JSP. Falow... Atenciosamente, Bruno Taranto Alvim Site http://www.hacker.com.br E-mail [EMAIL PROTECTED] Cosmo escritas: Paulo Antonio Hypolito Rodrigues Você compilou o apache com as opções ./configure --activate-module=src/modules/php4/libphp4.a --prefix=/usr/local/apache --enable-rule=SHARED_CORE (*) --enable-module=rewrite(*) --enable-shared=rewrite(*) Recompilei o apache com essas opcoes, mas mesmo assim apareceu a mensagem de erro : Syntax error on line 14 of /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? /usr/local/apache/bin/apachectl start: httpd could not be started Acrescentei as seguinte linha no arquivo httpd.conf : Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf Acrescentei as seguinte linha no arquivo tomcat.conf : LoadModule jk_module libexec/mod_jk.so O estranho eh que durante o comando configure aparece uma mensagem que esta sendo abilitado o suporte a DSO. ./configure do apache : Configuring for Apache, Version 1.3.19 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o php4_module uses ConfigStart/End + enabling generation of Apache core as DSO + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/php4 [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apache + tomcat
Paulo Antonio Hypolito Rodrigues Você compilou o apache com as opções ./configure --activate-module=src/modules/php4/libphp4.a --prefix=/usr/local/apache --enable-rule=SHARED_CORE (*) --enable-module=rewrite(*) --enable-shared=rewrite(*) Recompilei o apache com essas opcoes, mas mesmo assim apareceu a mensagem de erro : Syntax error on line 14 of /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? /usr/local/apache/bin/apachectl start: httpd could not be started Acrescentei as seguinte linha no arquivo httpd.conf : Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf Acrescentei as seguinte linha no arquivo tomcat.conf : LoadModule jk_module libexec/mod_jk.so O estranho eh que durante o comando configure aparece uma mensagem que esta sendo abilitado o suporte a DSO. ./configure do apache : Configuring for Apache, Version 1.3.19 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o php4_module uses ConfigStart/End + enabling generation of Apache core as DSO + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/php4 [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
apache + tomcat
Paulo Antonio Hypolito Rodrigues Você compilou o apache com as opções ./configure --activate-module=src/modules/php4/libphp4.a --prefix=/usr/local/apache --enable-rule=SHARED_CORE (*) --enable-module=rewrite(*) --enable-shared=rewrite(*) Recompilei o apache com essas opcoes, mas mesmo assim apareceu a mensagem de erro : Syntax error on line 14 of /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? /usr/local/apache/bin/apachectl start: httpd could not be started Acrescentei as seguinte linha no arquivo httpd.conf : Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat.conf Acrescentei as seguinte linha no arquivo tomcat.conf : LoadModule jk_module libexec/mod_jk.so O estranho eh que durante o comando configure aparece uma mensagem que esta sendo abilitado o suporte a DSO. ./configure do apache : Configuring for Apache, Version 1.3.19 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o php4_module uses ConfigStart/End + enabling generation of Apache core as DSO + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/php4 [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
Apache Tomcat 3.0
Opa, Gente, vcs estavam mechendo com o tomcat a um certo tempo, muitos de vcs estao vulneraveis nesse momento. Acabo de publicar a materia no site HISS - Hacker Internet Security Services (http://www.hacker.com.br) onde descreve o bug no Tomcat. Acesse o site onde encontrarão mais detalhes sobre a vulnerabilidade e a solução para a correção do bug, Segue abaixo uma breve descrição da vulnerabilidade: Incluindo sequências de /../ na requisição de uma URL poderá conseguir acesso aos arquivos do sistema. É possível por exemplo o servidor Tomcat enviar o conteúdo do arquivo win.ini. http://www.hacker.com.br Falow Atenciosamente, Bruno Taranto email: [EMAIL PROTECTED] site: http://www.hacker.com.br
apache + tomcat
All Aparentemente consegui instalar o Jakarta Toncat. Ate agora fiz o seguinte : ## Download ## http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.1.1/bin/linux/i386/ mod_jserv.so http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/ jakarta-tomcat-3.2.1.tar.gz ## instalacao ## # cd /urs/local # tar xzvf jakarta-tomcat-3.2.1.tar.gz # cd /usr/local/jakarta-tomcat-3.2.1/bin # ./startup.sh Aparentemente inicializou corretamente pois abri o browser netscape e executei o seguinte comando, localhost:8080, e apareceu a pagina do TomCat. # joe /usr/local/apache/conf/httpd.conf Acrescentei no final do texto a linha: Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf # cp /tmp/mod_jserv.so /usr/local/apache/libexec # /usr.local/apache/bin/apachectl restart Reinicializou o apache normalmente, sem nenhuma mensagem de erro. Criei um dominio virtual, www.java.com.br, e fiz um teste para saber se estava funcionando. Criei uma pagina com codigo php e abir a pagina sem nenhum problema. O que devo fazer agora para poder comecar a crias as paginas .jsp, devo alterar alguam coisa no arquivo de configuracao do apache, httpd.conf, e no do tomcat, tomcat-apache.conf ?!?!?! PS : para poder instalar o apache tive que fazer o download do mod_jserv.so que estava no diretorio do tomcat 3.1.1. Nao consegui instalar com o mod_jk.so e nem com o mod_jserv.so da versao 3.2.1 Obrigado e desculpe pela mensagem grande !! [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
Apache + TomCat
Marcio Merlone dos Santos Syntax error on line 215 of /usr/local/apache/conf/httpd.conf: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration ./apachectl start: httpd could not be started A linha 215 contem o comando LoadModule libexec/mod_jserv_tomcat.so. (...) PS : O apache foi instalado junto com o php4 e o mysql, todos com codigo fonte. Para instalar eu segui o tutorial que a Ana Paula enviou para a lista !! Sera que eu terei que recompilar o apache par que ele posa ler modulo ?!?!? Vai. Pelo seguinte: O erro diz que o Apache não conhece a diretiva LoadModule, que carrega módulos (óbvio, não) :O) Pelo tutorial da Ana, o Apache é compilado estáticamente, o que desabilita o DSO que dá ao Apache a capacidade de carregar módulos. Não tenho certeza, mas se vc adicionar a linha --activate-module=src/modules/standard/mod_so.c no teu ./configure junto com os outros, vai habilitar o apache a carregar módulos. Infelismente nao funcionou. Ate agora fiz o seguinte : - /usr/local/apache/conf Acrescentei a linha Include /usr/local/jakarta-tomcat/conf/tomcat-apache.conf - copiei o arquivo mod_jk.so no diretorio /usr/local/apache/libexec - acrescentei a linha LoadModule jk_module libexec/mod_jk.so - quando executo o comando apachectl configtest aparece a seguinte mensagem de erro : Syntax error on line 1 of /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? Leiam o codigo fonte ! - Kevir repreende os colegas a quem deve dar assistencia tecnica Kevin Poulsen [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
Apache + TomCat
All Estou tendo problemas para poder instalar o Apache e o TomCat. Fiz o seguinte : - download dos seguintes arquivos : jakarta-tomcat-3.2.1.tar ( binario ) mod_jserv_tomcat.so -executei os seguintes comandos : cd /usr/local tar xzvf /tmp/jakarta-tomcat-3.2.1.tar cd /usr/local/jakarta-tomcat-3.2.1/bin ./startup.sh - o tomcat foi inicializado abri o netscape e executei o comando localhost:8080 e apareceu a pagina principal do TomCat ./shutdown.sh - para desativar o TomCat editei o arquivo /usr/local/apache/conf/httpd.conf e acrescentei a seguinte linha Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf copiei o arquivo mod_jserv_tomcat.so para o diretorio /usr/local/apache/libexec e acrescentei o seguinte parametro no arquivo httpd.conf LoadModule libexec/mod_jserv_tomcat.so acrescenti o parametro LoadModule jserv_module libexec/mod_jserv_tomcat.so no arquivo /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf Mas quando fui reinicializar o apache apareceu a seguinte mensagem de erro : Syntax error on line 215 of /usr/local/apache/conf/httpd.conf: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration ./apachectl start: httpd could not be started A linha 215 contem o comando LoadModule libexec/mod_jserv_tomcat.so. Por acaso algume ja conseguiu instalar o Apache com o TomCat ??!?!? PS : O apache foi instalado junto com o php4 e o mysql, todos com codigo fonte. Para instalar eu segui o tutorial que foi enviado por uma integrante da lista linux-br, a Ana Paula !! Sera que eu terei que recompilar o apache par que ele posa ler modulo ?!?!? Leiam o codigo fonte ! - Kevir repreende os colegas a quem deve dar assistencia tecnica Kevin Poulsen [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
Apache + TomCat
All Estou tendo problemas para poder instalar o Apache e o TomCat. Fiz o seguinte : - download dos seguintes arquivos : jakarta-tomcat-3.2.1.tar ( binario ) mod_jserv_tomcat.so -executei os seguintes comandos : cd /usr/local tar xzvf /tmp/jakarta-tomcat-3.2.1.tar cd /usr/local/jakarta-tomcat-3.2.1/bin ./startup.sh - o tomcat foi inicializado abri o netscape e executei o comando localhost:8080 e apareceu a pagina principal do TomCat ./shutdown.sh - para desativar o TomCat editei o arquivo /usr/local/apache/conf/httpd.conf e acrescentei a seguinte linha Include /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf copiei o arquivo mod_jserv_tomcat.so para o diretorio /usr/local/apache/libexec e acrescentei o seguinte parametro no arquivo httpd.conf LoadModule libexec/mod_jserv_tomcat.so acrescenti o parametro LoadModule jserv_module libexec/mod_jserv_tomcat.so no arquivo /usr/local/jakarta-tomcat-3.2.1/conf/tomcat-apache.conf Mas quando fui reinicializar o apache apareceu a seguinte mensagem de erro : Syntax error on line 215 of /usr/local/apache/conf/httpd.conf: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration ./apachectl start: httpd could not be started A linha 215 contem o comando LoadModule libexec/mod_jserv_tomcat.so. Por acaso algume ja conseguiu instalar o Apache com o TomCat ??!?!? PS : O apache foi instalado junto com o php4 e o mysql, todos com codigo fonte. Para instalar eu segui o tutorial que foi enviado por uma integrante da lista linux-br, a Ana Paula !! Sera que eu terei que recompilar o apache par que ele posa ler modulo ?!?!? Leiam o codigo fonte ! - Kevir repreende os colegas a quem deve dar assistencia tecnica Kevin Poulsen [ ]'s Cosmo [EMAIL PROTECTED] www.hackhour.com.br Hack Hour Inc.
Re: Java support? (apache + tomcat)
Oh, if you're running slink then that's the problem. Unfortunately the package doesn't exist in slink, probably because it wasn't packaged until potato was underway. The jdk package available in slink is called jdk1.1 so 'apt-get install jdk1.1' should work fine. BTW, http://www.debian.org/distrib/packages is very helpful for looking up packages. Also, I've been running potato for a while and it's pretty stable except that every once in a while a package is submitted which won't install properly. I deal with this by simply resisting the temptation to daily 'apt-get update; apt-get dist-upgrade' which it seems so many people do and then moan and groan about how this or that package doesn't work. If you're willing to put up with this occasional convenience it's worth going to potato for all those packages you'd really like to run. Gregory Guthrie wrote: At 03:32 PM 06/27/2000 -0500, Jens B. Jorgensen wrote: I know jserv is available, because I have it (1.1-3). I installed the jdk myself because I wanted 1.2.2. Are you running potato or slink? (I'm running potato). -- slink, and : alpha{root}.43: apt-get install jserv Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package jserv and... E: Couldn't find package jdk E: Couldn't find package jsdk I want to run current java tools, and don't find any in the modules that dselect shows.. -- Jens B. Jorgensen [EMAIL PROTECTED]
Re: apache + tomcat ..?
At 11:31 AM 06/27/2000 +0200, you wrote: just do a httpd -v for getting the version. If u are using 2.0 tomcat will not work there. U need 1.3.X (better 1.3.12) Let me know if u wanna a pre-compiled version. -- yes please. I have 1.3.3 and 1.3.13 (from apache) I wanted to remove the Debian one, to use the newer one I installed manually, but a lot of utilities depend on it (dwww, ...). So, I run the debian one. How to best upgrade and still stay within the Debian structure? Thanks. Gregory At 13.07 26/6/00 -0500, you wrote: I installed apache via apt-get, and trying to use it with mod_jserv.o from tomcat gives an error: Cannot load mod_jserrv.o into server, Error: file's Phentsize is not the expected. Debian Apache seems bto be 1.3. Any way to tell what options it was made with? Any ideas on the incompatibility? Dr. Gregory Guthrie [EMAIL PROTECTED] (515)472-1125Fax: -1103 Computer Science Department College of Science and Technology Maharishi University of Management (Maharishi International University 1971-1995) http://www.mum.edu/cs_dept
Re: Java support? (apache + tomcat)
I know jserv is available, because I have it (1.1-3). I installed the jdk myself because I wanted 1.2.2. Are you running potato or slink? (I'm running potato). Gregory Guthrie wrote: I want to run current java tools, and don't find any in the modules that dselect shows.. I did get apache, but are: jserv, tomcat, jdk, jwsdk, ... available? Also, is there an easy way to ask apt-get what it knows is available? like dpks -S ? Thanks. Gregory Gregory Guthrie [EMAIL PROTECTED] (515)472-1125Fax: -1103 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jens B. Jorgensen [EMAIL PROTECTED]
Re: Java support? (apache + tomcat)
At 03:32 PM 06/27/2000 -0500, Jens B. Jorgensen wrote: I know jserv is available, because I have it (1.1-3). I installed the jdk myself because I wanted 1.2.2. Are you running potato or slink? (I'm running potato). -- slink, and : alpha{root}.43: apt-get install jserv Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package jserv and... E: Couldn't find package jdk E: Couldn't find package jsdk I want to run current java tools, and don't find any in the modules that dselect shows.. Dr. Gregory Guthrie [EMAIL PROTECTED] (515)472-1125Fax: -1103 Computer Science Department College of Science and Technology Maharishi University of Management (Maharishi International University 1971-1995) http://www.mum.edu/cs_dept
Java support? (apache + tomcat)
I want to run current java tools, and don't find any in the modules that dselect shows.. I did get apache, but are: jserv, tomcat, jdk, jwsdk, ... available? Also, is there an easy way to ask apt-get what it knows is available? like dpks -S ? Thanks. Gregory Gregory Guthrie [EMAIL PROTECTED] (515)472-1125Fax: -1103