SSL and Apache Tomcat 5.5.20

Hi
Maybe java forum is not right place where to put this post, but it is worth a try...
im using tomcat 5.5.20 and i have read tomcat-docs how to configure server for ssl... i have done everything (checked so many times...), restart my server too, but still ssl does not work...
when i try to open https://localhost:8443 but it takes so much time "loading the page" and then fails...
when i try http://localhost:8443 it work but with no ssl... :(
my server.xml config file :
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
     <Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
any help?

i have found the cause of problem, but i cent solve it....
problem is because i use winxp for server (apache). On winxp there is no default enviromental variable for USER_HOME or sth like that...
the server.xml use home variable where .keystore is stored... and on linux where home variable is explicitly defined and it works...
when i was try to move .keystroe file to another directory and rename it to tomcat.keystore and in server.xml use the following parameter inside Connector tag, keystoreFile="path-to-file\tomcat.keystore" in it does not work any more...

Similar Messages

  • [svn:bz-trunk] 18538: Remove apache-tomcat-6.0.14 and apache-tomcat-6.0. 26 versions from trunk

    Revision: 18538
    Revision: 18538
    Author:   [email protected]
    Date:     2010-11-11 09:59:23 -0800 (Thu, 11 Nov 2010)
    Log Message:
    Remove apache-tomcat-6.0.14 and apache-tomcat-6.0.26 versions from trunk
    checkintests: passed
    Ticket Links:
        http://bugs.adobe.com/jira/browse/tomcat-6
        http://bugs.adobe.com/jira/browse/tomcat-6
    Removed Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.14/
        blazeds/trunk/servers/apache-tomcat-6.0.26/

    I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
    One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file.

  • HTTPS and Apache tomcat

    When i install apache tomcat,all operation is default!!
    But when I call https://127.0.0.1:8443 ,it don't work~~
    Please tell me fix this bug !!

    i remove comment
    <!--  Define a SSL HTTP/1.1 Connector on port 8443
      -->
    - <!--
        <Connector port="8443" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   acceptCount="100" scheme="https" secure="true"
                   clientAuth="false" sslProtocol="TLS" />
      --> and then,one part of server.xml like that
    <!--  Define a SSL HTTP/1.1 Connector on port 8443 -->
    <Connector port="8443" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   acceptCount="100" scheme="https" secure="true"
                   clientAuth="false" sslProtocol="TLS" />

  • IBM WebSphere Studio and Apache Tomcat Server

    Hi all of you , my question is Can I add Apache TomCat web server to my IBM WebSphere Dev. Studio 5.0. ? If it's so, How can I do ? If you hurry up,I'll be really appreciated.
    Thanks in advance.
    Ergin

    When I do an add server from WSAD 5.1.2 I see the option of Tomcat 3.2, 4.0 & 4.1. I don't know if 5.0 has them.
    You can always run tomcat outside of WSAD and point it at your webapp root in WSAD. Doesn't provide all the nice integration but works OK.
    -- Frank

  • OAS and Apache Tomcat on same machine

    Hi guys,
    I have a server for "Business objects XI/MS SQL server" which uses Apache TomCat 5.
    I want to install RDBMS 10g and Oracle Application server on this machine. Is there any conflict possible?
    What measures I may take to keep both applications running on same machine.?
    thnks in advance

    Besides the obvious things like memory and CPU (load), just make sure that you don't get any port conflicts and you will be ok. (at least, you will be on unix. I don't know much about Windows, so can't help you with that one).

  • How to integrate Apache Web Server and Apache Tomcat 4.0 ?

    <pre>
    Hi All,
    Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
    Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
    Please point me to exact location,url to download the recent Apache Web Server and,
    Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
    A detailed explanation of how to integrate both is very helpful.
    Thanks in advance.
    <pre>

    The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
    Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
    You find the section "LoadModule" and you add the next lines:
    LoadModule webapp_module modules/mod_webapp.so
    AddModule mod_webapp.c
    And the end of the file you must add these lines:
    WebAppConnection conexion warp localhost:8008
    WebAppDeploy examples conexion /examples
    The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
    At last you can add one more lines to check the module's configuration:
    WebAppInfo /webapp-info
    If you visit http://<yoor_host>/webapp-info you can see the configuration.

  • Clientgen and Apache Tomcat

    Is it possible to invoke a webservice deployed on Apache Tomcat from a client that
    uses the proxy classes generated by weblogic's clientgen task.
    1. We are successful if the datatypes passed are simple datatypes like String,
    long, int etc.
    2. Fails when we use User defined types like
    class MyClass {
    Any insight would be appreciated.
    Thanks,
    -Sridhar

    Tomcat has an HTTP listener built in, so you don't necessarily need Apache to run Tomcat and serve up HTML, JSP, and servlets.
    But if you want to have Apache handle static HTML and forward servlet/JSP requests to Tomcat, there are docs at the Tomcat site to tell you how to bolt Tomcat onto Apache.
    The Wrox book "Professional Apache Tomcat" has good instructions, too. I've done it successfully many times. - MOD

  • Tomcat and Apache/Tomcat is the same?

    Hello,
    I�m new to jsp and somedays ago I asked here a question and the solution was about installing Apache or Apache/Tomcat.
    Now, my question is the following.
    When I started to learn jsp , what I did were to install Tomcat. After reading some questions in these forums I do not know what is the difference between the installation of Tomcat and the installation of Apache/Tomcat.
    What I have done for the moment is to have a server with Apache and another server for my jsp pages with Tomcat....
    Does it means that it is possible to integrate two installations in only one server and to run all the pages in the same server? Where can I find information about that?
    Thanks a lot and regards,
    Patty

    Tomcat has an HTTP listener built in, so you don't necessarily need Apache to run Tomcat and serve up HTML, JSP, and servlets.
    But if you want to have Apache handle static HTML and forward servlet/JSP requests to Tomcat, there are docs at the Tomcat site to tell you how to bolt Tomcat onto Apache.
    The Wrox book "Professional Apache Tomcat" has good instructions, too. I've done it successfully many times. - MOD

  • Webacc and apache/tomcat source code install

    hi all:
    im try GW2012+SLES11SP1,install webacc,im want custom install apache2.x and tomcat 6.x,im installed it,but how install webacc?install tip install apache's rpm and tomcat 's rpm,pls help me ,thanks.

    SeamanMei,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • New to Beans and Apache Tomcat - 1st Bean problem !

    Hello all. Just to give you some background, I know basic Java and I am more than happy to have a go at something I know nothing about.
    I am developing a system - for my own personal use (and friends) that will have an Oracle back end and a web browser and mobile phone front end, connectivity to DB via JDBC.
    I'm using JSPs and, I was debating whether to use Servlets too. I reads a few documents and, for what I want, Java Beans seem spot on. So I am running through a tutorial trying to get the basics of it.
    This is the error I am getting:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /showUserBean.jsp
    Generated servlet error:
    UserBean cannot be resolved to a type
    I should be passing the variables to the bean through the url in this example but the book does not show how to do it, so I left the url with just http://localhost/showUserBean.jsp
    The error is refering to a UserBean type, it seems that when the JSP is compiled the system does not know "what" class UserBean is or where to find it. Any pointers would be greatly appreciated. the UserBean.class file is in the apache install dir default webapps/root/web-inf/classes folder.
    The JSP is in the apache default install dir webapps/root folder.
    The code for the bean is:
    // first attempt at a Bean
    public class UserBean implements java.io.Serializable
    protected int userId;
    protected String userName;
    protected String location;
    public UserBean(){}
    public int getUserId() { return userId; }
    public void setUserId(int aUserId)
    { userId = aUserId; }
    public String getUserName() { return userName; }
    public void setUserName(String aUserName)
    { userName = aUserName; }
    public String getLocation() { return location; }
    public void setLocation(String aLocation)
    { location = aLocation; }
    The code for the JSP is:
    <html>
    <body>
    <%-- Create an instance of the bean --%>
    <jsp:useBean id="userBean" class="UserBean"/>
    <%--Copy the parameters into the bean --%>
    <jsp:setProperty name="userBean" property="*"/>
    The bean values are:,br>
    User ID: <jsp:getProperty name="userBean" property="userId"/><br>
    Username: <jsp:getProperty name="userBean" property="userName"/><br>
    Location: <jsp:getProperty name="userBean" property="location"/><br>
    </body>
    </html>

    JavaBeans seems they are more focused for visual interfacesRead the specification: http://java.sun.com/products/javabeans/docs/spec.html
    I want to simply create some objects from classes and manipulate the data held by themLike struct in C? JavaBean technology helps you

  • Difference between Eclipse and Apache Tomcat?

    Can anyone let me know difference between these two? or give me a website link where i can find comparison of the two?I want to work on JAVA+Web services, so what is best bet for me to work with?

    eat your pizza then getinto car.or get into car ,
    reach the moon and then eat your pizza there.you see
    both are usefull somehow.well i asked as i dint know
    much about this stuff, so instead of making fun you
    could have helped me a bit. no?MAybe you could have just taken the sarcasm as what it was and yould have tried to find out what to use Eclipse and what to use Tomcat for... if you can't tell the terms "deleopment environment" and "servlet container" apart, writing servlets might still be too big a task for your present state of knowledge.

  • SetAttribute in JSP page and Apache tomcat server

    Hello all gurus: I have created a JSP using JDeveloper. It works fine within the web server installed with JDeveloper, but when I upload the application to apache tomocat server, it does not seem to work correctly.
    I am using setAttribute property of the session object, to save data. Listed below is a section of the code. Not sure if it is a cookie issue or what.
    <%
    int i_count = 0;
    if(session.getAttribute("create_user_first_time") == "") {
    session.setAttribute("create_user_first_time","FIRSTTIME");
    else {
    System.out.println("SECOND TIME DUDE.");
    System.out.println(request.getParameter("username").toString().trim());
    i_count = createuser (
    request.getParameter("username").toString().trim(),
    request.getParameter("password").toString().trim(),
    request.getParameter("Email").toString().trim(),
    request.getParameter("DOB").toString().trim(),
    request.getParameter("securityQ").toString().trim(),
    request.getParameter("securityA").toString().trim(),
    request.getParameter("Phone").toString().trim()
    System.out.println("after create user");
    System.out.println("i_count="+i_count);
    if (i_count == 3) {
    session.setAttribute("err_msg_create_user", "USER ALREADY EXISTS!");
    System.out.println("err_msg_create_user: USER ALREADY EXISTS!");
    else {
    session.setAttribute("err_msg_create_user", "Congratulations " + request.getParameter("username").toString().trim() + "!!Please proceed to login at the following URL: <a href=Login.jsp target='_blank'> Login </a>");
    System.out.println("CONGRATULATIONS!");
    %>

    Abder-Rahman wrote:
    I noticed the problem.The "Hello.jsp" file was still in "Notepad" format.Huh? What is it, the "Notepad" format?
    Do you mean that it is saved as hello.jsp.txt? Just rename the file then.
    It might be helpful to disable the setting "hide extensions for known file types" in the Windows Explorer options.

  • Compile problem using TOMCAT 5.0 and Apache ANT

    I got some sample from book.
    i just follow the step, place it the class file. it work. it run. show all the detail.
    but when i wan to compile it from java file, error came out
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.NoClassDefFoundError: com/jspbook/HelloWorld (wrong name: HelloWorld)
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(Unknown Source)
         java.security.SecureClassLoader.defineClass(Unknown Source)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.in CMD:
    set java_home = C:\Program Files\Java\jdk1.5.0_08
    set classpath = C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
    and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend
    i compile it using Apache ANT
    here the build.xml
    <?xml version="1.0" ?>
    <project name="jspbook" default="build" basedir=".">
      <target name="build">
        <echo>Starting Build </echo>
        <!-- Turn Tomcat Off -->
        <antcall target="tomcatOff"/>
        <!-- Compile Everything -->
        <antcall target="compile"/>
        <!-- Turn Tomcat On -->
        <antcall target="tomcatOn"/>
        <echo>Build Finished </echo>
      </target>
      <target name="tomcatOff">
        <echo>Turning Off Tomcat </echo>
        <exec executable="bash" os="Windows">
          <arg value="../../bin/shutdown.bat"/>
        </exec>
        <exec executable="bash" os="Linux">
          <arg value="../../bin/shutdown.sh"/>
        </exec>
      </target>
      <target name="tomcatOn">
        <echo>Starting Tomcat </echo>
        <exec executable="bash" os="Windows">
          <arg value="../../bin/startup.bat"/>
        </exec>
        <exec executable="bash" os="Linux">
          <arg value="../../bin/startup.sh"/>
        </exec>
      </target>
      <target name="compile">
        <javac
          srcdir="WEB-INF/classes"
          extdirs="WEB-INF/lib:../../common/lib"
          classpath="../../common/lib/servlet.jar"
          deprecation="yes"
          verbose="no">
          <include name="com/jspbook/**"/>
        </javac>
      </target>
    </project>compile success, but error in IE
    paste the sample class file in,restart tomcat. i work again!
    what is the problem!
    even i compile the code inside the Jcreator, after set required libraries to servlet.jar or servlet-api.jar
    compile it, success then run it in IE, same error!!!.
    what should i do.
    stil a beginer in servlet and jsp anyway.

    and Apache tomcat originally dont have servlet.jar but servlet-api.jar, i copy the servlet.jar from my friend servlet.jar is an OLD version, you should only use servlet-api.jar!
    wrong name: HelloWorldPerhaps there is a mistake in the class or packagename of the source file. Post the source here.

  • Io Exception connecting to Oracle from apache-tomcat-6.0.14 - weird problem

    Hi all,
    I'm in a desperate situation here. Trying to solve this problem for a week now. I have searched all over the internet but coul not find any solution. I developed an application using netbeans 5.5.1 with VWD pack and it works fine. The application accesses an oracle db on another server which works fine on my development machine. Now I deployed to oracle 9i and apache-tomcat-6.0.14 on a solaris machine and encountered this error :
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    on further troubleshooting I tried this code on the server.
    java.sql.DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    java.sql.Connection conn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@servername:1521:sid", "username", "pswd");
    and it works alright. The connection was established wothout error.
    But when I try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    javax.naming.Context init new javax.naming.Context();
    javax.naming.Context ctx = (javax.naming.Context)init.lookup("java:comp/env");
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/dataSource");
    java.sql.Connection conn = ds.getConnection();
    I still get the same io Exception error.
    Now I need to fetch the values from the context file, because my application uses :-
    CachedRowSetXImpl portal_tabsRowSet= new CachedRowSetXImpl();
    CachedRowSetDataProvider portal_tabsDataProvider= new CachedRowSetDataProvider();
    as follows :-
    portal_tabsRowSet.setDataSourceName("java:comp/env/jdbc/dataSource");
    portal_tabsRowSet.setCommand("SELECT * FROM PORTAL_TABS");
    portal_tabsRowSet.setTableName("PORTAL_TABS");
    portal_tabsDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.portal_tabsRowSet}"));
    here is my context.xml
    <Context path="/AppPortal">
    <Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" m
    axActive="20" maxIdle="10" maxWait="-1" name="jdbc/dataSource" password="pswd" ty
    pe="javax.sql.DataSource" url="jdbc:oracle:thin:@servername:1521:sid" username="username"/>
    </Context>
    here is my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
    The maximum allowed upload size in bytes. If this is set
    to a negative value, there is no maximum. The default
    value is 1000000.
    </description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
    The size (in bytes) of an uploaded file which, if it is
    exceeded, will cause the file to be written directly to
    disk instead of stored in memory. Files smaller than or
    equal to this size will be stored in memory. The default
    value is 4096.
    </description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>*.jspx</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><session-config><session-timeout>5</session-timeout></session-config><welcome-file-list>
    <welcome-file>JSCreator_index.jsp</welcome-file>
    </welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config><resource-ref><description>Creator generated DataSource Reference</description><res-ref-name>jdbc/dataSource</res-ref-name><res-type>javax.sql.DataSource</res-type><res-auth>Container</res-auth></resource-ref></web-app>
    This is really strange to me.
    Please help!

    I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
    One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file.

  • Coldfusion 11 SSL Certs applied - The APR based Apache Tomcat library which allows optimal performance in production environments,

    Coldfusion 11
    Windows Server 2012 R2
    Both the Coldfusion admin and additonal site work fine on HTTP.
    As soon as I attempt to enable SSL websockets and install SSL certs, the Coldfusion 11 Application service will not start. I followed the steps below....
    Coldfusion 11 - Web Sockets via SSL
    The Coldfusion-error.log shows
    Jan 26, 2015 3:21:23 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
    Server was a cloned VM of the test server with developer copy of CF11, but license has been purchased and applied. SSL certs have been imported successfully, paths are correct in CF Admin to the cert file etc.
    Do I need to install another version of Coldfusion to get around this issue or is there a download update I need to apply?
    If i reconfig the \cfusion\runtime\conf\server.xml to comment out the SSL sections it works fine.
    Any assistance welcome - I can't allow this site to made publicly available with using SSL.
    SM

    @Scott, first are you running update 3? If so, let’s clarify at the outside that, as that bug report (you point to) does indicate in the notes below it, there is a fix for a problem where this feature broke in that release.  And as it notes, you can email [email protected] to request the fix (referring to that bug), or you can wait for it to be released publicly as part of a larger set of fixes.
    If you are NOT on update 3, or you may apply the fix and find things still don’t work, I would wonder about a few things, from what you’ve described.
    First, you say that the CF service won’t start, and you offer some lines from the ColdFusion-error log. Just to be clear, those particular error messages are common and nothing to worry about. They definitely do NOT reflect any reason CF doesn’t start. But are you confirming that that time (in the log lines) is in fact the time that you had started CF, when it would not start? I’d suspect not.
    Look instead in the coldfusin-out.log. What does THAT log show at the time you try to start CF and it won’t start? You may find something else there. (And since you refer to editing the server.xml file, you may the log complains that because of an error in the XML it can’t “parse” the file. It’s worth checking.
    You say also that you have confirmed that “paths are correct in CF Admin to the cert file”. What path are you referring to? There’s no page in the CF admin that points to the CACERTS file in which the certs are stored. Do you perhaps mean on the “system info” or “settings summary” page? Even so there’s still no line in there which refers to the “cert file”.
    Instead—and this could be a part of your problem—the cert file is simply found WITHIN the directory where CF’s pointed to to find its JVM. Wherever THAT is, is where you need to put any certificates. So take a look at the CF Admin, either in the ”java and jvm” page (and the value of its “Java Virtual Machine Path”), or in the “settings summary” or “system information” pages and their value for “Java Home”. Is that something like \coldfusion11\jre? Or something like \Java\jdk1.7.0_71\jre? Whichever it is, THAT’s where you need to put the certs, within there (in its \lib\security folder).
    Finally, when you say that if you “comment out the SSL sections  it works fine”, do you mean that a) CF comes up and b) some example code calling your socket works, as long as you don’t use SSL?
    To be clear, no, you don’t need any other version of CF11 to get websockets to work. But if you are on update 3, that may be the simple problem. Let us know how it goes for you with this info.
    /charlie

Maybe you are looking for

  • Why can't I get album LPs through home sharing to my other computer?

    I had just setup itunes on my second computer using the same account through home sharing and it all work well. I then bought an entire album from the itunes store with the LP. The LP automatically got on my first computer and is shown on my second.

  • View BIP report with parameter in Dashboard, but the parameter  not appear

    OBIEE 10.3.4.1 on Redhat 5.2. I have a BIP report with 3 parameters which work fine in BIP. Now I embedded it in BI Dashboard, but not see the parameter menu when view in Dashboard. Is this the feature, or I missed something. Thanks.

  • Ipod faills to sync the second time.

    Hi there! To begin with: i'm sorry for my language mistakes! Here's my problem: i have an ipod second generation and i have the updated version of itunes. Yesterday, i connected my ipod to my windows xp and it synchronised. Nothing wrong. But then i

  • Does the browser back/forward literally not work?

    Does anyone else find the Browser/Media tab so frikkin annoying? I'm browsing through folders to find samples to put into my project and everytime i go back, it goes back to the last folder full of samples i was in, rather than literally going 'back.

  • Master Templates Observation

    While trying to come up with a fresh idea for a lower third, I decided to browse through the master templates selections in FCP. In the "Season" category, what is falling in front of the background? They look like potato chips... I guess they might b