File does not have a valid format

Hi. I just typed a document for around a half an hour and saved. I closed an reopened the document and it now says that the document does not have a valid format. I also saved it as a .doc and I got the same thing in pages and mac word. Is there any way I can recover the document?

Michael
I have tackled this with all the applications at my disposal.
NeoOffice, OpenOffice and BBEdit will open the .doc file but the text is rubbish.
I think this file has been terminally corrupted. Can you remember if you did anything special when you saved it or if there was any glitch on your computer at the time?
All you can do is prepare for such eventualities in the future.
In preferences you can set that Pages saves a previous version when you save, at least that gives you something to go back to.
Sorry I couldn't give you any better news.
Peter

Similar Messages

  • Please help!! Pages 09 :: Pages Files Can not be read - The Document Does Not Have A Valid Format

    I used pages to write my coursework, but when I saved it, pages crashed...
    Now I tried to reopen the file. It shows "The document ___.pages can not be read - The Document Does Not Have A Valid Format".
    I've looked through the forum to find any fix methond.  I tried the "zip solution" -> changes the file entention as .zip file.
    But the still can not solve my problem. it shows the zip file can not be open..
    I put my files in the following link.
    http://dl.dropbox.com/u/16476040/Marketing%20Coursework.pages
    Please could anyone try to offer me assistance. bacause it is very urgent.
    I will be very grateful if anyone can help me.

    Hi, Peter
    I followed the instriction, and changed to root to locate /.DocumentRevisions-V100/
    I can see several ______.pages file under the ./DocumentRevisions-V100/PerUID/
    From the "Date Modified" attribute, I can find several __.Pages files that what I want.
    But unfortunately, when I tried to open these version files, it still shows
    The document can not be read. The Document does not have a valid format....

  • Pages document "could not be read" bc. it "does not have a valid format"

    The document in question was properly saved and Pages was not open when my computer hung as it was shutting down. MS Word would not quit or force-quit and I had to hard restart the computer. When I later tried to open this Pages document, which I had been working on before Word froze, Page would not open it and responded with the error message: "This document "document_name.pages" could not be read. This document does not have a valid format." When I looked at the document in question I noticed that its file size was 0KB. I have no idea why this happened, but I suppose it has to do with my computer not shutting down properly and perhaps with Word freezing. If I repair my drive permission, re-index it, anything, will it help? Just a note on the status of this machine: spotlight stopped working earlier this morning and I was waiting to finish this document before repairing disk permissions and trying to fix that issue with Spotlight.
    In the meantime I have tried various fixes. First I tried to change the file ending to .zip, unpack it and open it. Then the same, but this time I tried to view package contents. It doesn't show up in the contextual menu as even having a package to show the contents of. The file is effectively empty, but I don't know where the contents went! The funny thing is that the MS Word doc was recovered automatically. Is it possible that Pages doesn't have an auto-recovery mechanism?
    I need this file urgently, or at least the text in it. It is the bibliography of an important paper due tomorrow at 5 pm.Any advice or suggestions would be greatly appreciated.
    BTW, I have used a file-recovery program in the past. It is called "Stellar Phoenix" and it worked wonderfully to find a Word doc that I accidentally deleted. It can't find .pages document though. In order to do so, I would need to tell the program what the average file size is, as well as the header information as follows. "Header (in hexadecimal)" "At Offset (in decimal)". I have no idea what this means, but if I could insert it, perhaps it could find the lost data. Should I have it search for .pages, .zip, .xml? I'm at a loss, but I know that it doesn't recognize .pages. In the meantime, I sent a support email to them and will see what happens.
    Thank you for your help.
    David

    I can't respond before.
    When the system say that your file size is 0KB, it means that nothing was saved. Only a file descripto exists.
    So, there is nothing to recover.
    Given the time the system crashed, you may have :
    (1) a simple descriptor with nothing written
    (2) a folder with every or only some of the required files.
    In this case, Phoenix is useless : it's unable to revive a folder.
    (3) a flatfile (a compressed version of the folder named above). It's only this kind of file which Phoenix may revive.
    With a bit of luck, Phoenix would be able to revive the index.xml file which was in the original folder created in the temporary folder.
    This file starts with :
    <?xml version="1.0"?><sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa"
    or
    <?xml version="1.0"?>
    <sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa"
    The minimal size for a Pages index.xml file is : 520038 bytes.
    If you retrieve the index.xml file, we may try to rebuild an usable package.
    Ask the recovery tool to transfer the recovered file on an other media.
    If the document embedded pictures, the index will give their path and their size which may be useful to recover them.
    Yvan KOENIG (VALLAURIS, France) lundi 1 novembre 2010 10:27:44

  • Saved keynote document could not be read. Error message says The document does not have a valid format.

    Using Keynote '09 on an iMac OS 10.8.4. Two of my students saved a Keynote file then the next day when trying to open received an error message- The document "4b Molly.key" could not be read. The document does not have a valid format. The students are saving correctly. Any ideas how we can retrieve a working file? Why did this happen?

    Just tagging on as I encounted this problem this morning.  I'm using Mavericks, on MBP (late 2013). 
    Have both Keynote 5 and 6 - tried to open the file in both, to no avail.   I have also tried the renaming of .key to .zip that seemed to work for others with previous OS, but does not fix now.  Also tried uploading to iCloud, renaming, redownloading - no fix there either.  I've tried to open on iPad and on a different user's iMac - again, get the same error.
    It worked yesterday and the day before.  It is a large file; however, I realized that from last night to this morning the only different thing I did was that I inserted photos in the keynote deck by drag & drop verses Insert/Choose and wondering if this corrupted the file.
    I'm going to hope a fix is out there somewhere and that I don't have to spend hours upon days upon weeks redoing this 98+ page deck.
    Any suggestions?

  • The document does not have a valid format.

    I created a special format document when I had Pages '08. I needed the proportions of the document to match the special paper on which the document would be printed so I created a special size for my document rather than 8 1/2 x 11. If I remember right it was closer to 8 1/2 x 13 or so. Anyway, I have now upgraded to Pages '09 and can no longer open any of these special format documents. I have versions of a couple of the documents that were created in Pages '08 without the special proportional size page and they open without issue. However the special size documents all get "The document does not have a valid format" and will not open. I really NEED these documents. I have seen some posts about renaming to a .zip and then something about an index file but I don't understand where this index file might be and what good it will do to open it. Also I know the files exist because they are still showing their original file sizes (not 0 MB). Any assistance would be appreciated.

    Don't continue to search fruhulda.
    I never saw such files.
    The only things which I may recognize are :
    the strings :
    mluc
    (10) nbNO --> Norvegian
    (16) svSE --> Sveridge
    (4) fiFI --> Finnish
    (1) daDK --> Danish
    (17) zhCN --> Chineese(1)
    (5) frFR --> French
    (8) jaJP --> Japanese
    (3) enUS --> English (US)
    (12) ptBR --> Portuguese (Brasil)
    (15) esES --> Spanish
    (18) zhTW --> Chineese(2)
    (14) ruRU --> Russian
    (9) koKR --> Korean
    (6) deDE --> Deutch (Germany)
    (2) nlNL --> Dutch (Nederland)
    (7) itIT --> Italian
    They are the symbols used to identify the languages used for 16 versions
    Two others are missing:
    (11) Polish (Polska) missing
    (13) Portuguese (Portugal) missing
    I found also
    iMac in plain ASCII and .i.M.A.C (dots are in fact NIL characters) which is the Utf 16 representation of iMac.
    During a few seconds I thought that it was a piece of System Files but the page thumbnail must be available somewhere so that the Finder is able to display it.
    I will send these genetically modified documents to Apple Bugs Hunters.
    Yvan KOENIG (VALLAURIS, France) lundi 31 janvier 2011 17:46:39
    At the very end there is also the trailing string which fool the message parser:
    the formula : *_Copyright Apple, Inc., 2010

  • The document could not be read: the document does not have a valid format.

    I created a 10MB document in Pages about a week ago. Around that time, I reopened the document and edited it with no problems. A week later, I've tried to open the document but Pages gives me the following error:
    The document "[Document Name].pages" could not be read. The document does not have a valid format.
    I created, edited, and saved this document in Pages, so I am confused as to why Pages would be unable to re-open the file, especially as I haven't done anything to it since it worked last. I was worried that my hard drive might have corrupted the file so I ran diagnostic tests but everything was fine. I was also worried that because the file is synced with my iDisk that iDisk corrupted the file while syncing it or something but I don't know what I could do to check this. Either way, it's an important file and I need to open it: I thought that by putting it on iDisk I would have a copy in case something happened to my computer but this seems not to have helped (and maybe hurt!).
    Any file recovery tools or other ways that I can open this file?

    No, I don’t have Pages ’08 installed, but did in the past—is this a current issue?
    Pages ’09 is registered.
    I have tried dragging the file onto the app icon directly.
    To recover at least the text, I did the “rename as zip, open index.xml” trick. Of course, in order to interpret that file, you do have to understand XML (thank god I do)… but if I hadn’t, man that would’ve been a major bummer.

  • The document does not have a valid format. (is there a workaround?)

    i searched this one out and saw that a few other people had the same problem with no resolution. i tried "dragging the file into Pages", though that didn't really make sense and nothing happened, that is, the document didn't open. i dragged the file to the Pages icon and got a warning that it couldn't even launch Pages. Opening from within Pages gives me the error in my subject heading. Any ideas on this???

    Which are the infos returned in the infos window got thru cmd + I ?
    Is the "Show package content item available if you 'ctrl - click' the doc's icon ?
    Yvan KOENIG (VALLAURIS, France) samedi 19 septembre 2009 11:30:23

  • Unable to load the package as XML because of package does not have a valid XML format

    I have SSIS package and I would like to let SQL Server Agent Job to run it.
    However I get Unable to load the package as XML because of package does not have a valid XML format
    What could be wrong?
    Kenny_I

    Hi Kenny,
    What's the version of your SSIS? Please refer to the following methods to solve this issue:
    Hard code the path of SQL Server 2008's DTEXEC while calling the SSIS package as shown below:
    C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTEXEC.exe /F "D:\MyFolder\MyPackage.dtsx"
    Rename the old exe in the 2005 path to a different name (Example:- C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTEXEC_Old.exe)
    Go to PATH environmental variable and edit it in such a way that "C:\Program Files\Microsoft SQL Server\100\DTS\Binn" path appears well before the "C:\Program Files\Microsoft SQL Server\90\DTS\Binn" path.
    For more detail information, please refer to the blog below:
    Failed to open package file due to error 0x80070020. The process cannot access the file because it is being used by another process. This happens when loading a package and the file cannot be opened or loaded correctly into the XML document:
    http://blogs.msdn.com/b/ramoji/archive/2009/08/28/failed-to-open-package-file-due-to-error-0x80070020-the-process-cannot-access-the-file-because-it-is-being-used-by-another-process-this-happens-when-loading-a-package-and-the-file-cannot-be-opened-or-loaded-correctly-into-the.aspx
    A similar thread about this topic for your reference:
    http://social.technet.microsoft.com/Forums/en-US/b2987df5-8c9b-4797-bdce-b9ec308731f6/i-am-getting-error-when-running-ssis-package-using-sql-server-agent-error-description-is-unable-to?forum=sqlintegrationservices
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

  • TS3212 I have removed my pop-up blocker completely and still receive the following error message when attempting to download iTunes:  "The file was blocked because it does not have a valid digital signature that verifies its publisher".....any ideas?

    have removed my pop-up blocker completely and still receive the following error message when attempting to download iTunes:  "The file was blocked because it does not have a valid digital signature that verifies its publisher".....any ideas?

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • MDT 0xc0000098 The windows boot configuration data file does not contain a valid OS entry

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help
    For a branch solution I would use DFS(R) rather than linked deploymentshares.
    If there is infrastructure at the remote sites you could use the MDT environment at your main site, and  then at each other site use an existing server or build a new server (VM is available). Create a Deploymentshare on each sever
    and copy the contents of the MDT environment from the first site into this share.  Next you will have to add the WDS service to each site's server. For WDS add the boot image. Of course as Keith noted ensure that you
    have the same versions of MDT and the WAIK/ADK on all systems
    You can use DFS to replicate to all of the other sites, but you will still have to create a deploymentshare, and install WDS at each site. So each site talks to its own WDS server you can use the DefaultGateway parameter instead -
    [Settings]
    Priority=Default, DefaultGateway
    [Default]
    SkipBDDWelcome=YES
    [DefaultGateway]
    192.168.10.1=Bergen
    192.168.20.1=Oslo
    [Bergen]
    DeployRoot=\\MDT-Bergen\DeploymentShare$
    [Oslo]
    DeployRoot=\\MDT-Oslo\DeploymentShare$
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • WDS "The file does not contain a valid install image"

    I have WDS installed on a Windows Server 2008 R2 SP1 machine.  I can quite happily import Windows 7 Install images from the Windows 7 installation DVD, but if I try to import from the Windows Server 2008 R2 SP1 installation DVD, at sources\install.wim, I
    get:
    "The file does not contain a valid install image"
    If I run WDSUTIL from the command line I get:
    "An install image could not be found in the image file".
    I believe that the DVD is fine as I can install machines from it and mount the sources\install.wim file using DISM.
    Anyone any idea what's wrong?
    Note that the problem is not with my own images, it's with the image as supplied on media direct from Microsoft.

    Which download link did you use to get your SP1 media? From this link:
    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5842 ?

  • InvalidRecordException: Input record does not have a valid Id.

    I am trying to export data from hybris to endeca. I have set up the index schema, index element, cas config, added properties.
    I have added queries the index elements but somehow the recordstore are not exporting the data to endeca. When, I checked the recordstore for data, it returned an empty file. I have checked the record store config for data and it shows record.spec available. Not sure why I am getting the InvalidRecordException.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <recordStoreConfiguration xmlns="http://recordstore.itl.endeca.com/">
    <changePropertyNames/>
    <idPropertyName>record.spec</idPropertyName>
    <jdbmSettings/>
    </recordStoreConfiguration>
    ERROR [hyend2exportcronjob1360880300110::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (hyend2exportcronjob1360880300110) [EndecaRecordStoreService] Exception during writing records to record store
    com.endeca.itl.recordstore.InvalidRecordException: Input record does not have a valid Id.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:141)
    at $Proxy146.writeRecords(Unknown Source)
    at com.endeca.itl.recordstore.RecordStoreWriter.doFlush(RecordStoreWriter.java:170)
    at com.endeca.itl.recordstore.RecordStoreWriter.flush(RecordStoreWriter.java:145)
    at com.endeca.itl.recordstore.RecordStoreWriter.close(RecordStoreWriter.java:163)
    at de.hybris.platform.hyend2.services.endeca.impl.DefaultEndecaRecordStoreService.writeRecordsToRecordStore(DefaultEndecaRecordStoreService.java:125)
    at de.hybris.platform.hyend2.services.endeca.impl.DefaultEndecaRecordStoreService.writeRecords(DefaultEndecaRecordStoreService.java:98)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.exportSchema(DefaultExportService.java:456)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.exportSchema(DefaultExportService.java:210)
    at de.hybris.platform.hyend2.services.impl.DefaultExportService.export(DefaultExportService.java:121)
    at de.hybris.platform.hyend2.jobs.ExportJob.perform(ExportJob.java:67)
    at de.hybris.platform.hyend2.jobs.ExportJob.perform(ExportJob.java:1)
    at de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob.performCronJob(ServicelayerJob.java:40)
    at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1294)
    at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:813)
    at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:772)
    at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:677)
    at de.hybris.platform.util.threadpool.PoolableThread.run(PoolableThread.java:198)

    This was due to the dropping of recordstores which were not getting recreated. Using environment parameters (host and port) on the command line to create the recordstore for data resolved the issue.

  • Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured

    Today I tried to configure JAVA APM on a CentOS 6.4 server with tomcat6 installed through the normal RPM package. Adding this server to SCOM was no problem and it shows itself as a 'Deep Monitored Configuration'. The last part of enabling
    JAVA APM fails. I have followed the following process:
    1. Imported the JAVA APM MP's
    2. Extracted the JAVA APM Files
    3. Copied those files to my CentOS server
    4. Added the JAVA_OPTS to my tomcat configuration file
    5. Restarted Tomcat
    When I look for the log file which needs to be created through the installation of the APM agent it cannot be find. When I look into my Catalina.out file I see the following errors:
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    com.microsoft.ManagementServices.APMAgent.Exception.ApmException: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            ... 19 more
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.InstantiationException: Monitor initialization failed: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            ... 12 more
    Does anyone have seen this error before? Can someone help me with this one?
    Thnx,

    I'm running tomcat on a CentOS release 6.4 (Final) server. I installed Tomcat 6 through an RPM from the CentOS sources. I have installed Apache Tomcat/6.0.24 wit JVM version 1.7.0_09-icedtea-mockbuild_2013_01_16_18_52-b00, the JVM Vendor is Oracle Corporation.
    My tomcat configuration needs to be done in '/etc/tomcat6/tomcat6.conf'
    I installed the APM Agent in the path '/opt/apm/' with the rights  40755 (root/root). The files have the following rights:
    -rw-rw-r-- 1 root tomcat  32046 Mar  3 15:38 apm_facade.jar
    -rw-rw-r-- 1 root tomcat 244819 Mar  3 15:38 apm_monitor.jar
    -rw-rw-r-- 1 root tomcat  38110 Mar  3 15:38 apm_producers.jar
    -rw-rw-r-- 1 root tomcat 207006 Mar  3 15:38 asm-all-3.3.1.jar
    -rw-rw-r-- 1 root tomcat   4157 Mar  3 15:38 ASM_Third_Party_Notices.txt
    -rw-rw-r-- 1 root tomcat 241368 Mar  3 15:38 DispatcherStub.dll
    -rw-rw-r-- 1 root tomcat  36880 Mar  3 15:38 pmonitor.config.xml
    -rw-rw-r-- 1 root tomcat   2625 Mar  3 15:38 SEAgent.config.xml
    -rw-rw-r-- 1 root tomcat    830 Mar  5 15:19 Starter.properties
    The above rights are equal to the /etc/tomcat6 directory with the tomcat configuration files.
    In the tomcat6.conf I have added the following entries:
    #Microsoft SCOM APM
    JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=/opt/apm"
    JAVA_OPTS="${JAVA_OPTS} -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar"
    When I look into the running tomcat process I see the following:
    tomcat   17401     1  0 Mar05 ?        00:00:39 /usr/lib/jvm/jre/bin/java -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar
    -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
    -classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat6/temp
    -Djava.util.logging.config.file=/usr/share/tomcat6/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
    My Starter.Properties looks like this:
    # Jars to load by inner classloader.
    # Use semicolons to separate the JAR entries
    ClassPath=apm_monitor.jar;asm-all-3.3.1.jar;apm_producers.jar
    # Path to pmonitor.config
    MonitorConfigFileName=pmonitor.config.xml
    # Path to SEAgent.config
    AgentConfigFileName=SEAgent.config.xml
    # Log file name
    # Example for full-path location:
    #                  LogFileName=c:\\tracelog\\apm-java-agent.log
    # Example for relative path (to agent jar files):
    #                  LogFileName=apm-java-agent.log
    LogFileName=apm-java-agent.log
    # Log level (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST)
    # A level of FINER or FINEST may expose Personally identifiable
    # information (PII) in the log file.  The levels below INFO are
    # intended for debugging and diagnostic use only.
    LogLevel=FINEST
    The 'apm-java-agent.log' is not created on the system. The only logging is done in the catalina.out. When restarting tomcat I see the following entries in te log file:
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading succeeded (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger warning
    WARNING: Failed registering the COUNTER MBean
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Hope this gives your some more background around my problem, I double checked the permissions..

  • Error #2046: The loaded file did not have a valid signature in flex 4

    As part of our CI build, the ant script that builds the client side (flex 4) projects also runs a set of FlexUnit4 tests on the deployed project. Most of the tests work but a few fail with this error
    RSL
    http://local.foo.com/bar/com/blah/components/someComponent/framework_4.1.0.16076.swz failed to load.
    Error #2046: The loaded file did not have a valid signature.
    The build machine is running Ununtu 10.10 with Firefox 3.6 and Flashplayer 10.2. If I run  the exact same set of tasks, accessed from the same URL in windows everything passes with no problem. After some searching I did run across this thread: http://forums.adobe.com/message/2747415#2747415 but when I went looking for the libflashsupport.so file mentioned, the Ubuntu docs seemed to indicate that it was no longer needed.
    I'm at my wits end here. Is libflashsupport.so actually needed in Ubuntu 10.10 and if so where would I find it? If not does anyone know of another issue that could be responsible for this?

    hello,
    I have the same issue, Ubuntu 10.10, flashplayer 10.3rc1
    mxmlc SimplePrj.mxml -debug=true -benchmark=true --target-player=10 -output ../deploy/SimplePrj.swf
    mxlc verbose:
    Loading configuration file /home/.../flex-config.xml
    Initial setup: 79ms
    start loading swcs 9ms Running Total: 88ms
    Loaded 34 SWCs: 740ms
    precompile: 1062ms
    Required RSLs:
        http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz with 1 failover.
        http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz with 1 failover.
        http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/spark_4.5.0.20967.swz with 1 failover.
        http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/sparkskins_4.5.0.20967.swz with 1 failover.
        http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/mx_4.5.0.20967.swz with 1 failover.
    Files: 540 Time: 3380ms
    Linking... 27ms
    SWF Encoding... 18ms
    /.../SimplePrj/deploy/SimplePrj.swf (80059 bytes)
    postcompile: 45ms
    Total time: 4259ms
    Peak memory usage: 81 MB (Heap: 62, Non-Heap: 19)
    I had to copy the swz to deploy folder since failovers are not yet available.
    * accessing from windows machines it loads swz without complaints.
    Jaco

  • [SOLVED] pacman - package does not have a valid architecture

    Hello,
    When I was trying to update my system recently, I ran into this problem:
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
    multilib is up to date
    :: Starting full system upgrade...
    error: failed to prepare transaction (package architecture is not valid)
    :: package wine-1.7.17-1-i686 does not have a valid architecture
    I tried clearing pacman's cache to see if that was the problem, but it didn't do anything. I haven't upgraded the system in over a week before this, and I've installed packages in the mean time without issues. I know that it's not just a wine issue - I tried installing some random packages but ran into the same issue.
    The only thing I can think of that might have caused this would be archiso - I was trying to build a custom ISO but build.sh went wacky for some reason, and it seemed to be trying to install packages onto my system, not into the ISO.
    EDIT: This problem seems to only affect packages in community and extra. Packages from core and multilib don't run into this problem.
    SOLUTION: I think pacman's database files for community and extra got corrupted somehow. I just went into /var/lib/pacman, moved the sync folder to sync_old, then ran pacman -Sy, Everything seems to be good now.
    Last edited by DoctorSelar (2014-04-18 23:04:45)

    DoctorSelar wrote:... then ran pacman -Sy, Everything seems to be good now.
    Unless that's a typo or you immediately followed it by `pacman -Su` then everything is not good now.  Never run `pacman -Sy`.

Maybe you are looking for