Installing SSL into tomcat
Sorry for my ignorance. Is there anyone who happens to have a guide on how to install SSL into tomcat. I have tried using the method that comes with tomcat documentation with no success. Thanks Regards /Bravo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SV: SV: Installing and running tomcat as a user other than root
I am accessing it from another machine. Roland Carlsson wrote: Are you accessing tomcat from localhost or any other host? Den 05-01-14 09.19, skrev "Mumanyi Bravismore" <[EMAIL PROTECTED]>: Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat] dir, No problem with the user starting tomcat. ps -e|grep java shows the tomcat process is running but when I try to access the pages from the browser, connection is failing. Any tips on how to grant priviledges to port 80 or 8080 on linux to a user. Thanks Roland Carlsson wrote: Hi Mumanyi! This will require some knowleage about you operatingsystem since not all operation is allowed being a non-root user. But it basically comes down to this: Grant the user you would like to run tomcat read and write rights on the whole tomcat install-dir. This because tomcat write down a few things to disk. Make sure that you operating system allow the user to open up the port you which tomcat to run on. Usually ports under 1024 are dissallowed without special privilegies. If you still are having problem you have to read the logs to see why tomcat fails to start correctly. Regards Roland Carlsson Den 05-01-14 08.12, skrev "Mumanyi Bravismore" <[EMAIL PROTECTED]>: How can one achieve to install and run tomcat as a user other than root. I have tried to extract tomcat from the *.gz as a user but once I try to access it from the browser I get the "Connection Failed" error when in actually fact tomcat is running. When I su -l to root and restart tomcat, I am able to see the page. Thanks in advance. Regards /Bravo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SV: Installing and running tomcat as a user other than root
Sorry, I am on RedHat 9. I have given the user -rwx- of the [tomcat] dir, No problem with the user starting tomcat. ps -e|grep java shows the tomcat process is running but when I try to access the pages from the browser, connection is failing. Any tips on how to grant priviledges to port 80 or 8080 on linux to a user. Thanks Roland Carlsson wrote: Hi Mumanyi! This will require some knowleage about you operatingsystem since not all operation is allowed being a non-root user. But it basically comes down to this: Grant the user you would like to run tomcat read and write rights on the whole tomcat install-dir. This because tomcat write down a few things to disk. Make sure that you operating system allow the user to open up the port you which tomcat to run on. Usually ports under 1024 are dissallowed without special privilegies. If you still are having problem you have to read the logs to see why tomcat fails to start correctly. Regards Roland Carlsson Den 05-01-14 08.12, skrev "Mumanyi Bravismore" <[EMAIL PROTECTED]>: How can one achieve to install and run tomcat as a user other than root. I have tried to extract tomcat from the *.gz as a user but once I try to access it from the browser I get the "Connection Failed" error when in actually fact tomcat is running. When I su -l to root and restart tomcat, I am able to see the page. Thanks in advance. Regards /Bravo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Installing and running tomcat as a user other than root
How can one achieve to install and run tomcat as a user other than root. I have tried to extract tomcat from the *.gz as a user but once I try to access it from the browser I get the "Connection Failed" error when in actually fact tomcat is running. When I su -l to root and restart tomcat, I am able to see the page. Thanks in advance. Regards /Bravo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.25: Requested resource not available
Hi ALL, I have the error message below whenever I 'm launch the following url: I run " http://localhost:8080/ " OR "http://localhost:8080/dspace"; I get : "HTTP Status 404 - / type Status report message / description The requested resource (/) is not available. Apache Tomcat/5.0.25" when I run "http://localhost:8080/webdav/";, I 'm able to see the directory listing there. It seems that only catalina can 't see the pages placed in the /dspace directory. Please help My settings: -- postmaster successfully started Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.25 Using CATALINA_HOME: /usr/local/jakarta-tomcat-5.0.25 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-5.0.25/temp Using JAVA_HOME: /opt/SUNWappserver/jdk dspace-1.1.1 postgres-7.4.3 Ant-1.6.1 RedHat 9.0 java version 1.4.2_04 My contents of the tomcat webapps dir total 32 4 drwxr-xr-x8 dspace dspace 4096 Jan 13 09:39 . 4 drwxr-xr-x 12 dspace dspace 4096 Jan 13 09:35 .. 4 drwxr-xr-x4 dspace dspace 4096 Jan 12 16:05 balancer 0 lrwxrwxrwx1 dspace dspace 11 Jan 13 09:37 dspace -> dspace/jsp 0 lrwxrwxrwx1 dspace dspace 11 Jan 13 09:38 dspace-oai -> /dspace/oai 4 drwxr-xr-x 21 dspace dspace 4096 Jan 12 16:05 jsp-examples 0 lrwxrwxrwx1 dspace dspace 11 Jan 13 09:39 ROOT -> /dspace/jsp 4 drwxr-xr-x4 dspace dspace 4096 Jan 13 11:17 ROOT.bak 4 drwxr-xr-x4 dspace dspace 4096 Jan 12 16:05 servlets-examples 4 drwxr-xr-x 12 dspace dspace 4096 Jan 12 16:05 tomcat-docs 4 drwxr-xr-x3 dspace dspace 4096 Jan 12 16:05 webdav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with Tomcat install on Redhat
I have tried adding the two lines with no successs. Karen M Y Ng wrote: > > You need to edit your server.xml file which can be found in > $CATALINA_HOME/conf by uncommenting the following code and add two lines > on keypass and keystore as follows: > > > max thread=... >... >keypass="enter_your_key_password_here" >keystore="enter_your_keytore_absolute_path_here" >clientAuth="false" sslProtocol="TLS" >> > > Hope this help. > > Karen > > On Tue, 27 Jul 2004, Mumanyi Bravismore wrote: > > > I have installed jakarta-tomcat-4.1.30 on Redhat 9. However, when I try > > to load the tomcat index page on SSL (https://machine ip:8443), I am > > getting a connection refused error. I have jdk installed on the box and > > have executed: > > > > $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA . Am I > > missing something? Can someone give me the exact guide on how to install > > tomcat with SSL support. > > > > Thanks in advance. I have also included a few lines from my catalina.out > > file below. > > > > Regards > > /Bravismore > > > > > > Catalina.start: LifecycleException: Protocol handler initialization > > failed: java.lang.ClassNotFoundException: > > Can't find any SSL implementation > > LifecycleException: Protocol handler initialization failed: > > java.lang.ClassNotFoundException: Can't find any > > SSL implementation > > at > > org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231) > > at > > org.apache.catalina.core.StandardService.initialize(StandardService.java:579) > > at > > org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) > > at org.apache.catalina.startup.Catalina.start(Catalina.java:511) > > at > > org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > > at > > org.apache.catalina.startup.Catalina.process(Catalina.java:180) > > at java.lang.reflect.Method.invoke(Native Method) > > at > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > > Catalina.stop: LifecycleException: This server has not yet been started > > LifecycleException: This server has not yet been started > > at > > org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) > > at org.apache.catalina.startup.Catalina.start(Catalina.java:543) > > at > > org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --- > Karen Ng > OMII (Open Middleware Infrastructure Institute) > Faraday / 6005, > University of Southampton, > Southampton, SO17 1BJ, > United Kingdom. > > Tel: +44 (0)23 8059 8788 > Fax: +44 (0)23 8059 3045 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with Tomcat install on Redhat
I have installed jakarta-tomcat-4.1.30 on Redhat 9. However, when I try to load the tomcat index page on SSL (https://machine ip:8443), I am getting a connection refused error. I have jdk installed on the box and have executed: $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA . Am I missing something? Can someone give me the exact guide on how to install tomcat with SSL support. Thanks in advance. I have also included a few lines from my catalina.out file below. Regards /Bravismore Catalina.start: LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation LifecycleException: Protocol handler initialization failed: java.lang.ClassNotFoundException: Can't find any SSL implementation at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1231) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Catalina.stop: LifecycleException: This server has not yet been started LifecycleException: This server has not yet been started at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2213) at org.apache.catalina.startup.Catalina.start(Catalina.java:543) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Acces Denied
I have installed jakarta-tomcat-4.1.30 on redhat 9. However, when I try to test if all is well with the install(by launching https://localhost:8443 in my browser), I am getting an Access denied message. I have enabled it to connect to port 8443 in the conf file with no success. any tips from experienced folks please. Regards Bravo Zimbabwe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]