Error 404 for EM not found in browser..

Hi all,
We have this test environment installed Oracle DB 11.2.0.1.0 in Red Hat Enterprise Linux Server release 6.1, we cloned it to move it to another server. EM is functioning well but after the migration, EM reports this error
"404 Not Found
Resource /em/console/database/home not found on this server"
I deconfig the emca, and reconfig it again. I even checked the listener configuration and it seems fine..
When I issue the command "emctl status dbconsole", it outputs:
emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
It says that it's running..
But when I'm trying to access the EM in my remote browser "https://10.0.0.1:1158/em" it keeps me giving this error:
"404 Not Found
Resource /em not found on this server"
and when i issue just the command "https://10.0.0.1:1158" without the EM, it gives me J2EE page..
Thanks in advance if you could help me..
Cheers,
Kaye
Edited by: Kaye Chow on Mar 22, 2012 10:48 PM

Hi,
Try to remove/rename the login keychain file that is stored
on your current user profile. Restart the system with the CD/DVD install disk in the unit and press and hold the 'C' key to boot off of the media and run disk utility to make sure permissions are verified and fixed. Hope that helps.

Similar Messages

  • Error 404: SRVE0190E: File not found when trying to access jsp

    I am using RAD (new to web dev) for some reason my app is unable to find .jsp's when they are not in the web content folder. I have a predefined package for my jsp's and when I run my servlet I get
    Error 404: SRVE0190E: File not found: /WEB-INF/classes/app/view/search.jsp
    now if I amend my URL in the servlet to "/search.jsp" and move the jsp to the web content folder, it works. I just don't understand why it cannot find the file when I put it in the package I created and link to it, but finds it just fine in the webcontent folder. Is there some unwritten rule JSP's MUST be in the webcontent folder? Because when i do that, then I have issues with my image links for the GUI (get red X's for all my images regardless of the fact they are linked properly.) Basically if I put my jsps where I want, look fine in design and preview, but the jsp isnt found when executed, if I move them to the web content folder the images no longer work but the jsps run. I am getting rather frustrated. Any help is appreciated.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    *https://support.mozilla.org/kb/Clear+Recent+History
    Are you using cleanup software like CCleaner or other software that may corrupt the cache?
    You can try to delete the entire cache folder.<br />
    You can find the location of the cache folder on the about:cache page (open via the location bar, like a web page).
    You can check the <b>browser.cache.disk.enable</b> pref on the <b>about:config</b> page to verify that the disk cache is enabled (should be true).

  • Error 404, JSP file not found

    Hello all
    I am using tomcat on solaris. I have copied my war file under the webapps folder. When I start the tomcat services, it shows the messages for adding the context path for that war file, it also creates a folder for it under webapps but fails to show me any of the jsp pages. I can view all the html and gif files, but none of the jsps (gives the error - 404). If I rename my war file, and then start tomcat services, it works well. I don't want to rename my war file. Pls help!!
    For further details - I have checked my server.xml file, and it is correct. There was an old version of the same folder under webapps, which I got rid off, but seems that somewhere it is still caching it.
    In my server.xml file, if I do
    <Context path="/first"
    docBase="webapps/first"
    crossContext="false"
    debug="0"
    reloadable="true" >
    </Context>
    IT FAILS !! but if I just change the <Context path="/first1" , it works and does not give any error for jsp page. There isn't any contect path named "first" in my server.xml file.
    Thanks in advance.
    Regards
    Anusha

    Actually, I don't know how to create a subdirectory under webapps directory. When I tried to add a subdirectory calle myapp (.../webapps/myapp), I got "The requested URL /application/ was not found on this server" error message. Do I need to modify server.xml or web.xml in conf directory?
    Thanks in advance!
    tacomaZ

  • I've had i tunes for a year or two and even after a reinstall,I can't access my itunes because of an error7 or windows error 127.Entry point not found.What do I do???please help

    I've had itunes now for a while.Now when i try and access itunes i get an error of entry point not found.and an error 7 windows error127.Says to reinstall itunes.I do and get the same result.What do I need to do....please help....

    Often that's caused by damage to one of the other software components.
    I'd try the following document first:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    (If you're running XP, there's a link to the equivalent instructions for that OS in the document.)

  • Error:Administration header could not found for support message

    Hi All,
    we are creating the support message in CRMD_ORDER transaction. we are getting an error, "Administration header could not found for support message" while saving. And also it is coming out of the transaction.
    The transaction type is SLFN.
    Please advise.
    Regards
    kumar

    Did you find the solution to this error? I am also getting this error and need to solve the same. Can you please help?

  • Error while running Validation Data for category  not found in application

    Dear Experts
    While running Validation and IC Matching I am getting Error i.e. "Data for category  not found in application CONSOLIDATION"
    May some one tell me the reason and resolution.
    Thanks
    Ritesh

    Hi RItesh,
    I suppose your problem was solved in the meanwhile.
    Anyway we had the same issue, when running Validations against ICMatching App.
    That was because Method VALIDATION of Class CL_UJP_VALIDATE tries to relevant data in order to perform calculations (line 127), but if no data is found, ends raising an exception (with a misleading text line 143).
      read_trans_data_sqe( exporting i_application = d_application
                                     it_dim_list = dt_app_dim_list
                                     it_sel = lt_sel
                           importing
                                     er_t_data = lr_data
      assign lr_data->* to <lt_finance>.
      create data lr_data like line of <lt_finance>.
      assign lr_data->* to <ls_finance>.
      lr_data1 = lr_data.
      if <lt_finance> is initial.
    NO DATA FOUND -> EXCEPTION
        raise exception type cx_ujp_process_exception
              exporting textid = cx_ujp_process_exception=>ex_no_data_found
                        d_application = d_application
                        d_value       = l_value.
      endif.
    Hope it helps
    GFV

  • Crawling error: The object was not found SPS 2010 FBA

    Hi,
    We have a SharePoint 2010 Foundation environment. This environment contains one app two front ends and an SQL backend server. We have a web application on port 80 with hostheader http://subdomain.domain.com which is extended to port 81 (http://subdomain.domain.com:81).
    We have two zones: Default and Intranet. Both has forms based authentication enabled but only Intranet has NTLM enabled.
    In the alternate access mappings we have the following configured:
    Internal URL Zone
    Public URL for Zone
    http://subdomain.domain.com:81 Default
    https://subdomain.domain.com
    https://subdomain.domain.com Default
    https://subdomain.domain.com
    http://subdomain.domain.com Intranet
    http://subdomain.domain.com
    The SharePoint is publishd by Checkpoint on URL: https://subdomain.domain.com and is reachable outside the company only with forms authentication. We can login to http://subdomain.domain.com inside the network with NTLM authentication. The system is working
    fine.
    However we installed Search Server Express 2010 on all servers and configured it. The main configuration steps were:
    content access account setup
    full read permission to all zones for content access account
    Checked DB permission for content access account
    DisableLoopbackCheck configured on all servers
    content source is set to http://subdomain.domain.com (Intranet URL?) to use NTLM authentication
    Tried to set crowl rule to http://subdomain.domain.com/*
    When I start a full crawl I only get one Top Level Error: 
    The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )
    We also have a developer environment. This environment is a "one men show". All of the roles are on the same machine but all configurations are the same. We also installed Search Server Express 2010 on the developer SharePoint and all works properly.
    I googled days and tried a lot of possible solution but nothing helped. 
    Does anyone have idea what do I wrong?
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

    Thanks for the reply.
    Loopbackcheck disabled on all servers.
    We can browse site on search server.
    IIS binding is correct on all SPS servers.
    We have no entry on host file.
    Edit: I have to correct myself! Some of the administrators (I think) set host host file. I rechecked after Inderjeet comment and this resolved this issue.
    Thanks to pointing me to double check allways if I think something is correct. (Anyway this was the only thing I didn't rechecked).
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

  • Error "Error ERR-1014 Application not found. " after Installing APEX 40

    Hello,
    i have installed apex 4 to an existing apex 3.2 installation (oracle 11g windows) with oracle http Server.
    i follow the installations guide and install the full version.
    I try to call "http://dmsapex:7777/pls/apex/apex_admin" and it works and i can admin my application and see my existing workspace
    i try to call "http://dmsapex:7777/pls/apex/apex" and it does not work. i get follw error message in the browser (IE8):
    -->
    application=4500 workspace=10
    Error ERR-1014 Application not found.
    OK
    <--
    I search in several forums and find " convert runtime into fullversion". I have installed "@apexins SYSAUX SYSAUX TEMP /i/". I try "@apxdvins" but it does not work.
    C:\oracle\oraweb\ohs\logs/error.log says:
    [Wed Jul 14 16:11:31 2010] [alert] mod_plsql: DMS failure: NounGetRoot failed. Disabling DMS
    [Wed Jul 14 16:11:32 2010] [alert] mod_plsql: DMS failure: NounGetRoot failed. Disabling DMS
    [Wed Jul 14 16:11:32 2010] [notice] Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Wed Jul 14 16:11:32 2010] [notice] Server built: Apr 12 2007 00:25:24
    [Wed Jul 14 16:11:32 2010] [notice] Parent: Created child process 3280
    [Wed Jul 14 16:11:33 2010] [alert] mod_plsql: DMS failure: NounGetRoot failed. Disabling DMS
    [Wed Jul 14 16:11:34 2010] [alert] mod_plsql: DMS failure: NounGetRoot failed. Disabling DMS
    [Wed Jul 14 16:11:34 2010] [notice] Child 3280: Child process is running
    [Wed Jul 14 16:11:34 2010] [notice] FastCGI: process manager initialized
    [Wed Jul 14 16:11:34 2010] [notice] Child 3280: Acquired the start mutex.
    [Wed Jul 14 16:11:34 2010] [notice] Child 3280: Starting 250 worker threads.
    Have someone the same problem? Or does sombody knows a solution?
    Thanks for help
    CZI

    Thanks mo**** . I executed @apxdvins from my extracted oracle directory using the followin procedure and it was working properly.
    Start/Run
    CMD
    You need to change your directory to the directory where apxdvins.sql iis available. Mostly this is Apex extracted directory.
    $ SQLPLUS/NOLOG
    SQL> CONNECT SYS AS SYSDBA
    @apxdvins
    This will take some time.
    If you want you can also do this extra steps in SQL mode:
    shutdown
    startup
    alter user anonymous account unlock;
    ALTER SESSION SET CURRENT_SCHEMA = APEX_040000;
    Thanks and reards

  • Error "Bridge CS6 was not found on this system. To use this command, please reinstall Bridge CS6"

    Hi all,
    We are having issues with Adobe Bridge working properly with Photoshop.  When trying to access Bridge through Photoshop we receive the following error "Bridge CS6 was not found on this system.  To use this command, please reinstall Bridge CS6"
    - We have the Master Collection CS6 installed
    - Bridge CS6 is working fine as a stand-alone program
    - This is installed on Windows 7 x64
    - I am unable to find an uninstall location for Bridge CS6, it is not under control panel > Adobe Master Suite
    - All adobe products are up-to-date as of this morning.
    Any help would be appreciated.
    Thanks,
    Message title was edited by: Brett N

    Bacterin1 wrote:
    It has not worked previously.
    Does not make a difference is bridge is open or not.
    Yes, we are accessing it through File/browse in bridge.
    OK, back to square 1.
    Does Bridge work normally?  Does it load Bridge CS6 or does CS5 come up?  Only one version can run at same time.
    If you double click on an image it opens in CS6?

  • Itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    Can you start QuickTime on your computer?
    You'll probably have to search for the Windows Installer Cleanup Utility and use it to remove QuickTime Player and iTunes. Then download and install the iTunes again.

  • Document splitting: Items for clearing not found

    Dear All,
    I have created bank gl without tick of open item management now i have activate OIM &  Transcation exisit for the same
    I have done it as given below:
    1) I have made GL balance Zero by posting an additional entry by F-02 (document type SA)
    2) Block the GL for posting
    3) though help of programe RFSEPA02 i have done the same.
    Now the GL is OIM
    Now i have to reverse the additonal entry pass to make GL balance zero
    At the time of reverse through FB08 system gives an error massage
    *" Document splitting: Items for clearing not found"*
    Please any one help to resolve the issue
    Thanks
    Vijay

    Dear Gladys xing
    Thanks for your reply,
    I have also done the same thing by passing one more entry to create the same balance.
    When i am trying to clear open item for the both the extra entry system gives an same error
    "Re: Document splitting: Items for clearing not found"
    is this possible to clear that open item through F-03
    Thanks
    Vijay

  • Report Generation Toolkit (Word) : How to use correctly bookmark and cross-reference without "Error! Reference source not found"

    Hi,
    I try to generate a report using a template. In my template I use some cross-reference to refer to one bookmark. For exemple in the first page I created a bookmark for my name and in the header I created a cross-reference refer to my name. The problems is when I run my VI the bookmark actualise perfectly but the cross-reference refer to the bookmark can't actualise with the same value and generates an error : "Error! Reference source not found".
    Can somebody help me please!
    Nki
    Solved!
    Go to Solution.
    Attachments:
    01.jpg ‏72 KB

    Hi,
    When i create the word template, the bookmaks and the cross-reference referred to the bookmark update correctely. The problem is when I try to change the bookmark using "report generation from template vi" the bookmark change but not the cross-reference and the error generated is "Error! Reference source not found". 
    I make coople reasherch and i think they have no solution for this because : "if the text in a heading referred to in a cross-reference is revised, the cross-reference to the heading may no longer work" (http://office.microsoft.com/en-us/word-help/troubleshoot-cross-references-HP005189368.aspx).
    To "resolved" this problem I create an other bookmark in the template who have the same value white the principle bookmark.   
    I use Labview 2011 and Micosoft office 2010.

  • Error 1308.Source file not found with 9.4.2 Admin Install point

    I'm including as much information in this post as possible to help narrow down my problem, so if it's too wordy I appologize.
    I've created an Admin install point for Acrobat 9 patching it up to Acrobat 9.4.2 using the following commands in a batch file:
    D:
    cd \Adobe\Acrobat\AcrobatPro9
    md \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP /Liv D:\Adobe\Acrobat\AcrobatPro9AIP\install900.log /qn
    cd \Adobe\Acrobat\AcrobatPro9AIP
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd941_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install941.log /qn
    start /wait msiexec /p D:\Adobe\Acrobat\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=D:\Adobe\Acrobat\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I rename the folder "AcrobatPro9AIP" to reflect the current version (e.g. "Acrobat9.4.2"), copy the folder to my DFS, create an MST with the Customization Wizard, and then deploy with Group Policy.
    Before I deploy I always run a few test installations on two Windows XP 32-bit machines, and two Windows 7 64-bit workstations. I've been using this method to build my install point for the last 5 Adobe patches without a problem, but suddenly with version 9.4.2 my test workstations pop up with the following error during the installation via the standard installation method "msiexec /i acropro.msi TRANSFORMS=acropro.mst":
    I built my installation package for acrobat9.4.1, 9.4.0 and 9.3.3 exactly the same way and the installations did not have this error. The file in question "Adobe.Acrobat.Dependencies.manifest" does not exist in my 9.4.1, or 9.4.0 package folders, nor does it exist in the 9.4.2 folder. Any suggestions?

    I am having the same problem, all the relevant info was already covered in the "thewaker" post above.   I too have made a script to make a Admin install with patches up to 9.4.2.  The script worked for 9.3.3 but when I remade the AdobeAIP for 9.4.2, I too got this error when installing it, even manually.  (Error 1308.Source file not found.  Adobe.Acrobat.Dependencies.manifest ) Running on Windows 7 32bit.
    Here is my Script.
    C:
    cd\AcroBatPro9
    md \AcrobatPro9AIP
    start /wait msiexec /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP /Liv c:\AcrobatPro9AIP\install900.log /qn
    cd \AcrobatPro9AIP
    start /wait msiexec /p c:\AcrobatPro9\AcroProStdUpd910_T1T2_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install910.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd912_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install912.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd920_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install920.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd930_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install930.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd932_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install932.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd933_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install933.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd940_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install940.log /qn
    start /wait msiexec /p c:\AcrobatPro9\AcrobatUpd942_all_incr.msp /a AcroPro.msi TARGETDIR=C:\AcrobatPro9AIP PATCHAIP=1 /Liv install942.log /qn
    I did notice though that the "thewaker" has added AcrobatUpd941_all_incr.msp to his script, which is a security update. Which may be "a" problem, but I don’t think this is related to the problem we are having.
    Administrative deployment
    Administration Installation Point (AIP) deployments must not apply a quarterly update AIP in which a security update was the most recently applied update. Because a quarterly update includes the changes implemented in all recent security updates, the quarterly update forcibly bypasses those updates entirely. To deploy a quarterly update from an AIP, create a AIP which includes only quarterly updates as follows:
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) ->  9.4.0 (Quarterly) -> 9.4.1 (Security)
        Acceptable:      Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.2 (Quarterly)
        Unacceptable:  Acrobat 9.0.0 -> 9.1.0 (Quarterly) -> 9.1.2 (Quarterly) -> 9.2.0 (Quarterly) -> 9.3.0 (Quarterly) -> 9.3.2 (Quarterly) -> 9.3.3 (Quarterly) -> 9.4.0 (Quarterly) -> 9.4.1 (Security) -> 9.4.2 (Quarterly)
    Anyway.. Any help with this would be helpful as I would like to deploy it soon.
    Thanks.

  • HTTP Error 404 :File does not exist

    Hi all,
    On Test instance we are not able to open the help file,it give an error
    HTTP Error 404 :File does not exist
    can anybody have solution for this
    it's very urgent
    Thanks
    shekhar

    I have changed the note server definition in the external app to add the mail directory in front of the mail file name 'mail/mufile.nfs' and I get the following error:
    05/04/21 15:15:07 lotusnotes: [instance=(null), id=97176201941,7] ERROR: LotusServiceSession: getConfigProperties(): An error occured
    while reading/ retrieving the properties from the the configuration file.
    05/04/21 15:15:07 lotusnotes: [instance=(null), id=97176201941,7] ERROR: Unhandled exception in SOAP call
    oracle.portal.provider.v2.ProviderException: LotusServiceSession: getConfigProperties(): An error occured while reading/ retrieving the
    properties from the the configuration file.

  • Error 1046: Type was not found or was not a compile-time constant: Component Event.

    Hi Everyone..
    I am getting an Error 1046: Type was not found or was not a compile-time constant: Component Event.
    The ComponentEvent class has been imported,and also the event handling code is there. I am not sure what else is wrong, hope somebody can advise me. Thanks. The code is below, the point where the error occurs as indicated by the compiler has been highlighted.
    package 
    import flash.display.Sprite;
    import flash.media.Camera;
    import flash.media.Microphone;
    import flash.media.Video;
    import fl.controls.TextArea;
    import fl.controls.Button;
    import fl.controls.TextInput;
    import flash.events.SyncEvent;
    import flash.events.MouseEvent;
    import flash.events.FocusEvent;
    import flash.net.SharedObject;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.events.NetStatusEvent;
    import flash.events.FocusEvent;
    import flash.events.ComponentEvent;
    public class VideoChat extends Sprite
      private var button:Button;
      private var text_so:SharedObject; 
      private var textArea:TextArea;
      private var textInput:TextInput;
      private var chatName:TextInput; 
      private var nc:NetConnection;
      private var nsOut:NetStream;
      private var nsIn:NetStream;
      private var rtmpNow:String;
      private var msg:Boolean; 
      private var cam:Camera;
      private var mic:Microphone;
      private var vid:Video;
      public function VideoChat ()
       //Set up UI
       textArea = new TextArea();
       textArea.setSize(500,280);
       textArea.move(20,54);
       addChild(textArea);
       textInput = new TextInput();
       textInput.setSize(500,24);
       textInput.move(20,340);
       textInput.addEventListener(ComponentEvent.ENTER,checkKey);
       addChild(textInput);
       button = new Button();
       button.width=50;
       button.label="Send";
       button.move(20,370);
       button.addEventListener(MouseEvent.CLICK, sendMsg);
       addChild(button);
       chatName = new TextInput;
       chatName.setSize (100,24);
       chatName.move (80,370);
       chatName.text="<Enter Name>";
       chatName.addEventListener (FocusEvent.FOCUS_IN, cleanName);
       addChild(chatName); 
       //Connect
       rtmpNow="rtmp:/VideoChat ";  
       nc=new NetConnection;
       nc.connect (rtmpNow);
       nc.addEventListener(NetStatusEvent.NET_STATUS,doSO);
       cam = Camera.getCamera();
       mic=Microphone.getMicrophone();
       //Camera Settings
       cam.setKeyFrameInterval(15);
       cam.setMode (240, 180, 15, false);
       cam.setMotionLevel(35,3000);
       cam.setQuality(40000 / 8,0);
       //Microphone Settings
       mic.gain = 85;
       mic.rate=11;
       mic.setSilenceLevel (25,1000);
       mic.setUseEchoSuppression (true);
       //Video Setup
       vid=new Video(cam.width, cam.height);
       addChild (vid);
       vid.x=10, vid.y=20;  
       //Attach local video and camera
       vid.attachCamera(cam);  
      private function doSO(e:NetStatusEvent):void
       good=e.info.code == "NetConnection.Connect.Success";
       if(good)
        //Set up shared object
        text_so=SharedObject.getRemote("test", nc.uri, false);
        text_so.connect (nc);
        text_so.addEventListener(SyncEvent.SYNC, checkSO);
      private function checkSO(e:SyncEvent):void
       for (var chung:uint; change<e.changeList.length; chng++)
        switch(e.chageList[chng].code)
         case "clear":
          break;
         case "success":
          break;
         case "change":
          textArea.appendText (text_so.data.msg + "\n");
          break;
      private function cleanName(e:FocusEvent): void
       chatName.text="";
      private function sendMsg(e:MouseEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      private function checkKey (e:ComponentEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      //Create NetStream instances
      private function checkConnect  (e:NetStatusEvent):void
       msg=e.info.code == "NetConnection.Connect.Success";
       if(msg)
        nsOut=new NetStream(nc);
        nsIn=new NetStream(nc);
        //NetStream
        nsOut.attachAudio(mic);
        nsOut.attachCamera(cam);
        nsOut.publish("camstream");
        nsIn.play("camstream");

    Hi Guys...
    I have found out what is wrong. I was importing the wrong package the correct one should have been:
    import fl.events.ComponentEvent;
    instead of
    import flash.events.ComponentEvent;
    I hope this is helpful for anyone caught in a simillar situation as me...Thanks..

Maybe you are looking for