Tomcat en sabayon

Conversaciones generales alrededor Sabayon Linux

Moderator: Moderators

Tomcat en sabayon

Postby daniel23 » Fri Mar 18, 2011 20:54

he instalado tomcat en sabayon y no se como activarlo ni donde esta la ruta,¿alguien puede ayudarme? no tengo nada de experiencia en tomcat.
Gracias por adelantado
daniel23
Simple Hen
 
Posts: 95
Joined: Sat Oct 10, 2009 22:16

Re: Tomcat en sabayon

Postby DHalens » Sat Mar 19, 2011 18:32

No lo he probado, pero debería de iniciarse con /etc/init.d/tomcat-6 start
Como referencia inicial de cómo está configurado tomcat, mira la documentación de gentoo: http://www.gentoo.org/proj/en/java/tomcat-guide.xml
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: Tomcat en sabayon

Postby daniel23 » Tue Mar 22, 2011 17:05

Perdón por tardar tanto en responder, ya lo conseguí¿alguien me dice como dar por terminado un post? es que hay varios que he querido cerrar pero no se como hacerlo
daniel23
Simple Hen
 
Posts: 95
Joined: Sat Oct 10, 2009 22:16

Re: Tomcat en sabayon

Postby daniel23 » Sat Mar 26, 2011 23:28

siento tener que molestar de nuevo pero es que vi que se iniciaba el servicio y postee el anterior post, hoy al tratar de empezar a usarlo me di cuenta de que al entrar a http://localhost:8080/, lugar en el que que debería salirme la pagina principal de tomcat en lugar de este me sale totalmente en blanco, si no lo inicio antes no me encuentra la pagina directamente así que creo que trata de hacer algo ... , traté de leer la pagina que me pasastes pero al tratar de instalar con emerge tomcat me dice lo siguiente :


>>> Emerging (1 of 2) dev-java/ant-eclipse-ecj-3.6
* ecjsrc-3.6.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: dev-java/ant-eclipse-ecj-3.6
* Repository: gentoo
* Maintainer: [email protected]
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
* FEATURES: preserve-libs sandbox splitdebug
!!! ERROR: The javac executable was not found in the Java path
* Using: sun-jre-bin-1.6
>>> Unpacking source...
>>> Unpacking ecjsrc-3.6.zip to /var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/work
>>> Source unpacked in /var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/work
>>> Compiling source in /var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/work ...
* javac is not available for sun-jre-bin-1.6 on x86_64
* IMPORTANT: some Java tools are not available on some VMs on some architectures
* ERROR: dev-java/ant-eclipse-ecj-3.6 failed (compile phase):
* ejavac failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4029: Called ejavac '-classpath' '/usr/share/eclipse-ecj-3.6/lib/ecj.jar:/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar' 'org/eclipse/jdt/core/JDTCompilerAdapter.java' 'org/eclipse/jdt/internal/antadapter/AntAdapterMessages.java'
* environment, line 923: Called die
* The specific snippet of code:
* ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed"
*
* If you need support, post the output of 'emerge --info =dev-java/ant-eclipse-ecj-3.6',
* the complete build log and the output of 'emerge -pqv =dev-java/ant-eclipse-ecj-3.6'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jre-bin-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jre-bin-1.6.0.24"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
* The complete build log is located at '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/temp/environment'.
* S: '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/work'

>>> Failed to emerge dev-java/ant-eclipse-ecj-3.6, Log file:

>>> '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/temp/build.log'

* Messages for package dev-java/ant-eclipse-ecj-3.6:

* ERROR: dev-java/ant-eclipse-ecj-3.6 failed (compile phase):
* ejavac failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4029: Called ejavac '-classpath' '/usr/share/eclipse-ecj-3.6/lib/ecj.jar:/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar' 'org/eclipse/jdt/core/JDTCompilerAdapter.java' 'org/eclipse/jdt/internal/antadapter/AntAdapterMessages.java'
* environment, line 923: Called die
* The specific snippet of code:
* ${compiler_executable} ${javac_args} "${@}" || die "ejavac failed"
*
* If you need support, post the output of 'emerge --info =dev-java/ant-eclipse-ecj-3.6',
* the complete build log and the output of 'emerge -pqv =dev-java/ant-eclipse-ecj-3.6'.
* The complete build log is located at '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/temp/environment'.
* S: '/var/tmp/portage/dev-java/ant-eclipse-ecj-3.6/work'
daniel23
Simple Hen
 
Posts: 95
Joined: Sat Oct 10, 2009 22:16

Re: Tomcat en sabayon

Postby DHalens » Mon Mar 28, 2011 23:00

Sáltate todo lo que diga emerge o sustitúyelo por su equivalente con equo
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain


Return to Spanish

Who is online

Users browsing this forum: No registered users and 1 guest

cron