2 Replies Latest reply on Jun 28, 2011 5:28 AM by gobbo67

    CFB2 unable to access Services Browser (unable to get metadata for CFC)

    gobbo67 Level 1

      Hello --

      I'm a novice with CF9.

       

      == Scenario

      - Mac OS X v10.6.8

      - ColdFusion v9 [updated to latest 9.0.1]

      - JRun with integrated WebServer [listen on 8500 port]

      - Developer mode

      - ColdFusion Builder v2.0.0 Build 277745 [standalone installation]

      - Created a simple local CF9 server [localhost, local, 8500, ServerHome /Applications/ColdFusion9, ServerRoot /Applications/ColdFusion9/wwwroot]

      Schermata 2011-06-25 a 22.32.02.png

      - Enabled Debugger Mode in ColdFusion Administrator, test debugger ok, no problem

      - RDS Viewer ok

      Schermata 2011-06-25 a 23.04.48.png

      - I'm able to open localhost:8500/CFIDE/administration without any problem

      Schermata 2011-06-25 a 22.41.01.png

      - I'm able to browsing CFIDE WebServer

      Schermata 2011-06-25 a 22.42.19.png

       

      == Problem

      Within CFB2, when I try to open my local CF9 server to inspect RDS Server, I'm unable to view/introspect CFC Components.

      I receive an error message "Unable to get meta data for cfc".

      Schermata 2011-06-25 a 22.20.09.png

       

      - In effect, trying to open cfcexplorer.cfc in componenutils path, I receive a 404 error

      Schermata 2011-06-25 a 22.42.37.png

      == Server Details

      Server Details
      Server ProductColdFusion
      Version9,0,1,274733
      EditionDeveloper
      Serial NumberDeveloper
      Operating SystemMac OS X
      OS Version10.6.8
      Adobe Driver Version4.0 (Build 0005)
      JVM Details
      Java Version1.6.0_24
      Java VendorApple Inc.
      Java Vendor URLhttp://www.apple.com/
      Java Home/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
      Java File EncodingMacRoman
      Java Default Localeit_IT
      File Separator/
      Path Separator:
      Line SeparatorChr(10)
      User Namegobbo67
      User Home/Users/gobbo67
      User Dir/Applications/Adobe ColdFusion Builder 2/CFBuilder.app/Contents/MacOS
      Java VM Specification Version1.0
      Java VM Specification VendorSun Microsystems Inc.
      Java VM Specification NameJava Virtual Machine Specification
      Java VM Version19.1-b02-334
      Java VM VendorApple Inc.
      Java VM NameJava HotSpot(TM) 64-Bit Server VM
      Java Specification Version1.6
      Java Specification VendorSun Microsystems Inc.
      Java Specification NameJava Platform API Specification
      Java Class Version50.0

       

      == Extract from application.log

      25-giu-201122.21Errorweb-29
      File not found: /CFIDE/componentutils/cfcexplorer.cfc The specific  sequence of files included or processed is:  /Applications/ColdFusion9/wwwroot/CFIDE/componentutils/cfcexplorer.cfc''
      25-giu-201122.21Errorweb-29
      Exception thrown by error-handling template:
      25-giu-201122.21Errorweb-29
      File not found:  /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm  The specific sequence of files included or processed is:  /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm''

       

      == Extract from exception.log

      "Error","web-29","06/25/11","22:21:10",,"File not found: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm The specific sequence of files included or processed is: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm'' "

       

      coldfusion.runtime.TemplateNotFoundException: File not found: /Applications/ColdFusion9/wwwroot/WEB-INF/exception/coldfusion/runtime/TemplateNotFoundEx ception.cfm

      [...]

       

      My problem is probably similar to http://forums.adobe.com/thread/503319

       

      Any suggest is appreciate.

      Alex/

        • 1. Re: CFB2 unable to access Services Browser (unable to get metadata for CFC)
          gobbo67 Level 1

          Hello --

          after spending many hours I'm believe that probably my concern arent related to CFBuilder [or not only] but also with CF9 installation on Mac OS X.


          Attached you can find  screen-shot about second page of Server Setup. Please note that I have  configured a *local* server (not remote) with a developer environment.

          ScreenShot7_ColdFusionServerSetup.png

          Additional  info; after checking in detail, I have noted that integrated WebServer  (that I'm believe is JRun based) listen on 8500 is unable to open any  .cfm page.

           

          ScreenShot8_EducationBrowsing.png
          Under a directory created in WebRoot [Applications\ColdFusion9\wwwroot\Education] I have created a dumb index.cfm page, but that isnt executed.
          But whem I go in CFIDE\administration all is working nicely.

          Where can I check about integrated WebServer configuration, handler, etc?

          == Error from Local CF9 server.log
          27/06 09:02:01 error Requested resource 'File not found: /Education/index.cfm' (File%20not%20found%3a%20%2fEducation%2findex.cfm) not found
          java.lang.IllegalStateException
                at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
                at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
                at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:316)
                at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
                at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
                at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
                at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
                at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
                at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

          == About starting server.log
          "Information","main","06/27/11","08:49:04",,"Starting logging..."
          "Information","main","06/27/11","08:49:04",,"Starting license..."
          "Information","main","06/27/11","08:49:04",,"Invalid ColdFusion 9 license."
          "Information","main","06/27/11","08:49:04",,"Invalid ColdFusion 9 license."
          "Information","main","06/27/11","08:49:04",,"Developer Edition enabled"
          "Information","main","06/27/11","08:49:04",,"Starting crypto..."
          "Information","main","06/27/11","08:49:04",,"Installed  JSafe JCE provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security  Provider (implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES,  DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256,  SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224,  HMAC-SHA256, HMAC-SHA384, HMAC-SHA512)"
          "Information","main","06/27/11","08:49:04",,"Starting security..."
          "Information","main","06/27/11","08:49:04",,"Starting scheduler..."
          "Information","main","06/27/11","08:49:04",,"Starting WatchService..."
          "Information","main","06/27/11","08:49:04",,"Starting debugging..."
          "Information","main","06/27/11","08:49:04",,"Starting sql..."
          "Information","main","06/27/11","08:49:05",,"Pool Manager Started"
          "Information","main","06/27/11","08:49:05",,"Starting mail..."
          "Information","main","06/27/11","08:49:05",,"Starting runtime..."
          "Information","main","06/27/11","08:49:05",,"CORBA Configuration not enabled"
          "Information","main","06/27/11","08:49:05",,"Starting cron..."
          "Information","main","06/27/11","08:49:05",,"Starting registry..."
          "Information","main","06/27/11","08:49:05",,"Starting client..."
          "Information","main","06/27/11","08:49:06",,"Starting xmlrpc..."
          "Information","main","06/27/11","08:49:06",,"Starting graphing..."
          "Information","main","06/27/11","08:49:07",,"Starting verity..."
          "Information","main","06/27/11","08:49:07",,"Starting solr..."
          "Information","main","06/27/11","08:49:07",,"Starting archive..."
          "Information","main","06/27/11","08:49:07",,"Starting document..."
          "Information","main","06/27/11","08:49:07",,"Starting eventgateway..."
          "Information","main","06/27/11","08:49:07",,"Starting FlexAssembler..."
          "Information","main","06/27/11","08:49:07",,"Starting .NET..."
          "Information","main","06/27/11","08:49:07",,"Starting Monitoring..."
          "Information","main","06/27/11","08:49:07",,"ColdFusion started"
          27/06 08:49:07 user ColdFusionStartUpServlet: ColdFusion: application services are now available
          27/06 08:49:07 user CFMxmlServlet: init
          27/06 08:49:07 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
          27/06 08:49:07 INFO Macromedia Flex Build: 87315.134646
          27/06 08:49:08 user CFSwfServlet: init
          27/06 08:49:08 user CFCServlet: init
          27/06 08:49:09 user FlashGateway: init
          27/06 08:49:09 user MessageBrokerServlet: init
          27/06 08:49:09 user CFFormGateway: init
          27/06 08:49:09 user CFInternalServlet: init
          27/06 08:49:09 user WSRPProducer: init
          27/06 08:49:10 user ServerCFCServlet: init
          Server coldfusion ready (startup time: 10 seconds)
          06/27 08:49:20 [Thread-15] WARN  PDFM_W19004: The system font "/Library/Fonts/Baskerville.ttc" could not be loaded.
          com.adobe.fontengine.font.InvalidFontException: Data could not be copied
                at com.adobe.fontengine.font.opentype.FontFactory$TableToLoad.load(Unknown Source)
                at com.adobe.fontengine.font.opentype.FontFactory$FontToLoad.load(Unknown Source)
                at com.adobe.fontengine.font.opentype.FontFactory$TTCToLoad.load(Unknown Source)
                at com.adobe.fontengine.font.opentype.FontFactory.load(Unknown Source)
                at com.adobe.fontengine.font.opentype.FontFactory.load(Unknown Source)
                at com.adobe.fontengine.fontmanagement.FontLoader.loadFont(Unknown Source)
                at com.adobe.fontengine.fontmanagement.FontLoader.load(Unknown Source)
                at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:385)
                at com.adobe.internal.pdfm.util.FontSetBuilder.loadFontsPath(FontSetBuilder.java:472)
                at com.adobe.internal.pdfm.util.FontSetBuilder.initFonts(FontSetBuilder.java:175)
                at com.adobe.internal.ddxm.Executive.initFonts(Executive.java:573)
                at coldfusion.document.DocumentServiceImpl.callAssemblerInitFonts(DocumentServiceImpl.java:1 249)
                at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.jav a:230)
                at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:52)
                at coldfusion.document.DocumentServiceImpl$1.run(DocumentServiceImpl.java:180)
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 08:53:14 user RDSServlet: init
          27/06 09:00:52 user FileServlet: init

          • 2. Re: CFB2 unable to access Services Browser (unable to get metadata for CFC)
            gobbo67 Level 1

            After many hours, I'm unable to solve problem with JRun Web Server embedded. I have uninstalled CF9 and re-installed from scratch, in Developer *but* with Apache Web Server, that obviously I have enabled (and configured with vhosts support).

             

            Configuration Directory: /private/etc/apache2

            Directory and file name of server binary: /usr/sbin/httpd

            Directory and file name of server control script: /usr/sbin/apachectl

             

            After that I'm able to access CFIDE/administration/index.cfm to complete setup.

            After that I'm able to access CF9 server from CFBuilder2 (installed on same hardware), but only configuring local CF server like *remote* server.

            After that I'm able to access Services Browser

             

            So, now I'm using native Apache v2.x (64bit) instead of JRun Embedded WebServer; remains a mystery to see why JWS has not worked.