Flex + amf php server deployment problem

Hi all,
After almost a month of research on this problem. I was able to remove all my errors on production but still not able to retrieve data.
Please help......
Here is the scenerio details :
I created a form which will take input from user and store those values in database.you can visit it here on web server :
http://www.accurateoptics.in/
I followed all the steps mentioned on adobe's test drive tutorial. It works fine on my local machine with WAMP installation. But the moment,
I upload it...Bang!!!! there comes the error ::::
Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: http://www.accurateoptics.in/gateway.php
I googled again, read a lot of articles and figured out that some changes are required in my gateway.php and amf-config.ini files for production environment.
Did the necessary changes and uploaded again.Bang!!!!!!! new error comes:::::::
Channel disconnected before an acknowledgement was received.
to solve this, again googled a lot and figured out that i need to upload zend framework files so, did that and setting up the path for zend in amf-config.ini.
uploaded again.
Now, i am stuck at this point where no error is thrown only an alert box comes with a ok button. also, data is not retrieved from server.
I dont know what error i am making.here is my amf-config.ini file:::::::::::::
[zend]
;set the absolute location path of webroot directory, example:
;Windows: C:\apache\www
;MAC/UNIX: /user/apache/www
webroot =http://www.accurateoptics.in
;set the absolute location path of zend installation directory, example:
;Windows: C:\apache\PHPFrameworks\ZendFramework\library
;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
;zend_path =
zend_path = ./ZendFramework/library
[zendamf]
amf.production = true
amf.directories[]= http://www.accurateoptics.in/services
here is my gatway.php file :::::::::::::;
<?php
ini_set("display_errors", 1);
//$dir = dirname(__FILE__);
$dir = '.';
$webroot = $_SERVER['DOCUMENT_ROOT'];
//$configfile = "$dir/amf_config.ini";
$configfile = "amf_config.ini";
//default zend install directory
$zenddir = $webroot. '/ZendFramework/library';
//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();
?>
Looking for some help!! Thanks in advance..............

Please elaborate.
I tried visitng http://www.accurateoptics.in/endpoint.php
but "page not found " returned
However, i also tried visitng "http://www.accurateoptics.in/gateway.php"
it shows me this echo result on page " Zend Amf Endpoint ".
so, if i m reaching to this place that means my gateway.php and amf-config.ini is fine.
the problem is somewhere else in any of these three files.

