Command prompt execution memory error

Hello, I have a problem, I have written a program which uses 2 very large vectors. I edit it in edit plus and then run it from there via the user tools I created and it works great. However when I go in the DOS prompt and execute it 'java DataMatch' it will run for a few seconds and then give me an out of memory exception. Why does it run fine from edit plus yet give me an error from dos mode. Thanks in advance.

Here is the portion of the code which slows down the program only within console mode though
int j = 0, index = 0, counter;//j = # of records and where to start search, index = where the occurance is, counter=#of loop iterations
     int racfidMatch = 0, mailCount = 0, records = 0;
     String checkElement;
     String readExchange = exchangeStep2Readin.readLine();
     readExchange = readExchange.toUpperCase().trim();
     while (true)
     {     counter = 10;
          //System.out.println(records);
          records++;
          if (readExchange.equalsIgnoreCase("STOP")){
               break;}
          //System.out.println(readExchange);
          if (ldapDataVector.contains(readExchange))//we have a name match
               //System.out.println("Matching name = " +readExchange);
               System.out.println("Name matches = " +j);
               //now check for racfid
               index = ldapDataVector.indexOf(readExchange,j); //find first occurence starting at j
               //System.out.println("index = " + index);
               //now check for racfid
               readExchange = exchangeStep2Readin.readLine(); //read in next line of exchange file racfid
               readExchange = readExchange.toUpperCase().trim();
               counter--; //number of iterations left in current record
               j++;
               checkElement = (String)ldapDataVector.get(index+1); //get racfid
               if(checkElement.equalsIgnoreCase(readExchange))
                    racfidMatch++;
                    //System.out.println("matching racfid ID = " +checkElement); 
                    //System.out.println("Racfid matches = "+ racfidMatch);
                    //System.out.println(readExchange);
               for (int i = 0; i<counter ;i++ )
                    readExchange = exchangeStep2Readin.readLine();
                    readExchange = readExchange.toUpperCase();
                    if (readExchange.equalsIgnoreCase("STOP")){
                    break;}
                    if (i == (counter-2)) //icounter - 2 is place where email stored
                    checkElement = (String)ldapDataVector.get(index+9);
                         if(checkElement.equalsIgnoreCase(readExchange))//now check for a matching email
                         {     mailCount++;
                              //System.out.println("matching mail address = " + checkElement);
                              //System.out.println("Mail Matches ="+ mailCount);
               continue;
          for (int i = 0; i<counter ;i++ )
               readExchange = exchangeStep2Readin.readLine();
               readExchange = readExchange.toUpperCase();
               if (readExchange.equalsIgnoreCase("STOP")){
               break;}
     }

Similar Messages

  • Not able to compile from command prompt

    Hi,
    I have a javafx class which calls java object. I'm able to compile project from NetBeans but not from command prompt.
    When i compile from command prompt compiler shows error saying it can not identify symbol (treats java class name as symbol).
    I have already compiled my java class, and is in same dir as my java fx class.
    Any reason for such beahviour?? and some solution plsss

    import java.lang.Math;
    import javafx.application.*;
    import javafx.input.*;
    import javafx.scene.*;
    import java.lang.System;
    import com.sun.javafx.runtime.sequence.*;
    import java.util.Iterator;
    import dekoh.photo.command.ImageService;
    public class ImageRotater extends CustomNode{
    public attribute image: Image;
    public attribute x: Number;
    public attribute y: Number;
    public attribute angle: Number;
    private attribute startX: Number = 0.0;
    private attribute startY: Number = 0.0;
    private attribute startA: Number = 0.0;
    private attribute moverOpacity: Number;
    private attribute rotatorOpacity: Number;
    private function toggle(mo:Boolean, ro:Boolean): Void {
    moverOpacity = if (mo) 0.5 else 0.0;
    rotatorOpacity = if (ro) 0.5 else 0.0;
    public function create(): Node {
    var cx = image.width / 2.0;
    var cy = image.height / 2.0;
    var mover = Circle {
    cursor: Cursor.CROSSHAIR,
    radius: 20,
    centerX: cx, centerY: cy,
    anchorX: bind x + cx,
    anchorY: bind y + cy,
    fill: bind Color.rgb(200, 200, 255, moverOpacity),
    onMouseMoved: function(e:MouseEvent):Void {
    toggle(true,false);
    onMouseExited: function(e:MouseEvent):Void {
    toggle(false,false);
    onMousePressed: function(e:MouseEvent):Void {               
    toggle(true,false);
    startX = e.getStageX();
    startY = e.getStageY();
    onMouseDragged: function(e:MouseEvent):Void {               
    toggle(true,false);
    x = x + e.getStageX() - startX;
    y = y + e.getStageY() - startY;
    startX = e.getStageX();
    startY = e.getStageY();
    var rotator = ShapeSubtract {
    cursor: Cursor.HAND,
    fill: bind Color.rgb(200, 200, 255, rotatorOpacity),
    onMouseExited: function(e:MouseEvent):Void {
    toggle(false,false);
    a: Circle {
    centerX: cx, centerY: cy, radius: mover.radius * 3.0,
    b: Circle {
    centerX: cx, centerY: cy, radius: mover.radius,
    var border = Rectangle{
    width: image.width, height: image.height
    arcWidth: 20, arcHeight: 20,
    return Group {
    anchorX: cx, anchorY: cy,
    rotate: bind angle,
    translateX: bind x,
    translateY: bind y,
    content: [ ImageView {
    clip: border,
    image: image, clipAntialiased: true,
    }, DelegateShape {
    shape: border,
    stroke: Color.rgb(200, 200, 200, 1.0), strokeWidth: 4,
    }, rotator, mover ]
    var contents:ImageRotater[] = [];
    var i = 0;
    var urls = ImageService.getUrlList(); // calling static method of java class
    var j=0;
    while(j<urls.size()){
    var img:Images = urls.get(j) as Images; // another java class.
    var imgRot = ImageRotater {      
    image: Image { url: img.getUrl() },
    x:img.getX(), y:img.getY(), angle:90
    insert imgRot into contents;
    j++;
    Frame {
    title: "JavaFX"
    width: 1080, height: 480
    visible: true
    closeAction: function() {
    java.lang.System.exit(0);
    stage: Stage {
    fill: null
    content: contents
    On Compiling from command prompt
    F:\dekohv6\butterfly\installer\samples\picApp\src\dekoh\photo\command>javafxc ImageRotater.fx
    ImageRotater.fx:17: cannot find symbol
    symbol : class ImageService
    location: package dekoh.photo.command
    import dekoh.photo.command.ImageService;
    ^
    ImageRotater.fx:115: cannot find symbol
    symbol : variable ImageService
    location: class dekoh.photo.command.ImageRotater
    var urls = ImageService.getUrlList();
    ^
    ImageRotater.fx:118: cannot find symbol
    symbol : variable Images
    location: class dekoh.photo.command.ImageRotater
    var img:Images = urls.get(j) as Images;
    ^
    ImageRotater.fx:118: cannot find symbol
    symbol : variable Images
    location: class dekoh.photo.command.ImageRotater
    var img:Images = urls.get(j) as Images;
    ^

  • Test Execution hangs while executing a test from Command prompt option

    I have done the following
    1) Created a script Test driver
    2) Added different scripts as Script->Properties->Assets to the driver script
    3) Call each of this asset script from TestDriver using command getScript("<<ScrptName>>".run(1, true, true, true);
    4) Now calling this TestDriver script from command prompt with command
    e:\\OracleATS\\agent
    runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriver
    TestDriver.jwg
    The script execution hangs at "Initializing VU 1 for Script TestDriver. After few mintues of seeing this message i get error "Execution Timed Out".
    Do I need to keep openscript UI open for script execution from command line ?
    Is there any way to increase this Execution Time out ? May be it is taking time to load the internal script assets. AS other scripts are running fine on the same machine from command prompt itself.
    Complete error is as follows
    C:\Documents and Settings\oracle>e:\\OracleATS\\agent\\runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriv
    er\\TestDriver.jwg
    Running "TestDriver" ...
    Agent started. Available commands:
    stop - Stop the virtual user after it finishes the current iteration.
    abort - Abort the virtual user cleanly, before it finishes the current itera
    tion.
    exit - Terminate the process immediately
    You may type the above commands at any time.
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
    12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
    12:17:53,465 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
    12:17:53,856 INFO [1] Initialized script service "oracle.oats.scripting.modules.datatable.api.DataTableService"
    12:17:53,856 INFO [1] Initializing VU 1 for script TestDriver
    Execution Timed Out.

    Hi e_raja_sekar,
    You wrote:
    public static void main(String args){should be
    public static void main(String args[]){Granted, the below code was tested on Windows XP using J2SE SDK 1.4.1_02 (and not 1.2.2 like Sridhar is using), but when I compiled and executed this code:
    public class BadMain {
      public static void main(String args) {
        System.out.println("Hello World");
    }The output I got was:
    Exception in thread "main" java.lang.NoSuchMethodError: mainSo I don't think this is Sridhar's problem (but I could be wrong) since he says that he gets no error message.
    Cheers,
    Avi.

  • Error 5: Access is Denied While using OSCDIMG to create Winpe x86 ISO with Deployment Tools Command Prompt

    Technician computer is Windows 7 HP x64.
    Running latest version of WAIK.
    Goal: To make a Winpe disc for each processor architecture (AMD64, x86, IA64) with an included Gimage.exe using this code for the default startnet.cmd file found in system32 directory of winpe boot.wim
    wpeinit
    if /i %PROCESSOR_ARCHITECTURE%==amd64 (
    cd x64
    start gimagex.exe
    if /i %PROCESSOR_ARCHITECTURE%==ia64 (
    cd x64
    start gimagex.exe
    if /i %PROCESSOR_ARCHITECTURE%==x86 (
    cd x86
    start gimagex.exe
    These are the commands I have processed for the x86 variant:
    copype x86 c:\pe\x86\
    Dism /mount-wim /wimfile:C:\pe\x86\winpe.wim /index:1 /mountdir:C:\mount
    **It is at this point I copy over my x86 folder, x64 folder, and overwrite the startnet.cmd file.
    dism /unmount-wim /mountdir:C:\mount /commit
    oscdimg -n bc:\pe\x86\etfsboot.com c:\pe\x86\iso c:\pe\x86.iso
    ^^It is at this command I receive this error:
    ERROR: Could not delete existing file "c:\pe\x86\iso"
    Error 5: Access is denied.
    Please note that all commands before were hand-typed, no copy or pasting from any directory or .chm
    One thread referred to some Application Management service, but I can report that there is no such service installed in my machine.
    Thank You!
    UPDATE:
    I copied the winpe.wim file from the x86 root directory into the iso directory and renamed it to boot.wim Now, if I copy the contents to a flash drive and put it into a client
    computer, it boots to the PE perfectly, script and all.
    However, when trying to use the oscdimg command, I do get an .iso successfully, but when I burn it, I don't know what to do in the way of boot options, and if I keep defaults (imgburn)
    it results in an un-bootable dvd. 
    Suggestions are greatly appreciated.

    Don't copy and paste instead type manually it will work.
    [email protected]
    OMG! Yes, you are correct ... but I have no idea why! I retyped the command line:
    oscdimg -n -be:\winpe_amd64\etfsboot.com e:\winpe_amd64\ISO e:\winpe_amd64\winpe_amd64.iso
    into Notepad, and then pasted it into the Command Prompt, and it worked!
    Perhaps there must be some hidden characters included when pasting directly, even though I first pasted the command line into Notepad, and then into Command Prompt
    (C:\Program Files\Windows AIK\Tools\PETools>).
    I had to retype the command line in Notepad before copying and pasting, before it would work.
    Wow, thanks!
    Cheers, Navy Flyer

  • Error when running a scenario from Command Prompt

    Hi I edited the parameter file and I am trying to run an interface that joins two tables from HR schema and loads into a table in different schema. I am able to run this in the Designer, but I receive an error message when I try to run it through command prompt.
    Here is the error message I get when I try to run it
    09/09/2009 11:58:42 AM(main): Creating session for scenario:DEMO_INTERFACE - 001
    09/09/2009 11:58:42 AM(main): Session : 88010 is running
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
    logical schema/context pair:HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
    t(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    09/09/2009 11:58:43 AM(main): Session : 88010 finished with return code : -1
    com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
    logical schema/context pair:HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
    t(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
    io.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    DwgJv.main: Exit. Return code:-1
    Thank you for your help.
    Kranthi

    Hello,
    Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
    It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
    What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
    Regards,
    Wallace Galvão
    São Paulo - Brazil

  • Error while running a ODI scenario from command prompt

    Hi,
    I'm trying to run a ODI scenario from command prompt. I've edited the tnsnames.ora and odiparam.bat file with exact host and port details. Even though I'm facing the below error.
    command:startcmd.bat OdiStartScen -SCEN_NAME=INT.CUSTOMER_STG -SCEN_VERSION=001 -CONTEXT=ICM -AGENT_CODE=KANBAN
    Error: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:orcl
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    Please help in resolving the error...
    Thanks in advance.
    Edited by: 894841 on Dec 22, 2011 11:15 PM

    Hi,
    Are you able to start the Standalone Agent(KANBAN) and test it in the Topology?
    Check the value of the ODI_MASTER_URL variable in odiparams file(at the path <ODI_HOME>\oracledi\agent\bin) of the agent.
    Specify the full the JDBC URL properly not like localhost(until the DB is on same machine as your ODI).

  • Error while Invoking SQLPLUS from Command Prompt

    Hi All,
    I am trying to Connect to Oracle through sqlplus from command prompt of windows and getting this Error:
    C:\Documents and Settings>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 28 10:08:43 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    set ORACLE_SID=database_name was set
    Anyone ever got this error or has any idea could you please help.
    Thanks.

    Try
    set LOCAL=<tns_name>
    Regards
    Kurt

  • Errors while Executing a scenario thruogh command prompt...Pls help!!

    hi,
    i am trying to execute a scenario in my command prompt.i am using windows operating system.
    i am getting the the following error when i run this command..
    startscen COM_IFLEX_LIMITS 001 GLOBAL "-V=2"OracleDI: Starting scenario COM_IFLEX_LIMITS 001 in context GLOBAL ...
    java.sql.SQLException: ORA-00942: table or view does not exist
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:185)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:503)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleState
    ment.java:965)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPre
    paredStatement.java:535)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1051)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
    dStatement.java:3026)
    at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    at com.sunopsis.dwg.cmd.e.h(e.java)
    at com.sunopsis.dwg.cmd.e.g(e.java)
    at com.sunopsis.dwg.cmd.e.y(e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
    at oracle.odi.Agent.main(Agent.java)
    DwgJv.main: Exit. Return code:-1
    Regards
    Ashwin

    So we can understand where the error occurs, can you tell us where the processings gets up to in the log?

  • Encountering a RunTime error when I try running from command prompt

    When I try to load my class from the command prompt I get the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: MiniTriangle
    Since this seems like a pretty basic error, I'm hoping there's a black and white solution to it. Unfortunatly I don't have the slightest idea what that might be.
    Any help would be appreciated, thanks in advance!!!

    I'm pretty new to this myself but have encountered this error before. I've found it happens when you try to run the programme and the class name isn't the same as the file name. So if you named the text file when you wrote the code MiniTriangle when you compile it you will get a file called MiniTriangle.class which is what you are trying to run. However if you inadvertently misspelled the class definition in the code and entered say
    class MiniTringle {
    you would get the error you are experiencing when you try to run MiniTriangle.class
    Hope this helps

  • Got an error while import script run in command prompt in R12

    hi '
    i am running the below script in command prompt in R12, but it will give an error
    that error name:
    'import' is not recognized as internal or external command,
    operable program or batch file.
    import C:\JDeveloper10g\jdevhome\jdev\myprojects\flsm\oracle\apps\po\per\webui\FlsmCreationPG.xml -rootdir C:\JDeveloper10g\jdevhome\jdev\myprojects -username XXFLS -password xxfls -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cph-oadb-tst22.dk.flsmidth.net)(PORT=1543))(CONNECT_DATA=(SID=TST22)))"
    could you please help me on this.
    Regards,
    Muthu

    Muthu,
    The import file directory is not in the path,
    So run the script with full path,
    <JDEV_DIR>\jdevbin\jdev\bin\import
    Eg.
    <JDEV_DIR>\jdevbin\jdev\bin\import <JDEV_DIR>\jdevbin\jdev\myclasses\xxt\oracle\apps\pon\registration\webui\XXTSupplierRegistrationPG.xml -username apps -password apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<DB_HOST_NAME>)(PORT=<DB_PORT>))(CONNECT_DATA=(SID=<DB_SID>)))" -rootDir <JDEV_DIR>\jdevbin\jdev\myclasses\ -rootPackage /
    For scripts check this URL,
    http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
    Thanks,
    With regards,
    Kali
    OSSI.

  • Error to execute the script through command prompt

    I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
    cscript D:\JS\Test.js
    Microsoft (R) Windows Script Host Version 5.6
    Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
    D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
    Thanks,
    Prabudass

    I haven't use CS for quite some time and file associations may not work with the command prompt.
    You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
    If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967

  • Error with "rmiregistry" in command prompt

    Hello everybody.
    I am experiencing something really strange. I am doing the exercices on http://java.sun.com/developer/onlineTraining/rmi/RMI.html#RMIArchitectureGoals and now am trying the second one.
    When I type in "rmiregistry" in command prompt at location "C:\" it's works fine. However, when I type it in "C:\JProg\RMI" (and for another program a subdirectory) where my classes reside, command goes all funny. It keeps printing the command-line without any results.
    I tried to use it anyway but then I get a "Connection refused to host: localhost" error, so it really doesn't work.
    I also tried the all the above ten times at least.... it is consistent.
    Does anybody have any idea what the hell command is on about ?
    Thanks,
    Q

    "rmiregistry" in command prompt is just registering
    into the registry. No output or response will be
    resulted. The next line cursor will be appeared. That
    all. If any error has, you should check the class
    again I mean related coding.I do not understand what the classes have to do with the rmiregistry command. When I create an empty directory it works, that is: it gives a blinking _ and I can succesfully start a server class. How can this problem (which occurs before calling any classes) have anything to do with the classfiles ? It is only in my RMI (and sub-) directory that the rmiregistry goes all wacky.

  • Aspnet_compiler: Command Prompt error

    Hello
    I am getting the following error when trying to compile my ASP.NET project from the Command Prompt:
    error 1001: Unexpected parameter: 'Studio'.
    The compiler on my hard drive is here:
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319, although I do have another folder here:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319
    There is an aspnet_compiler.exe in both of those 'framework' folders.
    Having located the compiler in command prompt on that path above, I now need to compile my files (aspx.aspx.vb, and Web.config) in accordance with the guidelines here:
    http://msdn.microsoft.com/en-us/library/ms229863.aspx
    I create a targetDir on my PC as follows: C:\myForm, and type in the location of my project in Command Prompt. This is a
    physical path so I use '-p' and I wish the file to be updateable so I use '-u'.
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_compiler C:\Users\Steve\Documents\Visual Studio 2013\WebSites\WebSite10 -p -u C:\myForm
    This 'Visual Studio 2013' looks suspicious because of the spaces but if I right-click on the folder containing the project itself and select properties, this is what the path looks like:
    C:\Users\Steve\Documents\Visual Studio 2013\WebSites
    What am I doing wrong, please?
    Thank you.

    Hi,
    I'm not familiar with Aspnet_compiler.exe tool. However, I think the path must be in double quotes if you use "-p".
    Like:
    Aspnet_compiler -v /WebApplication1 -p "c:\Documents and Settings\Default\My Documents\MyWebApplications\WebApplication1" -keyfile "c:\Documents and Settings\Default\My Documents\Key.sn" -aptca c:\applicationTarget
    What's more, it looks like you didn't post in a correct forum. You need to reopen a new thread in
    asp.net forum because we can't help move this issue there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • JDBC Driver error when working in command prompt.

    I have a swing program that connects to MySql Database. When run within the Netbeans IDE, there are no errors. But when I run through the command prompt, I get the User Interface screen but does not connect to the database. I have also added the "mysql-connector-java-5.1.6-bin.jar" file in the jdk folder.
    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?

    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?1. Fix your GUI so it reports the problem, rather than relying on command line output.
    2. Fix your class path which doesn't have the driver jar.
    3. There is a JDBC forum.

  • How do you fix error 0x80090318 without command prompt

    I am using command prompt and when i put in " netsh winsock reset" it saysthat elevation is needed and idont know my admins password. Is there another way i can do this? Please help!!!!!!!!!

    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

Maybe you are looking for

  • What can't I reconnect to my network?

    Prior 10.5.3 everything worked fine. I have made no changes to my systems whatsoever. When I upgraded to 10.5.3 my MBA will not automatically re-connect to my APE after sleep unless I did it manually or turned BT off. 10.5.4 did not fix it either. Ho

  • How do I fix out of order tracks from imported CD's?

    How do I fix out-of-order tracks from imported CD's?

  • Buy book not possible

    Can somebody help me out in this. I build a book in aperture. And now it is not possible to buy the book. I can click on PRINT but not on BUY BOOK. I never had this problem before. Is it becaus I choose custom instead of the prefab themes? I hope I g

  • How to dynamically dispaly Help Link

    Hi All,        I have a few dynamic requirement regarding the portal help link.         I wanted to display the help content dynamically. My scenario is like this. If I am in page Google in the portal content area when i click Help I should be able t

  • Unknown people harrassing me

    Hello, I have been receiving daily requests to add unknown people to my contact list. These people also send me messages through chat and it is very annoying to read these messages. For the past year I have been blocking these people and reporting it