[DG: Spanish Sakai] Estado HTTP 404 - /portal despues de deploy de sakai-2.9.0 source

Rafael Morales Gamboa rmorales at suv.udg.mx
Tue Dec 4 08:29:42 PST 2012


Hola:

Estos son los cambios que funciaron para mí. Según yo, estaban en la 
documentación de 2.9.

47c47
< 
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
---
 > 
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/common/classes/,${catalina.base}/common/lib/*.jar
60c60
< server.loader=
---
 > 
server.loader=${catalina.base}/server/classes/,${catalina.base}/server/lib/*.jar
74c74
< shared.loader=
---
 > 
shared.loader=${catalina.base}/shared/classes/,${catalina.base}/shared/lib/*.jar

Saludos,
Rafael

El 03/12/2012 11:31 p.m., LEONARDO MARTINEZ VAZQUEZ escribió:
> Gracias por la respuesta, tengo duda donde colocar las rutas que
> mencionas en catalina.properties, el original era este:
>
> #
> # List of comma-separated packages that start with or equal this string
> # will cause a security exception to be thrown when
> # passed to checkPackageAccess unless the
> # corresponding RuntimePermission ("accessClassInPackage."+package) has
> # been granted.
> package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
> #
> # List of comma-separated packages that start with or equal this string
> # will cause a security exception to be thrown when
> # passed to checkPackageDefinition unless the
> # corresponding RuntimePermission ("defineClassInPackage."+package) has
> # been granted.
> #
> # by default, no packages are restricted for definition, and none of
> # the class loaders supplied with the JDK call checkPackageDefinition.
> #
> package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
>
> #
> #
> # List of comma-separated paths defining the contents of the "common"
> # classloader. Prefixes should be used to define what is the repository type.
> # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
> # If left as blank,the JVM system loader will be used as Catalina's "common"
> # loader.
> # Examples:
> #     "foo": Add this folder as a class repository
> #     "foo/*.jar": Add all the JARs of the specified folder as class
> #                  repositories
> #     "foo/bar.jar": Add bar.jar as a class repository
> common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
>
> #
> # List of comma-separated paths defining the contents of the "server"
> # classloader. Prefixes should be used to define what is the repository type.
> # Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
> # If left as blank, the "common" loader will be used as Catalina's "server"
> # loader.
> # Examples:
> #     "foo": Add this folder as a class repository
> #     "foo/*.jar": Add all the JARs of the specified folder as class
> #                  repositories
> #     "foo/bar.jar": Add bar.jar as a class repository
> server.loader=
>
> #
> # List of comma-separated paths defining the contents of the "shared"
> # classloader. Prefixes should be used to define what is the repository type.
> # Path may be relative to the CATALINA_BASE path or absolute. If left
> as blank,
> # the "common" loader will be used as Catalina's "shared" loader.
> # Examples:
> #     "foo": Add this folder as a class repository
> #     "foo/*.jar": Add all the JARs of the specified folder as class
> #                  repositories
> #     "foo/bar.jar": Add bar.jar as a class repository
> # Please note that for single jars, e.g. bar.jar, you need the URL form
> # starting with file:.
> shared.loader=
>
> # List of JAR files that should not be scanned using the JarScanner
> # functionality. This is typically used to scan JARs for configuration
> # information. JARs that do not contain such information may be excluded from
> # the scan to speed up the scanning process. This is the default list. JARs on
> # this list are excluded from all scans. Scan specific lists (to exclude JARs
> # from individual scans) follow this. The list must be a comma
> separated list of
> # JAR file names.
> # The JARs listed below include:
> # - Tomcat Bootstrap JARs
> # - Tomcat API JARs
> # - Catalina JARs
> # - Jasper JARs
> # - Tomcat JARs
> # - Common non-Tomcat JARs
> # - Sun JDK JARs
> # - OpenJDK JARs
> # - Apple JDK JARs
> tomcat.util.scan.DefaultJarScanner.jarsToSkip=\
> bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\
> annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\
> catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,\
> jasper.jar,jasper-el.jar,ecj-*.jar,\
> tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,\
> tomcat-jni.jar,tomcat-spdy.jar,\
> tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,\
> tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,\
> tomcat-jdbc.jar,\
> commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,\
> commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,\
> commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,\
> commons-math*.jar,commons-pool*.jar,\
> jstl.jar,\
> geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,\
> ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,\
> jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,\
> xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,\
> access-bridge.jar,access-bridge-64.jar,dnsns.jar,jaccess.jar,ldapsec.jar,localedata.jar,\
> sunjce_provider.jar,sunmscapi.jar,sunpkcs11.jar,jhall.jar,tools.jar,\
> sunec.jar,zipfs.jar,\
> gnome-java-bridge.jar,pulse-java.jar,\
> apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,\
> j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,\
> mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar,\
> junit.jar,junit-*.jar,ant-launcher.jar
>
> # Additional JARs (over and above the default JARs listed above) to skip when
> # scanning for Servlet 3.0 pluggability features. These features include web
> # fragments, annotations, SCIs and classes that match @HandlesTypes. The list
> # must be a comma separated list of JAR file names.
> org.apache.catalina.startup.ContextConfig.jarsToSkip=
>
> # Additional JARs (over and above the default JARs listed above) to skip when
> # scanning for TLDs. The list must be a comma separated list of JAR
> file names.
> org.apache.catalina.startup.TldConfig.jarsToSkip=
>
> #
> # String cache configuration.
> tomcat.util.buf.StringCache.byte.enabled=true
> #tomcat.util.buf.StringCache.char.enabled=true
> #tomcat.util.buf.StringCache.trainThreshold=500000
> #tomcat.util.buf.StringCache.cacheSize=5000
>
>
> Intente sobre las lineas:
>
> common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
> shared.loader=
>
> quedando asi:
>
> common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.base}/common/lib,${catalina.base}/common/lib/*.jar,${catalina.home}/common/lib,${catalina.home}/common/lib/*.jar
> shared.loader=${catalina.base}/shared/lib,${catalina.base}/shared/lib/*.jar,${catalina.home}/shared/lib,${catalina.home}/shared/lib/*.jar
>
>
> Al arrancar tomcat ya no mostro los errores antes mencionados pero
> despues de desplegar muchas lineas deja de procesar y no arranca.
>
> Tambien intente dejar el catalina.properties original y copiar y pegar
> los .jar de tomcat/common/lib y tomcat/shared/lib a tomcat/lib,
> obteniendo el mismo resultado de que no muestra los errores de antes
> pero no arranca.
>
> Gracias.
>
> "David F. Torres Sola" <david7torres at gmail.com> escribió:
>
>> Hola,
>>
>> Con en Tomcat 7 ya no viene en el classpath "/tomcat/shared/lib" ni
>> "/tomcat/common/lib"
>> tienes que añadir estas rutas en el fichero
>> "/tomcat/conf/catalina.properties". Fíjate en los ejemplos que ya vienen en
>> ese fichero.
>> Espero que ese sea tu problema.
>>
>> Un saludo y suerte!
>> David
>>
>>
>> El 2 de diciembre de 2012 02:26, LEONARDO MARTINEZ VAZQUEZ <
>> al205306851 at alumnos.azc.uam.mx> escribió:
>>
>>> Hola soy nuevo en el tema estoy tratando de instalar la version source
>>> 2.9.0 en Windows XP
>>>
>>> jdk 1.7.0_09
>>> maven-3.0.4
>>> tomcat-7.0.32
>>>
>>> Sigo la guia de confluence, hago en sakai-2.9.0/master> mvn clean
>>> install, y obtengo build success
>>> despues cd..  sakai-2.9.0> mvn clean install sakai:deploy tambien
>>> obtengo build success pero al momento de arrancar el tomcat salen
>>> muchos errores de este tipo:
>>>
>>> GRAVE: Error durante el despliegue del archivo c:\.....\..war de la
>>> aplicacion web
>>> java.lang.ILlegalStateException:Failed to start component
>>> [StandartEngine[Catalina].StandartHost[LocalHost].StandartContext[\x]]
>>> at  org.apache.catalina.core.ContainerBase.addChild<ConteinerBase.java:904>
>>> at  org.apache.catalina.core.ContainerBase.addChild<ConteinerBase.java:877>
>>> at  org.apache.catalina.core.StandardHost.addChild<ConteinerBase.java:633>
>>> at  org.apache.catalina.core.HostConfig.deployWar<HostConfig.java:968>
>>> at  org.apache.catalina.core.HostConfig$DeployWar.run<HostConfig.java:1646>
>>>
>>> at java.util.concurrent.Executors$RunnableAdapter.call<Unknow Source>
>>> at java.util.concurrent.FutureTask$Sync.innerRun<Unknow Source>
>>> at java.util.concurrent.FutureTas.run<Unknow Source>
>>> at java.util.concurrent.Thread.pool.Executor$Worker.runTask<Unknow Source>
>>> at java.util.concurrent.Thread.pool.Executor$Worker.run<Unknow Source>
>>> at java.lang.Thread.run<Unknow Source>
>>>
>>> El tomcat si arranca, http://localhost:8080 pero al poner
>>> http://localhost:8080/portal sale lo de Error 404 "El recurso
>>> requerido no está disponible."
>>>
>>> Estoy algo perdido gracias de antemano por la ayuda!
>>> -------------------------------------------------------------------
>>>
>>> Visita la pagina de la UAM Azcapotzalco (http://www.azc.uam.mx).
>>>
>>>
>>> Este mensaje y sus anexos pueden contener informacion confidencial. Si
>>> usted no es el destinatario de este mensaje, se le notifica que
>>> cualquier revision, retransmision, distribucion, copiado u otro uso o
>>> acto realizado con base en o relacionado con el contenido de este
>>> mensaje y sus anexos, estan prohibidos. Si usted ha recibido este
>>> mensaje y sus anexos por error, le suplicamos lo notifique al
>>> remitente respondiendo el presente correo electronico y borre el
>>> presente y sus anexos de su sistema sin conservar copia de los mismos.
>>> Muchas gracias.
>>>
>>> This message and the attachments to it may contain information which
>>> is confidential. if your are not the intended recipient(s) for this
>>> message, you are on notice that any review, retransmission,
>>> dissemination, distribution, copying orother use or taking any action
>>> based upon or relative to the information contained in this message
>>> and its attachments, is prohibited. If you are not the intended
>>> recipient(s) of this message or its attachments, please immediately
>>> advise the sender by reply e-mail and delete this message and its
>>> attachments from your system without keeping a copy. Thank you.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> spanish-sakai mailing list
>>> spanish-sakai at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/spanish-sakai
>>>
>>> TO UNSUBSCRIBE: send email to
>>> spanish-sakai-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>
> -------------------------------------------------------------------
>
> Visita la pagina de la UAM Azcapotzalco (http://www.azc.uam.mx).
>
>
> Este mensaje y sus anexos pueden contener informacion confidencial. Si
> usted no es el destinatario de este mensaje, se le notifica que
> cualquier revision, retransmision, distribucion, copiado u otro uso o
> acto realizado con base en o relacionado con el contenido de este
> mensaje y sus anexos, estan prohibidos. Si usted ha recibido este
> mensaje y sus anexos por error, le suplicamos lo notifique al
> remitente respondiendo el presente correo electronico y borre el
> presente y sus anexos de su sistema sin conservar copia de los mismos.
> Muchas gracias.
>
> This message and the attachments to it may contain information which
> is confidential. if your are not the intended recipient(s) for this
> message, you are on notice that any review, retransmission,
> dissemination, distribution, copying orother use or taking any action
> based upon or relative to the information contained in this message
> and its attachments, is prohibited. If you are not the intended
> recipient(s) of this message or its attachments, please immediately
> advise the sender by reply e-mail and delete this message and its
> attachments from your system without keeping a copy. Thank you.
>
>
>
>
> _______________________________________________
> spanish-sakai mailing list
> spanish-sakai at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/spanish-sakai
>
> TO UNSUBSCRIBE: send email to spanish-sakai-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the spanish-sakai mailing list