tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirna Misere" <mirna.mis...@bancogalicia.com.ar>
Subject Question - TOMCAT
Date Thu, 11 Dec 2003 18:31:21 GMT
Does anyone have a solution to this problem?  I would appreciate the help.
I can't resolve the problem  with TOMCAT  connector.
I get the following error  "java.io.IOException: Cannot recover key"
The keytool execution finalized succefull.
Calling from browser the  link  https://<server_name>:8443    doesn't
display dspace page.

- environment  :

JAVA_HOME=/usr/local/j2sdk1.4.2_02
JAVA_JRE=/usr/local/j2sdk1.4.2_02/jre
CATALINA_HOME=/usr/local/tomcat-5
JSSE_HOME=$JAVA_HOME/jre/lib
CLASSPATH=.:${JAVA_HOME}/lib:${ANT_HOME}/lib:${JAVA_HOME}/jre/lib:/lib:/dspace/lib
PSQL_HOME=/usr/local/pgsql
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/dspace/lib

- /usr/local/tomcat-5/conf/server.xml

        <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443   (Mx) -->
    <Connector port="8443"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" debug="0" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />

-  /usr/local/tomcat-5/logs/catalina.out

SEVERE: Error starting endpoint
java.io.IOException: Cannot recover key
        at
org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:151)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:127)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:281)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:303)
        at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:217)
        at
org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1396)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:528)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Dec 11, 2003 1:18:34 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  Protocol handler start failed: java.io.IOException:
Cannot recover key
        at
org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1398)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:528)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
Dec 11, 2003 1:18:34 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 27788 ms





Kind regards,



                                                                                         
                 
                      Tom De Mulder                                                      
                 
                      <tdm27@cam.ac.uk>        Para:     Mirna Misere <mirna.misere@bancogalicia.com.ar>
  
                                               cc:                                       
                 
                      13/11/2003 08:55         Asunto:   Re: Question - webapp module    
                 
                      a.m.                                                               
                 
                                                                                         
                 
                                                                                         
                 




On Wed, 12 Nov 2003, Mirna Misere wrote:

>Thank for you  response, now  I have other problem,  when I tried to
>configure tomcat to work with SSL, I followed the
>instruction in server.xml to generate a server certificate. When I run the
>command  :
> "keytool -genkey -alias tomcat -keyalg RSA", it gives me the above
error.
>JAVA_HOME=/usr/local/jdk1.2.2

You're running a version of Java that is too old. Install Java 1.4 or
higher, because that's the only version that has SSL included.

>Other question, dspace have  other languages, spanich for example.

Not yet. Currently if you want DSpace in another language, you have to
translate it yourself.


Kind regards,

--
Tom De Mulder <tdm27@cam.ac.uk> - Cambridge University Computing Service
                                  DSpace @ Cambridge
->13/11/2003 : The Moon is Waning Gibbous (77% of Full)





===============================================================
Este mensaje y sus anexos son confidenciales y de uso exclusivo
de las personas a las que está dirigido. En caso de que ud.
recibiera éste correo por error no podrá modificar, copiar o
distribuir parte o la totalidad del mismo; asimismo le solicitamos
que notifique tal situación al emisor  y que
que tenga a bien eliminarlo de su sistema.
El emisor no acepta responsabilidades por errores
u omisiones en el contenido de éste correo dado que
Internet no garantiza la seguridad y exactitud de las
comunicaciones.
Las opiniones vertidas en este correo son exclusivas
de su autor y no representan la opinión del Banco Galicia.





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message