Enable debug for jsp.

Hi,
I have downloaded OEPE for Eclipse Galileo and I am able to keep break points in the jsp. when ever it comes to that line it says attach source which i don't have as it is looking for a .class file. Or if I have made changes to an existing jsp after the server is started, it says jsp is out of sync. :( every time i make changes to a jsp I have to restart the server which takes 30 minutes. I want to do hot code replacement like how its done for java for jsps and xmls. We are using struts and weblogic 9.2 MP3.Please help.
Regards,
Acharya

Hi Raj,
Thanks for ur response. I am able to keep break points etc in my jsp but i am not able to watch or inspect any java variable. I have also tried the keep generated and attached the generated code under admin server, tried attaching the web content alone in the add source, no use .. can you tell me what cold be the issue? atleast i am prepared to copy paste my jsp anywhere so that the change is reflected. every time i make changes I need to take a build deploy it which is very irritating.
Another major major issue I face is if i land in a java file which i havent landed before or made changes, I need to give a space and save or else it is not staying n the break points which is given. this makes this plugin all the more annoying. The Galileo which i downloaded is the one released from eclise and not any of the previous versions.
I am thinkin of movin out of oepe. before I was using com.bea.weblogic.eclipse_1.1.1 a plugin i fond some where and thats better. only issue i face is out of sync wfor which i need to restart the server.
am I missing something? I downloaded the eclipse 5.0, i downloaded oepe-previewgalileo-11.1.1.1.1.200904131351 as it is from the server provider itself I installed oepe-previewgalileo-11.1.1.1.1.200904131351 successfully and i have so many issues?
Please advice & help....
Regards,
Acharya

