Copy link to clipboard
Copied
Finished installing CF 11 Developer Edition and cannot connect to CF administrator and preinstalled Apache web server. I get this message:
Firefox can't establish a connection to the server at 127.0.0.1
Tried these URLs:
http://127.0.0.1/CFIDE/administrator/index.cfm
http://localhost/CFIDE/administrator/index.cfm
http://localhost:8500/CFIDE/administrator/index.cfm
Am able to get a web page that says "It works" when I try to access http://localhost
Does anybody have any advice?
Rob
That worked!! I will continue onward and let you know if I hit anymore
issues.
Rob
On Mon, Dec 29, 2014 at 3:04 PM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Can you provide us more details? What is the webserver you are using (including the version)?
robcrose63 wrote:
Tried these URLs:
http://127.0.0.1/CFIDE/administrator/index.cfm
http://localhost/CFIDE/administrator/index.cfm
Rob
If you are using http://127.0.0.1:8500/CFIDE/administrator/index.cfm, have you enabled the internal server for CF?
Regards,
Anit Kumar
Copy link to clipboard
Copied
Installed Apache 2.4
On Mon, Dec 29, 2014 at 9:47 AM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Can you be precise Apache 2.4.x ? Also, share, what ColdFusion log says, when you access http://localhost/CFIDE/administrator/index.cfm
Regards,
Anit Kumar
Copy link to clipboard
Copied
Here is a copy and paste from my error log:
Dec 27, 2014 6:09:34 AM 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:
C:\ColdFusion11\cfusion\lib;C:\ColdFusion11\cfusion\jintegra\bin;C:\ColdFusion11\cfusion\jintegra\bin\international;C:\ColdFusion11\cfusion\lib\oosdk\classes\win
Dec 27, 2014 6:09:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:09:34 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Dec 27, 2014 6:09:34 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
Dec 27, 2014 6:09:36 AM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
took milliseconds.
Dec 27, 2014 6:09:42 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
Dec 27, 2014 6:09:42 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.25-b02
Dec 27, 2014 6:09:47 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.0.7.v20131107
Dec 27, 2014 6:09:47 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started o.e.j.s.ServletContextHandler@b8d3ab{/,null,AVAILABLE}
Dec 27, 2014 6:09:47 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@1d0672{HTTP/1.1}{0.0.0.0:5500}
Dec 27, 2014 6:09:47 AM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
Dec 27, 2014 6:09:51 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:09:51 AM com.adobe.coldfusion.launcher.Launcher run
INFO: Server startup in 17567 ms
Dec 27, 2014 6:18:15 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping
the Server instance.
Dec 27, 2014 6:18:15 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:18:15 AM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
com.sun.star.lib.loader.InstallationFinder::getPathFromWindowsRegistry:
reading key from Windows Registry failed:
com.sun.star.lib.loader.WinRegKeyException: opening registry key failed!
com.sun.star.lib.loader.Loader::getCustomLoader: no UNO installation found!
Exception in thread "Thread-49" java.lang.NoClassDefFoundError:
com/sun/star/uno/Exception
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
at java.lang.Class.getMethod0(Class.java:3010)
at java.lang.Class.getMethod(Class.java:1776)
at
coldfusion.document.OpenOfficeUNOHelper.isLocalOOAvailable(OpenOfficeUNOHelper.java:309)
at
coldfusion.document.OpenOfficeUNOHelper.isOOAvailable(OpenOfficeUNOHelper.java:403)
at
coldfusion.document.DocumentServiceImpl$2.run(DocumentServiceImpl.java:271)
Caused by: java.lang.ClassNotFoundException: com.sun.star.uno.Exception
at
com.sun.star.lib.loader.Loader$CustomURLClassLoader.findClass(Loader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at
com.sun.star.lib.loader.Loader$CustomURLClassLoader.loadClass(Loader.java:371)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more
Dec 27, 2014 6:18:21 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped ServerConnector@1d0672{HTTP/1.1}{0.0.0.0:5500}
Dec 27, 2014 6:18:21 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped o.e.j.s.ServletContextHandler@b8d3ab{/,null,UNAVAILABLE}
Dec 27, 2014 6:18:21 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:18:52 AM 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:
C:\ColdFusion11\cfusion\lib;C:\ColdFusion11\cfusion\jintegra\bin;C:\ColdFusion11\cfusion\jintegra\bin\international;C:\ColdFusion11\cfusion\lib\oosdk\classes\win
Dec 27, 2014 6:18:53 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:18:53 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Dec 27, 2014 6:18:53 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
Dec 27, 2014 6:18:55 AM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
took milliseconds.
Dec 27, 2014 6:18:58 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
Dec 27, 2014 6:18:58 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.25-b02
Dec 27, 2014 6:19:06 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.0.7.v20131107
Dec 27, 2014 6:19:06 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started o.e.j.s.ServletContextHandler@14fe571{/,null,AVAILABLE}
Dec 27, 2014 6:19:06 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@164755e{HTTP/1.1}{0.0.0.0:5500}
Dec 27, 2014 6:19:08 AM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
Dec 27, 2014 6:19:18 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:19:18 AM com.adobe.coldfusion.launcher.Launcher run
INFO: Server startup in 27716 ms
Dec 27, 2014 6:37:30 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping
the Server instance.
Dec 27, 2014 6:37:30 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 6:37:31 AM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
com.sun.star.lib.loader.InstallationFinder::getPathFromWindowsRegistry:
reading key from Windows Registry failed:
com.sun.star.lib.loader.WinRegKeyException: opening registry key failed!
com.sun.star.lib.loader.Loader::getCustomLoader: no UNO installation found!
Exception in thread "Thread-59" java.lang.NoClassDefFoundError:
com/sun/star/uno/Exception
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
at java.lang.Class.getMethod0(Class.java:3010)
at java.lang.Class.getMethod(Class.java:1776)
at
coldfusion.document.OpenOfficeUNOHelper.isLocalOOAvailable(OpenOfficeUNOHelper.java:309)
at
coldfusion.document.OpenOfficeUNOHelper.isOOAvailable(OpenOfficeUNOHelper.java:403)
at
coldfusion.document.DocumentServiceImpl$2.run(DocumentServiceImpl.java:271)
Caused by: java.lang.ClassNotFoundException: com.sun.star.uno.Exception
at
com.sun.star.lib.loader.Loader$CustomURLClassLoader.findClass(Loader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at
com.sun.star.lib.loader.Loader$CustomURLClassLoader.loadClass(Loader.java:371)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more
Dec 27, 2014 6:37:36 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped ServerConnector@164755e{HTTP/1.1}{0.0.0.0:5500}
Dec 27, 2014 6:37:36 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped o.e.j.s.ServletContextHandler@14fe571{/,null,UNAVAILABLE}
Dec 27, 2014 6:37:37 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 7:18:49 AM 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:
C:\ColdFusion11\cfusion\lib;C:\ColdFusion11\cfusion\jintegra\bin;C:\ColdFusion11\cfusion\jintegra\bin\international;C:\ColdFusion11\cfusion\lib\oosdk\classes\win
Dec 27, 2014 7:18:50 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 7:18:50 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Dec 27, 2014 7:18:50 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
Dec 27, 2014 7:18:52 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
Dec 27, 2014 7:18:52 AM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 25.25-b02
Dec 27, 2014 7:18:56 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.0.7.v20131107
Dec 27, 2014 7:18:56 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started o.e.j.s.ServletContextHandler@424ea634{/,null,AVAILABLE}
Dec 27, 2014 7:18:56 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@79e238d6{HTTP/1.1}{0.0.0.0:5500}
Dec 27, 2014 7:18:57 AM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
Dec 27, 2014 7:19:00 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8014"]
Dec 27, 2014 7:19:00 AM com.adobe.coldfusion.launcher.Launcher run
INFO: Server startup in 11371 ms
Dec 28, 2014 5:05:56 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping
the Server instance.
Dec 28, 2014 5:05:56 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8014"]
Dec 28, 2014 5:05:56 AM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
Dec 28, 2014 5:06:01 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped ServerConnector@79e238d6{HTTP/1.1}{0.0.0.0:5500}
Dec 28, 2014 5:06:01 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Stopped o.e.j.s.ServletContextHandler@424ea634{/,null,UNAVAILABLE}
Dec 28, 2014 5:06:01 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8014"]
Dec 28, 2014 5:06:01 AM org.apache.catalina.loader.WebappClassLoader
loadClass
INFO: Illegal access: this web application instance has been stopped
already. Could not load java.lang.Thread$State. The eventual following
stack trace is caused by an error thrown for debugging purposes as well as
to attempt to terminate the thread which caused the illegal access, and has
no functional impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at
coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:207)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:195)
at
org.apache.axis2.engine.ListenerManager$ListenerManagerShutdownThread.run(ListenerManager.java:315)
On Mon, Dec 29, 2014 at 9:55 AM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Apache 2.4.10
On Mon, Dec 29, 2014 at 9:55 AM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Apache 2.4.10 is not certified by Adobe yet for CF10. So, it may not work. To enable internal server in ColdFusion 10,please try the following:-
<Connector executor="tomcatThreadPool" port="8500" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" redirectPort="8445"/>
3. Save the file, and then restart ColdFusion.
If you are able to access the CF 10 Admin by http://localhost:8500/CFIDE/administrator/index.cfm, that confirms the built port as active.
Regards,
Anit Kumar
Copy link to clipboard
Copied
I followed your instructions and the line of code you specified was already
commented out.
Also, I had to download CF 11. It was what was available. Do you think if I
went went with IIS I'd have these issues? I could totally start over and
use IIS as the Server?
Or if not....do you know if there is somewhere that I can download CF9 or
whatever will work? Or whatever version Apache should I download and where
would I get it?
Rob
On Mon, Dec 29, 2014 at 11:10 AM, Anit Kumar Panda <forums_noreply@adobe.com
Copy link to clipboard
Copied
Rob,
You didn't confirm, if CF 10 Admin works at http://localhost:8500/CFIDE/administrator/index.cfm. My server.xml looks like this. Can you share the same section from your server.xml?
<!-- A "Connector" using the shared thread pool-->
<!-- internal webserver start -->
<Connector executor="tomcatThreadPool" maxThreads="50" port="8500" protocol="org.apache.coyote.http11.Http11Protocol" connectionTimeout="20000" redirectPort="8445" />
<!-- internal webserver end -->
None of the CF 9/10/11 are supported with Apache 2.4.10. Last supported version is Apache 2.4.9. You can search online for Apache 2.4.9 downloads. I am sure, you will find one at Apache's site.
Secondly, if you want to skip Apache webserver and would like to use IIS, you can. IIS 7/7.5/8, 8.5 are supported with CF10 and CF11.
But, whether you go with Apache 2.4.9 or prior OR IIS 7/7.5/8, 8.5 is a secondary thought. First of all, you need to ensure that ColdFusion 10 is working for you. Can you try the suggestion mentioned in the first paragraph, and share the result?
Regards,
Anit Kumar
Copy link to clipboard
Copied
Probably sharing more than you need. Here you go:
On Mon, Dec 29, 2014 at 11:35 AM, Anit Kumar Panda <forums_noreply@adobe.com
Copy link to clipboard
Copied
I can't see anything.
Regards,
Anit Kumar
Copy link to clipboard
Copied
Hmmmm..... I'll send as an image??
On Mon, Dec 29, 2014 at 1:26 PM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
I still can't see the image. Can you upload on dropbox and share the link probably?
Regards,
Anit Kumar
Copy link to clipboard
Copied
See the attached file. I copied and pasted Text in. I don't know drop box
very well.
Rob
On Mon, Dec 29, 2014 at 1:41 PM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Unfortunately, I can't see the image/text. I have shared a dropbox link on the email with you. See, if you can upload it there.
Regards,
Anit Kumar
Copy link to clipboard
Copied
I guess we are both having trouble....I don't see an link to a drop-box. Sorry.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Just sent it! Thanks for your help!
On Mon, Dec 29, 2014 at 2:22 PM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
The internal server was not enabled. I have sent you the server.xml, after enabling the internal server.
Replace the server.xml at cfroot\cfusion\runtime\conf\ and restart CF. If you are able to access the CF 10 Admin by http://localhost:8500/CFIDE/administrator/index.cfm, that confirms the built port as active.
Regards,
Anit Kumar
Copy link to clipboard
Copied
That worked!! I will continue onward and let you know if I hit anymore
issues.
Rob
On Mon, Dec 29, 2014 at 3:04 PM, Anit Kumar Panda <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Hey, you wrote this below. I don't know how to do that so maybe that is the
issue. Can you send instructions?
If you are using http://127.0.0.1:8500/CFIDE/administrator/index.cfm
<http://127.0.0.1:8501/CFIDE/administrator/index.cfm>, have you enabled the
internal server for CF?
On Mon, Dec 29, 2014 at 9:47 AM, Anit Kumar Panda <forums_noreply@adobe.com>