Channel Connection Failed  HTTP 405

I've got the -services-config.xml set up and pointed to
complie in Flex, but I'm getting these errors:
Send failed - then I hit "OK"
Channel.Connect.Failed error NetConnection.Call.Failed: HTTP:
Status 405: url: '
http://mySite.com/flex2gateway/'
I've read several posts and created a new channel that does
not point to the "localhost:port" and channel-definition id. It
looks something like this:
<endpoint uri="
http://mySite.com/flex2gateway/"
class="flex.messaging.endpoints.AMFEndpoint"/>
I'm using Flex 3, so I don't know if there is any issues with
it. Any suggestions would be greatly appreciated!

Found the problem. In case anyone else runs into this issue:
On your Server you need Coldfusion version 7.0.2 at the
minimum. When you goto the URL of
http://x.x.x.x/flex2gateway
in a web browser you should get a white blank page. Also make sure
that you have a tab within the CF Administrator under Data &
Services called Flex Intergration. I have had these same issues and
found that my Production Server did not have the Flex Intergration
so I had to Uninstall CF7 and ReInstall 7.0.2 to get the Flex
Intergration.

Similar Messages

  • Channel.Connect.Failed (http 501) error when trying to connect to a remote php gateway

    hey all
    this is my first app to access remote data, and i am trying to build both clieant and server side
    i am working on a flashbuilder 4.6 and php simple system.
    I use the php data wizard to build my php code/services and develop locally on a wamp server, configuring the local mysql db with phpmyadmin. the wizard itself enables the zend framework needed
    locally, all looks fine
    i am trying out deployment to my real, linux based remote server, and for the first step I uploaded my php services to the remote server
    i used this guide by Mihai Corlan and when testing my app i get an Alert with
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 501: url: 'http://(my domain + file structure to..)gateway.php'
    so i guess even before i get to see if i changed the amf_config.ini and gateway.php itself and the services properly for deployment i am unable to connect to the gateway, correct?
    http 501 is something about html headers? i dont know any html, any php, any sql just as3 and mxml
    can anyone help?

    I do get "Zend Amf Endpoint" - as well - the app works perfectly when testing on my desktop as iphone4 simulation and on android, just not on my 4s device.
    as a side note, i can even browse to the gateway.php that I have set up via safari on the device. That makes me think that theres just some dumb http entitlement or "allow" setting for ios that I'm not finding.

  • Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500

    I get the following error when trying to connect to my BlazeDS Java server from Flex application. Flex application is on localhost:80, blazeDS on tomcat localhost:8080. Please help!
    createUser();faultHandler():(mx.messaging.messages::ErrorMessage)#0
      body = (Object)#1
      clientId = (null)
      correlationId = "9FFDEBE8-EAD0-F3D9-8E9B-E3D7D7F5AE79"
      destination = ""
      extendedData = (null)
      faultCode = "Client.Error.MessageSend"
      faultDetail = "Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
      faultString = "Send failed"
      headers = (Object)#2
      messageId = "98F54E19-7B0D-DCB9-4B86-E3D7D84E484F"
      rootCause = (mx.messaging.events::ChannelFaultEvent)#3
        bubbles = false
        cancelable = false
        channel = (mx.messaging.channels::AMFChannel)#4
          authenticated = false
          channelSets = (Array)#5
          connected = false
          connectTimeout = -1
          enableSmallMessages = true
          endpoint = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          failoverURIs = (Array)#6
          id = (null)
          mpiEnabled = false
          netConnection = (flash.net::NetConnection)#7
            client = (mx.messaging.channels::AMFChannel)#4
            connected = false
            maxPeerConnections = 8
            objectEncoding = 3
            proxyType = "none"
            uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          piggybackingEnabled = false
          polling = false
          pollingEnabled = true
          pollingInterval = 3000
          protocol = "http"
          reconnecting = false
          recordMessageSizes = false
          recordMessageTimes = false
          requestTimeout = -1
          uri = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          url = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          useSmallMessages = false
        channelId = (null)
        connected = false
        currentTarget = (mx.messaging.channels::AMFChannel)#4
        eventPhase = 2
        faultCode = "Channel.Connect.Failed"
        faultDetail = "NetConnection.Call.Failed: HTTP: Status 500: url: 'http://77.93.202.150:8080/QuizDS/messagebroker/amf'"
        faultString = "error"
        reconnecting = false
        rejected = false
        rootCause = (Object)#8
          code = "NetConnection.Call.Failed"
          description = "HTTP: Status 500"
          details = "http://77.93.202.150:8080/QuizDS/messagebroker/amf"
          level = "error"
        target = (mx.messaging.channels::AMFChannel)#4
        type = "channelFault"
      timestamp = 0
      timeToLive = 0

    halodev:
    I made a CF/Flex site based on the Flexstore sample app,
    using a database instead of XML as the data source; in case you
    want to see it:
    http://www.timos.com/dg/flex/DilemmaGames.html
    At first I had troubles similar to what you describe;
    initially, part of the problem was that my hosting company had not
    yet upgraded to CF 7.02. One other thing I had to correct: when you
    upload to your server, upload the entire ‘bin’ (or
    whatever your output folder is) minus the debug SWF.
    If it would help with other issues, contact me and I will be
    glad to make my project code available to you. Good luck.
    Carlos
    [email protected]

  • Flex/Zend channel connect failed error...

    Hi guys.
        I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application.
    The pop-up error message is
    send failed
    channel.connect.failed.error
    Netconnection.call.Badversion: url:
    http://mydomail/folder/gateway.php
    I have upload my ZendFramewrok folder into my server and amf_config.ini has been configured. (webroot =http://mydomain)
    I am not sure what's going on here. Please help. Thanks.
    Update: my gateway.php
    <?php
    ini_set("display_errors", 1);
    $dir = dirname(__FILE__);
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    $configfile = "$dir/amf_config.ini";
    //default zend install directory
    $zenddir = $webroot. '/ZendFramework/library'; //I did upload the ZendFramwork folder
    //Load ini file and locate zend directory
    if(file_exists($configfile)) {
    $arr=parse_ini_file($configfile,true);
    if(isset($arr['zend']['webroot'])){
      $webroot = $arr['zend']['webroot'];
      $zenddir = $webroot. '/ZendFramework/library';
    if(isset($arr['zend']['zend_path'])){
      $zenddir = $arr['zend']['zend_path'];
    // Setup include path
    //add zend directory to include path
    set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);
    // Initialize Zend Framework loader
    require_once 'Zend/Loader/Autoloader.php';
    Zend_Loader_Autoloader::getInstance();
    // Load configuration
    $default_config = new Zend_Config(array("production" => false), true);
    $default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
    $default_config->setReadOnly();
    $amf = $default_config->amf;
    // Store configuration in the registry
    Zend_Registry::set("amf-config", $amf);
    // Initialize AMF Server
    $server = new Zend_Amf_Server();
    $server->setProduction($amf->production);
    if(isset($amf->directories)) {
    $dirs = $amf->directories->toArray();
    foreach($dirs as $dir) {
         // get the first character of the path.
         // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
         $length = strlen($dir);
         $firstChar = $dir;
         if($length >= 1)
          $firstChar = $dir[0];
         if($firstChar != "/"){
          // if the directory is ./ path then we add the webroot only.
          if($dir == "./"){      
           $server->addDirectory($webroot);
          }else{
           $tempPath = $webroot . "/" . $dir;
        $server->addDirectory($tempPath);
      }else{
          $server->addDirectory($dir);     
    // Initialize introspector for non-production
    if(!$amf->production) {
    $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
    $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
    // Handle request
    echo $server->handle();
    Error from gateway.php if I call it directly.
    Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/79/4687979/html/parkerList/gateway.php on line 27
    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.:/usr/local/php5/lib/php:http://blackwheels.info//ZendFramework/library') in /home/content/79/4687979/html/parkerList/gateway.php on line 27
    gateway.php is the rat. but I still can't figure out what's wrong. Zend/Loader/Autoloader.php is under the server root "ZendFramework/library" folder. I don't understand why my application can't find it. Thanks again!

    You will get a better response if you repost your question on the Flex forums. This forum is for the Livecycle Data Services product.

  • Remoting Connection Issue: Channel.Connect.Failed

    Solution: Turns out my client had installed a new
    firewall/web management system without telling me. My app was being
    blocked. :(
    Hi there,
    I have a Flex app using remoting and ColdFusion. My client
    has suddenly experienced the following error:
    Channel.Connect.Failed
    NetConnection.Call.BadVersion: url: '
    http://mysite/flex2gateway/'
    The weird thing is the app works when you access it from
    outside of my client's office. I'm wondering if it is some sort of
    firewall issue on their end. Any thoughts?
    Thanks.

    The issue is probably do to a problem with your configuration.  There is probably a destination or endpoint issue.  A nice and short tutorial on this can be found at http://flexbandit.com/archives/55.

  • Getting Channel.Connect.Failed

    I'm building a Flex 3 app, with BlazeDS deploying to Tomcat
    6.0 I have built/Run the example BlazeDS code with out error. When
    I try to access my remote bean from my app I get
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 404: url: '
    http://localhost:8400/WebContent/messagebroker/amf'"
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    mx.messaging::ChannelSet/faultPendingSends()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\ messaging\ChannelSet.as:1399]
    at
    mx.messaging::ChannelSet/channelFaultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\m x\messaging\ChannelSet.as:935]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.messaging::Channel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Channel.as:997]
    at
    mx.messaging.channels::PollingChannel/connectFailed()[E:\dev\3.0.x\frameworks\projects\rp c\src\mx\messaging\channels\PollingChannel.as:354]
    at
    mx.messaging.channels::AMFChannel/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\AMFChannel.as:369]

    Hi,
    Can you please try tracing the FaultEvent.fault.rootCause
    object and see if there is any error message. Usually exceptions
    thrown from the server is available in this rootCause object.
    Hope this helps.

  • FaultCode:Client.Error.MessageSend faultDetail:'Channel.Connect.Failed

    Hello Everyone,
    I'm kinda sure a lot of people have to deal with the same error, but I can't solve it using explainations given in other topics. So here it is :
    I'm trying to create a Flex project on Adobe Flash Builder 4.0, using J2EE, BlazeDS and Tomcat6.0.
    To have a good start, I want to try some basic interactions between java & flex. For that, I created a java class with a functions returning a String, witch is called when a button is clicked in my main panel :
    remoting-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service"
        class="flex.messaging.services.RemotingService">
        <adapters>
            <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
        </adapters>
        <default-channels>
            <channel ref="my-amf"/>
        </default-channels>
         <destination id="hello">
            <properties>
                <source>test.HelloWorld</source>
                <scope>session</scope>
            </properties>
        </destination>
    </service>
    HelloWorld.java
    package test;
    public class HelloWord {
        public String sayHello()
            return "Hello from Java";
    project.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="1000" minHeight="600">
        <s:Button x="200" y="200" label="Button4" click="callHello(event)"/>
        <fx:Declarations>
            <s:RemoteObject id="roHello"
                            destination="hello"
                            fault="onFault('roHello',event)">
                <s:method name="sayHello"
                          result="onResult(event)"
                          fault="onFault('roHello.sayHello',event)"/>           
            </s:RemoteObject>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.rpc.remoting.RemoteObject;
                private function callHello(event:MouseEvent):void
                    roHello.sayHello() as String;
                private function onResult(event : ResultEvent) : void
                    var retour:String;
                    retour = event.result as String;
                    //Alert.show(event.result.toString());
                    Alert.show("success::"+retour);
                private function onFault(remoteObject : String, event : FaultEvent) : void
                    Alert.show(event.fault.message);
                    //Alert.show("fault");
            ]]>
        </fx:Script>
    </s:Application>
    When I launch my application, the button is created. But as soon as I click on it, I got the following message :
    faultCode:Client.Error.MessageSend faultString:'Echec de l'envoi' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8080/WebContent/messagebroker/amf''
    any idea how to solve it ?

    I've resolved my issue. Perhaps you are correct that my tokens were not resolving, but since you did not offer a way to fix that, I was still on my own. There was nothing helpful that I could find in the console or log.
    I found this article, and after using his architecture (using an external config file to define the amf endpoint at runtime) I was able to connect to the back end. I was also looking for a good way to externalize information, so I recommend reading this article:
    http://coenraets.org/blog/2009/03/externalizing-service-configuration-using-blazeds-and-lc ds/

  • Flex4 Zend AMF error - NetConnection.Call.Failed: HTTP

    Hi,
    I'm working with FLEX 4 (developing in flash builder 4 plugins for eclipse) and PHP Zend Framework v 1.9.
    When I run the application from the flash builder the AMF comunication work fine, but when I try to run directly from URL in a browser I got the following error: 
    Send failed
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost/Project-debug/gateway.php'
    I think that I get this error since I have update my flash builder plugin.... previos version of my .swf project didn't give my this issue.
    Somebody can help me? I don't realy have any idea how to solve this problem.
    P.S.
    I don't have services-config.xml file in my project cause the amf zend samples that I followed don't say to create it, somebody knows why flex 4 doesn't need it?
    Thanks

    The MessageBroker servlet is not installed properly. The context-root of the two Tomcat LC DS installs must be different. Test hitting the context-root Flex_App on both machines (http://hostIP:8080/Flex_App). If the context-root is valid you will hit the index.html page of the valid context-root which looks like this...
    Welcome to Adobe LiveCycle Data Services ES2 Version  3!
    This is an empty LiveCycle Data Services ES application that serves as a  template for creating your custom application.
    Visit the product page for documentation and further information.
    Steve

  • RPC Connect Failed

    Hi,
    I am getting the following error in my application where in
    making RPC calls via RemoteObject.
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 404"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at mx.messaging::ChannelSet/::faultPendingSends()
    at mx.messaging::ChannelSet/channelFaultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.messaging::Channel/mx.messaging:Channel::connectFailed()
    at
    mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()
    at
    mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
    I have checked the entries in services-config.xml and
    remoting-config.xml but still unable to figure out the problem.
    Any help is appreciated.
    Regards,
    Kshama

    take a closer look to the path to the remote object, error
    404 means that your rpc can't find the remoteobject

  • The network connection failed.

    Upgraded to iTunes10 Now I can't connect wirelessly to my speakers.   :: An error occurred while connecting to the AirPlay device “Bed Room”. The network connection failed.http://twitter.com/#%21/search?q=%23apple

    I have a similar problem. I use AE(g) with a Powerbook G4 and always get this error, which kind of bugs me, since all the settings appear to be correct. Unlike you though, I didn't make it work, not a single time — closing lid, opening and closing iTunes, resetting AE, yet no luck. Tried it all only with current versions of software.
    However, the AE does sense when I unplug the speakers, since it first says "no speakers found", and then "the network connection failed". Strange is that the error has no number, nor does Console provide any clues. Sometimes it is pretty annoying when OS X just says "error". What error, where, why... Feels like good ol' windows times.
    Update: Whoa, looks like we're not alone here. http://discussions.apple.com/thread.jspa?threadID=2154052&start=0&tstart=0
    http://www.ilounge.com/index.php/news/comments/itunes-9-causing-airtunes-connect ion-problems/
    Message was edited by: tochka

  • Channel.Call.Failed NetConnection.Call.Failed: HTTP: Status 500 with amfphp php and mysql

    I have been scripting a simple database connection to check login credentials and am comming accross these errors:
    Channel.Call.Failed
    NetConnection.Call.Failed:
    HTTP: Status 500
    Any PHP code I run that is not connecting to MYSQL runs fine. But if I try to connect to the database thats what I get.
    Here is my mxml:
    <s:RemoteObject id="LogInService"
                                 source="Novus.NovusUser.getLogIn"
                                 destination="AMFPHP"
                                                                fault="faultHandler(event)"
                                 showBusyCursor="true">
                                  <s:method name="getLogIn" result="onResult(event)" fault="faultHandler(event)"/>
    </s:RemoteObject>
    Which calls this actionscript:
    private function btn(event:Event):void
                                                 switch(event.target.id)
                                                           case "LogInSubmit":
                                                                          LogInService.getLogIn(UserName.text, PW.text)
                  break;
                                  private function onResult(result:ResultEvent):void
                                                 Alert.show("Result " + result.token.result);
                                                 if(result.token.result == true)
                                                                currentState = "Main";
                                                 else
                                                           Alert.show(String(result.token.result));
                                  private function faultHandler(fault:FaultEvent):void
                                                 CursorManager.removeBusyCursor();
            var errorMessage:String = "code:\n" + fault.fault.faultCode + "\n\nMessage:\n" + fault.fault.faultString + "\n\nDetail:\n" + fault.fault.faultDetail;
                                                 Alert.show(errorMessage);
    and calls this PHP:
    If I comment out the database connection it returns a false value to me just fine but with it there it throws an error
    <?php
    class GetLogIn
                   private $_db;
                   public function getLogIn($U, $P)
                             //Connect To Database
                             $hostname='127.0.0.1';
                             $username='root';
                             $password='*********';    //not realy ***** blocked it out
                             $dbname='mydatabase';
                             try
                                            mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
                                            mysql_select_db($dbname);
                                            $sql = "Select * FROM empusr WHERE UserName = '$U' and Password = '$P'";
                                            mysql_close();
                                            if ($sql)
                                                           return true;
                                            else
                                                           return false;
                             catch
                                            return 'Unable to connect to database! Please try again later.';
    ?>
    I have a crossdomain.xml but I am unsure if I have it placed right.
    I also have a services.conf but am unsure if that also needs to be altered to adjust for MySQL.
    Any help would be appreciated. 

    Found the problum
    The connection string had to be placed in the public _constructor function of the class.
    <?php
    class EmployeeService
              public function __construct()
                        $hostname='127.0.0.1';
                        $username='root';
                        $password='*********';
                        $dbname='myDatabase';
                        mysql_connect($hostname,$username, $password);
                        mysql_select_db($dbname);
              public function logIn($N, $P)
                        $query = "SELECT * FROM EmpUsr WHERE UserName = '$N' AND Password = '$P'";
                        $result = mysql_query($query);
                          if ($result)
                                    return true;
                          else
                                    return false;
    ?>

  • Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.

    Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.
    no firewall at all, in win 8.1, turned it off for all networks
    ftp and publish works just fine

    Hi,
    Please take a look at this post : Re: Adobe Muse - Preview Failed
    Regards,
    Aish

  • HTTP Connection - ADAPTER.HTTP_EXCEPTION - HTTP 405 Method not allowed

    Hello,
    we are trying to connect to a server using http. However so far the connection does not work.
    I tried both the SOAP receiver (without SOAP envelope) and the plain HTTP receiver.
    1. SOAP Receiver: ADAPTER.HTTP`_EXCEPTION - HTTP 405 Method Not Allowed
    2. HTTP Receiver: HTTP Client code 400 reason ICM_HTTP_CONNECTION_FAILED
    Does anyone has an idea what the problem possibliy could be?`
    Thank you!

    Hello Folk,
    Check it once this blog this will be similar to your requirment
    HTTP 404 not found
    Regards,
    Ravi.

  • FormsGraph: open HTTP connection failed

    I have the forms 9i demos installed and they work fine. However when I put my own form into the bigraph\forms directory and try to run it, the form itself runs but I have no chart. The implementation class is the same as in the FormsGraph demo.
    I have copied the [bigraph] config information in forms90demo.cfg to my own config, changing only the fmx name and the userid. However, the java console shows
    ..java.lang....open HTTP connection failed
    followed by a number of java classes.
    What could be going wrong?
    Adrian

    Frank, this is from the java console
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 90290
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and this is the forms90demo.cfg, which I have
    modified to make sure I hadn't missed anything
    for FormsGraph capabilities
    (I have stripped out the other named configs)
    # Forms 9i Samples and Demos Configurations
    # Generic settings for the Demos and Samples
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overriden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    baseHTML=demo90base.html
    baseHTMLie=demo90baseie.html
    baseHTMLJInitiator=demo90basejini.html
    HTMLdelimiter=%
    # WorkingDirectory defaults to <oracle_home>/forms90 if unset.
    workingDirectory=
    envFile=forms90demo.env
    # The next parameter specifies how to execute the Forms applet under
    # Microsoft Internet Explorer 5.x.
    # The Demos want to use JInitiator as we ahve many demos that need a 1.3 JVM
    IE=JInitiator
    # These settings support running and debugging a form from the Builder:
    otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    debug=no
    buffer=no
    debug_messages=no
    array=no
    query_only=no
    quiet=yes
    render=no
    host=
    port=
    record=
    tracegroup=
    log=
    term=
    # Values for the Forms applet parameters:
    serverURL=/forms90demo/l90servlet
    codebase=/forms90demo/java
    imageBase=DocumentBase
    formsMessageListener=
    recordFileName=
    serverApp=default
    # General Shared settings which define the Look and feel of the Demos
    width=675
    height=480
    separateFrame=false
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=blue
    background=/forms90demo/images/blue.gif
    logo=/forms90demo/images/Forms9i.gif
    # Other settings
    scripting=false
    # Default JARs
    archive=f90all.jar,/forms90demo/jars/demo90.jar
    archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar
    archive_ie=f90all.cab,/forms90demo/jars/demo90.cab
    # Jinitiator and iAS general settings
    # Number of times client should retry if a network failure occurs. Only
    # change after having read the documentation.
    networkRetries=0
    # 4) Parameters for JInitiator (used with Windows clients)
    # Page displayed to Netscape users to allow them to download JInitiator.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms90demo/jinitiator/us/jinit_download.htm
    # Parameters related to the version of JInitiator.
    jinit_classid=clsid:CAFECAFE-0013-0001-0013-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,13
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.13
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    [qt]
    userid=capel/james@bond
    form=portfoliomanager.fmx
    #width=960
    #height=1200
    #baseHTML=qtbase.htm
    #baseHTMLjinitiator=qtbasejini.htm
    #baseHTMLjpi=qtbasejpi.htm
    #baseHTMLie=qtbaseie.htm
    archive=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
    archive_jini=f90all_jinit.jar,/forms90demo/jars/demo90.jar,/forms90demo/jars/FormsGraph.jar
    #background=NO
    #look-and-feel=Generic
    #logo=NO
    imagebase=codebase
    # End
    Even when I replace graph90.fmx in the [bigraph] named configuration with my portfoliomanager.fmx I still get these errors. This leads me to think there is something wrong with the form itself. The demos work fine.

  • Open HTTP connection failed

    Hi all.
    The environment is J2SDK4 + Tomcat4.0.4
    I tried to implement the WebClient.java in SUN/Marty Hall's book "Core Servlets and JavaServer Pages".
    Everything compiles okay. All the java and class files are in a package under the /examples folder in tomcat.
    When I invoke WebClient.html in "http://localhost:8080/examples/" I got this error:
    load: class com.omh.utilities.WebClient not found.
    java.lang.ClassNotFoundException: com.omh.utilities.WebClient
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    ...etc...
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
    ...etc...
    Other servlets okay.
    Can someone point me in the right direction please.
    TIA :-)

    Oops, forgot about the dukes.
    Here is a more detailed description of my problem:
    My environment is j2sdk4 and TC404. I am trying to implement SUN/Marty hall's WebClient for administering host, port and requests. The code uses java.net's SocketUtil. e.g.
    (NetworkClient.java)
    Socket client = new Socket(host, port);
    handleConnection(client);
    protected void handleConnection(Socket client){
    PrintWriter out = SocketUtil.getWriter(client);
    BufferedReader in = SocketUtil.getReader(client);
    etc
    I'm not sure whether this is TC4 or a java related problem, but all java code compiles to class file okay.
    My path is $CATALINA_HOME/webapps/examples/
    In the server.xml I've uncommented the example Context, like this:
    (server.xml)
    <Connector className="...Ajp13Connector" ...etc...>
    <Connector className="org.apache.catalina.connector,http.HttpConnector
    port="8080" minprocessors="3" maxProcessors="10"
    enableLookups="true" acceptCount="3" debug="0"/>
    <Engine jvmRoute="blurb" name="blurb" defaultHost="localHost" debug="2">
    <Logger...>
    <Realm...>
    <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
    <Valve...>
    <Logger...>
    <Context path=/examples" docBase="examples"
    debug="0" reloadable="true" crossContext="true">
    </Context>
    In my TC log, I've this error:
    "GET /examples/com/omh/utilities/WebClient.class HTTP/1.1" 404 675
    On the java console, I have these errors (they tend to be very long and tedious):
    load: class com.omh.utilities.WebClient not found.java.lang.ClassNotFoundException: com.omh.utilities.WebClient     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     ...etc...Caused by: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)
    ...etc...
    Other demo and example servlets and jsp that come with the standard install work find. Other stuff I put in examples work find as well.
    Is this a TC setup error on my part???
    TIA

Maybe you are looking for

  • Error while activating all inactive infoobjects in DEV

    Hai Im trying to activate all inactive infoobject by using program RSDG_IBOJ_ACTIVATE. But it says the following error <b>System error in lock management Message no. AD025 Diagnosis A system error has occurred in the lock management function. The sys

  • Why won't Painter erase a keyword on only ONE image at a time?

    This has been driving me crazy - I'd like to delete a keyword on select images. I have hundreds of keywords and many are nested, so sometimes I screw up and need to erase selectively. I thought this problem was a bug, but it has persisted into LR 2.4

  • How we can add custom field in standard report 2kee.

    Hi, How we can add custom field in standard report 2kee. I need one extra field to add in 2kee report for the same is there any customization req. Regards Ravi

  • Is apple going to refund my craigslist app purchase?

    I purchased the craigslist app to review the personals section..... They have now blocked the personals in all craigs list apps..am i going to get a refund of my purchase price...whats next blocking safari from visiting inappropriate websites. Boo ap

  • Error when adding new user in account admin

    I am logged in using an administrators account and want to add a new user. Whenever I type in the email address that I require, it says 'Sorry! An error has occurred. Please try again'. What is this error all about and how do I add a new user?? Thank