Breakpoints not working with Command Line Project

I have created a “Command Line Utility” “C++ Tool” and I am unable to breakpoint into the code. I’m in the Debug environment and select “Debug Executable” but no luck. I created the sample tutorial which is a Coco Hello World example and was able to get breakpoints to work there. I downloaded and installed XCode yesterday. Been trying to get breakpoints to work every since with no luck. Thanks in advance.
Sean
MBP   Mac OS X (10.4.9)  

OK, the plot thickens a little. I was being too aggressive on my breakpoint. If I breakpoint at the first cout then I can breakpoint. The problem is if I break after the cin. Breakpoints after cin won’t execute and if I pause all context is lost – like the stack got corrupted.
<pre>
#include <iostream>
#define ENDFILE "CTRL-D or CTRL-Q then CTRL-D in XCODE"
int main (int argc, char * const argv[])
char next;
// insert code here...
std::cout << "Hello, World!\n";
const char NWLN = '\n';
int charCount;
int lineCount;
lineCount = 0;
std::cout << "Enter a line or press " << ENDFILE << ": ";
std::cin.get(next);
while (!std::cin.eof())
charCount = 0;
while (next != NWLN)
std::cout.put(next);
charCount++;
std::cin.get(next);
std::cout.put(NWLN);
lineCount++;
std::cout << "Number of characters in line " << lineCount
<< " is " << charCount << std::endl;
std::cout << "Enter a line or press " << ENDFILE << "; ";
std::cin.get(next);
std::cout << std::endl << std::endl << "Number of lines processed is "
<< lineCount << std::endl;
return 0;
</pre>
MBP   Mac OS X (10.4.9)  

