WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Without XDEBUG application server doesnot start

  • 1.  Without XDEBUG application server doesnot start

    Posted 07/29/10 05:44 AM

    We are deploying our application on the AIX m/c using the Websphere application server 6.0. The issue is that unless the XDEUB option is specified the application server doesnot startup.


    This is configured in the Application servers > Process Definition > Java Virtual Machine


    Debug arguments:
    -Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777


    Generic JVM arguments


    -Dclient.encoding.override=iso-8859-1 -Dfile.encoding=iso-8859-1 -Djava.awt.headless=true -Djava.security.debug=failure -verbose:class -Xdebug -Dlogpath=test_server


    Please advise on what needs to be modified so that the application server starts without the XDEBUG option.



  • 2.  Without XDEBUG application server doesnot start

    Posted 08/02/10 12:23 PM

    This is just a suggestion / guess, but have you tried removing the debug arguments from the command and then started the JVM?  It's my understanding that debug arguments can only be passed into the JVM when the Debug Mode is Enabled.  If you disable the debug mode, perhaps the JVM doesn't like persisting the debug options...  Let us know.



  • 3.  Without XDEBUG application server doesnot start

    Posted 08/02/10 12:51 PM

    Yes we have already tested with this option. If we remove the XDEBUG option the application server doesnot start up.



  • 4.  Without XDEBUG application server doesnot start

    Posted 08/02/10 01:01 PM

    Understood from your initial post, but I was suggesting not including the arguments -Djava.compiler=NONE  -Xnoagent?  Thus your Debug Arguments would be "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777" (without the quotes) and not "-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"



  • 5.  Without XDEBUG application server doesnot start

    Posted 08/03/10 11:54 AM

    Yes that works fine. But the issue is with the XDEBUG in the Generic JVM arguments. When it is removed the application server doesnot start.



  • 6.  Without XDEBUG application server doesnot start

    Posted 08/03/10 12:03 PM

    Please confirm that the JVM starts fine when the following is true:


    Debug Arguments:


    -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777


    Generic JVM Arguments:


    -Dclient.encoding.override=iso-8859-1 -Dfile.encoding=iso-8859-1 -Djava.awt.headless=true -Djava.security.debug=failure -verbose:class -Xdebug -Dlogpath=test_server


    Also, you're looking to remove the -xdebug optiong from the GENERIC JVM ARGUMENTS too, correct? Do you need all of the arguments in the Generic JVM Arguments such as -Dlogpath? 



  • 7.  Without XDEBUG application server doesnot start

    Posted 08/03/10 12:45 PM

    Yes with the following the JVM starts fine without any issue.


    Debug Arguments:


     -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777


     Generic JVM Arguments:


     -Dclient.encoding.override=iso-8859-1 -Dfile.encoding=iso-8859-1 -Djava.awt.headless=true -Djava.security.debug=failure -verbose:class -Xdebug -Dlogpath=test_server


    And i want to remove the -XDEBUG from the Generic JVM arguments.


    The following is a required


    -Dclient.encoding.override=iso-8859-1 -Dfile.encoding=iso-8859-1-Djava.security.debug=failure


    Rest can be removed ...



  • 8.  Without XDEBUG application server doesnot start

    Posted 08/03/10 12:50 PM

    Again, clarifying that attempting to start your JVM with ONLY the following is resulting in the JVM not starting completely:


    Debug Arguments:


    -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777


    Generic JVM Arguments:


    -Dclient.encoding.override=iso-8859-1 -Dfile.encoding=iso-8859-1-Djava.security.debug=failure



  • 9.  Without XDEBUG application server doesnot start

    Posted 08/03/10 01:03 PM

    Yes the JVM doenot start.



  • 10.  Without XDEBUG application server doesnot start

    Posted 08/03/10 01:06 PM

     Can you please post part of the systemout.log showing the error?



  • 11.  Without XDEBUG application server doesnot start

    Posted 08/03/10 01:18 PM

    :( Nothing is written in the SystemErr.log & the SystemOut.log.... that is problem.


     



  • 12.  Without XDEBUG application server doesnot start

    Posted 08/03/10 01:22 PM

    Wow... that is definately a problem.  If there aren't logs of the failed start I'm stumped...  It might be time to open a PMR with IBM....