Error: "Cannot access the web server" with BlazeDS Turnkey

Help! I'm new to Flex and BlazeDS and Eclipse.  I was trying to setup a Flex Project using a BlazeDS/Tomcat server running from Eclipse on Windows XP per the example in flexbandit.com/archives/55#comment-269 and in (www.infoq.com/articles/blazeds-intro).   I am NOT using the Eclipse Flex plug-in.  I'm using Flex Builder for the Flex code.
Here's what I've done:
I installed BlazeDS and tested http://localhost:8400 - That worked.
I setup Tomcat in Eclipse.  -  That seemed to work.
I created a Dynamic Web Project in Eclipse - That seemed to work.
I created the bare-bones BlazeDS Configuration under the Eclipse project and then created a basic HelloWorld java class.
I added the destination in the “remoting-config.xml” file found in the c:/projects/workspace/ReportGenTool/WebContent/WEB-INF/flex” directory:
<destination id="HelloWorld">   <properties>  <source>HelloWorld</source> </properties> </destination>
When I started the application server by clicking on the server's green play button in Eclipse and then tried to open localhost:8400/ReportGenTool, I got the 404 error : The requested source (/ReportGenTool/) is not available which according to the instructions is fine.
Next I created a Flex Project, but when I try to validate the new Flex project configuration, it gives me an error "Cannot access the web server. The server may not be running, or the web root folder or root URL may be invalid."
When I validated the server was running after setting up the BlazeDs Turnkey, I saw the BlazeDS page.
Now when I bring up http://localhost:8400 I get:
      Directory Listing for /
      Apache Tomcat/6.0.14
My eclipse project is named ReportGenTool and I've overwritten the WebContent directory with the META-INF and WEB-INF directories from the BlazeDS installation (C:\blazeds\tomcat\webapps\blazeds).  According to Eclipse the server is running.
My Flex project is named ReportGenTool and is located in another directory away from the Eclipse project directory.
     My root folder is: C:\Projects\workspace\ReportGenTool\WebContent
     Root URL: is http://localhost:8400/ReportGenTool/
     Context root is: /ReportGenTool/
Any idea what might be wrong? What didn't I configure that needs to be configured?
Thanks in advance.

This is not working because your router has a direct to your web server that is not through the outside interface which is needed for nat to occur, for this to work you need to setup a loopback interface as nat outside and policy route traffic to there for your server traffic
Bu if your server is internal why do you need nat at all? Can you not use bind with views that might be simpler
M
Sent from Cisco Technical Support iPad App