Similar Messages

  • Latest DNG converter not working in command-line mode

    Today I downloaded Adobe's latest DNG converter. It is failing with both .NEF and .CR2 files when run in command-line mode. It does appear to work in GUI mode. The switches+arguments I've used for my tests are:
    -u -e -p1 filename.CR2
    (or filename.NEF)
    With an older (CS2) version of the converter, the above arguments produce a .DNG output file as expected (with .CR2 files; I didn't try it with D3 .NEF files; surely that older version doesn't support the D3's format).
    With the very latest version, running the program with the above command produces no output. There's no error message.
    The 'readme' file that comes with the converter doesn't include any information about command-line usage, but I did find a PDF file covering this (adobe.com/products/dng/pdfs/dng_commandline.pdf). The switches+arguments shown in the PDF file appear to be exactly the ones I used in the past.
    I'm sure I'll need to use the most recent version to convert D3 RAW files. Is there something wrong with how I'm specifying its command-line switches/arguments?

    It struck me silly that I've been running tests with v.3.3 when 5.2 is the latest, so I downloaded it. The setup "wizard"...hmm, why is it a "wizard"? It provides no choice of installation path. I didn't realize this because immediately after I'd launched it, I knocked something onto the floor, reached down to pick it up ... and looked back up just in time to see the "wizard" complete the installation...but where, I didn't know. It didn't display any information about where it had installed the app. Adventures In Discoverability. :) I hunted around on the hard drive until I found it (C:\Program Files\Adobe -- well, at least you can launch it if you think to look for it in the 'Start' menu). So ... that needs a bit of work. Anyway, I copied the app into a directory of my choice -- one that's in my system's %PATH%, replacing spaces in the name with underscores. It works fine in that directory -- no problem with the name-change as far as I can tell. Now back to the fun stuff...
    This version doesn't seem to require a fully qualified path to the input file or to the output directory when "-d" is used. That's an improvement. IOW, this worked:
    converter -p1 -d DNG filename
    where "converter" is the program's name, "DNG" is the name of a subdirectory of the directory where I'm running the test, and "filename" is the name of a RAW file in that directory.
    The program still doesn't know how to create a directory (or ask about creating one if it doesn't exist). Fails silently if "-d" is used and the specified directory doesn't exist. But at least this version returns an exit code of 1 due to the failure -- better than returning 0.
    Still doesn't understand wildcards. Hope done sprang eternal there for a moment, but oh well. Back to "for" loops...
    Still fails silently, returning exit code 0 (oops), if a nonsensical command-line is used (e.g., using "-c" as the only argument).
    Hey, how about a truly silly command-line error -- a command line including both "-c" and "-u". What happens? It "consumes" the first of the two mutually exclusive switches, ignoring the second -- you get a compressed DNG file. Swap the order of the switches, and you get an uncompressed file. (I'd vote for a syntax-error message in that case, m'self.)
    Interestingly strange little program...If I run it from the command line, it drops back to the command line immediately after I press ENTER. That makes it appear to have failed. But it hasn't -- it's running in the background, and a few seconds later the DNG file is created. But, if I run it from within a batch file, it does NOT return control to me until it has completed writing the output file. Wonder what's up with that.
    Fun stuff. :)

  • Executing Command within Pkg.procedure does not work-but command line does

    [Version 10.2.0.2
    [Scenario] Let's say my Username is Jack. My goal is to grant two roles to a user. From the command line, I have no problem.
    PROMPT-> Grant role1,role2 to TESTUSER
    However, when I create a package and procedure (owned by Jack); I receive an ORA-01919 error saying that role2 does not exist.
    There is no question the role exists and I am able to grant it to the TESTUSER on the command line as Jack.
    Any ideas what is going on?

    I can't post it as the database is on another system. However, I found my the fix. My Jack user had grant any role; therefore, I thought it should work both from command line and package.proc; however I granted role2 to Jack with admin privs and it works now both from the command line and the pkg.proc.
    Thanks for the response.

  • Powershell : Send-MailMessage -Body paramenters is not working with commands like (Get-ExchangeServer) etc

    I am trying to send email from Powershell .
    When i run this:
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Test email" -Body  "This is Test Email" -SmtpServer "mail01.xxx.xx"
    then i successfully receive email .
    But when i try to use other commands in -Body parameter then it gives error:
    For example:
     Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Test email"
    -Body (Get-ExchangeServer) -SmtpServer "mail01.xxx.xx"
    Send-MailMessage : Cannot convert 'System.Object[]' to the type 'System.String'
     required by parameter 'Body'. Specified method is not supported.
    At line:1 char:96At line:1 char:116
    + Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Test email" -Body (Get-ExchangeServer <<<< ) -SmtpServer "mail01.xxx.xx"
        + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    My requirement is to send email from powershell and send exchange related data in email.

    OK I got it .. The solution is to add Out-String
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "Test email"
    -Body (Get-ExchangeServer | Out-String) -SmtpServer "mail01.xxx.xx"

  • Ankh SVN does not work with Oracle DB Project in ODT 11.1.0.5.10 beta

    I was able to add the new Oracle Database Project to my Subversion repository using TortioseSVN, but unfortunately, the Ankh Source Control options do not appear within Visual Studio and none of the icon overlays appear within Visual Studio.
    Does anyone know any way to get this to work? Does anyone know if this would be an issue with Ankh or with the new Oracle Database Project?
    null

    Yes. Visual C# class projects work just fine with Ankh. It's only the new Oracle Database Project that doesn't have any Ankh menu options or Ankh icon overlays.
    Check out this screenshot of my Visual Studio Solution explorer:
    http://www.mixcollective.com/media/559/oracledbproject.jpg
    You'll see that none of the folders under "Oracle.New" (a new 11.1.0.5.10 beta Oracle Db Project) have the green/read/yellow Ankh icons that indicate the status of the file. Also, none of the repository commit, update, etc options are available when you right click on folders or files in the project.

  • Line-in not working with new driv

    Has anyone else had issues with the line-in jack not working with new drivers? Is there a way to get it to work??Very frustrated. Is there a link to the beta drivers, they worked better for me then the new one.

    The line input on the mini requires a 'line-level' signal, so the only microphones that work are ones that have an amplified output. Standard mics don't generate enough voltage to drive the mini's amplifiers.
    That's the reason the mics work with the Griffin device (it has an amplifier) but not the mini directly.

  • Line-in not working with microphone?

    Line-in not working with microphone.
    I have Mac Mini Intel 1.83 GHz with 10.4.8
    I have tried plugging 3 microphones into the line-input on the back, also on my wife's Mac Mini (same model, os), but I cannot get to record into the Mac.
    I've been into System Prefs and set input to Line In and slid the Input Volume to high, but nothing.
    I know the Microphones work because if I plug them into a Griffin USB/mini jack adaptor and do it that way by selecting iMic USB audio system from the Input in System Prefs all works fine.
    But I need to use the mic with the Line-In.
    Any ideas why this is not working?

    The line input on the mini requires a 'line-level' signal, so the only microphones that work are ones that have an amplified output. Standard mics don't generate enough voltage to drive the mini's amplifiers.
    That's the reason the mics work with the Griffin device (it has an amplifier) but not the mini directly.

  • Odi os command not working with agentservice agent.

    dear all,
    odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
    kindly solve it
    Regards
    Naseer

    Hi,
    you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
    Also, follow these couple of documents, they may be helpful to you.
    859215.1 and 424703.1
    Regards
    Srikanth

  • Keyboard commands not working with pen tablet attached to MacBook Pro

    HELP!! I can't use the clone tool in Photoshop! None of my keyboard commands are working, zoom in, zoom out...etc.
    I went through iCloud and reset Photoshop, InDesign and Illustrator keyboard, but my keyboard on my MacBook Pro
    is not working with adobe CC.
    Is it my Bamboo pen tablet attached causing this problem?
    Please advise.
    Thanks.

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Why windows command prompt is not working with java

    I installed java 1.6 to my computer (Laptop) and it is perfectly working with Netbeans and Eclipse
    but not working with windows xp xommand prompt
    It compiles the code but when it is going to run it throw the following exception
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Example (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)I've reinstalled java 1.6, but the output is same
    Please help me to get it correct
    Thank you

    E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracl
    e\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
    am Files\Microsoft SQL Server\90\Tools\binn\;C:\OrCAD\OrCAD_10.0\tools\pcb\bin;C
    :\OrCAD\OrCAD_10.0\tools\specctra\bin;C:\OrCAD\OrCAD_10.0\tools\bin;C:\OrCAD\OrC
    AD_10.0\tools\PSpice\Library;C:\OrCAD\OrCAD_10.0\tools\fet\bin;C:\OrCAD\OrCAD_10
    .0\tools\jre\bin;C:\OrCAD\OrCAD_10.0\tools\Capture;C:\Program Files\QuickTime\QT
    System\;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Microsoft Visual
    Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev9
    8\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Mic
    rosoft Visual Studio\VC98\bin;

  • Adobe Flash Player does not work with Safari. What can I do?

    Hi,
    I have a MacBook Pro, Retina, 15 inch, late 2013,  2 GHz Intel Core i7, using OS X 10.9.4. I have installed Adobe Flash Player. In my System Preference, in the advanced settings, it is set to install updates also tells me that I have the NPAPI Plug-in (version 14.0.0.145) installed but not the PPAPI Plug-in. Is this the reason why it does not work with Safari (keeps telling me to download the app, which I did but still does not work)? Is there any way I could fix the problem? Please, help.
    Thanks.

    If you can't install or update Flash, follow these instructions.
    If you have installed the latest version of Flash, please take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 8. Back up all data before making any changes.
    Step 1
    You might have to log out or restart the computer before a Flash update takes effect.
    Step 2
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Close the window. Then select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane.
    Step 3
    If you're only having trouble with YouTube videos, log in to YouTube and load this page. You may see a link with the text "Leave the HTML5 Trial." If so, click that link.
    Step 4
    a. If you get a warning of a "blocked" or "outdated" plug-in, then select the Security tab in the Safari preferences window. In the list of plugins on the left, there should be one—and only one—entry for "Adobe Flash Player," showing the same version number that you installed. Select that entry. On the right there will be a list of websites for which you have specifically allowed Flash, if any. It's normal for the list to be empty. Below that is a menu labeled
              When visiting other websites
    From that menu, select either Allow or Ask.
    b. If you still get the alerts, then go back to the Flash Player preference pane and select the Advanced tab. Click Check Now. Quit and relaunch the browser.
    c. If the alerts still persist, triple-click anywhere in the line below on this page to select it:
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
    Right-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it, there should be a file named "XProtect.meta.plist". If that file is missing and you know why it's missing, restore it from a backup or copy it from another Mac running the same version of OS X. Otherwise, reinstall OS X.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Step 5
    In the Safari preferences window, select the Advanced tab and uncheck the box marked
              Stop plug-ins to save power
    Step 6
    Open this folder as in Step 4:
    /Library/Internet Plug-Ins
    Delete the following item, or anything with a similar name, if present:
              Flash Player (failing).plugin 
    You may be prompted for your login password.
    Step 7
    Re-download and reinstall Flash. Download it from the domain "get.adobe.com". Don't click a link from any other website, including this one, because you can't trust links. They may be an attempt to trick you into installing malware masquerading as Flash. Type the address into the browser window. Never download a Flash update from anywhere else.
    Step 8
    If you get a "missing plug-in" error, select
              Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked  
              Allow (or Enable) plug-ins
    Then click the button marked
              Manage Website Settings...
    if present and make sure that the website is not blocked for Flash.
    Step 9
    Select
              Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.

  • Launch executable with command line arguments

    I have a programmer that I need to launch in my cvi code.  I tried the system command and lauchexecutable command but cannot get the programmer to lauch correctly.  If I run it from the command prompt or create a windows shortcut it works fine.  Here is the shortcut I created:
    C:\TPD\SAVS20P3\asix\up\up.exe /e c:\tpd\savs20p3\q33.hex/erase /q /p
    I'm trying to run the up.exe software with /e c:\tpd\v20_hex\v20.hex /erase /q /p as the command line paramters.
    I tried the following code which created the above path with command line
     strcpy(filename,"C:\\tpd\\savs20p3\\asix\\up\\up.exe /e c:\\tpd\\savs20p3\\hex_ee\\");   ///e c:\\tpd\\savs20p3\\hex_ee\\"");
      strcat(filename, hfile);//hex file name will change dynamically
      strcat(filename, "/q /p");
    I then tried LaunchExecutable(filename) and system(filename).  The system functions gives an error.  Its trying to lauch the /e c:\tpd\v20_hex\v20.hex file
    any suggestions.  I beieve its a simple syntax error.

    Well, apart evident typos in the code you posted, which is not creating the command line you stated, I can only think that before "/q" you should add a space to separate the option from the filename.
    This code should create the correct command line:
    strcpy (hfile, "c:\\tpd\\v20_hex\\v20.hex");
    strcpy (filename, "C:\\tpd\\savs20p3\\asix\\up\\up.exe /e ");
    strcat (filename, hfile);
    strcat (filename, " /erase /q /p");
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • VM Manager's Launch Console not working with OpenJDK and IcedTea

    Fedora 15
    java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc15.x86_64
    icedtea-web-1.0.4-1.fc15.x86_64
    ICEDTEA-WEB NOTES
    Invalid XML
    An error like
    netx: Unexpected net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1203)
    indicates that the JNLP file is not valid XML. The error happens because netx uses an XML parser to parse the JNLP file. Other JNLP client implementations may use more lenient parsers and may or may not work with the given JNLP file. Errors caused by malformed JNLP files can often lead to subtle bugs, so it is probably best to fix the JNLP file itself. A tool like xmlproc_parse might be able to pinpoint the error.
    XMLPROC_PARSE OUTPUT
    $ xmlproc_parse ovm_rasproxy-ws.jnlp
    xmlproc version 0.70
    Parsing 'ovm_rasproxy-ws.jnlp'
    E:ovm_rasproxy-ws.jnlp:3:89: Undeclared entity 'machineName'
    E:ovm_rasproxy-ws.jnlp:3:89: ';' expected
    Parse complete, 2 error(s) and 0 warning(s)
    JAVAWS OUTPUT
    $ javaws ovm_rasproxy-ws.jnlp
    netx: Unexpected net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1243)
    JAVAWS -VERBOSE OUTPUT
    $ javaws -verbose ovm_rasproxy-ws.jnlp
    No User level deployment.properties found.
    Starting security dialog thread
    JNLP file location: ovm_rasproxy-ws.jnlp
    Status: CONNECTED DOWNLOADED STARTED +(CONNECTED DOWNLOADED STARTED) @ ./ovm_rasproxy-ws.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    line: 2 <jnlp spec="1.0+" codebase="http://192.168.4.21:7001/ovm/rasproxy/"
    line: 3 href="ovm_rasproxy-ws.jnlp?vmachineId=0004fb0000060000046ffdb8a331ce21&machineName=mytestmachine">
    line: 4 <information>
    line: 5 <title>Oracle VM Remote Access Service</title>
    line: 6 <vendor>Oracle</vendor>
    line: 7 <homepage>http://support.oracle.com/</homepage>
    line: 8 </information>
    line: 9 <resources>
    line: 10
    line: 11 <j2se version="1.5+"
    line: 12 href="http://java.sun.com/products/autodl/j2se" />
    line: 13 <jar href="ovm_rasproxy-signed.jar" main="true" />
    line: 14 <jar href="OvmCoreApi.jar" />
    line: 15 <jar href="MgmtUtil.jar" />
    line: 16 <jar href="Odof.jar" />
    line: 17 <jar href="commons-logging-1.1.1.jar" />
    line: 18 </resources>
    line: 19
    line: 20
    line: 21 <application-desc main-class="com.oracle.ovm.ras.proxy.RasProxyApplet">
    line: 22 <argument>-server</argument>
    line: 23 <argument>192.168.4.21</argument>
    line: 24 <argument>-service</argument>
    line: 25 <argument>003600010004fb0000060000046ffdb8a331ce21</argument>
    line: 26
    line: 27 </application-desc>
    line: 28 <security>
    line: 29      <all-permissions/>
    line: 30 </security>
    line: 31 <update check="background"/>
    line: 32 </jnlp>               net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
         at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1243)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:177)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
         at net.sourceforge.jnlp.runtime.Boot.getFile(Boot.java:267)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:196)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:56)
         at java.security.AccessController.doPrivileged(Native Method)
         at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:173)
    Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of a jnlp element at line 32: Unexpected end of data reached
         at net.sourceforge.nanoxml.XMLElement.unexpectedEndOfData(XMLElement.java:1094)
         at net.sourceforge.nanoxml.XMLElement.readChar(XMLElement.java:877)
         at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1013)
         at net.sourceforge.nanoxml.XMLElement.scanString(XMLElement.java:658)
         at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:915)
         at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:512)
         at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
         at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1239)
         ... 8 more
    Caused by:
    net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of a jnlp element at line 32: Unexpected end of data reached
         at net.sourceforge.nanoxml.XMLElement.unexpectedEndOfData(XMLElement.java:1094)
         at net.sourceforge.nanoxml.XMLElement.readChar(XMLElement.java:877)
         at net.sourceforge.nanoxml.XMLElement.resolveEntity(XMLElement.java:1013)
         at net.sourceforge.nanoxml.XMLElement.scanString(XMLElement.java:658)
         at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:915)
         at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:512)
         at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464)
         at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1239)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:177)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
         at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
         at net.sourceforge.jnlp.runtime.Boot.getFile(Boot.java:267)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:196)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:56)
         at java.security.AccessController.doPrivileged(Native Method)
         at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:173)
    netx: Unexpected net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1243)

    Both realvnc 4.1.3 and tigervnc 1.1.0.1 work on the Linux side.
    I was able to get the console to work by wiping the contents of the directory I created at the beginning of this exercise and then copying in a fresh OVM 3.0.2 created ovm_rasproxy-ws.jnlp file.
    [gordon@ufo Downloads]$ rm /home/gordon/.icedtea/cache/http/192.168.4.16/ovm/rasproxy/*
    [gordon@ufo Downloads]$ javaws ovm_rasproxy-ws.jnlp
    java.io.EOFException
         at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
         at java.io.DataInputStream.readUTF(DataInputStream.java:589)
         at java.io.DataInputStream.readUTF(DataInputStream.java:564)
         at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:744)
         at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
         at java.security.KeyStore.load(KeyStore.java:1201)
         at net.sourceforge.jnlp.security.KeyStores.createKeyStoreFromFile(KeyStores.java:358)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:124)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:103)
         at net.sourceforge.jnlp.security.KeyStores.getCertKeyStores(KeyStores.java:157)
         at net.sourceforge.jnlp.security.VariableX509TrustManager.<init>(VariableX509TrustManager.java:91)
         at net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:395)
         at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:210)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:182)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:56)
         at java.security.AccessController.doPrivileged(Native Method)
         at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:173)
    netx: Unexpected java.io.IOException: /home/gordon/.icedtea/cache/http/192.168.4.16/ovm/rasproxy/ovm_rasproxy-ws.jnlp (No such file or directory) at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:255)
    [gordon@ufo Downloads]$ cp ovm_rasproxy-ws.jnlp /home/gordon/.icedtea/cache/http/192.168.4.16/ovm/rasproxy/
    [gordon@ufo Downloads]$ javaws ovm_rasproxy-ws.jnlp
    java.io.EOFException
         at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
         at java.io.DataInputStream.readUTF(DataInputStream.java:589)
         at java.io.DataInputStream.readUTF(DataInputStream.java:564)
         at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:744)
         at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
         at java.security.KeyStore.load(KeyStore.java:1201)
         at net.sourceforge.jnlp.security.KeyStores.createKeyStoreFromFile(KeyStores.java:358)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:124)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:103)
         at net.sourceforge.jnlp.security.KeyStores.getCertKeyStores(KeyStores.java:157)
         at net.sourceforge.jnlp.security.VariableX509TrustManager.<init>(VariableX509TrustManager.java:91)
         at net.sourceforge.jnlp.security.VariableX509TrustManager.getInstance(VariableX509TrustManager.java:395)
         at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:210)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:182)
         at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:56)
         at java.security.AccessController.doPrivileged(Native Method)
         at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:173)
    java.io.EOFException
         at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
         at java.io.DataInputStream.readUTF(DataInputStream.java:589)
         at java.io.DataInputStream.readUTF(DataInputStream.java:564)
         at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:744)
         at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
         at java.security.KeyStore.load(KeyStore.java:1201)
         at net.sourceforge.jnlp.security.KeyStores.createKeyStoreFromFile(KeyStores.java:358)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:124)
         at net.sourceforge.jnlp.security.KeyStores.getKeyStore(KeyStores.java:103)
         at net.sourceforge.jnlp.security.KeyStores.getCertKeyStores(KeyStores.java:157)
         at net.sourceforge.jnlp.tools.JarSigner.checkTrustedCerts(JarSigner.java:414)
         at net.sourceforge.jnlp.tools.JarSigner.verifyJars(JarSigner.java:269)
         at net.sourceforge.jnlp.runtime.JNLPClassLoader.verifyJars(JNLPClassLoader.java:946)
         at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:422)
         at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:169)
         at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:283)
         at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:650)
         at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:436)
         at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:830)
    Oct 4, 2011 4:13:41 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.4.16
    Oct 4, 2011 4:13:41 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000281734f86e6aab47
    Oct 4, 2011 4:13:42 PM com.oracle.ovm.ras.proxy.external.VncViewerLauncherFactory getVncViewerLauncher
    INFO: Os is : linux
    Oct 4, 2011 4:13:53 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    The console starts and all is well with the world.
    This is obviously not how one would want to start a console by downloading the .jnlp file and running it on the command line so I am now going to remove the /home/gordon/.icedtea/cache/http/* and see what happens.
    First, let me say that nothing happened. It did not work. I did confirm that it creates the directory structure again /home/gordon/.icedtea/cache/http/192.168.4.16/ovm/rasproxy/ but there is only one file in the directory.
    [gordon@ufo rasproxy]$ cat ovm_rasproxy-ws.jnlp.info
    #automatically generated - do not edit
    #Tue Oct 04 16:43:29 EDT 2011
    last-modified=0
    last-updated=1317761009801
    content-length=883
    If I save that ovm_rasproxy-ws.jnlp file instead of opening it and copy it to the /home/gordon/.icedtea/cache/http/192.168.4.16/ovm/rasproxy/ directory the console will now start successfully with one minor drawback - it will only launch that one VM based on the .jnlp file that I downloaded.
    Help?

  • The expand on Youtube is not working with many Youtube sites and they work on Internet Explorer

    On many of the sites on Youtube the expand does not work with Mozilla Firefox 4. I have gone to Internet Explorer and they work there. When I come back from Internet Explorer strange enough the expand on Firefox works. Obviously its picking up programming from Internet Explorer, unfortunately it does not last long. I've tried plug ins, reloading flash player after I deleted it and re-installed it, the problem still exist. Also on the expand screens that do work on the right side there is a very thin white line coming down the border. I'm not the only one with this problem. please help with this problem.

    Indeed, this is a bug in HTTPS-everywhere which you can see here : https://trac.torproject.org/projects/tor/ticket/4032

  • External USB HD does not work with HAL:

    External USB HD does not work with HAL:
    From the last 10 days the HAL auto-mount with ntfs-3g file system of my external hard drive  does not woks.
    But the manual mount procedure with the command mount -t ntfs-3g /dev/sdb* /mnt/XYZ works.
    I've followed the instructions in the wiki: http://wiki.archlinux.org/index.php/HAL and the system has worked up to the last kernel or HAL update.
    My fat32 usb-stick works without any problem.
    If I try to open the device with KDE it appears an error popup wit this message:
    TODO: have to rethink extra options
    Error: kio_media_mount_helper
    The log from the kernel.log is
    Nov 6 22:03:16 myhost usb 5-1: new high speed USB device using ehci_hcd and address 4
    Nov 6 22:03:16 myhost usb 5-1: configuration #1 chosen from 1 choice
    Nov 6 22:03:17 myhost Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    Nov 6 22:03:17 myhost ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    Nov 6 22:03:17 myhost Initializing USB Mass Storage driver...
    Nov 6 22:03:17 myhost scsi6 : SCSI emulation for USB Mass Storage devices
    Nov 6 22:03:17 myhost usb-storage: device found at 4
    Nov 6 22:03:17 myhost usb-storage: waiting for device to settle before scanning
    Nov 6 22:03:17 myhost usbcore: registered new interface driver usb-storage
    Nov 6 22:03:17 myhost USB Mass Storage support registered.
    Nov 6 22:03:22 myhost scsi 6:0:0:0: Direct-Access WDC WD32 00JB-00KFA0 0811 PQ: 0 ANSI: 0
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sdb: sdb1
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Attached SCSI disk
    Nov 6 22:03:22 myhost sd 6:0:0:0: Attached scsi generic sg2 type 0
    Nov 6 22:03:22 myhost usb-storage: device scan complete
    and the error.log is
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Do you have some idea ....
    Bye.

    I have done the following:
    Downloaded the patched hal version.
    used makepkg in /abs/local/trunk/ to create a pkg for pacman
    used sudo pacman -U pkgname to install it.
    used sudo nano /etc/hal/fdi/policy/preferences.fdi to create the fdi file with the following content:
    saved the file and removed my ntfs entryes from fstab and rebooted. and still there is no automount off ntfs partitions.
    have i done something wrong?
    br fjodork
    WARNING: what follows is a guide of what did work for me, I'm still in an early stage of learning linux, so please correct me if anything of what follows is wrong/dangerous/stupid. As I said, this worked for me, it's not pretty, since I was learning each step on the fly and I'm sure there are better ways to do this.
    So fjodork, you seem to have done the the necessary steps, though i couldn't get it to work until i first removed hal without dependencies
    pacman -Rd hal
    it will give you some warning about the dependencies, ignore  it since we are reinstalling hal in a few steps.
    First i tried to follow Raymano's link, obviously it showed me nothing in the browser so I thought it might be a broken link.
    So I downloaded the source tarball from here http://hal.freedesktop.org/releases/hal-0.5.10.tar.gz
    unpacked it changed the /tools/hal-storage-mount.c as per Milfadoodle's instructions.
    at first I tried to compile directly from source, the process would finish without a glitch though after reboot nothing changed, as if hal weren't
    installed, i guess there were issues with paths. anyway read on
    Then repacked the source in tarball, copied it to /var/abs/extra/system/hal and modified the PKGBUILD as follows
    makedepends=('pkgconfig' 'gperf')
    options=('!libtool')
    install=hal.install
    source=(${pkgname}-${pkgver}.tar.gz #removed url so makepkg looks in the current directory for the tarball
        hal
        hal-policy.patch
        cryptsetup_location.patch
        hal-0.5.9-hide-diagnostic.patch
        ntfs3g-valid-options.patch)
    md5sums=('6641c30a27c00485c6accac5110ff911' # replace with md5sum of your package's sourceball (run md5sum filename)
             '882f67668cb14a0a9e4a27ef22278027'
             '5ba8b610aa9763a5f42b9f7cbd7a86ad'
    then makepkg (i had to add --asroot, don't ask why
    and finally pacman -U hal-0.5.10-1-i686.pkg
    another reboot and everything worked without a glitch!:D (yeah i know i still haven't got rid of the reboot mentality )
    I have also put the policy files as per the wiki instructions.
    PS: I know this is a dirty way to getting things done but as i said, I'm just starting
    If anyone could comment/correct/explain this post I'd be more than happy, the automount issue was bothering me for about a month now (you'll say why do I need ntfs in the first place? well, I only recently switched for Linux as my primary OS, these are some relics of the M$ era

Maybe you are looking for

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All, I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance. ========================================================== Uploading file JavaWebServic

  • Control more cursors in XY graph

    Im currently working on somthing that requires me to control the locations of many/unknown number of cursors on an xy graph. I can control up to 9 so far (0-8), but in the block diagram when I unbundle the CrsList Property of the XY graph, I can only

  • Director 12 on mac os 10.7.5 spinning beachball every time i switch apps

    I have 16GB ram, and once director is launched - even with no movie open if i switch to the finder, or even a screen saver starts, when i go back to director i get the spinning beachball for 30-45 seconds, even on a fresh boot with no other apps runn

  • First boot - filesystem check failed.

    I just installed Arch on a clean drive. Newly partitioned with /, /home, and swap partitions. After installation and a reboot, GRUB loads. Then after a while loading the OS, it says filesystem check failed. /dev/hda1: The superblock could not be read

  • Forgive the newbie question; Tiger vs Leopard

    So, am I correct after my research...the current OS is OSX Tiger. This will be replaced by OSX Leopard in October. As my wife and I are about to each get a nice 20" iMac, (thanks for the refresh this week, nice timing for us).. do we wait til October