Similar Messages

  • Weblogic server deployment problem.

    Dear All,
    I create a package as webservice. I deployed it into the weblogic server. When i start the webservice, it shows this error.
    java.lang.Exception: [DeploymentService:290049]Deploy failed for id '1,239,100,872,065' since no targets are reachable.
    Nothing displayed under the webservice
    Thanks
    Resmi

    You're welcome.
    I assume you are looking for an answer to your problem, though ;)
    Perhaps a bit more explanation is in order:
    I create a package as a webserviceExplain more what you mean - a PL/SQL package? A Java package (which doesn't make sense as a web service by the way)? Do you mean you created a Java class that you wanted to be made into a web service? How did you create the web service based upon the "package?"
    I deployed it into the weblogic serverAgain, how? What are the steps you used?
    When I start the webserviceHow do you start a web service? Do you mean when you start the Weblogic Server? Do you mean when you try to access the web service?
    Nothing displayed under the webserviceAgain, not clear at all what you mean. Web services don't "display" things. Do you mean when you attempted to call the web service from some tool, you got no result back?
    Sorry to nitpick your question apart, but it's really important to be both complete and precise when you ask a question.
    Best,
    john

  • CORBA Server Deployment Problem

    Hi,
    I was trying to run the Hello CORBA Tutorial example included
    in Jdeveloper2.0. I got stuck with the "Deploying the CORBA
    Server Object" where Step 7 needed to use 2481 as IIOP port
    and Step 8 needed testing. Since I only configure 1521 TCP
    port in listner, I always got 'Can not find resource' error
    message when testing the connection. (I have pasted these
    two steps from the tutorial below).
    where/How do I configure the IIOP 2481 connection/listner?
    Where do I get IIOP? Please advise. Thanks.
    Mei
    ============================================================
    Step7 : For your ORB Connection Information, provide the host
    name of your database, the Service (SID), and port number(the
    default port for IIOP is 2481). If you do not know the values
    for these fields, contact your database administrator.
    Step 8: Test the connection by clicking Test Connection. The
    message, "Success!" appears if all goes well. Click OK to
    close the dialog box. MyCORBAConnection database connection
    is now selected in the connection list, and summary
    information appears below it. Click Next. ... ...
    ==============================================================
    null

    Hi
    If it is NT machine you can use 'Net8 Configuration Assistant' to
    create a listerner which can take IIOP connections. By default
    the listener listens on port 2481.
    Did you try putting 2481 as port number in the connection manager
    Check out the messages with subject
    ' Invincible iiop connection problem '
    and
    'How to get IIOP to work with port 2481'
    on this forum they have very useful info..
    Also check the Net8 documention for more info.
    regards
    mei (guest) wrote:
    : Hi,
    : I was trying to run the Hello CORBA Tutorial example
    included
    : in Jdeveloper2.0. I got stuck with the "Deploying the CORBA
    : Server Object" where Step 7 needed to use 2481 as IIOP port
    : and Step 8 needed testing. Since I only configure 1521 TCP
    : port in listner, I always got 'Can not find resource' error
    : message when testing the connection. (I have pasted these
    : two steps from the tutorial below).
    : where/How do I configure the IIOP 2481 connection/listner?
    : Where do I get IIOP? Please advise. Thanks.
    : Mei
    : ============================================================
    : Step7 : For your ORB Connection Information, provide the host
    : name of your database, the Service (SID), and port number(the
    : default port for IIOP is 2481). If you do not know the values
    : for these fields, contact your database administrator.
    : Step 8: Test the connection by clicking Test Connection. The
    : message, "Success!" appears if all goes well. Click OK to
    : close the dialog box. MyCORBAConnection database connection
    : is now selected in the connection list, and summary
    : information appears below it. Click Next. ... ...
    : ==============================================================
    null

  • Oracle 9i Lite Mobile Server deploye Problem As Apache Module

    I am trying to get the Oracle9i Lite Mobile Server run as a Module under Apache.
    my platform is Linux 7.2, which of course is documented as an option.
    I managed to install the mobile server and the following document is
    the latest from ORACLE site. and is very useful.
    http://technet.oracle.com/docs/products/lite/doc_library/release501/readme.htm#new
    I have one problem to overcome the module to load in Apache
    'libwtgapach.so'
    is the required shared library.
    This does not load due to following error,
    Cannot load /var/ORACLE/mobile/server/bin/libwtgapach.so into server:
    /var/ORACLE/mobile/server/bin/libwtgapach.so: undefined symbol:
    ap_global_ctx
    All the libraries can be resolved here is the ldd ( link map )
    ldd libwtgapach.so
    liborafc.so => /var/ORACLE/mobile/server/bin/liborafc.so (0x40007000)
    libjvm.so => /var/ORACLE/jdk/jre/lib/i386/classic/libjvm.so
    (0x4002a000) libhpi.so =>
    /var/ORACLE/jdk/jre/lib/i386/green_threads/libhpi.so (0x400bd000)
    libdl.so.2 => /lib/libdl.so.2 (0x400dd000)
    libpthread.so.0 => /lib/i686/libpthread.so.0 (0x400e1000)
    libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2
    (0x400f7000)
    libm.so.6 => /lib/i686/libm.so.6 (0x40139000)
    libc.so.6 => /lib/i686/libc.so.6 (0x4015c000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x40297000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
    I found this post explaining to recompile Apache
    This actually means you installed mod_ssl as a DSO, but
    . without rebuilding Apache with EAPI. Because EAPI is a
    requirement for mod_ssl, you need an extra patched Apache
    (containing the EAPI patches) and you have to build this
    Apache with EAPI enabled (explicitly specify --enable-rule=EAPI
    at the APACI command line).I recompiled apache with the following
    ./configure --prefix=/usr/local/ssl-apache/httpd-2.0.39
    --enable-rule=EAPI ; make ; make install
    I still get the same error when I try to load the module.Am I missing
    something?
    Any help is deeply appreciated.
    -- ajith

    Scott, I have yet to get WTG server to work as an NT service when loaded as an Apache module.
    We've had to load it into a non-service based Apache server (one that runs from the command line in a MS-DOS prompt window). This is on XP Pro.
    We've switched to running our WTG server on Linux.

  • How to deploy flex in web server

    hi there.
         im newbie flex developer and im having problem in deploying my project in web server.

    Hi,
    When you deploy your application, you make it available to customers. Typically, you deploy the application as a SWF file on a web server so that users can access it by using an HTTP request to the SWF file.
    When you deploy the application's SWF file, you must also deploy all of the assets required by the application.
    Deploying an application for Flex SDK and Adobe® Flex® Builder® might require you to perform some or all of the following actions:
    Copy the application SWF file to your deployment server. As the previous example shows, you copy the application to webserver.example.com.
    Copy any asset files, such as icons, media files, or other assets, to your deployment server.
    Copy any RSLs to your web server or application server.
    Copy any SWF files for your module to your deployment server in the same directory structure as you used for your development environment.
    Copy any SWF files required to support Flex features, such as deep linking. For more information,
    Write a wrapper for the SWF file if you access it from an HTML, JSP, ASP, or another type of page.A deployed SWF file can encompass your entire web application, however it is often used as a part of the application. Therefore, users do not typically request the SWF file directly, but request a web page that references the SWF file. Flex Builder can generate the wrapper for you, or, you can write the wrapper.
    Create a crossdomain.xml file on the server for data service, if you directly access any data services outside of the domain that serves the SWF file.
    Following link will help you.
    http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_5.html
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Help Configuring PHP Server with new Flex project.

    Hi,
    I'm curious if someone can help me with a frustrating problem.
    While creating a new flex project, I can't seem to validate the configuration of the php server. I keep getting the message: "Cannot access the web server. The server may not be running, or the web root folder or root URL may be invalid."
    I'm running MySQL, PHP and Apache 2.2. These program have worked indepentally without flex, so I know the program isn't with the install of the stack.
    For my web root I entered: "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" the location where I installed Apache
    And for root url I'm using "http://localhost"
    The other wierd part of this is that even though Flex would not validate this connection, I went ahead and started the project anyway and made a succesful connection to mysql, obviously though when I tried to launch the project it couldn't connect to the server.
    Any suggestions would be much appreciated because flex is pretty much useless to me unless I can figure out how to connect with php and mysql.
    Steve

    hey ya
    you were responding to like a real old post
    what exactly is your problem perhaps i can help

  • Creating a Flex App With a PHP Server Connection

    I'm attempting to create a new Flex application that has all of it's source data stored in a mysql database on my server provider (siteground) but am struggling to establish a connection from Flex.
    Basically I click File>New>Flex Project and then name a new project with PHP as the application server type and click next.
    Now comes the problem, I have no idea what to type into the "Root URL" option. I have set the "Web Root" simply to a folder that I've placed on my desktop (sitegroundtest) and Flex seems to recognise that fine but it's just the "Root URL" that I'm struggling with. What exactly would go in here if I want to work directly on the server as opposed to just my local machine (localhost)?
    I'm struggling because I've basically never done this before as I've only ever developed PHP sites in Dreamweaver in which case the sites were all placed on a university server to which all addresses and urls were provided to us.
    The domain name I've purchased is from siteground.com and is www.coolvisiontest.com. Would this have any effect on what needs to be entered into the root url or do I need to look elsewhere for it like within my server provider options or something along those lines?
    It's something that I'm sure is very simple but I have no experience with and I really can't start without finding it out.

    Yep I have used localhost before as I had wamp installed on my computer but I want to work directly from my server provider (siteground.com) where I have set up my mysql database in phpmyadmin, which contains all the sites product details. I know I can work locally using wamp but I want to try to connect to the server to make sure I actually can basically.
    Basically I just can't find the root url I'd need to enter to access siteground via the php server connection and have no idea where to find this. Would you know?
    I think I may also need the same address to access data from tables in the database using Flex's "Data>Create Application from database" connection option. Or would that require another?
    I feel stupid asking this as I'm sure it's really simple but it's just something I've never done before except on my old University server, in which case all required urls for connection were supplied to us and I only ever done this through dreamweaver. Cheers for your help so far.

  • Hyperion planning installation(Problem with application server deployment)

    Hi There:
    I am new to hyperion planning.I am trying to install planning.I got problem with Hyperion Configuration utility while configuring application server deployment.Its show message failed.Please guide me how to fix this.If it is possible can you please send me any personal documentation on installation.I am trying this for past 4 day's.Below is the error its showing in configtool
         ... 10 more
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, INFO, Validating dependencies...
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel$5, DEBUG, Product: Planning; Dependencies: []
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: HspDBPropertyLocation
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.ProductTaskSelectionPanel, DEBUG, task to execute: applicationServerDeployment
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.PanelEventDispatcher, DEBUG, constructor
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryEnter
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebLogic 8.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: WebSphere 5.1; deployment type = both
    (Mar 09, 2008, 08:26:04 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, Server: Tomcat 5.0.28; deployment type = both
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, INFO, AppServerSelectionPanel in queryExit
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.AppServerSelectionPanel, DEBUG, AppServer selected: WebLogic 8.1
    (Mar 09, 2008, 08:26:08 PM), com.hyperion.cis.config.wizard.ProductCustomInputPanel, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryEnter(ProductCustomInputPanel.java:88)
         at com.installshield.wizard.awt.AWTWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.swing.SwingWizardUI.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
         at com.installshield.wizard.Wizard$RunThread.run(Unknown Source)
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Starting WebLogic 8.1 deployment...
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, pre-Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.AppServerDeployer, DEBUG, Deploy: Planning
    (Mar 09, 2008, 08:26:09 PM), com.hyperion.cis.config.wizard.RunAllTasksWizardAction, ERROR, Error:
    java.lang.NullPointerException
         at com.hyperion.cis.config.AppServerDeployer.initContexts(AppServerDeployer.java:628)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:548)
         at com.hyperion.cis.config.AppServerDeployer.deploy(AppServerDeployer.java:526)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.executeDeployerTask(RunAllTasksWizardAction.java:251)
         at com.hyperion.cis.config.wizard.RunAllTasksWizardAction.execute(RunAllTasksWizardAction.java:156)
         at com.installshield.wizard.RunnableWizardBeanContext.run(Unknown Source)
    (Mar 09, 2008, 08:26:13 PM), com.hyperion.cis.config.wizard.CustomSummaryPanel, DEBUG, CustomSummaryPanel in queryExit
    Please help me.Email id:[email protected]
    Thanks
    Harsha.
    Message was edited by:
    user603943

    I think the installation of planning on Vista is difficult. As some of the files doesn't support even i am tired of doing that.
    But tell me one thing have you installed all other products , I mean Essbase, (server, client) , AAS and Shared services.
    Are they working good .
    I have formatted my system to XP and installed everything , but the problem is when i install planning it prompts me that IIS 5 should be greater other wise EPM will not install...
    there are lot of things with planning 1) i can't datasource as it is not highlighting when we configure with Shared services
    2) It does not create product instance .
    If any one can fix this thing by giving me a suggestions.
    Advance Thanks

  • Completely different AMF request packets for same remote service call from Flex to PHP using ZendAMF

    I was trying to debug why one of the remote-services in our Flex application was failing randomly. What I found was interesting. Completely different AMF request packets were sent for same remote service call from Flex to PHP.
    When the service call succeeds the AMF request packet looks like the following:
    POST /video/flex/bin-debug/gateway.php HTTP/1.1
    Host: localhost
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Cookie: PHPSESSID=j6u30i8uu6c3cvp8f4kipcpf05
    Referer: http://localhost/video/flex/bin-debug/main.swf/[[DYNAMIC]]/5
    Content-type: application/x-amf
    C    ontent-length: 305
    Flex Message (flex.messaging.messages.RemotingMessage)     operation = getMemberFromEvent    clientId = 2F997CD0-7D08-8D09-1A9B-0000422676C8    destination = MembereventService    messageId = B46AB58D-2241-83F0-41E4-9FE745565492    timestamp = 0    timeToLive = 0    body =     [      280    ]    hdr(DSId) = nil
    And when the service fails the AMF request packet looks like this:
    ServiceRequest: getMemberFromEvent; RemoteService; getMemberFromEvent
    (mx.messaging.messages::RemotingMessage)#0
      body = (Array)#1
        [0] 250
      clientId = "1AA4FAAB-AEA5-8109-4B0D-000002B3A9A1"
      destination = "MembereventService"
      headers = (Object)#2
        DSEndpoint = (null)
        DSId = "nil"
      messageId = "2F92E6C0-FE92-A09B-B150-9FE2F28D9738"
      operation = "getMemberFromEvent"
      source = "MembereventService"
      timestamp = 0
      timeToLive = 0
    Also, following is the error message on Flex when the service fails:
    {Fault code=Channel.Call.Failed, Fault string=error, Fault detail=NetConnection.Call.Failed: HTTP: Failed, Destination=MembereventService}
    We are using Swiz as the micro-architecture for Flex development and Zend AMF for remoting between Flex and PHP.
    Any ideas what is wrong here, what is causing Flex to send different request packets for the same service & what I can do to fix it?

    Hi, I know that your post is almost 5 years ago, but have you found the solution to this issue?
    Thanks.

  • HTTP POST to PHP server problem

    Hi, im trying post a long string to php from a MIDLET, but i have some problems. When i send the whole String, my php server cant receive the request (i have not any response), but, if the string that i send is 1/5 from the original, the process is successful correctly. have somebody any idea?
    thx

    this is my problem, extracted from another topic on this forum:
    "Hi everyone.
    I have a problem, and hope someone may help me.
    My midlet is uploading sizeable data via http POST.
    I'm using WTK104, since i need MIDP1.0
    The code have been tried on DefaultGrayPhone emulator
    and add-on Nokia's Series 60 Emulator.
    Both emulators chunck data, however in different ways.
    Deafult one simply produces wrong chunk length (possibly a bug),
    Nokia's one always chunks by equal offsets of 2016 bytes.
    I'm not using flushing, just close. All the data is being send
    at once by one output stream write call.
    So I believe (after proper investigation) that MIDP will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and there's no way to override this behaviour.
    Here the main problem appears - Apache refuses to accept chunked encoding in request. The corresposnding message is given in error log
    *chunked transfer encoding forbidden*. The returned code is 411 - Content-Length requred. I see no way to override this behaviour of Apache. I was trying to upload my data into Zope web-server, which is my primary goal, but it doesn't handle chunked request either.
    Has anyone faced the same problem? Who has managed to POST sizeable data from midlet? Which web servers did you use for that?
    Any inputs are highly appreciated!
    Anton"
    Another:
    "> So I believe (after proper investigation) that MIDP
    will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and
    there's no way to override this behaviour.Is this true? When I try to set the content-length headers and then write a large byte[] to the output stream I got from an HttpConnection, the HttpConnection appears to remove the content-length header altogether and automatically sets the transfer-encoding to chunked.
    Note- I am not calling flush on the outputstream, but I am calling httpconnection.getResponseCode, which I believe calls flush on the outputstream.
    Abraham"
    I have the identical problem.

  • Flex and php file uploader cross browser problems

    Hi, I have a problem in flex and php file uploader. It was
    working fine in Internet Explorer, but nothing would work in
    Firefox and in other browsers. Firefox and other browsers was not
    sending the session with the file upload and was producing a login
    error. On IE the session cookie is picked up and the upload request
    uses the authenticated session, no login error. I'm newbie in flex.
    Please help me. Thanks in advance!
    Here's my code:
    bgupload.mxml

    Hello, I am Gamaliel Arredondo, i have solved this problem, the error is in the code, you have a mistake in your code, check it out.
    The way to run the flex applications, in my case, i installed xampp, in the htdoc directory i put the folder with the files of the application and all is working very well, only when the apache is running because if it is stoped the application show error, please review your code and if you have problems you can contact me by e-mail ([email protected]) i also fought with that problem but i could find the solution, i hope to help you.

  • Deployment problem to the managed server in 11.1.1.1..

    Our deployment problem still continue. We can deploy at last one application to the admin server.
    We can see ADF domain ans jsf libs in deployment list
    But for managed server following error occurs.
    Even we tried small new application.
    But error is the same.
    An error occurred during activation of changes, please see the log for details.
    weblogic.management.DeploymentException:
    oracle.mds.lcm.weblogic.WLLifecycleListener
    Failure occurred in the execution of deployment request with ID '1247067738026' for task '16'. Error is: 'weblogic.management.DeploymentException: ' weblogic.management.DeploymentException: at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103) at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:172) at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:277) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) java.lang.ClassNotFoundException: oracle.mds.lcm.weblogic.WLLifecycleListener at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103) at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:172) at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:277) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Jul 8, 2009 6:45:10 PM EEST J2EE Info BEA-160170 Imported library Extension-Name: oracle.jsp.next, Specification-Version: 11.1.1, Implementation-Version: 11.1.1 for Application Application1_application1
    Jul 8, 2009 6:45:10 PM EEST J2EE Info BEA-160170 Imported library Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.1.0 for Application Application1_application1

    last error we take is (we are not even use MDS customisation)
    Failure occurred in the execution of deployment request with ID '1247124709107' for task '2'. Error is: 'weblogic.management.DeploymentException: ' weblogic.management.DeploymentException: at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103) at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:172) at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:277) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) java.lang.ClassNotFoundException: oracle.mds.lcm.weblogic.WLLifecycleListener at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117) at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:103) at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:172) at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:277) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185) at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • Deployment problem in managed server environment

              I have a problem deploying a connector as a .rar-file. The file contains the two deployment
              descriptors and a .jar-file containing the connector classes. If I deploy the connector
              in a non-managed server (for instance the admin server), there is not a problem at
              all. But if I deploy the connector to a server that is managed I get an exception
              indicating that the resource manager could not find my javax.resource.spi.ManagedConnectionFactory
              implementation.
              If I put the .jar-file containing my connector implementation classes into the system
              classpath when booting the managed server, the problem is solved. The problem is
              that I don't want this .jar-file in the system classpath.
              Is this a known bug with any workarounds?
              Environment:
              Windows 2000
              WLS 6.1 SP 3
              JDK 1.3.1
              

              Hi Leif,
              I believe that there is a patch that resolves this problem. Could you please ask
              BEA Support for the 6.1 SP2 patch called CR078437_61sp2.jar. You would need to
              put this .jar on the front of your WLS classpath. This patch was created for 6.1
              SP2 but I believe should work for SP3 as well.
              Deb
              >As I wrote:
              >WLS 6.1 SP 3
              >
              >"Jim Gish" <[email protected]> wrote:
              >>What version (including service pack number) of Weblogic Server are
              >you
              >>using?
              >>
              >>"Leif Kristian Vadseth" <[email protected]> wrote in message
              >>news:[email protected]...
              >>>
              >>> I have a problem deploying a connector as a .rar-file. The file contains
              >>the two deployment
              >>> descriptors and a .jar-file containing the connector classes. If I
              >>deploy
              >>the connector
              >>> in a non-managed server (for instance the admin server), there is
              >not
              >>a
              >>problem at
              >>> all. But if I deploy the connector to a server that is managed I get
              >>an
              >>exception
              >>> indicating that the resource manager could not find my
              >>javax.resource.spi.ManagedConnectionFactory
              >>> implementation.
              >>>
              >>> If I put the .jar-file containing my connector implementation classes
              >>into
              >>the system
              >>> classpath when booting the managed server, the problem is solved.
              >The
              >>problem is
              >>> that I don't want this .jar-file in the system classpath.
              >>>
              >>> Is this a known bug with any workarounds?
              >>>
              >>> Environment:
              >>> Windows 2000
              >>> WLS 6.1 SP 3
              >>> JDK 1.3.1
              >>>
              >>
              >>
              >
              

  • How to configure PHP Server with Flex

    Hello everyone,
    I am trying to create new flex application with PHP as server option.
    but on the Configure PHP server window it gives error as
    " You must enter a valid root URL."
    I am usingh xampp as php server, and i have changed the port no of apache to 90.
    so my web root is //localhost:90
    \xampp\htdocs\phpProject-debug
    Can anyone help me to configure the PHP server with Flash builder 4
    I am not using Zend server...

    Hello Rupesh,
    You need to specify full url like this "http://localhost:90/" and need to start server before validating.
    This check may be missed by you.
    Thanks,
    Vikram

  • Zend AMF Data Service Return Problem

    Hi Folks,
    I am working with FB4 and Zend AMF/PHP and MySQL.  I began integrating the PHP stuff using the great article by Mihai Corlan called 'Working in Flash Builder 4 with Flex and PHP.  I followed all the steps exactly, aside from creating my own app-specific PHP classes and functions, etc...  I 'hooked up' the Zend stuff just like the article, created a text datagrid, just like the article, and viola!, it worked.  I then tweaked it a bit and interwove it into my 'real' component.  So far, so good.
    Then I created a second PHP class with a different 'get data' type of function.  It queries a different table in MySQL, but is essentially the 'same' as the query/function in the initial PHP class.
    In FB, in the Data Services window, I choose the 'Connect to Data/Services' function, just like the first time.  I then find/select my PHP class file and FB 'interrogates it' enough to show me the function that exists in the class.  I 'finish' the operation and it adds a new 'service' to the list of services in that window.  Again, so far, so good.
    The problem comes when I try to 'test' the service or 'configure return types' (which basically requires a 'test' operation anyway).  I can enter the 'input' params just fine, but when I try to execute the call, I get the following error:
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    Reason: An error occured while reading response sent by server. Try encoding the response suitably before sending it. e.g. If a database column contains UTF-8 characters then use utf8_encode() to encode its value before returning it from the operation.
    I don't know where to go after this.  Again - the 2nd PHP class is essentially identical to the 1st.  The function in it is essentially identical, differing only by the input params, the name of the function and the actual SQL it sends to MySQL.  There is no special text, no special characters, no image stuff, nothing.  I do not 'encode' the results of the function in the first class - in fact the code in the second class is practically identical to the first.  I do not know what the error is talking about.  My guess is that it's more of a generic message.
    I can debug the PHP code just fine from within a seperate instance of Eclipse.  The function runs/returns just fine - an array of PHP-defined objects (simple strings).
    Any insights or advice would be welcomed.   Thank you,
    -David Baron

    Thank Jorge, but that was not the issue, though, it may be related.
    I checked the mySQL my.ini file, and there was already an entry for:
    [mysql]
    default-character-set=utf8
    I added the 'default-collation=utf8_unicode_ci', like you suggested, but that didn't do anything.
    I checked the Apache httpd.conf file, and added the following line 'under' the "DefaultType text/plain" line:
    AddDefaultCharset UTF-8    but that did not do anything.
    I checked my mySQL database, all the tables involved.  They were already at UTF-8 (default).  However, some of the 'varchar' columns were defined as 'latin 1-default collation'.   I changed them all to utf-8 (default table collation), but that did not help either.
    Finally, I found the problem, though I don't really know if it is "my" problem, or ZendAMF's problem, or Adobe's problem.
    It turned out that 'some' of my data had a 'bad' character in it.  Specifically, I had 'copied and pasted' some data from MS Word into mySQL Workbench.  Some of the data included the 'elipsis' character - you know, when you type "..." (dot dot dot) in MS Word, it replaces the three periods with a single elipsis character.  Although PHP could easily query and assemble this data into a nice object array, I noticed that that character showed up (in PHP's debugger) as a 'box' character, meaning "bad character".  Thus, I guess, Zend AMF and/or FlashBuilder could not 'bring over' and/or deal with this type of character.  As soon as I replace the few instances of that character with three periods, everything began to work perfectly.
    So... what to do about this?  I thought I was through with silly encoding/decoding of data when I left JavaScript and HTML behind in moving to FlashBuilder technology.  Am I really going to have to worry about this kind of thing?  Or might this be a bug/deficiency somewhere in the stack?
    Thanks for your help,
    -David

Maybe you are looking for

  • Selling Express 9 - how to be legal?

    Hi there I bought a retail copy of Logic Express 9 back in November, to dip my toe in the Logic waters after 10 years of using another DAW. Interesting thing to do, but it hasn't really worked out, and I realise I'm happy with the old DAW after all.

  • Problem In connecting Client with oracle

    hello all, I am trying to connect a system, with my oracle server, but the client machine is also having oracle installed on it. Is it possible to connect same machin with my oracle server. I am working on Oracle 8i.

  • Can't Open Tutorial.jpr file

    Folks, This may sound silly but I am ecountering this issue.I am trying to open the seeded "Tutorial.jpr" (tutorial file) file from jDeveloper. I have completed the setup steps. When I open the C:\jdeveloper\jdevhome\jdev\myprojects directory from wi

  • Feature request: albums in playlists

    This is the one aspect to the iPod that drives me insane. I have about 7,000 songs in my library. I add to it all the time. I have a number of smart playlists, such as "Added in Last Day" and "Added in Last Week." This enables me to quickly check out

  • Using ecwid ecommerce code within muse -- all in one column?

    Although new to using Muse, I have good experience with DW. In its simplest form, following the link here on how to place the code into Muse:http://kb.ecwid.com/w/page/49244914/Adobe%20Muse (using "Insert Html" on muse page, this is the code) <div id