Enabling JNDI Debug messages in WLS 8.1

Hi All,
Someone knows how to enable domain server debug logs for JNDI channel?
We want to see JNDI lifecycle events like bind(...)
regards
Sebastian

Thanks for the reply. It seems that the problem I'm having is due to some changes
in our realm and not local home lookups as I first suspected.
Rob Woollen <[email protected]> wrote:
Brian wrote:
Is there a requirement to look up local home interfaces from the java:/comp/env
namespace on WLS 8.1? No, although it's a good idea...
In WLS 6.2 we just looked up the local-jndi-name from an
initial context, but this doesn't appear to be working on 8.1. Thanks...It should work fine. Can you provide some more info? Are you sure the
bean is deploying?
-- Rob
..Brian

Similar Messages

  • Intergated WLS not starting after enabling all "Debug" flags

    Hi,
    I have JDeveloper 11.1.1.4 with Integrated Weblogic Server. I had enabled all "Debug" flags in WLS servers and now after the required bounce, it is not coming up. I should not have enabled all "Debug" options, but I'm just unable to login to disable it.
    Is there any way to get around this issue?
    Thanks,
    Vikas

    Also check if you could comment the below similar elements in the config.xml and restart the server, if you have not maintained the backup copy of the configuration file.
    <server-debug>
          <debug-scope>
            <name>weblogic</name>
            <enabled>true</enabled>
          </debug-scope>
        </server-debug>
    If the server still fails to start, please check the server log , for any critical issues or errors and revert back with the details or error stack trace to further assist you.
    Thanks,
    Vijaya

  • 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

  • Debug messages in Stored Procedure

    is it possible to see the debug messages written in the Stored Procedure when invoking it from WLS.
    using wls 8.1 SP3
    DB :Sybase
    Driver : weblogic.jdbc.sybase.SybaseDriver
    setting debug parameters (
    -Dweblogic.Debug=weblogic.JDBCConn,weblogic.JDBCSQL,weblogic.JTAJDBC
    )is not enough. also using P6Spy does not help here ...

    Yuval Avni wrote:
    is it possible to see the debug messages written in the Stored Procedure when invoking it from WLS.
    using wls 8.1 SP3
    DB :Sybase
    Driver : weblogic.jdbc.sybase.SybaseDriver
    setting debug parameters (
    -Dweblogic.Debug=weblogic.JDBCConn,weblogic.JDBCSQL,weblogic.JTAJDBC
    )is not enough. also using P6Spy does not help here ...Hi. If/when Sybase sends informational messages to the client, a driver will typically
    make them available from the statement or connection or even result set via SQLWarnings.
    Try the getWarnings() methods of those objects.
    Joe

  • How to insert debug messages in a report

    All,
    I am facing a problem with one report in apps environment.
    When I run the sql in toad or when I run the report from reports
    builder I am getting data. But, when I run the same report using
    concurrent program I am not getting any data for the same inputs.
    I am not sure what is wrong. I want to put some debug messages.
    Can you please tell me how to put debug messages in reports?
    Thanks.

    973508 wrote:
    All,
    I am facing a problem with one report in apps environment.
    When I run the sql in toad or when I run the report from reports
    builder I am getting data. But, when I run the same report using
    concurrent program I am not getting any data for the same inputs.
    I am not sure what is wrong. I want to put some debug messages.
    Can you please tell me how to put debug messages in reports?
    Thanks.Please post the details of the application release, database version and OS.
    What is the type of the report?
    Please see the following docs to enable debug/trace.
    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]
    Thanks,
    Hussein

  • Captivate 8:  Getting this message "Unable to locate LMS's API, content may not play properly".  Then I get a debug message of "44:Tue Feb 17 2015 : InIsLoaded, returning false".  Has anyone else seen this?

    Captivate 8:  Getting this message "Unable to locate LMS's API, content may not play properly".  Then I get a debug message of "44:Tue Feb 17 2015 : InIsLoaded, returning false".  I also see a message in the preview pane when I view the .htm file in the project folder "This course requires JavaScript to be enabled in your browser.  Please enable JavaScript, then relaunch the course."   JavaScript is already enabled and I'm getting this in IE9 and Chrome 40....Has anyone else seen this? 

    The first part of your issue will be resolved if you load your course from an LMS. If you are not hosting your content on LMS, you can disable the reporting in your Quiz settings (Edit > Preferences > Quiz > Reporting).
    Not sure about the Javascript related issues.
    Sreekanth

  • Enabling ALSB debug level logging

    Within my proxy services I have added some DEBUG level log statements, however, these do not seem to get logged to either my standard out log or my application log. If I switch them to WARN or ERROR, I get them logged.
    I verified in Operational Settings on my proxy service logging is enabled at level DEBUG or above.
    I think something maybe within WLS itself might be preventing the logs. If within the WLS console I switch debug logging on for everything (Debug tab on the server screen), I do see my log statements, among other things. Unfortunately I cannot figure out which one of the hundred or so items actually enables the debug logging just for ALSB's debug statements.
    Has anybody else figured out the right combination of things to get ALSB to log the proxy service debug statements?

    Thanks. That was already enabled but checking it made me think of another thing. I have been watching the console you get when you start up your server from the automatically created shortcuts. Instead, I checked the actual log file for the server and the debug statements do in fact get written there. The console that comes up must be standard error, hence, only the warnings and errors.
    Thanks for leading me to the answer.

  • How to enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer about debugging different programs and that JIT debugging must be enabled!

    How do I enable JIT debugging on my Windows 7 (64 bit) computer? I keep getting different Errors popping up on my computer and the latest one says when I attempted to watch a DVD video with VLC media player but this isn't the first error this week saying
    that JIT debugging must be enabled and I don't know how to do that : ( "Microsoft Visual C++  Runtime Library"  Assertion Failed! Program C:\Program Files (x86) VideoLAN\VLC\vlc.exe  File: vm.c
    Line: 1765
    Expression: pgcit != NULL
    For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
    (Press Retry to debug the application- JIT must be enabled)

    Hi Rhondavas77,
    To enable/disable Just-In-Time debugging
    On the Tools menu, click Options.
    In the Options dialog box, select the Debugging folder.
    In the Debugging folder, select the Just-In-Time page.
    In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types:
    Managed, Native, or Script.
    To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
    Click OK.
    More information is here.
    http://msdn.microsoft.com/en-us/library/k8kf6y2a(v=vs.85).aspx
    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.

  • 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.

  • Is there an easy way to suppress debug messages from plugin.jar?

    When using the plugin.jar library (included in JRE 1.4.2 and 1.5)
    my Java Console is riddled with tons of debug messages like:
    <<< ProxyClassLoader: defined LiveConnectProxy class. >>>
    <<< Here're the permissions you've got: >>>
    <<< java.security.Permissions@b614d0 (
    (java.net.SocketPermission 127.0.0.1 connect,accept,resolve)
    )I'm using the plugin.jar (replacing use of the old netscape.jar)
    to bridge communication between Java Applets and JavaScript.
    Each time the Applet calls back to the JavaScript side,
    the callback JavaScript function makes a call to parseInt() to
    convert one of the parameters passed from a string to an integer.
    Each time parseInt() is called, the message above appears
    in the Java Console.
    I traced down the source code for this message to a debug()
    statement inside the plugin.jar's class loader, but I'm not sure
    how to suppress it easily.
    Does anyone have any ideas I could try?
    Here's the code from the Java-side:
    synchronized( this )
         try
              final JSObject window = JSObject.getWindow( applet );
              if( window != null )
                   final String[] stringArgs = new String[3];
                   stringArgs[0] = labelName;
                   stringArgs[1] = labelDisplayName;
                   stringArgs[2] = labelValue;
                   log.debug(stringArgs[0]);
                   log.debug(stringArgs[1]);
                   log.debug(stringArgs[2]);
                   window.call("MyJavascriptCallback", stringArgs);
              else
                   log.error("Javascript window unavailable.");
         catch( final JSException e )
              // Note: Occasionally, getWindow() will throw an exception
              // without any meaningful reason.
              // ( http://www.raditha.com/blog/archives/000938.html )
              // Possible cause: This can send updates at a fraction of a
              // second. This may be causing issues within the Plugin.jar
              // used to handle the JavaScript callback.
              log.debug("JSException", e);
    }

    Here's what I've found out...
    The messages are coming from the MRJPlugin.jar provided by Firefox.
    Within the netscape.oji.ProxyClassLoaderFactory class,
    the following line...
    System.out.println("<<< " + message + " >>>");
    ...appears to be the cause and cannot be turned off by a configuration setting.
    The home URL for the MRJPlugin.jar is:
    http://www.mozilla.org/oji/MRJPlugin.html
    The last time this library had an update released was in 10/31/2000.
    However, this is the Mozilla source; not Firefox.
    Although changing the MRJPlugin.jar source to remove this line will appear
    to fix the problem, I'm not sure of the best way to distribute the updated
    MRJPlugin.jar without conflicting with Firefox's update process.
    Any thoughts?

  • Debug messages in log4j

    Hello,
    I'm using log4j and JBoss and I'm getting a large number of debug statements in my log file. Does anyone know how to disable these debug statements?
    Thanks in advance,
    Ger

    Just today I went through the same horrible ordeal.
    A couple notes about the default JBoss log4j.xml file it seems to affect the logging somewhat, from my understanding you SHOULD do this:
    The <root> category should have a priority added:
    <root>
    <priority value="WARN" />
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="FILE"/>
    </root>
    That should set the default root category to only display WARNING messages. There's another category (name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool") with priority set to TRACE. Change that to WARN or ERROR.
    I set up my own server directory structure and left out the log4j.jar from the lib directory, so it hadn't been actually reading the XML file. Just something to watch out for.
    Another thing I found was that the bin/run.jar has a log4j.properties file with rootCategory=DEBUG which generates the boot.log file. I un-jarred the file and set that to INFO, then re-jarred it... I couldn't get rid of all the DEBUG messages without doing so.

  • Debug Messages missing in Forms 9i?

    When running a form from forms designer with debug messages checked I don't get a message displaying the trigger name, I only get a Please Acknowledge Message alert box.
    Is there a setting that I may have inadvertently set that would prevent the messages from being displayed?
    Forms version 9.0.2.12.2.
    Thanks
    Richard
    P.S. We have just started to assess Forms 10g (9.0.4) for Windows and have noticed huge improvements in performance - about 50%! Don't know what you guys have done but initial impressions are excellent. We are looking to roll this out to production as soon as possible.

    The problem with debug messages is a known one (Bug 3376171) and will be fixed in forms 10. (not 10g - 9.0.4)

  • How to turn off DEBUG message in Jdeveloper 9.0.3

    Folks,
    When I upgraded my Jdeveloper from 9.0.3 Preview version to formal release, it takes 5 minutes to load the first jsp page which used to take less than 1 minute. One reason I can think of is that all the DEBUG messages are showing up now and printing out those messages could take minutes. I can not find the way to turn off those DEBUG message. Please help.
    Thanks,
    Yibing

    There should be no diagnostic messages from BC4J by default.
    Adding the Java VM parameter -Djbo.debugoutput=console sets the jbo.debugoutput system property to the value console and makes the messages appear.
    Double-check that you don't have this set in your "Runner" panel.

  • Enable the Debug mode for Dispatcher and Server0.

    Hello All,
            In our EP server 7.0(stand alone java) apart from SDM we need to enable the Debug mode for Dispatcher and Server0.I tried to do it from mmc but cannot do so.When I try to right click & enable from mmc the "Enable Process" is not highlited,it is disabled.How Can I enable the the Debug mode for Dispatcher and Server0?

    Hi
    Goto Configtool Select Instance_IDxxxxx on the right side you can see "Servers Debug" tab, select that and choose, enable debug and debuggable options.
    Save the settings.
    Then expand the above mentioned node and select Server_IDxxxxxxx , you will see a tab Debug select it and choose, enable debug and debuggable options.
    Save the settings.
    After it is done, take a restart of the instance. This should help you.
    Regards
    Rahul

  • NO MORE DEBUG MESSAGES!

    it is kind of hard to stay in the forum rules, specially the
    insults part (is inept or negligent allowed by forum rules?), on
    how i feel right now. why somebody in adobe thinks that a final
    user cares about debug messages? i am using firefox i have many
    tabs open, i am watching whatever and all the tabs get blocked
    because somebody thinks is the job of the final user to debug
    something he/she didnt make, specially the 'select code location',
    which code?, so i keep getting a popup asking where to debug (if
    local or to place the id of the code to debug). there are pages
    that are so hard to watch because of this, are the adobe people so
    (...)... ARGHHHHH!!!.. i keep disabling flash player because of
    this, i only turn it on to rate songs in yahoo launchcast or watch
    youtube videos or a few more pages, then i forget to disable it and
    the problems begin ('something' reminds me to turn it off again),
    if there is one of those popups asking the location of the code to
    debug and disable the player without closing this message, adobe
    offers me a nice browser crash. are they stupid or is the final
    user the debug monkey for their products?, i mean, is not like it
    does not happen all the time (either firefox or explorer), they see
    by themselves something is just plain wrong, but does somebody else
    has to tell them, yes it is wrong even tough you see it by
    yourselves, please make it right? i mean, fix that stupid thing
    once and for all, why do we care about debug code we didnt even
    made ourselves, talk about 'user experience'

    Originally posted by: cap_nemesis.hotmail.com
    if there are more than one log4j.properties on different levels (server,
    webapp) things can get confusing :-)
    "Mark Daring" <[email protected]> schrieb im Newsbeitrag
    news:drgpe7$1o0$[email protected]..
    > How can I change the tomcat logging level, so no more messages like:
    > "DEBUG [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
    > (ManagerBase.java:653) - Start expire sessions StandardManager at ..." are
    > sent to the console?
    >
    >

Maybe you are looking for