|
From: Chamberlin, D. <dav...@gs...> - 2004-06-04 16:55:15
|
Puedes enviarme otra vez los archivos:
server.xml
catalina.out
y tambien
deploy.env
Puedes enviar tambien a daw...@ho...
Gracias
________________________________________________
David S Chamberlin
+44 (0)20 7774 2612
-----Original Message-----
From: lfm...@ut... [mailto:lfm...@ut...]=20
Sent: Friday, June 04, 2004 5:44 PM
To: Chamberlin, David
Subject: RE: Aun sale error
David No puedo cabiar el codigo en el servidor no tego configurado en =
la
maquina que estoy ahora, pero No entiendo que tengo que hacer luego de =
que
tu hayas subido los cambios.
En especial por que la carpeta <tools> o distribution estaban en la =
maquina
donde antes trabajaba y no en sourceforge.
me puedes explicar esto?
Por ciero borre el mysql-connector pero igual no funciono
gracias
Saludos
Luis
>
>
> Hmm, si puedes aceder a la base de datos, no s=E9 que est=E1 pasando. =
De
> pronto:
>
> 1. hay un problema con la versi=F3n de mysql-connector: una versi=F3n =
que=20
> funciona est=E1 despliegado con la aplicaci=F3n en el archivo WAR. =
No=20
> necesitas otra versi=F3n y puede causar problemas porque es de otra=20
> versi=F3n. Tal vez ayuda si lo borras
> $JAVA_HOME/jre/lib/ext/mysql-connector-java-3.0.8-stable-bin.jar, y
> reinicias el servidor tomcat.
>
> 2. la aplicaci=F3n no est=E1 usando el entorno de servidor.xml.=20
> Lamentablemente olvid=E9 de poner una l=EDnea para mostrar que est=E1 =
usando=20
> para conectar a la base de datos. Confirma que el nombre de la=20
> aplicaci=F3n web corresponde a los detalles en server.xml.
>
> Sabes cambiar el c=F3digo del servidor? Puedes a=F1adir una l=EDnea =
al=20
> archivo
> /openSiteCore/core/java/org/undp/opensite/core/app/Resources.java:
>
> En la funcion getADEDataSource():
>
> } else {
>
> String dsName =3D =
(String)ctx.lookup("opensite.dburi");
>
> ////////// A=F1adir esta l=EDnea ///////////////////
> m_log.info("Using JDBC data source: " + dsName);
> ////////////////////////////////////////////////
>
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource ds =3D =
new=20
> com.mysql.jdbc.jdbc2.optional.MysqlDataSource();
> ds.setUrl(dsName);
> m_ds =3D ds;
> }
>
> Yo no tengo aceso del trabajo, pero puedo hacerlo m=E1s tarde desde =
la=20
> casa.
>
> Saludos
> ________________________________________________
> David S Chamberlin
> +44 (0)20 7774 2612
>
>
>
> -----Original Message-----
> From: lfm...@ut... [mailto:lfm...@ut...]
> Sent: Friday, June 04, 2004 3:32 PM
> To: Chamberlin, David
> Subject: RE: Aun sale error
>
>
> David,
>
> No tope esa clave porque en el archivo de instalaci=F2n no decia nada =
> aceraca de ese, Pero mi sorpresa que al ingresar al MySQL me sale lo
> siguiente:
>
> [root@localhost /]# mysql -uopenSiteUser -pMysqlPwd
> Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL=20
> connection id is 4 to server version: 3.23.54
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql> use OpenSite
> Reading table information for completion of table and column names =
You=20
> can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> show tables;
> +--------------------+
> | Tables_in_OpenSite |
> +--------------------+
> | Agregado |
> | Clave |
> | Cliente |
> | DocInfo |
> | Documento |
> | Objeto |
> | QueueSalida |
> | Rechazado |
> | Recurso |
> | TipoDeInfo |
> | VerRecurso |
> | Vinculo |
> +--------------------+
> 12 rows in set (0.00 sec)
>
> Y aparentemente todo esta bien, entonces no entiendo el problema,=20
> tambien se puede hacer Selects
>
> Gracias,
>
> Ayudame.
>
> Luis.
>
>> Seg=FAn el archivo catalina.out, la conexi=F3n a la base de datos no =
est=E1
>> funcionando:
>>
>> 01-jun-2004 19:26:24 org.undp.opensite.core.app.Resources
>> getADEDataSource
>> ADVERTENCIA: Failed to create database connection:
>> java.sql.SQLException: Unable to connect to any hosts due to=20
>> exception:
>> java.net.ConnectException: Connection refused
>> org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Unable =
to
>> connect to any hosts due to exception: java.net.ConnectException:
>> Connection
>> refused
>> at
>>
> =
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Drive
> rConne
>> ctionFactory.java:85)
>> at
>>
> =
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableC
> onnect
>> ionFactory.java:184)
>>
>> - significa que la conexi=F3n fue negada por el servidor mysql. El=20
>> webapp hace otra prueba usando un metodo differente:
>>
>> Unable to connect to any hosts due to exception:
>> java.net.ConnectException:
>> Connection refused
>> java.sql.SQLException: Unable to connect to any hosts due to
>> exception:
>> java.net.ConnectException: Connection refused
>> at com.mysql.jdbc.Connection.createNewIO(Connection.java:1622)
>> at com.mysql.jdbc.Connection.<init>(Connection.java:491)
>> at
>>
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:34=
6)
>> at
>>
> =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataS
> ource.
>> java:199)
>> at
>>
> =
com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataS
> ource.
>> java:163)
>>
>> - significa tambien que puede aceder al archivo jar de=20
>> mysql-connector (porque las clases en el stack-trace son de esta=20
>> bibleoteca).
>>
>> Seg=FAn el archivo server.xml, est=E1s conectando a MySQL con =
usuario=20
>> openSiteUser y contrase=F1a MysqlPwd.
>>
>> Est=E1s seguro que puedes aceder al servidor de la l=EDnea del =
comando
>> con:
>>
>> mysql -uopenSiteUser -pMysqlPwd
>>
>> tambien, puedes aceder la base de datos 'OpenSite' - de la l=EDnea =
de=20
>> comando de Mysql:
>>
>> use OpenSite;
>>
>>
>>
>> Saludos
>> ________________________________________________
>> David S Chamberlin
>> +44 (0)20 7774 2612
>>
>>
>>
>> -----Original Message-----
>> From: lfm...@ut... [mailto:lfm...@ut...]
>> Sent: Thursday, June 03, 2004 10:17 PM
>> To: Chamberlin, David
>> Subject: RE: Aun sale error
>>
>>
>> Todo esta bien, el conector es=20
>> mysql-connector-java-3.0.8-stable-bin.jar y esta en el directorio=20
>> $JAVA_HOME/jre/lib/ext
>>
>> te envio el archivo server.xml que me pides
>>
>> Gracias
>>
>>> Luis,
>>>
>>> Este archivo es un poco un lio pero contiene todo lo que est=E1=20
>>> pasando en el servidor y vale la pena aprender como leerlo.
>>>
>>> La falla de inter=E9s se encuentra abajo - y el texto importante es =
>>> 'Can't get a connection to the database'.
>>>
>>> Significa que hay alg=FAn problema con la base de datos de MySQL.=20
>>> Puede ser que no est=E1 ejecutando, que hay un problema con la=20
>>> contrase=F1a o que hay un problema con el software que conecta a la =
>>> base de datos. Puedes intentar lo siguiente de la l=EDnea de =
comando:
>>>
>>> 1. Puedes confirmar que mysqld est=E1 funcionando - si ingresas=20
>>> 'mysql' a la l=EDnea de comando, va a dar un mensaje (probablemente =
>>> diciendo que no puedes aceder como root sin contrase=F1a) que=20
>>> significa que est=E1 funcionando el demon. Si recibes un mensaje=20
>>> diciendo algo como 'no puedo conectar al servidor' significa que=20
>>> tienes que arrancar el servidor con /etc/rc.d/init.d/mysqld start
>>>
>>> 2. Puedes confirmar que el usuario de mysql corresponde. Busca en=20
>>> deploy.env las l=EDneas MYSQL_USERNAME y MYSQL_PASSWORD y anota que =
>>> son. Ahora intenta ingresar a mysql con estos detalles:
>>>
>>> mysql -u<MYSQL_USERNAME> -p<MYSQL_PASSWORD>
>>>
>>> (remplaza MYSQL_... con los detalles de deploy.env)
>>>
>>> Si no puedes entrar significa que hay un problem con el usuario que =
>>> usa el servidor para aceder la base de datos
>>>
>>> 3. Puedes confirmar que los detalles del usuario y contrase=F1a =
est=E1n=20
>>> en el entorno del servidor? Confirma que hiciste el paso=20
>>> 'Establecer informaci=F3n del entorno' - tienes que hacer cada vez =
que=20
>>> despliegas el servidor. Puedes revisar que el nombre del usuario se =
>>> encuentra en /var/tomcat/conf/jakarta-tomcat-4.1.29/server.xml. =20
>>> Puedes enviarme este archivo?
>>>
>>> Saludos
>>> _____________________________
>>>
>>> 01-jun-2004 19:25:30 org.undp.opensite.core.app.Resources
>>> getConnection
>>> GRAVE: Can't get connection
>>> java.lang.NullPointerException
>>> at
>>> =
org.undp.opensite.core.app.Resources.getConnection(Resources.java:1301)
>>> at org.undp.opensite.core.sql.Query.executeQuery(Query.java:84)
>>> at
>>>
>> =
org.undp.opensite.core.sql.ReadOrCreateDocQuery.execute(ReadOrCreateD
>> o
>> cQuery
>>> .java:54)
>>> at =
org.undp.opensite.core.doc.Key.readOrCreateDocument(Key.java:315)
>>> at
>>>
>> =
org.undp.opensite.core.doc.DocFromXmlBuilder.startElement(DocFromXmlB
>> u
>> ilder.
>>> java:121)
>>> at
>>>
>> =
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP
>> a
>> rser.j
>>> ava:446)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLN
>> S
>> Docume
>>> ntScannerImpl.java:306)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
>> c
>> anRoot
>>> ElementHook(XMLNSDocumentScannerImpl.java:594)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
>> D
>> ispatc
>>> her.dispatch(XMLDocumentFragmentScannerImpl.java:1610)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
>> L
>> Docume
>>> ntFragmentScannerImpl.java:348)
>>> at
>>>
>> =
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
>> a
>> :539)
>>> at
>>>
>> =
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
>> a
>> :595)
>>> at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>>> at
>>>
>> =
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
>> a
>> va:112
>>> 5)
>>> at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
>>> at
>>>
>> =
org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
>> o
>> rmerId
>>> entityImpl.java:452)
>>> at
>>>
>> =
org.undp.opensite.api.xml.Maintenance.insertOrUpdateDocument(Maintena
>> n
>> ce.jav
>>> a:179)
>>> at
>>>
>> =
org.undp.opensite.api.servlet.UpdateDocument.doPost(UpdateDocument.ja
>> v
>> a:379)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>> at
>>>
>> =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> i
>> cation
>>> FilterChain.java:247)
>>> at
>>>
>> =
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> i
>> lterCh
>>> ain.java:193)
>>> at
>>>
>> =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> a
>> lve.ja
>>> va:256)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
>> =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> a
>> lve.ja
>>> va:191)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2=
> 416)
>>> at
>>>
>> =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> a
>> va:180
>>> )
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
>> r
>> Valve.
>>> java:171)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:641)
>>> at
>>>
>> =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> a
>> va:172
>>> )
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:641)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
>> =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> v
>> e.java
>>> :174)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>> =
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>> at
>>> =
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
>>> at
>>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
>>> at =
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
>>> at
>>>
>> =
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
>> v
>> a:562)
>>> at
>>> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
>>> at
>>>
>> =
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>> o
>> ol.jav
>>> a:619)
>>> at java.lang.Thread.run(Thread.java:534)
>>> 01-jun-2004 19:25:30 org.undp.opensite.api.xml.Maintenance
>>> insertOrUpdateDocument
>>> GRAVE: Parsing input 'null'
>>> javax.xml.transform.TransformerException: org.xml.sax.SAXException: =
>>> Failed to create document object from XML
>>> at
>>>
>> =
org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
>> o
>> rmerId
>>> entityImpl.java:469)
>>> at
>>>
>> =
org.undp.opensite.api.xml.Maintenance.insertOrUpdateDocument(Maintena
>> n
>> ce.jav
>>> a:179)
>>> at
>>>
>> =
org.undp.opensite.api.servlet.UpdateDocument.doPost(UpdateDocument.ja
>> v
>> a:379)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>> at
>>>
>> =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> i
>> cation
>>> FilterChain.java:247)
>>> at
>>>
>> =
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> i
>> lterCh
>>> ain.java:193)
>>> at
>>>
>> =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> a
>> lve.ja
>>> va:256)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
>> =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> a
>> lve.ja
>>> va:191)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
> =
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2
> 416)
>>> at
>>>
>> =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> a
>> va:180
>>> )
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
>> r
>> Valve.
>>> java:171)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:641)
>>> at
>>>
>> =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> a
>> va:172
>>> )
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:641)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>>
>> =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> v
>> e.java
>>> :174)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>> t
>> .invok
>>> eNext(StandardPipeline.java:643)
>>> at
>>>
>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>> a
>> :480)
>>> at
>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>> at
>>> =
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>> at
>>> =
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
>>> at
>>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
>>> at =
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
>>> at
>>>
>> =
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
>> v
>> a:562)
>>> at
>>> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
>>> at
>>>
>> =
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>> o
>> ol.jav
>>> a:619)
>>> at java.lang.Thread.run(Thread.java:534)
>>> Caused by: org.xml.sax.SAXException: Failed to create document=20
>>> object from XML
>>> at
>>>
>> =
org.undp.opensite.core.doc.DocFromXmlBuilder.startElement(DocFromXmlB
>> u
>> ilder.
>>> java:124)
>>> at
>>>
>> =
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP
>> a
>> rser.j
>>> ava:446)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLN
>> S
>> Docume
>>> ntScannerImpl.java:306)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
>> c
>> anRoot
>>> ElementHook(XMLNSDocumentScannerImpl.java:594)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
>> D
>> ispatc
>>> her.dispatch(XMLDocumentFragmentScannerImpl.java:1610)
>>> at
>>>
>> =
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
>> L
>> Docume
>>> ntFragmentScannerImpl.java:348)
>>> at
>>>
>> =
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
>> a
>> :539)
>>> at
>>>
>> =
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
>> a
>> :595)
>>> at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>>> at
>>>
>> =
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
>> a
>> va:112
>>> 5)
>>> at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
>>> at
>>>
>> =
org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
>> o
>> rmerId
>>> entityImpl.java:452)
>>> ... 35 more
>>> Caused by: java.sql.SQLException: Can't get a connection to the=20
>>> database
>>> at org.undp.opensite.core.sql.Query.executeQuery(Query.java:86)
>>> at
>>>
>> =
org.undp.opensite.core.sql.ReadOrCreateDocQuery.execute(ReadOrCreateD
>> o
>> cQuery
>>> .java:54)
>>> at =
org.undp.opensite.core.doc.Key.readOrCreateDocument(Key.java:315)
>>> at
>>>
>> =
org.undp.opensite.core.doc.DocFromXmlBuilder.startElement(DocFromXmlB
>> u
>> ilder.
>>> java:121)
>>> ... 46 more
>>>
>>>
>>> ________________________________________________
>>> David S Chamberlin
>>> +44 (0)20 7774 2612
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>> Sent: Thursday, June 03, 2004 6:29 PM
>>> To: Chamberlin, David
>>> Cc: lf...@ho...
>>> Subject: RE: Aun sale error
>>>
>>>
>>>> Aha, el archivo log que nos interesa es el catalina.out - puedes=20
>>>> enviarmelo?
>>>>
>>>> ________________________________________________
>>>> David S Chamberlin
>>>> +44 (0)20 7774 2612
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>>> Sent: Wednesday, June 02, 2004 9:55 PM
>>>> To: Chamberlin, David
>>>> Subject: RE: Aun sale error
>>>>
>>>>
>>>> Esta es la salidad del comando:
>>>> [root@localhost logs]# ls -lrt
>>>> total 2000
>>>> -rw-r--r-- 1 root root 5742 may 21 14:15
>>>> localhost_admin_log.2004-05-21.txt
>>>> -rw-r--r-- 1 root root 6696 may 21 14:38
>>>> localhost_examples_log.2004-05-21.txt
>>>> -rw-r--r-- 1 root root 25124 may 21 14:38
>>>> localhost_log.2004-05-21.txt
>>>> -rw-r--r-- 1 root root 2871 jun 1 19:34
>>>> localhost_admin_log.2004-06-01.txt
>>>> -rw-r--r-- 1 root root 12508 jun 1 19:52
>>>> localhost_log.2004-06-01.txt
>>>> -rw-r--r-- 1 root root 3348 jun 1 19:52
>>>> localhost_examples_log.2004-06-01.txt
>>>> -rw-r--r-- 1 root root 1914 jun 2 09:32
>>>> localhost_admin_log.2004-06-02.txt
>>>> -rw-r--r-- 1 root root 1956748 jun 2 09:48 =
catalina.out
>>>> -rw-r--r-- 1 root root 6354 jun 2 09:48
>>>> localhost_log.2004-06-02.txt
>>>> -rw-r--r-- 1 root root 2232 jun 2 09:48
>>>> localhost_examples_log.2004-06-02.txt
>>>>
>>>> te envio los que pienso que pueden ser:
>>>>
>>>>
>>>>> Hmm, si tomcat se ejecuta como root no importa que los =
directorios=20
>>>>> partenecen a root. Este log no nos ayuda mucho y entonces, no me =
>>>>> acuerdo como se llama. Alternativamente, puede ser que sale de =
la=20
>>>>> ventana que levanta tomcat como stdout?
>>>>>
>>>>> Para buscar el archivo log, si haces:
>>>>>
>>>>> ls -lrt
>>>>>
>>>>> del directorio $CATALINA_HOME/logs, te da una lista de archivos=20
>>>>> con el m=E1s recien al fondo - busca un archivo bastante recien y =
>>>>> grande....
>>>>>
>>>>> Si no es claro cual es, puedes enviarme la lista de archivos en=20
>>>>> este directorio - lo que sale del comando arriba - y indicar como =
>>>>> se ejecuta tomcat?
>>>>>
>>>>> btw, es un poco peligroso en general levantar tomcat desde root=20
>>>>> porque significa que cualquier aplicaci=F3n web est=E1 =
funcionando=20
>>>>> como root. Por ejemplo, si conozco la contrase=F1a del manager, =
yo=20
>>>>> puedo instalar facilmente una aplicaci=F3n que ejecuta como root =
y=20
>>>>> cambia configuraci=F3n de la maquina, usuarios, contrase=F1as, =
etc. =20
>>>>> Si ejecuta como tomcat, solo se puede da=F1ar las areas de la=20
>>>>> maquina donde tomcat tiene acceso.
>>>>>
>>>>> Saludos.
>>>>> ________________________________________________
>>>>> David S Chamberlin
>>>>> +44 (0)20 7774 2612
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>>>> Sent: Wednesday, June 02, 2004 3:46 PM
>>>>> To: Chamberlin, David
>>>>> Subject: RE: Aun sale error
>>>>>
>>>>>
>>>>> David,
>>>>>
>>>>> Los directorios si estan, No estaban como due=F1o ni grupo de=20
>>>>> tomcat, le he cambiado, pero nada. En principio los deje como =
root=20
>>>>> porque el tomcat no se levantava desde el usuario tomcat.
>>>>>
>>>>> Algo raro es que no existe el launcher.server.log en el =
directorio=20
>>>>> de logs del tomcat, asi que te envio el log de la ultima fecha.
>>>>>
>>>>> gracias
>>>>>
>>>>> saludos
>>>>>
>>>>>> Este tipo de error normalmente significa que el servidor est=E1=20
>>>>>> funcionando bien, pero no tiene contenidos.
>>>>>>
>>>>>> Probablemente durante la instalaci=F3n del servidor, los datos =
no=20
>>>>>> cargaron correctamente. De pronto hab=EDa un error cuando =
cargaste=20
>>>>>> los datos con la
>>>>>> l=EDnea:
>>>>>>
>>>>>> java -Dopensite.restore=3Dyes -cp opensiteclnt.jar=20
>>>>>> org.undp.opensite.utils.PopulateSite <deployenvfile>=20
>>>>>> [Site]Contents.zip
>>>>>>
>>>>>> Lamentablemente, la informaci=F3n que sale de este error no vale =
>>>>>> mucho, la informaci=F3n sobre que pas=F3 se encuentra en el =
archivo=20
>>>>>> $CATALNA_HOME/logs/launcher.server.log
>>>>>>
>>>>>> Por ejemplo, un error comm=FAn es que no existe los directorios: =
>>>>>> /var/opensite /var/opensite/temp
>>>>>>
>>>>>> Asegura estos directorios existen y que el due=F1o y grupo es=20
>>>>>> 'tomcat'
>>>>>>
>>>>>> Si este no fue el error, puedes enviarme tu copia de=20
>>>>>> launcher.server.log - puede ser que es un poco grande - si es =
m=E1s=20
>>>>>> de 5Mb, puedes borrarlo, reiniciar tomcat, recargar los datos =
con=20
>>>>>> la l=EDnea arriba y mandar lo que resulta.
>>>>>>
>>>>>> Suerte
>>>>>> ________________________________________________
>>>>>> David S Chamberlin
>>>>>> +44 (0)20 7774 2612
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>>>>> Sent: Wednesday, June 02, 2004 1:47 AM
>>>>>> To: Chamberlin, David
>>>>>> Subject: RE: Aun sale error
>>>>>>
>>>>>>
>>>>>> Todo esta bien, si me di cuenta del archivo tomcat-users.xml
>>>>>>
>>>>>> el problema era en la variable:
>>>>>> TOMCAT_MANAGERUSER =3D manager //que estaba fijada a admin en el =
>>>>>> deploy.env
>>>>>>
>>>>>> pero ahora tengo el siguiente error en el navegador es un=20
>>>>>> problema de
>>>>>> permisos:
>>>>>>
>>>>>> javax.servlet.ServletException: you do not have permission
>>>>>> at=20
>>>>>> =
org.undp.opensite.show.servlet.ContentServlet.generateOutput(Cont
>>>>>> e
>>>>>> n
>>>>>> t
>>>>>> S
>>>>>> e
>>>>>> rvlet.
>>>>>> java:228)
>>>>>> at
>>>>>>
>>>>> =
org.undp.opensite.show.servlet.ContentServlet.doGet(ContentServlet
>>>>> .
>>>>> j
>>>>> a
>>>>> v
>>>>> a:144)
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
>>>>> p
>>>>> p
>>>>> l
>>>>> i
>>>>> cation
>>>>>> FilterChain.java:247)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
>>>>> o
>>>>> n
>>>>> F
>>>>> i
>>>>> lterCh
>>>>>> ain.java:193)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
>>>>> e
>>>>> r
>>>>> V
>>>>> a
>>>>> lve.ja
>>>>>> va:256)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:643)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>>>>> j
>>>>> a
>>>>> v
>>>>> a
>>>>> :480)
>>>>>> at
>>>>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardContextValve.invoke(StandardConte
>>>>> x
>>>>> t
>>>>> V
>>>>> a
>>>>> lve.ja
>>>>>> va:191)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:643)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>>>>> j
>>>>> a
>>>>> v
>>>>> a
>>>>> :480)
>>>>>> at
>>>>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>> at
>>>>>>
>>>> =
org.apache.catalina.core.StandardContext.invoke(StandardContext.jav
>>>> a
>>>> :
>>>> 2
>>>> 416)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
>>>>> e
>>>>> .
>>>>> j
>>>>> a
>>>>> va:180
>>>>>> )
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:643)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
>>>>> c
>>>>> h
>>>>> e
>>>>> r
>>>>> Valve.
>>>>>> java:171)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:641)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
>>>>> e
>>>>> .
>>>>> j
>>>>> a
>>>>> va:172
>>>>>> )
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:641)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>>>>> j
>>>>> a
>>>>> v
>>>>> a
>>>>> :480)
>>>>>> at
>>>>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
>>>>> V
>>>>> a
>>>>> l
>>>>> v
>>>>> e.java
>>>>>> :174)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
>>>>> t
>>>>> e
>>>>> x
>>>>> t
>>>>> .invok
>>>>>> eNext(StandardPipeline.java:643)
>>>>>> at
>>>>>>
>>>>> =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
>>>>> j
>>>>> a
>>>>> v
>>>>> a
>>>>> :480)
>>>>>> at
>>>>>> =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>>>> at
>>>>>>
> =
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223
> )
>>>>>> at
>>>>>> =
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
>>>>>> at
>>>>>> =
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
>>>>>> at
>>>>>> =
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
>>>>>> at
>>>>>>
>>>>> =
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket
>>>>> .
>>>>> j
>>>>> a
>>>>> v
>>>>> a:562)
>>>>>> at
>>>>>> =
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
>>>>>> at
>>>>>>
>>>>> =
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thre
>>>>> a
>>>>> d
>>>>> P
>>>>> o
>>>>> ol.jav
>>>>>> a:619)
>>>>>> at java.lang.Thread.run(Thread.java:534)
>>>>>>
>>>>>>
>>>>>> Todo lo que me pides del navegador esta bien. Yo se que esta=20
>>>>>> bien. Te envio el deplo.env para que lo revises
>>>>>>
>>>>>> Creo que no puedes porque todavia estoy en un servidor de pruba=20
>>>>>> que esta en una red interna.
>>>>>>
>>>>>> Saludos Luis
>>>>>>
>>>>>> pd: si mismo quieres la salida del navegador avisame
>>>>>>
>>>>>>> Aha, creo que lo s=E9 que es. El contrase=F1a para tomcat no =
es=20
>>>>>>> correcto.
>>>>>>>
>>>>>>> Los derechos de los usuarios de tomcat se encuentran en el=20
>>>>>>> archivo $CATALINA_HOME/conf/tomcat-users.xml (probablemente=20
>>>>>>> CATALINA_HOME=3D/var/tomcat). En este archivo debe haber una=20
>>>>>>> l=EDnea
>>>>>>> como:
>>>>>>>
>>>>>>> <user name=3D"manager" password=3D"mmmm" roles=3D"manager" />
>>>>>>>
>>>>>>> - significa que hay un usuario llamado 'manager' con =
contrase=F1a=20
>>>>>>> 'mmmm' (puedes cambiar) con papel 'manager'
>>>>>>>
>>>>>>> Para asegurar que estas usando este usuario tienes que editar =
el=20
>>>>>>> <deployenvfile> (archivo del entorno de despliega normalmente=20
>>>>>>> llamado
>>>>>>> deploy.env) y a=F1adir/remplacer las l=EDneas siguientes:
>>>>>>>
>>>>>>> TOMCAT_MANAGERUSER =3D manager
>>>>>>> TOMCAT_MANAGERPWD =3D mmmm
>>>>>>>
>>>>>>> El 'mmmm' debe ser la misma contrase=F1a que pusiste en=20
>>>>>>> tomcat-users.xml.
>>>>>>>
>>>>>>> Y intenta otra vez.
>>>>>>>
>>>>>>>
>>>>>>> Si esto no funciona, puedes darme la informaci=F3n siguiente:
>>>>>>>
>>>>>>> 1. que sale cuando pones http://localhost en tu browser?
>>>>>>>
>>>>>>> 2. que sale cuando pones http://localhost/manager/html en tu=20
>>>>>>> browser?
>>>>>>>
>>>>>>> 3. que sale cuando pones http://localhost:8080/manager/html en=20
>>>>>>> tu browser?
>>>>>>>
>>>>>>> 4. Cuales son los contenidos de=20
>>>>>>> $CATALINA_HOME/conf/tomcat-users.xml?
>>>>>>>
>>>>>>> 5. Cuales son los contenidos de deploy.env?
>>>>>>>
>>>>>>> 6. Puedo aceder a tu computadora desde afuear a trav=E9s de =
ssh?
>>>>>>>
>>>>>>> Saludos ________________________________________________
>>>>>>> David S Chamberlin
>>>>>>> +44 (0)20 7774 2612
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>>>>>> Sent: Tuesday, May 25, 2004 4:11 PM
>>>>>>> To: Chamberlin, David
>>>>>>> Subject: RE: Aun sale error
>>>>>>>
>>>>>>>
>>>>>>> David,
>>>>>>>
>>>>>>> Todo lo que me dices ya lo hice, y todo sale bien ecepto el
>>>>>>> comando que despliega la aplicaci=F2n. Pensaba que era el =
conector
>>>>>>> de mysql, pero todo esta bien. si me dices que mas necesitas =
para
>>>>>>> poder ayudar te lo envio, desde ya gracias.
>>>>>>>
>>>>>>> att.
>>>>>>>
>>>>>>> Luis
>>>>>>>
>>>>>>>> Hola Luis,
>>>>>>>>
>>>>>>>> Este error significa que no puedes contactar el servidor de
>>>>>>>> tomcat
>>>>>>>> - tal vez est=E1s usando el porto incorrecto (80) o la
>>>>>>>> configuraci=F3n de apache/tomcat no es correcto.
>>>>>>>>
>>>>>>>> Te doy un dibujo de la configuraci=F2n:
>>>>>>>>
>>>>>>>> ___________ ___________ ___________
>>>>>>>> ___________
>>>>>>>> | | http | | | | ajp1.3 =
|
>>>>>>>> |
>>>>>>>> | Cliente | -----------> | Apache |-> | mod_jk | =
----------->
>>>>>>>> | | Tomcat
>>>>>>>> |
>>>>>>>> | | porto 80| | | | porto =
8009 |
>>>>>>>> |
>>>>>>>> | | http ----------- ----------- =
|
>>>>>>>> |
>>>>>>>> | | =
-------------------------------------------------->
>>>>>>>> | |
>>>>>>>> |
>>>>>>>> ----------- porto =
8080
>>>>>>>> -----------
>>>>>>>>
>>>>>>>> El cliente - en este caso la l=EDnea de comando hace una =
solicitud
>>>>>>>> al servidor que est=E1 funcionando a porto 80 (probablemente
>>>>>>>> apache). Apache debe tener configuraci=F3n que le instruye a
>>>>>>>> mandar solicitudes empezando '/manager' a mod_jk y luego a
>>>>>>>> tomcat. La misma configuraci=F3n dirige solicitudes para
>>>>>>>> '/opensite' tambi=E9n al mismo servidor.
>>>>>>>>
>>>>>>>> Dependiendo de la configuraci=F3n de tomcat puede estar
>>>>>>>> eschuchando en porto 8080 para solicitudes directas.
>>>>>>>>
>>>>>>>> Bueno, =BFcomo se sabe que est=E1 funcionando?
>>>>>>>>
>>>>>>>> Queremos saber las cosas siguientes:
>>>>>>>> 1. si apache est=E1 funcionando.
>>>>>>>> 2. cual es la versi=F3n de apache.
>>>>>>>> 3. si tomcat est=E1 funcionando.
>>>>>>>> 4. si la conexi=F3n entre apache y tomcat funciona.
>>>>>>>>
>>>>>>>> 1. Abre un browser y ingresa http://172.16.20.55 para intentar
>>>>>>>> contactar el servidor apache escuchando en porto 80. Si te da
>>>>>>>> una p=E1gina - probablemente viene de apache. Probablemente, =
la
>>>>>>>> p=E1gina va a decir algo como 'Test page for apache =
installation'.
>>>>>>>>
>>>>>>>> 2. Si la 'p=E1gina prueba de apache aparece como dice arriba,
>>>>>>>> puedes hacer click sobre el link para documentaci=F3n - esta
>>>>>>>> documentaci=F3n va a decir la versi=F3n de apache. Si hay =
otra
>>>>>>>> p=E1gina tienes que buscar el camino de la versi=F3n que =
est=E1
>>>>>>>> funcionando. Para ver los programas que est=E1n funcionando
>>>>>>>> ingresa:
>>>>>>>>
>>>>>>>> ps -elf | grep httpd
>>>>>>>>
>>>>>>>> si resulta /etc/httpd/bin/httpd - apache 1.3, con
>>>>>>>> /usr/local/apache2/bin/httpd - apache 2.0.
>>>>>>>>
>>>>>>>> 3. Para saber si tomcat est=E1 funcionando - puedes intentar a
>>>>>>>> contactar el servidor directamente por porto 8080. Ingresa
>>>>>>>> http://172.16.20.55:8080/manager - si el servidor te pide una
>>>>>>>> contrase=F1a, significa que funciona. El problema aqu=ED es =
que si
>>>>>>>> el servidor no se queda en la red local, normalmente el porto
>>>>>>>> 8080 se encuentra bloqueado por un firewall. Si puedes aceder
>>>>>>>> la computadora 172.16.20.55 directamente o a trav=E9s de ssh,
>>>>>>>> puedes intentar con un browser, aun el browser de texto =
'lynx',
>>>>>>>> corriendo en la misma caja.
>>>>>>>>
>>>>>>>> 4. Si apache y tomcat est=E1n funcionando, necesitas hacer la
>>>>>>>> conexi=F3n entre los dos. Tienes que usar el conector mod_jk. =
Si
>>>>>>>> miras el dibujo arriba, ves que hay tres cajas en la =
conexi=F3n
>>>>>>>> desde el cliente hasta el servidor
>>>>>>>> tomcat: apache, mod_jk y tomcat. Cada una de las cajas =
necesita
>>>>>>>> su configuraci=F3n. a. Apache debe tener un archivo de
>>>>>>>> configuraci=F3n que se llama mod_jk.conf en /etc/httpd/conf/jk =
o
>>>>>>>> /usr/local/apache2/conf/jk dependiendo de la versi=F3n de =
apache.
>>>>>>>> Una l=EDnea en /etc/httpd/conf/httpd.conf o
>>>>>>>> /usr/local/apache2/conf/httpd.conf incluye esta =
configuraci=F3n en
>>>>>>>> la configuraci=F3n de apache. b. El modulo mod_jk debe ser
>>>>>>>> instalado en /etc/httpd/modules o /usr/local/apache2/modules =
(si
>>>>>>>> haces 'make install' al final de la construcci=F3n de mod_jk =
se va
>>>>>>>> a copiarse automaticamente.) La configuraci=F3n de mod_jk se
>>>>>>>> llama 'workers.properties' y creo que se installa en
>>>>>>>> /etc/http/conf/jk o /usr/local/apache2/conf/jk. c. La
>>>>>>>> configuraci=F3n de tomcat se halla en server.xml en la =
secci=F3n que
>>>>>>>> dice
>>>>>>>> 'AJP1.3 (JK1.2) connector on 8009'
>>>>>>>>
>>>>>>>> Espero que este ayuda - con m=E1s informaci=F3n de tu parte =
puedo
>>>>>>>> ayudar m=E1s.
>>>>>>>>
>>>>>>>>
>>>>>>>> btw, aqu=ED hay un recurso para configuraci=F3n de tomcat en =
espa=F1ol
>>>>>>>> si ayuda.
>>>>>>>>
>>>>>>>> www.osmosislatina.com/tomcat/configuracion.htm
>>>>>>>>
>>>>>>>>
>>>>>>>> ________________________________________________
>>>>>>>> David S Chamberlin
>>>>>>>> +44 (0)20 7774 2612
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: lfm...@ut... [mailto:lfm...@ut...]
>>>>>>>> Sent: Friday, May 21, 2004 8:01 PM
>>>>>>>> To: Chamberlin, David
>>>>>>>> Subject: Aun sale error
>>>>>>>>
>>>>>>>>
>>>>>>>> Hola David,
>>>>>>>>
>>>>>>>> Me sale un mesaje error en el despliegue de de la aplicaci=F3n
>>>>>>>>
>>>>>>>> [root@localhost distribution]# java -cp opensiteclnt.jar
>>>>>>>> org.undp.opensite.utils.TomcatDeploy deploy.env opensite.war =
url
>>>>>>>> is 'http://172.16.20.55:80/manager/deploy?path=3D/opensite'
>>>>>>>> war file is 'opensite.war'
>>>>>>>> Exception java.io.IOException: Server returned HTTP response
>>>>>>>> code: 401 for
>>>>>>>> URL: http://172.16.20.55:80/manager/deploy?path=3D/opensite
>>>>>>>> Command format is:
>>>>>>>> java [-Dopensite.force=3Dyes]
>>>>>>>> org.undp.opensite.utils.TomcatDeploy<env
>>>>>>>> file> <war file>
>>>>>>>> where:
>>>>>>>> env file - the deployment environment property file
>>>>>>>> war file - the WAR file to deploy
>>>>>>>>
>>>>>>>>
>>>>>>>> Desde ya Gracias,
>>>>>>>>
>>>>>>>> Saludos,
>>>>>>>>
>>>>>>>> Luis
>>>>>>>>
>>>>>>>>
>>>>>>>> -----------------------------------------
>>>>>>>> Este correo fue enviado por el MENSAJERO UTPL.
>>>>>>>> http://www.utpl.edu.ec/mail/
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----------------------------------------
>>>>>>> Este correo fue enviado por el MENSAJERO UTPL.
>>>>>>> http://www.utpl.edu.ec/mail/
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -----------------------------------------
>>>>>> Este correo fue enviado por el MENSAJERO UTPL.
>>>>>> http://www.utpl.edu.ec/mail/
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -----------------------------------------
>>>>> Este correo fue enviado por el MENSAJERO UTPL.
>>>>> http://www.utpl.edu.ec/mail/
>>>>>
>>>>>
>>>>
>>>>
>>>> -----------------------------------------
>>>> Este correo fue enviado por el MENSAJERO UTPL.
>>>> http://www.utpl.edu.ec/mail/
>>>>
>>>>
>>>
>>>
>>> -----------------------------------------
>>> Este correo fue enviado por el MENSAJERO UTPL.
>>> http://www.utpl.edu.ec/mail/
>>>
>>>
>>
>>
>> -----------------------------------------
>> Este correo fue enviado por el MENSAJERO UTPL.
>> http://www.utpl.edu.ec/mail/
>>
>>
>
>
> -----------------------------------------
> Este correo fue enviado por el MENSAJERO UTPL.
> http://www.utpl.edu.ec/mail/
>
>
-----------------------------------------
Este correo fue enviado por el MENSAJERO UTPL.
http://www.utpl.edu.ec/mail/
|