Similar Messages

  • Server 2012 R2 SMB - The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    We are having issues with Server 2012 R2 SMB shares.
    We try to write some changes to a file, but we first create a temporary backup in case the write fails. After the backup is created we write the changes to the file and then we get an error:
    The process cannot access the file '\\server\share\test.txt' because it is being used by another process.
    It looks like the backup process keeps the original file in use.
    The problem doesn't always occur the first time, but almost everytime after 2 or 3 changes. I have provided some code below to reproduce the problem, you can run this in a loop to reproduce.
    The problem is that once the error arises, the file remains 'in use' for a while, so you cannot retry but have to wait at least several minutes. 
    I've already used Process Explorer to analyze, but there are no open file handles. 
    To reproduce the problem: create two Server 2012 R2 machines and run the below code from one server accessing an SMB share on the other server.
    Below is the code I use for testing, if you reproduce the scenario, I'm sure you get the same error.
    We are not looking for an alternative way to solve this, but wonder if this is a bug that needs to be reported?
    Anybody seen this behavior before or know what's causing it?
    The code:
    string file =
    @"\\server\share\test.txt";
    if (File.Exists(file))
    File.Copy(file, file +
    ".bak", true);
    File.WriteAllText(file,
    "Testje",
    Encoding.UTF8);
    The error:
     System.IO.IOException: The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    There is someone else having the same issue with yours. You could try code in the article below:
    “The process cannot access the file because it is being used by another process”
    http://blogs.msdn.com/b/shawncao/archive/2010/06/04/the-process-cannot-access-the-file-because-it-is-being-used-by-another-process.aspx
    If you wonder the root cause of the issue, the .NET Framework Class Libraries forum can help.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error  while accessing the application server file

    Hello,
    When I try to load the data from CSV file to PSA , I am getting following error message
    "Error  while accessing the application server file"
    "Errors in source system"
    I gave the right file path
    I am not sure about this error message.
    Thanks,

    Hi ram,
    if you have more than one application server running in your BI system (see at transaction SM51) be aware that your infopackage will be executed on the right one. Each application server has its own file system and your job need to run on the server your file is stored on.
    Also check if the os user of the SAP system itself (<sid>adm on Unix) has rights to read that file.
    Bye
    Frank

  • Mail cannot access the mail server, but other email clients do.

    My web host recently had extended problems with the mail server my sites are on. Now, Mail on my iMac Intel 27 Duo says it cannot access the server. However, Thunderbird and Entourage Mac have no problem. Sending from Mac Mail seems to be Ok as well. I've checked the settings over and over.  I received no system disk for this machine when I bought it. Do I need to reinstall Mail, and if so, how?
    The info below from Connection Doctor shows it appears to be trying to access through Port 25 but I have Mail set for 587 as instructed by the hosting company. I have renamed private info in the text below.
    READ Jan 16 09:56:42.941 [kCFStreamSocketSecurityLevelNone]  -- host:mail.myemail.com -- port:25 -- socket:0x11f51aed0 -- thread:0x122c48a20
    250-servername-a41.g.webhostname.com
    250-PIPELINING
    250-SIZE 40960000
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250 8BITMIME

    However, Thunderbird and Entourage Mac have no problem. Sending from Mac Mail seems to be Ok as well. I've checked the settings over and over.
    Well if TB and Entourage can both send and receive but Mail can only send I can only conclude you missed something in you rechecking.  Of course with you being the only one checking you are going to make the same "mistake" and never no it.  So post the relevant POP server info for your ISP (edit out personal info and passwords of course):
    Account Info:
    Incoming Mail server:  pop server address
    User Name:             required user name POP server is looking for (censor)
    Password:              password required by POP server (censor)
    Advanced:
    Port:      995, 25, default?
    Use SSL:   yes or no
    Auth:      kind of authentication

  • Cannot access internal web server from same lan

    i cant resolve one problem in may 1921 ISR router, i have a web server in my internal lan , i set up static nat for accessing that web server from outside and it works fine but i cannot view that site from internal workstations can you suggest me what to do. i need packets to go out the outgoing interface of router and then come back and enter the static nat wich will direct to the web server is it possible?
    static nat is
    ip nat inside source static tcp  <local web server adress> 80 <global address> 80
    also i have set up dinamic nat for outgoing trafic
    ip nat inside source list <access-list> interface <outgoing interface>   
    and it is working fine too.
    on external interface i have nat outside
    on internal interface i have nat inside

    This is not working because your router has a direct to your web server that is not through the outside interface which is needed for nat to occur, for this to work you need to setup a loopback interface as nat outside and policy route traffic to there for your server traffic
    Bu if your server is internal why do you need nat at all? Can you not use bind with views that might be simpler
    M
    Sent from Cisco Technical Support iPad App

  • How do I access the web utility with model cisco sf302-08p ?

    Hi,i have a problem with the model Cisco SB SF302-08PP Switch , i connect a cable rj45 to my pc and configure the adapter local area connection (ip address:192.168.1.252), the LEDs blink green, and go to the address bar and get the IP by default, which according to the manual is 192.168.1.254 and the result is: page not found. Is there any way to change the web utility? How do I access the web utility?

    restore  the switch by holding more than 30 seconds and try accessing with ip 192.168.1.254. username and password is "cisco". before change your base ip to 192.168.1.2-253.try to ping and check the connectivity

  • Error in Accessing the Report Server URL

    Hi All,
              I am trying to access the Report Server URL in PowerPivot.But facing below issue .Can any one help me how can I solve the issue
    Thanks,  
    Sid

    Hi Visakh,
                    Yes,The user is holding the permission as "Global User" in sql.Hope you help me in solve this issue
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .
    Hi siddiqali,
    According to the screenshot you posted above, the use account didn't have sufficient permission to open the report, please check the following prerequisites before you perform the action:
    You must use a report definition (.rdl) file as a data source. Importing from a report model is not supported.
    You must have permission to open the report under your Windows user account, and you must know the address of the report or the report server that hosts it. You can check your permissions by trying to open the report in a Web browser first.
    If the report opens, it confirms that you have sufficient permissions and the correct URL.
    Reporting Services must be version SQL Server 2008 R2 or SQL Server 2012. Those versions include the data feed export feature that streams report data in the XML data feed format. You can identify the report server by the Export as Data Feed option
    that appears in the report toolbar when you open the report in browser:
    For detail information, please see:
    Import Data from a Reporting Services Report:
    http://technet.microsoft.com/en-us/library/gg413491.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Error when accessing the web-based portal for SQL Azure

    Hi,
    when trying to access SQL azure management portal, the following error is thrown:
    [MoreThanOneMatch]
    Arguments:
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See
    http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30214.00&File=System.Core.dll&Key=MoreThanOneMatch -
    Looking at the site in question, the problem seems to be Silverlight related. However, I am unable to debug as suggested since the server is located on Microsoft premises. To rule out a wrong password, I did a reset and ruled out typos by copying username
    and password into the field. Furthermore since its not a production database, all IPv4 addresses (range 0.0.0.0-255.255.255.255) are allowed to access the database, so the problem should not be related to ip-based access restrictions. Is this a bug
    in the web interface or is the problem sitting in front of the screen?
    Regards,
    Chris

    Hello,
    I also meet this issue when connect to SQL database without specify database on the login page. But the error disappear when I specify the database name in the database section, for example, master.It may be a bug in Management Portal of SQL Database. 
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Page Not Found error when accessing the Identity server console

    Hi,
    I have installed the Sun One Portal Server.
    when i access the URL for Identity server, i am getting Page not Found exception.
    Any suggestions, why this problem could occur.
    Regards,
    Mukta

    First the obvious: Restart the Webserver/Application Server
    Did you choose "Configure Later"?
    Is amconsole/amserver/... really deployed? You can see this in the Admin web interface of the server.
    Do you see anything in the logfiles?
    Chris

  • I tried to put a copy of windows xp on a dos partition on my mac pro and now cannot access the hard drive with the latest maverics on it

    I tried to put a copy of windows xp on a dos partition on my harddrive partitioned for mac pro os x maveriks 10.9.3 but with a dos partition fat32 for the windows; but when I tried to reboot I cannot now access the hard drive.  Sometimes I get a white page with a question mark and sometimes I get a black screen with a blinking curser at the top.  I have a backup mac with lion which I am now using to comunicate.

    Windows XP has a notorious reputation for crapping on multiple partition boot blocks, including in your case, OS X.
    There are three options.
    Boot into Recovery (Press and hold command+R at boot)Choices
    Restore from Time Machine backup
    Retrieve and install current version of OS X from Apple Servers
    Boot into Internet Recovery (Press and hold option+command+R at boot)
    Requires Mac that shipped with OS X Lion or later
    Retrieves and installs original version of OS X that shipped with the machine
    Must update to Mavericks again
    Restore user data from Time Machine
    Apple Retail Store - Genius Bar appointmentSee if Apple will reinstall OS X Mavericks for you
    When you resurrect your machine, follow Eric Root's advice about Boot Camp, or a Virtual Machine. Boot Camp v5.1 on Mavericks no longer supports Windows XP, Vista, or Enterprise versions of Windows 7 or 8.

  • I cannot access the app store with my ipod 4g, can any one help me please?

    For some reason i am unable to access the app store on my ipod touch 4g or even syn on the pc the app that i have down loaded. Please help me.

    What happens when you try? Error message?
    Have you synced apps from that computer/iTunes library? You can only sync apps from your one syncing computer.

  • ERROR: Cannot connect to Host: [SERVER] with user name: [J2EE_ADMIN]

    Hello SAP experts
    I have started to deploy java SPS on a solution manager system, but has encountered some problems.
    I've tried both JSPM and SDM, but get the following error:
    Software Component 'ADSSAP'/ 'sap.com'/ 'SAP AG' / '1000 .7.00.16.0.20080610114809''/ '1 ':
    Caught exception mens checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Can not connect to Host: [SERVER.domain] with user name: [J2EE_ADMIN]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception vid getInitialContext surgery. No server is running. [Root exception is com.sap.engine.services.
    I can not log on Visual admin, with user J2EE_ADMIN, I've checked the user is not locked in the ABAP stack. I have activated SAP * on the JAVA stack, but still can not log on, get this error:
    Error while connecting
    com.sap.engine.services.security.exceptions.BaseLoginException: Can not create new remote login context.
    I've run out of ideas, please some suggestions.

    SOLVED - Note 609603

  • Cannot access the locked files with Access TrueSuite Manager

    I have locked files with access TrueSuite manager. My Windows bug and now I can not access these files locked.
    When you try to unlock, I get error and I can not read these documents.
    Thanks.
    Excuse my poor English.

    I found this document:
    Useful information regarding file protection with the AuthenTec Fingerprint software
    http://aps2.toshiba-tro.de/kb0/TSB9C02RC0001R01.htm
    Possibly you will not be able to unprotect the files again
    But try that backup the data on the external HDD or somewhere else.
    Then reinstall this software and import the data back from external source.
    Then try to unlock this again

  • WRT54G ver. 6 Connected to access point and internet, but cannot access the web

    I can connect to the access point and it shows that I an connected to the internet.  However when I open a bowser it says page cannot be displayed!  Signal is very good to excellent.  Also, I have been using it all day and it was working fine, until I shutdown.  When I booted back up it stopped working.  The internet is working!  I have XBOX Live working right now.  Just not the computer.  Any Help would be appreciated.
    WRT54G ver. 6
    Message Edited by SJohnson4 on 12-01-200607:35 PM

    Hi... it seems that your Wireless adapter on does get a IP address or DNS no after reboot. Try assigning a Static IP address and DNS on the Wireless Adapter. Also try to update the drivers for that wireless adapter.

  • HT4883 Help - I am in India running OSX10.8 and cannot access the web as y datacard requires Java

    I just arrived in India.  My internet access is by datacard as I am in a rural area.  The datacard requests Java runtime 6.  I downnloaded it from the net on another computer but cannot install it as it is a version that requires an earlier operating system.  It does not seem there is a download for OSX 10.8.  If anyone has any ideas about how I can install Java onto Mountain Lion without being connected to the net please help. I already tried to access it via Terminal but it just says not found.
    thanks for your help.

    Shazar8 wrote:
    found it
    Where?

Maybe you are looking for

  • CMS Help!

    Hello, I am a middle of the road developer - not an expert, not a newbie. I have had more clients ask me to be able to update their sites in their own. I have had some clients use Contribute - but then they are limited to just the pages that are html

  • Howto set up proper utf-8 locales and german umlaute?

    Hi there, have some issues here and i think it has something to do with my locales... I have them since one of the last updates i think... First problem: In Kopete, i can send the german "umlaute" (ä, ö, ü) to others and they are sent and displayed c

  • Apache mod_proxy problem.

    Hi.           We use an apache 1.3.19 webserver with mod_ssl 2.8.3 as a front-end to an application server WLS 5.1 sp 6. The application server is accessed with the apache module mod_proxy. We also use the apache plug-in for WLS mod_wl_ssl.so        

  • Lost installation disk elements 9 and need to reinstall. please help!!

    I brought adobe photoshop elements 9 in May 2011, installed in onto my laptop with good intentions to use it but no idea how to. I decided to enroll in a photoshop course but in the meantime had my laptop de-cluttered, to which elements 9 was deleted

  • [SOLVED] Keybinding to rotate video in mpv

    Many people take videos with mobile phones these days, and many mobile phones have a vertical orientation, which means many videos are sideways. I know I can fix this at the command line with "mpv --vf=rotate=1 filename.mp4" but... Is there a keybind