Similar Messages

  • [SOLVED] Enabling debug for ath9k in compat-drivers-patched from AUR

    Wireless card: TP-LINK TL-WN951N. lspci says that it is an Atheros AR5416 adapter [AR5008].
    Some background: I'm having the same issues as the OP in this thread, which references this bug report. The problem is that I get a 2000 ms ping every 30 seconds. So 2 seconds of inactivity every 30 seconds. I have the same wireless PCI card, as well. I need to fix this, because it's making online gaming impossible. I should also note that the card is working just fine in Windows 8, however. I am using net-auto-wireless. I have tried using wicd, enabling ath9k's nohwcrypt option, toggling the card's power save, installing the latest compat-drivers-patched from the AUR, toggling different settings in my motherboard's BIOS, and removing the antennae from the card. But nothing has made a significant difference.
    I think I'm really close now. I just have to disable ANI. But in order to do that, it seems that I need to enable debugging for ath9k. But this means that I need to either recompile a custom kernel, or somehow enable debug for ath9k in compat-drivers-patched from the AUR. I'd prefer the latter, as that means that I will have a more bleeding-edge driver. That, and I won't have to touch the kernel as much. What I want is described on this page. But it seems too complicated to me. Please let me explain.
    I've installed things from the AUR before, as mentioned above, and have properly configured my makepkg.conf for my system. So I'd like to use the CFLAGS and such that I've set. I don't understand how everything works in the PKGBUILD; I don't have much experience with sed and awk and regular expressions, and haven't done much shell scripting at all. It seems that at some point in the PKGBUILD, I need to enable debugging for ath9k before it is compiled. Apparently on the last page I linked to, I need to add:
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    to some config.mk file. I can only get access to the config.mk file after I install the package with pacman. I've tried adding those lines to my /etc/profile file, and checked, after a reboot, with "set", that those variables are indeed set. But the thing is, with these variables set in /etc/profile, when I run makepkg, makepkg fails with an error 2. I tried again and got the same error. I removed those lines from my /etc/profile, rebooted, tried makepkg again, and everything worked. So putting those lines in my /etc/profile is not the solution, and I feel like I'm doing something very stupid. What am I doing wrong?
    I should also note that I've tried to read the wiki page on compiling a custom kernel using ABS, but it seems to just say "get your custom configuration files" and then just continue (so it assumes that I should already be familiar with the configuration part). The PKGBUILD and Creating Packages wiki pages also seem to be a little... too advanced for me at this point in time.
    So how do I enable debugging for ath9k in compat-drivers-patched from the AUR? I'd prefer to stick with only editing the PKGBUILD and using makepkg, if possible.
    I've really tried to search the web and the arch forums on how to fix this problem myself, but alas, it seems that I need help this time. I greatly appreciate your time for reading my long post.
    UPDATE:
    I've made a lot of progress. I ended up removing the AUR package with pacman by invoking "pacman -Rsn compat-drivers-patched".
    Instructions for [almost] success: First, download compat-drivers-patched from AUR. Then move it to the "builds" directory (or "local", if using ABS). Extract the tarball. After the new directory is created, cd into it. Now here's the important part: run
    $ makepkg -so
    Then cd into src, cd into the directory inside src, then edit the config.mk file. Make sure these lines are uncommented (or created, if not already there):
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    (source)
    Now run "cd ../.." to go back up two directories. Now run:
    $ makepkg -e
    # pacman -U <file that was produced>
    And I ran "mkinitcpio -p linux" just in case, but I'm not sure if that is necessary at all. I'm... not touching the kernel, right?
    Now I ran:
    echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
    But bash would say that the file or directory doesn't exist. Even if I prepend it with "sudo", I get the same results. I was only able to get the command to work if I logged in as root. I even put the line in my /etc/profile. The 2000 ms ping every 30 seconds is now GONE. HOWEVER! If I reboot and log in as a normal user, the problem is there again. If I reboot and log in as root, the problem is gone. If I then log out and then log back in as a normal user, the problem does not come back.
    So really, I can avoid the problem if I first log in as root, log out, and then log back in as a normal user. But this is a great inconvenience. I would much prefer if I could just log in as a normal user right after boot, and have everything working.
    Now, how do I get the command to automatically run at boot as root (without me having to log in as root), and work?
    UPDATE 2:
    I got it working. Putting the line in /etc/profile is not the solution. I created a custom systemd .service file.
    Put this into /etc/systemd/service (name it "disable_ani.service"):
    EDIT: Wow. I made a glaring typo here. It should be /etc/systemd/system/disable_ani.service
    [Unit]
    Description=disable_ani
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c "echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani"
    [Install]
    WantedBy=multi-user.target
    Then make sure to "sudo chmod 755 /etc/systemd/service/disable_ani.service", since root owns this file.
    Then run "sudo systemctl enable disable_ani.service".
    EDIT: It has been brought to my attention that there is a much simpler way than creating a custom service.
    Using a tmpfile:
    /etc/tmpfiles.d/disable_ani.conf
    w /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani - - - - 1
    Done.
    Now ANI is persistently disabled between boots, even if I log in as a normal user right after boot.
    Thanks for reading.
    Last edited by vyu223 (2013-03-12 10:20:19)

    So zsh is telling you that the command didn't work, since it claims that there is no such file or directory. I had a lot of trouble with getting the echo command to work, as well. I found that if out of these lines:
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    If the first and second line above were not uncommented in the config.mk file, I couldn't leave the last line above uncommented as well, or else makepkg would fail and give me an error. So originally I had only the 3rd and 4th lines above uncommented/inserted in my config.mk. With that configuration, I could not get the echo command to work, no matter what. Have you uncommented or inserted all of the above 5 lines into your config.mk?
    After making sure all of the above 5 lines were in my config.mk, the echo command still didn't work, even if I preceded the command with sudo, or entered a su session. Bash would tell me that there was no such file or directory. I found that if I actually logged out of my normal user, and then logged back into the computer as root, the command would work. If your shell does not give you any feedback (particularly, "no such file or directory"), then the command worked. In order to get the command to run every time the computer boots, I used a systemd service, so that the command is issued as root. For some reason, it doesn't work if you put the command into /etc/profile.
    Oh, and it would probably be helpful to mention that for the compat-drivers-patched package from the AUR, the PKGBUILD checks to see what your _selected_drivers variable is before compilation. If you set _selected_drivers=ath9k, your compile times will be much shorter.

  • Debugging for JSP

    I do a remote debugging for my j2ee application.
    i want to do debugging for JSP ....like breakpoint etc etc
    can you tell any such options available which would be compatible with eclipse .
    my server is weblogic.
    i heard lomboz is a plugin which does that kind of work.
    but when i visited lomboz site ...dont see any such capability of jsp debugging .
    does it really work ?
    please comment

    can you tell any such options available which would
    be compatible with eclipse .MyEclipse

  • Enable debug for pl/sql

    i want to enable the debug for pl/sql . and also the debug output stored in "FND_LOG_MESSAGES" table

    i want to enable the debug for pl/sql . Please see these docs.
    Debugging PL/SQL Programs Using DBMS_OUTPUT [ID 1005663.6]
    What Tools can be Used to Debug PL/SQL Program Units on the Database [ID 566668.1]
    How To Debug a PL/SQL Package Using JDeveloper [ID 300252.1]
    How To Obtain PL/SQL Object Information Regarding Debugging and Compilation [ID 793492.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    and also the debug output stored in "FND_LOG_MESSAGES" table11.5.10/12: How To Enable and Retrieve FND Debug Log File Messages for Oracle iStore? [ID 789172.1]
    How to Obtain Debug Log in R12 [ID 787727.1]
    (Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • Enable AutoCommit for JClient App

    Hello all,
    who can tell me how to enable AutoCommit for a JClient Application? I read a lot in this forum about enabling AutoCommit for JSP pages. But I think this doesn't help me at all.
    My JClient App should save its current record each time I move the focus from one control to an other (and of course, if there is something to save).
    Thanks for your hints.
    Axel

    From one control to another? Wow!
    I'd probably start by looking to see if I could listen for when a transaction becomes dirty. (The navigation bar does it somehow, I guess.) Or maybe I'd use my own EntityImpl class so I can see when any attributes are changed....
    MWM

  • Remte JSP debugging for standalong OC4J 10.3.x not working

    Follow the next steps:
    1. Copying the ojc.jar, jdev-rt.jar and jdev-remote.jar to the OC4J_HOME/lib
    directory
    2. Add the next lines to the application.xml file
    < !-- Remote Debug settings -->
    < library path="../../../lib/jdev-rt.jar" />
    < library path="../../../lib/ojc.jar" />
    < library path="../../../lib/ojmisc.jar" />
    3. Change the global-web-application.xml in a text editor.
    From the following section:
    < orion-web-app
    jsp-cache-directory="./persistence"
    servlet-webdir="/servlet"
    development="false"
    >
    Change development="false" to development="true" to enable servlet
    debugging.
    4. In the global-web-application.xml file, modify the jsp servlet tags to be:
    < servlet>
    < servlet-name>jsp< /servlet-name>
    < servlet-class>oracle.jsp.runtimev2.JspServlet< /servlet-class>
    < init-param>
    < param-name>debug_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>developer_mode< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>encode_to_java< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    < init-param>
    < param-name>jspjavacompiler< /param-name>
    < param-value>oracle.jdevimpl.jsp.JspOjcCompiler< /param-value>
    < /init-param>
    < load-on-startup>0< /load-on-startup>
    < /servlet>
    5. Start the oc4j using the next command:
    java -hotspot -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
    6. Deploy the application
    7. Select the Remote Debugging and Profiling option in the Run Configuration
    for the project with the jsp to debug.
    8. In the Debugger/Remote section of the run Configuration set the host, port
    and timeout to the correct ones (name of the computer where you are running
    the application).
    When trying to run the jsp you are going to get the error:
    STACK ERROR:
    07/12/28 11:56:56
    ....\j2ee\home\application-deployments\MyJ2eeApp\MyJ2eeApp\persistence\_pages\_MyPage
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    07/12/28 11:56:56
    2007-12-28 11:56:57.703 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP
    Page : oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: _MyPage
    Dependent class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: ..../j2ee/home/lib/ojsp.jar
    Configuration: < code-source> in META-INF/boot.xml in ....\j2ee\home\oc4j.jar
    This load was initiated at MyJ2eeAppInfo.web.MyJ2eeAppInfo.jsp26687282:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound
    (PolicyClassLoader.java:2068) [/C:/sw/oracle/oc4j101330/j2ee/home/lib/pcl.jar
    (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]
    Reproduced the problem with the next products:
    JDev OC4J Reproduced?
    10.1.3.3.0 10.1.3.2.0 YES
    10.1.3.3.0 10.1.3.3.0 YES
    10.1.3.2.0 10.1.3.2.0 YES
    When i try not use the following tags section
    < init-param>
    < param-name>emit_debuginfo< /param-name>
    < param-value>true< /param-value>
    < /init-param>
    everything is working, but ojc not generate debug information for compiled JSP page and debugger doesn't stop at break points.
    When i try use thise tags section, i got the next instructions for compiler in MyPage.java (it is generated from MyPage.jsp):
    /*@lineinfo:filename=/MyPage.jsp*/
    /*@lineinfo:generated-code*/
    and compiler is generating next message in console:
    error #552: illegal forward reference
    07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
    and doesn't want to compile MyPage.java.
    I need help with this problem! And i don't have any ideas how to solve it. People, help me, please!

    Dear dvohra, have you ever try yourself the method, which you suggest?
    It is not working!
    If i try to configure OC4j like in blog, IDE doesn't stop in JSP's break points.
    So, I need in 100% working solution for remote debugging on oc4j 10.3.x. The main reason of using remote debug for me is that i have to develop portlets, and i have to invoke my portlets from portal. It is posible only when i deploy my portlet on stand alone oc4j!
    I really need remote debug! And i'll be very thankful someone for 100% working solution!

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • It there a way to enable debugging to view SQL details for database adapter

    The adapter guide seems to allude to the possibility with the following statement:
    "To monitor performance, you can enable debug logging and then watch the SQL for various inputs."
    There is no information, however, to indicate how to enable this feature. It would be nice to be able to view details in domain.log.
    Thanks,
    RM

    The switch to tab feature is only available when you are typing in the Location (a.k.a. Awesome) bar. Clicking on a bookmark will always open the bookmarked page in either the current tab or a new tab.

  • Problems trying to enable Debug Mode on WLS 6.1 For WinNT

    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

    - JDK 1.3
    The Java Platform Debugging Architecture software is already included with JDK
    1.3, so similar to JDK 1.2.2 you can use:
    java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    .. weblogic.Server
    and
    jdb -attch debugaddr
    "Teju Ajani" <[email protected]> wrote:
    >
    OOOPS!! I apologize for the misleading information.
    Here are some suggestions for this issue.
    How can WebLogic Server be started to attach with a remote debugger to
    the java
    process?
    - JDK 1.2.2
    To enable remote debugging for JDK 1.2.2 you have to install the Java
    Platform
    Debugging Architecture. You can also use (for NT) jdwp.dll, dt_shmem.dll
    and dt_socket.dll
    from the JDK 1.3.
    Start the java process with the following properties:
    java -Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    ... weblogic.Server
    To attach with jdc to the java process, use:
    jdb -attch debugaddr
    If you need to debug across a network, you may also use transport=dt_socket
    instead
    of dt_shmem.
    "Teju Ajani" wrote:
    Hans,
    did you remember to export the java library path?
    I also noticed the address option was missing from your startup string.
    If using a Solaris platform, change the LD_LIBRARY_PATH environmentvariable
    to
    prepend $JAVA_HOME/lib/sparc:
    export LD_LIBRARY_PATH=$JAVA_HOME/lib/sparc:$LD_LIBRARY_PATH
    See:
    http://e-docs.bea.com/wls/docs61//faq/server.html
    for additional details on starting your server in this mode. note the
    "Address"
    option given.
    "Hans Nemarich" <[email protected]> wrote:
    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent
    -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m
    -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich
    -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic
    -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address
    specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

  • Debugging Tool for JSP

    Is there any debugging tool for JSP, which point out the line number where the error is. currently I am using notepad for JSP coding. It takes too much time for error finding.
    Usman

    You can use WebSphere Studio Application developer, which would probably be over kill if you are just doing JSPs because it does so much more. You may want to look at its open source verison eclipse at eclipse.org.
    Good Luck,
    J.Clancey

  • Error while configuring Debugging for WebDynpro Application

    Hi Experts,
    I am trying to configure Portal server for debugging a WebDynpro application.
    In NWDS , in Debug configuration
    When i tried to add my Webdynpro Project and application under Debug tab , No problem.
    But when i checked J2EE Engine tab : it showed the following error.
    <b>[J2EE Engine]: the selected server node does not run  in restricted load balancing mode, please configure it correctly so that the URL extention can be used</b>
    And ignoring it when i started debugging the application , the URL was formed like this :
    http://<host>:50000/@@@DEBUG@@@7672950/webdynpro/dispatcher
    /local/WDtest/WDtest?SAPtestId=1
    with the error :   The requested resource does not exist.
    Details: Go to main page of this application!
    Can anybody help me to fix the configuration.
    Regards,
    Ashish Shah

    Hi,
    To configure to the debugging mode... follow the steps:
    1. Select "SDM" from J2EE engine (To get this view navigate thru Window--> Show View --> J2EE Engine)
    2. Make a right click on "SDM" and choose "Enabling Debugging of Process"
    3. Now, Navigate to Run --> Debug --> Select your Project as "Webdynpro Application" and click "new" button
    4. Now give some name and Click BROWSE to select ur project and then click APPLY and DEBUG
    Or if u use 2004s, then u can do the settings in Portal itself...which gives u more clear information...  follow the link
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56">WebDynpro Java Debug Configurator</a>
    Hope it helps...
    Regards / Guru

  • Enable logging for FTP server in 10.8

    Can't figure out how to enable 10.6-style logging for FTP server in 10.8. It used to be configurable via Server Admin allowing you to choose what to log and so on and the logs would go to /Library/Logs. Now I only see some irrelevant stuff in /var/log/system.log and I want to have all the transfers logged on this server. Tried setting parameters via serveradmin ftp:setting = param but it wouldn't appear in the list afterwards no matter what (just copied those off a working 10.6 server).
    As a bonus, I can't figure out where the settings for logging are stored in a 10.6 server either. There's certainly not a mention of a file named FTP.transfer.log. Weird!

    So to help anyone who finds themselves in the same boat and wants to enable ftpd logging on OSX 10.8 proper:
    All operations assume root which is obtained by issuing 'sudo su' or just prefixing every command with 'sudo'.
    First you edit the ftpd's launchd plist file:
    pico /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.a pple.ftpserver.plist
    Find the section titled 'ProgramArguments'. Amend it so it looks like this:
    <key>ProgramArguments</key>
            <array>
                    <string>ftpd</string>
                    <string>-ll</string>
                    <string>-r</string>
                    <string>-n</string>
                    <string>-d</string>
                    <string>-c</string>
                    <string>/Library/Server/FTP/Config</string>
                    <string>-L</string>
                    <string>/var/log/ftpd.log</string>
            </array>
    Second you edit /etc/asl.conf. This is necessary to make '-d' (debug) switch work since by default syslog won't log any debug-level messages at all.
    pico /etc/asl.conf
    At the end of the file add the following:
    # ftpd verbose logging
    ? [= Facility ftp] [<= Level debug] file /var/log/ftpdv.log
    Third important step is to reboot the server. ftpd's plist configuration is cached somewhere so restarting just the ftp server alone won't work.
    Now what the added switches do:
    -ll enables some logging (PUT and GET commands only despite what the man pages leads you to believe) to a file specified later by -L /path/to/file
    -d enables debug mode which logs everything - including server's response. May be too verbose but at least you get a log of every single command issued to the server by your clients.

  • ASA enable authentication for AD user by ACS TACACS fails

    In order to authorize command on ASA8.x for different users, I have to put 'aaa authentication enable console TACACS' into ASA configuration, and in ACS - user setup - TACACS+ enable password - Use separate password, I set an enable password.
    It works fine for ACS local users, they are able to get into priv EXEC mode by entering 'enable' command and use my pre-set password, however, the password doesn't work for AD user.
    So, how to setup enable authorization for AD user?
    Or is there a way to drop a user directly into level 15 on ASA just like it on router?
    below is the debug info.(I'm sure the password is the one I set in ACS)
    LABASA1(config)# AAA API: In aaa_open
    AAA session opened: handle = 884
    AAA API: In aaa_process_async
    aaa_process_async: sending AAA_MSG_PROCESS
    AAA task: aaa_process_msg(d45bd5c8) received message type 0
    AAA FSM: In AAA_StartAAATransaction
    AAA FSM: In AAA_InitTransaction
    Initiating authentication to primary server (Svr Grp: TACACS)
    AAA FSM: In AAA_BindServer
    AAA_BindServer: Using server: 192.168.1.221
    AAA FSM: In AAA_SendMsg
    User: fostco\user1
    Resp:
    callback_aaa_task: status = -1, msg =
    AAA FSM: In aaa_backend_callback
    aaa_backend_callback: Handle = 884, pAcb = d5b193e0
    aaa_backend_callback: Error:
    Incorrect password.
    AAA task: aaa_process_msg(d45bd5c8) received message type 1
    AAA FSM: In AAA_ProcSvrResp
    Back End response:
    Authentication Status: -1 (REJECT)
    AAA FSM: In AAA_NextFunction
    AAA_NextFunction: i_fsm_state = IFSM_PRIM_AUTHENTICATE, auth_status = REJECT
    AAA_NextFunction: authen svr = TACACS, author svr = <none>, user pol = , tunn pol =
    AAA_NextFunction: New i_fsm_state = IFSM_DONE,
    AAA FSM: In AAA_ProcessFinal
    AAA FSM: In AAA_Callback
    user attributes:
    None
    user policy attributes:
    None
    tunnel policy attributes:
    None
    Auth Status = REJECT
    aaai_internal_cb: handle is 884, pAcb is d5b193e0, pAcb->tq.tqh_first is d441d1d8
    AAA API: In aaa_close
    AAA task: aaa_process_msg(d45bd5c8) received message type 3
    In aaai_close_session (884)

    I have run into a similar situation. I just want to authenticate via TACACS to enable mode in an ssh session. After using the "aaa authentication enable console TACACS LOCAL" command on the ASA, the ACS server rejects the password.
    I have tried everything I can think of on the ACS as far as "TACACS+ enable password" using both a windows database or a separate password, and PIX/ASA command sets. I cannot go into enable mode unless I set the ASA to LOCAL authentication, which just uses the globally defined enable password.

  • How do I enable debugging in beans.ocx

    I am successfully running a Java Web enabled Application in Windows 2000 IIS Server.
    The application is accesses via Active Server Page (ASP) COM object interface enabled by Sun �JavaPlugin-ActiveX Bridge�. The application works great, it is using Java version is 1.3.1.
    I need to enable debug in the �JavaPlugin-ActiveX Bridge� How do I turn �DEBUG ON�
    I want to pass the following parameters to �JavaPlugin-ActiveX Bridge� ;
    -Xnoagent -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n -Djavaplugin.trace=true

    Hi,
    In order to debug, first you need to compile your .java files with -g option in javac.
    1)For debugging, start the Java PLug-in Control Panel.On the Basic tab,specify the following parameters in the Java Runtime Parameters:
    -Djavaplugin.trace=true
    -Xnoagent
    -Xdebug
    -Xrunjdwp:transport=dt_shmem-,address=jdbconn,server=y,suspend=n
    Check the address once again .
    2)On the Advanced tab in the Java Plug-in Control Panel, select "JDK <version> in <jdk-path>" for the Java Runtime, where <version> is the Java Plug-in version and <jdk-path> is the path to the Java 2 SDK installation. For example, "JDK1..3.1 in C:\jdk1.3.1" . Do not select the Debug Options under the Advanced tab.
    3)Start Internet Explorer or Netscape Navigator and load the page which contains the applet to be debugged. Make sure the applet code has been compiled with -g option in javac.
    4)Run the command jdb -attach <connection address> in a DOS command prompt. <connection address> is the name mentioned in the step 1. For example, if <connection address> is 2502, you will run the command as
              jdb -attach 2502
    5)Once the jdb has attached to the VM, you can set up breakpoints in the applet.
    6)When the applet in the browser reaches the breakpoint, it will stop executing, and you will see the debugger waiting for your input to continue debugging.
    Hope this will help you.
    Anil.
    Developer Technical Support
    Sun Microsystems Inc,
    http://www.sun.com/developers/support

  • How to enable "Debug Option" in submit request

    how to enable "Debug Option" in submit request

    Hi,
    Please see these docs.
    (Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

Maybe you are looking for