Debug doesen't start

Hi experts....
I want to debug an abap function called from a java webdynpro.
I've set an external break-point for the user RFCUSER in the abap function.
the function work fine but the flow doesn't stop at the break-point.
anyone can help me??
Marco

Have you tried to remove the IP-Matching option for external debugging?
In the sap se38 menu go to Utilities -> Settings -> Abap Editor -> Debugging and remove the flag.

Similar Messages

  • [SOLVED] Arch boots only in terminal mode, KDE doesen't start

    Hi.
    I would like to ask for your help. I don't know what happened, by KDE doesen't want to start. Arch starts only in text mode - terminal mode. I normally booted my Arch system, saw that on KDE taskbar there aren't any of my added launchers. I though that something is wrong, so i accidentally put hibernation, while in fact, i wanted to do a reboot. After that, i presset reset button, and after reboot my Arch starts only in text mode, terminal mode.
    I've been looking for fix, i found that it is maybe related to .xinitrc. Solution over the net and wiki was to copy default from /etc/skel but on my Arch in /etc/skel there aren't any examples of .xinitrc, only 3 files named bash (if i recall it correctly, named bash_profile or something like it).
    Don't know how to fix it. Could you help me? It there is a need to post some logs, tell my which one.
    When i try to startx logged as a user i see: command not found. The same thing shows logged as a root. There is somethig also - as a root i cannot delete /var/db/sudo/firekage/tty1. When i try to start kde.services with systemctl enable kde.services or systemctl start kde.services i see that sudo cannot read from /var/db/sudo/firekage/tty1 or tty2 or tty3 (if i switch terminals).
    I really would like to save my Arch from formatting. Is there a fix? I'm not much experienced with it, tried to learn, read as much as i could but i cannot find answer for it. Don't know why KDE doesen't start at all.
    Last edited by firekage (2013-07-19 23:38:08)

    cfr wrote:
    firekage wrote:
    unable to open /var/db/sudo/firekage/tty1, system files are read-only
    and when i do mount command i see that / is ro.
    https://wiki.archlinux.org/index.php/Fs … _partition
    I would like to thank all of You.
    I fixed my Arch system because you gave me some directions, and i used them. I started to thinking that tere is something wrong when i saw that my / is mounted as ro. I though that because of this, my all files are closed/locked-up and i can't do anything with them. I had a plan to fix it using some of my knowleadge and your directions.
    I booted liveusb Arch system. I deleted my corrupted fstab, reinstalled grub, reconfigured mkinitcpio, generated fstab (deleting the old one, it found my / and added swap partirion), generated grub-mkconfig, rebooted and my / is rw, my KDE shows up, my KDM is woring and i didn't have to format Arch. I have everything that i installed.
    There is only one problem that shows: with sudo i can't run kate in terminal. I will try to found solution for it.
    Thank you.
    BTW - i have now, when updating grub, info that some lines are wrong. I have the same warning on all of my Linux systems (Arch, Ubuntu, Kubuntu, Slackware), and it all started after installation of vbox. I think that it is related to this because i didn't have errors while updating grub without virtualbox, i installed it yesterday and now i have errors - the same on all distros with virtualbox.
    Cheers!
    [You don't know how happy i'm - in fact...i went back home from my family (they wanted me to stay) because i wouldn't be able to stay at them knowing that i broke my system...i know, it is sick, but i'm this kind of person that must have everything working just like i want to, and without fixing it, i wouldn't be able to sleep]
    Last edited by firekage (2013-07-19 23:41:15)

  • Remote Debug mode while starting Weblogic server using my eclipse plugin

    Hi
    When am starting the Weblogic server via my eclipse it is opening in Remote Debug mode. Can anyone tell me how do I change the preferences/configure so that it doesnt run in debug mode.
    NOTE:I have deployed the application and ran number of times, till yesterday it wasn't starting in this mode, though I haven't changed any settings since then, it is starting in Remote Debug mode.
    Thanks,

    The above issue is resolved by adding this to setDomainEnv.sh :
    ALTERNATE_TYPES_DIRECTORY="${WLPORTAL_HOME}/portal/lib/security"
    export ALTERNATE_TYPES_DIRECTORY
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.alternateTypesDirectory=${ALTERNATE_TYPES_DIRECTORY}"
    # weblogic extension directories (system jars)
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    else
    WEBLOGIC_EXTENSION_DIRS="${WLPORTAL_HOME}/p13n/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    fi
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/light-portal/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/portal/lib/system${
    CLASSPATHSEP}${WLPORTAL_HOME}/info-mgmt/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/analytics/lib/system${CLASSPATHSEP}${WLPORTAL_HOME}/apps/lib/system${CLASSP
    ATHSEP}${WLPORTAL_HOME}/info-mgmt/deprecated/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    WEBLOGIC_EXTENSION_DIRS="${WEBLOGIC_EXTENSION_DIRS}${CLASSPATHSEP}${WLPORTAL_HOME}/content-mgmt/lib/system"
    export WEBLOGIC_EXTENSION_DIRS
    if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ext.dirs=${WEBLOGIC_EXTENSION_DIRS}"
    export JAVA_OPTIONS
    fi

  • PJC Debug - can't start applet

    Hi
    I have tried using the instructions here
    http://www.oracle.com/technology/products/forms/htdocs/howto_debug_pjc.html
    to use Jdeveloper to debug a pjc. I am using Jdev 10.1.3 and the instructions haven't been updated for forms 10.1.2. This is the html file I am running
    <HTML>
    <!-- FILE: debug_pjc.htm (Oracle Forms) -->
    <!-- -->
    <!-- This is a HTML file used for debugging Pluggable Java Components -->
    <!-- update the serverArgs parameter to include your test module -->
    <!-- name and any other required Forms arguments -->
    <!-- Amend references of 127.0.0.1:8888 to the correct server and -->
    <!-- Port number if you are using a remote server -->
    <HEAD><TITLE>Debug My PJC</TITLE></HEAD>
    <BODY>
    <APPLET CODEBASE="w4517:8890/forms/Java"
    CODE="oracle.forms.engine.Main"
    ARCHIVE="frmall.jar"
    WIDTH="1000"
    HEIGHT="700">
    <PARAM NAME="serverURL" VALUE="http://127.0.0.1:8890/forms/frmservlet">
    <PARAM NAME="serverArgs" VALUE="module=test userid=gpd/[email protected]">
    </APPLET>
    </BODY>
    </HTML>
    I select the html file in jdev and click the debug button on the toolbar. The applet seems to start but everytime I see the following error:
    FRM-92050: Failed to connect to the server http://127.0.0.1:8890/forms/frmservlet:-1
    If I paste the URL into my browser the form starts no problem.
    BTW does anyone know how to add a single file to a JDev project. I had to add the forms/java directory to my project to get the html file into my project - this has resulted in much file clutter in my project when all I wanted was one file!
    thanks
    paul

    Hi,
    the serverURL shouldn't point to the Forms Servlet but the FormsListenerServlet. The Forms servlet only compses th starting HTML file, which you already have. Point it to the Forms Listener Servlet (check teh default value in formsweb.cfg) and it should gets you going
    Frank

  • Debugging in FM started in background

    Dear Colleagues !
    I start an FM in background (it must be started there). I'd like to debug it. At the command for starting this FM I have a debugging point. Here I can set the property check box "TRFC (In background Task): Block Sending". Thereafter I go forward with F8. If I start afterwards the tx SM66, I don't see my FM in the list.
    What do I make wrong ? What is my error ? Can You give me any advice ?
    Thanks a lot and kind regards
    Peter

    Hi,
    If it is a custom function module.. Try to code a infinite looping before the code which u want to debug as below:
    DATA: int type i.
    WHILE int = 0.
    CLEAR int. (it doesn't make any sense.. but still just to have infinite looping.. write any code which doesn't change the value of int.
    ENDWHILE.
    Now execute the FM in bacground. Go to SM50.. You will see the your FM execution in the process overview.
    Process will list the processes being run in the current application server.
    Select your specific process & go to PROGRAM/SESSION ---> Program ---> Debugging
    This should open a debugging screen in another session which will point to the infinite looping line. Now change the value of INT in the debugging mode.. & proceed further to debug your subsequent main code..
    If its a standard function module, then Schedule a job & select the job & type "JDBG" in the command field. You should be able to get into the debugging mode..
    Plz let me know if you have questions..
    Thanks
    Geetha

  • How to debug java web start with jdk1.5?

    i want to debug a JWS app with eclipse, not java console, so I follow Unofficial Java Web Start/JNLP FAQ(http://lopica.sourceforge.net/faq.html) and still not worked.
    the attached session worked at first and broke soon, and I found some idea from Unofficial Web Start FAQ Update/Errata(http://lopica.sourceforge.net/update.html). I did the following:
    set JAVAWS_TRACE_NATIVE=1
    javaws http://localhost/test/test.jnlp
    copy command line from popup window.
    add "transport=dt_socket,server=y,address=7000" to command line:
    C:\progra~1\Java\jdk1.5.0_03\bin\javaw.exe -Xrunjdwp:transport=dt_socket,server=y,address=7000 -Xbootclasspath/a:C:\progra~1\Java\jre1.5.0_04\lib\javaws.jar;C:\progra~1\Java\jre1.5.0_04\lib\deploy.jar -classpath C:\progra~1\Java\jre1.5.0_04\lib\deploy.jar -Djnlpx.home=C:\progra~1\Java\jre1.5.0_04\bin -Djnlpx.splashport=4362 -Djnlpx.jvm="C:\progra~1\Java\jdk1.5.0_03\bin\javaw.exe" -Djnlpx.remove=false -Djava.security.policy=file:C:\progra~1\Java\jre1.5.0_04\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=NULL,NULL com.sun.javaws.Main http://localhost:8080/test/test.jnlp
    the debugger still gets detached. I don't know what's wrong.
    JWS has come out for many years, I still found so many undocumented skills, even netbeans5 doesn't support it. Sun want to give up java?

    Try checking out this other thread, particularly the reply from dietz333 (I happen to know he's a regular genius when it comes to JavaWS):
            http://forum.java.sun.com/thread.jspa?forumID=38&threadID=569693

  • How to debug when Web Start keeps closing

    Hi,
    I'm trying to deploy a simple hello world application. I've
    created and signed the jar. When I run the application via
    Web Start, I get as far as a window asking if I trust the
    person, and I click yes. Then Java Web Start immediately
    closes with no useful information.
    Is there a log file somewhere? Is there a debug mode in
    which I can get more information about the problem?
    Ken Z.

    using at least javaws 1.5.0, go to the control panel and select advanced tab, trace on. Then create file . home directory called .javawsrc and add lines:
    TraceBasic=true
    TraceSecurity=true
    TraceTemp=true
    then run again.
    you shoul get trace files in the log dir <deployment.user.home>/log.
    /Andy

  • Debugging jvm not starting

    Our desktop application has gone through some classpath changes which I think is causing the application not to start -  I suspect OS level conflicts. I say that because the same application runs fine in Linux but fails to start on Windows (XP/7). The application is started through a batch file so I have tried redirecting outputs (if any) to text files but nothing is written out. What I'm looking for is if there are any known tools which can be used to debug or profile the application startup (on Windows 7) which will point to the potential conflict/issue. We have some java profiling tools but they all profile up-and-running (i.e. live) applications so they are no good for this task. Appreciate any help. Thank you.

    Further update - I've since discovered the cause of the problem is the length of characters or the numbers of parameters we pass to the jvm and if I reduce the length by removing some jars, it works ok. I didn't know there was such a restriction even on Windows. Strange.

  • Acrobat X Pro suddenly doesen´t start

    Hi,
    I try it in English
    My System: Win 7
    I installed CS 6 Design and Web Premium on my computer.
    Additional the Adobe Reader was installed.
    An suddenly since a few days, Acrobat X Pro doesn´t start.
    Acrobat doesn´t start on every profile at the computer.
    Und in Deutsch:
    Ich habe auf dem Rechner CS 6 Design an Web Premium installiert. Zusätzlich noch den Adobe Reader.
    Seit einigen Tagen läuft der Acrobat X nicht mehr. Der Reader geht noch.
    Weiß jemand, woran das liegen kann?
    Maybe anybody knows the cause?

    Hi Deborah Knight,
    We regret for the inconvenience caused to you.
    I would request you to provide the same Details which i have mentioned in my above comment and please Use Acrobat Cleaner tool and reinstall Acrobat, that might resolve the issue.
    Moreover As far as upgrades are concerned, we recommend you to upgrade to the latest version however upgrades are OPTIONAL, and Adobe isn't trying to force you for upgrade. What you are facing is a Technical fault and we will try our best to help you with that.
    Please revert back for any further query or assistance.
    Regards,
    Rahul Tyagi

  • Debug Error on start up

    I need to know how I can get this program to work. I am trying to create a form from an existing Acrobat 7.0.8 Professional pdf. I'm using Windows XP Professional and LifeCycle Designer 7,0,041126,0.
    After selecting the preferred import options & return method & information, I get the following error dialogue box:
    Microsoft Visual C++ Debug Library
    Debug Error!
    Program: C:\Program Files\Adobe\Acrobat 7.0\Designer 7.0\FormDesigner.exe
    abnormal program termination
    (Press Retry to debug the application)
    Abort Retry Ignore
    If I select Retry, the program crashes. If I select Ignore, I get this error:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program Files\Adobe\Acrobat 7.0\Designer 7.0\FormDesigner.exe
    abnormal program termination
    and clicking O.K. crashes the program.
    Any suggestions on how I can get this program to work would be appreciated.

    Do you have any add-on installed? The error sounds like from add-on.
    Thanks,
    Gordon

  • What is "Start" and "Start Debugging" are needed in SSDT project?

    Hi,
    I can not get why do I SSDT has Start With/without Debugging button. I can understand why is it needed when I am debugging stored procedure or T-SQL code. However I can click on that for the project. It builds it, implements changes to the database, doing
    something else ... What is the difference with publishing?

    Hi Sidukas,
    Mostly it is used for smoke testing
    Starting With Debugging
    When you press F5 (Start Debugging) in Visual Studio it launches your application, attaches the Debugger, and let's you do all the "normal" things you would expect: 
    The Visual Studio debugger is a powerful tool that allows you to observe the run-time behavior of your program and locate logic errors. The debugger works with all Visual Studio programming languages and their associated libraries. With the debugger, you can
    break, or suspend, execution of your program to examine your code, evaluate and edit variables in your program, view registers, see the instructions created from your source code, and view the memory space used by your application. With Edit and Continue,
    you can make changes to your code while debugging, and then continue execution.
    The Visual Studio debugger provides a Debug menu for access to debugger tools. Debugger windows and dialog boxes display information about your program and enable you to enter additional information. You can obtain Help on any window or dialog box by pressing
    F1.
    Start Without Debugging
    This is exactly what it sounds like.  It starts the application WITHOUT THE DEBUGGER ATTACHED.  That's it!  Nothing else.  It just doesn't attach the Debugger.  Otherwise everything else is the same.  So, the practical implications
    of this are obvious:  Without the Debugger attached when the application runs it will not hit Breakpoints, emit Debug messages, etc.  So now let's deal with the biggest myth about Start Without Debugging.
     Myth:  Start Without Debugging Creates a Release Build
    Nope.  It uses the build you are currently on.  So if you are using a Debug build and you press CTRL + F5 then it will run that Debug build.  The easiest way to test this is to use conditional compilation to see if you are using a Debug build:
    Finally
    Okay, so the obvious question is "Why?".  I mean, why would they give us this option?  Well the most obvious answer is so we can run the application without having to hassle with disabling breakpoints, etc. to do a quick "Smoke Test"
    and see if it runs.  There may be other reasons you have for wanting to run without the Debugger attached as well.  So now you have a better idea of the difference between Start With and Start Without Debugging.  Go forth and debug away!
     

  • Can't Debug in Eclipse - PS starts but Extension doesn't load

    Windows 7 Pro
    I can create my extension in Eclipse and Export it.  Then use Extension Manager to install it and PS sees it......but if I right click on the Project in Eclipse and use 'Debug As', PS starts but the extension doesn't appear in it's list. 
    I've been through the changes at;
    Adobe Extension Builder and Creative Cloud 2014
    and carried out the PlayerDebugMode registry entry but my debugging still doesn't work.
    If anybody has any ideas I'd be very grateful.  My HTML5 and JS headache just doesn't need another problem.
    Thank you,
    Jen.

    Thanks for the reply. I was following along with the video "Building and debugging HTML5 Extensions for Adobe Creative Cloud products" - doing things exactly as in the video (except I choose PS instead of PP.  When I right click on my Project name in the Script Explorer in Eclipse and then select 'Debug As' and select PS - PS runs but my extension does not appear in the Windows - > Extensions list.
    As I said I have added the PlayerDebugMode registry entry but my extension still doesn't appear in the PS list of Extensions.
    Thanks for your thoughts Hallgrimur, appreciate it.
    Jen.

  • J2EE Server cannot start

    Please help. When I try to start the server, only the server0 process cannot be started and the other two dispatcher and SDM are running properly. The trace is attached here.
    trc file: "D:\usr\sap\J2E\JC01\work\dev_server0", trc level: 1, release: "640"
    node name   : ID14061050
    pid         : 1680
    system name : J2E
    system nr.  : 01
    started at  : Thu Apr 19 09:36:43 2007
    arguments   :
        arg[00] : D:\usr\sap\J2E\JC01/j2ee/os_libs/jlaunch.exe
        arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_erpdev02
        arg[02] : -DSAPINFO=J2E_01_server
        arg[03] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_erpdev02
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties]
    -> ms host    : erpdev02
    -> ms port    : 3602
    -> OS libs    : D:\usr\sap\J2E\JC01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : erpdev02
    -> ms port    : 3602
    -> os libs    : D:\usr\sap\J2E\JC01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID14061000 : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID14061050 : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID14061000           : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    -> [01] ID14061050           : D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
    [Thr 1588] Thu Apr 19 09:36:43 2007
    [Thr 1588] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 1588] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 2484] JLaunchRequestFunc: Thread 2484 started as listener thread for np messages.
    [Thr 5624] WaitSyncSemThread: Thread 5624 started as semaphore monitor thread.
    [Thr 1588] Thu Apr 19 09:36:44 2007
    [Thr 1588] INFO: Invalid property value [JLaunchParameters/]
    [Thr 1588] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_11
    JStartupIReadSection: read node properties [ID14061050]
    -> node name       : server0
    -> node type       : server
    -> java path       : C:\j2sdk1.4.2_11
    -> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djco.jarm=1 -Dsun.io.useCanonCaches=false -XX:NewSize=170m -XX:MaxNewSize=170m -XX:MaxPermSize=192m -Djava.awt.headless=true -XX:PermSize=192m -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:DisableExplicitGC -XX:PrintGCDetails -XX:PrintGCTimeStamps -XX:UseParNewGC -Drdbms.driverLocation=D:/oracle/dev/102/jdbc/lib/classes12.jar -Dsys.global.dir=D:/usr/sap/J2E/SYS/global/
    -> java vm version : 1.4.2_11-b06
    -> java vm vendor  : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type    : server
    -> java vm cpu     : x86
    -> heap size       : 512M
    -> init heap size  : 1024M
    -> root path       : D:\usr\sap\J2E\JC01\j2ee\cluster\server0
    -> class path      : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path    : D:\usr\sap\J2E\JC01\j2ee\os_libs
    -> main class      : com.sap.engine.boot.Start
    -> framework class : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class  : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path  : D:\usr\sap\J2E\JC01\j2ee\os_libs\jstartup.jar
    -> shutdown class  : com.sap.engine.boot.Start
    -> parameters      :
    -> debuggable      : no
    -> debug mode      : no
    -> debug port      : 50121
    -> shutdown timeout: 120000
    [Thr 1588] JLaunchISetDebugMode: set debug mode [no]
    [Thr 4768] JLaunchIStartFunc: Thread 4768 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 262144 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: -Denv.class.path=F:\javadev;F:\javadev\sapjco\sapjco.jar
    -> arg[  3]: -Djava.security.policy=./java.policy
    -> arg[  4]: -Djava.security.egd=file:/dev/urandom
    -> arg[  5]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[  6]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[  7]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[  8]: -Djco.jarm=1
    -> arg[  9]: -Dsun.io.useCanonCaches=false
    -> arg[ 10]: -XX:NewSize=170m
    -> arg[ 11]: -XX:MaxNewSize=170m
    -> arg[ 12]: -XX:MaxPermSize=192m
    -> arg[ 13]: -Djava.awt.headless=true
    -> arg[ 14]: -XX:PermSize=192m
    -> arg[ 15]: -XX:SurvivorRatio=2
    -> arg[ 16]: -XX:TargetSurvivorRatio=90
    -> arg[ 17]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 18]: -verbose:gc
    -> arg[ 19]: -XX:+DisableExplicitGC
    -> arg[ 20]: -XX:+PrintGCDetails
    -> arg[ 21]: -XX:+PrintGCTimeStamps
    -> arg[ 22]: -XX:+UseParNewGC
    -> arg[ 23]: -Drdbms.driverLocation=D:/oracle/dev/102/jdbc/lib/classes12.jar
    -> arg[ 24]: -Dsys.global.dir=D:/usr/sap/J2E/SYS/global/
    -> arg[ 25]: -Dsys.global.dir=D:\usr\sap\J2E\SYS\global
    -> arg[ 26]: -Dapplication.home=D:\usr\sap\J2E\JC01\j2ee\os_libs
    -> arg[ 27]: -Djava.class.path=D:\usr\sap\J2E\JC01\j2ee\os_libs\jstartup.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=C:\j2sdk1.4.2_11\jre\bin\server;C:\j2sdk1.4.2_11\jre\bin;C:\j2sdk1.4.2_11\bin;D:\usr\sap\J2E\JC01\j2ee\os_libs;D:\oracle\dev\instantclient;D:\oracle\DEV\102\bin;C:\j2sdk1.4.2_11\jre\bin;C:\j2sdk1.4.2_11\jre\bin\client;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA1\CA\SHARED1\SCANEN~1;f:\javadev\sapjco\;D:\usr\sap\J2E\JC01\exe;D:\usr\sap\J2E\SYS\exe\run
    -> arg[ 29]: -Dmemory.manager=512M
    -> arg[ 30]: -Xmx512M
    -> arg[ 31]: -Xms1024M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=1680
    -> arg[ 35]: -Djstartup.ownHardwareId=D0480584679
    -> arg[ 36]: -Djstartup.whoami=server
    -> arg[ 37]: -Djstartup.debuggable=no
    -> arg[ 38]: -DSAPINFO=J2E_01_server
    -> arg[ 39]: -DSAPSTARTUP=1
    -> arg[ 40]: -DSAPSYSTEM=01
    -> arg[ 41]: -DSAPSYSTEMNAME=J2E
    -> arg[ 42]: -DSAPMYNAME=erpdev02_J2E_01
    -> arg[ 43]: -DSAPDBHOST=
    -> arg[ 44]: -Dj2ee.dbhost=erpdev02
    [Thr 4768] JLaunchIAbortJava: abort hook is called
    [Thr 4768] JLaunchCloseProgram: good bye (exitcode=-2)
    Regards,
    Tony

    Hi,
    Increase your HeapSize to 1024.
    Also check these:
    J2E Server0 doesen't start - Exitcode -2 ??
    http://help.sap.com/saphelp_nw04/helpdata/en/7f/28074152aff323e10000000a155106/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • Unable to debug indesign cs5 plugin in windows

    Hi, again. Originaly posted here: http://forums.adobe.com/thread/766469?tstart=0
    We are having some problems with an indesign sc5 plugin, it works perfectly in macosx but in windows it causes indesign to crash. Anyway after some trouble shooting we tried running it in debug indesign. Problem is that the debug version of indesign wont even start, it fezzes in the splash screen on "Registering xxx plug-ins". It hangs before we can write anything in log files and thatching a debugger gives nothing. Closer inspections
    revealed that all the indesign treads is in "waiting" state. Waiting for what? Don't know. Killing one of the threads allows indesign to start but it will not have loaded the plugin and we are back on square one unable to debug.
    Anyway I installed the osx version of debug indesign and starting it gives an assert like: 
    No translation of key 'com.adobe.rc.operationalmessages' to British string. 
    BreakStrToDebugger
    ASSERT_FUNC
    Examining the stack of the indesign main thread in windows gives pretty much the same thing:
    0, ntkrnlpa.exe!KiDeliverApc+0xb3
    1, ntkrnlpa.exe!ZwYieldExecution+0x19ae
    2, ntkrnlpa.exe!NtWaitForSingleObject+0x9a
    3, ntkrnlpa.exe!KeReleaseInStackQueuedSpinLockFromDpcLevel+0xb14
    4, ntdll.dll!KiFastSystemCallRet
    5, kernel32.dll!WaitForSingleObject+0x12
    6, PMRuntime.dll!ClientShowAssert+0x8d
    7, PMRuntime.dll!BreakStrToDebugger+0x15
    8, PMRuntime.dll!ASSERT_FUNC+0x117
    9, NETAPI32.dll+0xbe86972
    (as reported by the ProcessHacker process viewer)
    So the win version is trying to show an assert window but fails, locking indesign in the splash screen? Stoping indesign before any plugin execution?
    As we cant get any debug information out we don really know what the problem is, making it rather hard to debug. We have triple checked the build and linking options. Studied the plugin exports. Inserted an ridiculous amount of trace statements in the code, doesn't work in the debug version but anyway.
    Have anyone had a problem like this or know what might cause it?
    What happens in the indesign startup process, what does the “Registering plug-ins” actually do? It's not executing any plugin functions and the the initialization of the plugins doesn't happen until later.

    You are correct in that none pf the plug-in code is executed during the "Registering ### plug-ins" phase. What is done here is simply loading the plugins by reading from their resource definitions. For example, if you try to load a CS4 plug-in in InDesign CS5 or if you try to load a release plug-in in debug version you will get errors and popups here and your plugin will not load and be available (these are just example errors and may not be relevant to your case). As far as I know InDesign should not crash just because there is a problem with your plugin, but there could be bugs.
    I would recommend:
    1. Remove your plugins and verify that InDesign debug starts properly without any 3rd party extensions.
    2. Compile one of the SDK sample plugins (debug target) and make sure that InDesign still starts properly.
    3. Create a new project using DollyXs, compile it and make sure it loads in InDesign.
    4. Remove the template files and add your own source files except the basic .fr file and make sure it still loads in InDesign.
    5. Keep changing things one at a time in your .fr file and verify it still loads until it looks exactly like your original .fr file.
    Good luck.
    Note: "No translation of key 'XXX' to British string." errors is in general quite harmless. It's only a problem with the string translation and should only affect string output in menus/dialogs etc. They should of course be fixed, but can generally be ignored for a while unless an infinite ASSERT loop prevents you from debugging.

  • Debugging Deserialization Errors Between AIR and BlazeDS on ColdFusion using ORM

    Now that I am using CF + ORM for most of my Flex and AIR projects, I've had a much more difficult time with the deserialization of objects from AS to CF. The errors thrown by BlazeDS are not helpful at all, and not indicative of the true issue. cfgatewayadapter.jar is a closed source, and make it even more difficult, because it is the culprit in these issues. These issues can sometimes take a full day or two to resolve because the only way I've seen to debug is to start removing code line by line until the thing works. Huge waste of time.
    The problem stems from the fact that during deserlization CF barfs when something doesnt match. Instead of throwing a useful error, it proclaims the CFC doesnt exist serverside. The developer then has to go through each componenty property-by-property to try to determine where the problem is.
    What we need is something more specific to what the actual problem is. I've not found an adequate way to debug this, and it's causing me to seriously considering changing the backend to Groovy + Granite so I can get the control I need. Really, Adobe just needs to open up the source on cfgatewayadapter or put some time into refining it so that it throws accurate errors.
    Examing the error below, one would think that the CFC does not exist. However, if you run the same examples from CFML and pass it an instance of StreamProvider it works fine.
    [BlazeDS]Error deserializing client message.
    coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface StreamProvider.
            at coldfusion.flash.messaging.io.ColdFusionPropertyProxy.createInvokable(ColdFusionPropertyP roxy.java:132)
            at coldfusion.flash.messaging.io.ColdFusionPropertyProxy.createInstance(ColdFusionPropertyPr oxy.java:93)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadScriptObject(CFAMF3Input.java:524)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.readScriptObject(CFAMF3Input.java:250)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadObjectValue(CFAMF3Input.java:138)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadObject(CFAMF3Input.java:88)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadJavaArray(CFAMF3Input.java:748)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadBodyAsJavaArray(CFAMF3Input.java:110)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.cfreadBodyAsJavaArray(CFAMF3Input.java:102)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.readScriptObjectInternal(CFAMF3Input.java:3 95)
            at coldfusion.flash.messaging.io.amf.CFAMF3Input.readScriptObject(CFAMF3Input.java:246)
            at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)
            at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)
            at flex.messaging.io.amf.Amf0Input.readObjectValue(Amf0Input.java:123)
            at flex.messaging.io.amf.Amf0Input.readArrayValue(Amf0Input.java:359)
            at flex.messaging.io.amf.Amf0Input.readObjectValue(Amf0Input.java:127)
            at flex.messaging.io.amf.Amf0Input.readObject(Amf0Input.java:94)
            at flex.messaging.io.amf.AmfMessageDeserializer.readObject(AmfMessageDeserializer.java:227)
            at flex.messaging.io.amf.AmfMessageDeserializer.readBody(AmfMessageDeserializer.java:206)
            at flex.messaging.io.amf.AmfMessageDeserializer.readMessage(AmfMessageDeserializer.java:126)
            at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:145)
            at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)
            at coldfusion.flash.messaging.CFAMFEndPoint.service(CFAMFEndPoint.java:295)
            at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)
            at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.jav a:114)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
            at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
            at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)
            at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
            at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
            at jrun.servlet.FilterChain.service(FilterChain.java:101)
            at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
            at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
            at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
            at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
            at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
            at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
            at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
            at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
            at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [BlazeDS]Deserializing AMF/HTTP request
    Version: 3
      (Message #0 targetURI=null, responseURI=/3)
        (Array #0)
          [0] = (Typed Object #0 'flex.messaging.messages.RemotingMessage')
            source = "com.mediaslurp.remoting.ProviderServiceProxy"
            operation = "savePendingProvider"
            timeToLive = 0
            body = (Array #1)
              [0] =
    [BlazeDS]Serializing AMF/HTTP response
    Version: 3
      (Message #0 targetURI=/3/onStatus, responseURI=)
        (Typed Object #0 'flex.messaging.messages.ErrorMessage')
          headers = (Object #1)
          rootCause = (Typed Object #2 'coldfusion.runtime.CfJspPage$NoSuchTemplateException')
            rootCause = null
            message = "Could not find the ColdFusion component or interface StreamProvider."
            localizedMessage = "Could not find the ColdFusion component or interface StreamProvider."
            detail = "Ensure that the name is correct and that the component or interface exists."
            cause = null
            missingFileName = "StreamProvider"
            type = "Application"
          body = null
          correlationId = null
          faultDetail = null
          faultString = "Error deserializing client message."
          clientId = null
          timeToLive = 0.0
          destination = null
          timestamp = 1.295530026739E12
          extendedData = null
          faultCode = "Client.Packet.Encoding"
          messageId = "6C6E6657-430C-12E6-8B58-E33F7A6D59DC"

    does MySQL work by itself? did you try connecting to your
    databases with
    phpMyAdmin or alike?
    also, make sure you do not have several
    mysql-connector-xxxxxx.***.bin
    (whatever their names are, you know, the jdbc driver files)
    of different
    versions - make sure there is only ONE, preferably the latest
    one,
    anywhere on your server. remove any other ones.
    if i remember correctly, the exception you get in the error
    is usually
    caused by incorrect/old mysql connector drivers...
    Azadi Saryev
    Sabai-dee.com
    Vientiane, Laos
    http://www.sabai-dee.com

Maybe you are looking for