On Wed, Jan 19, 2011 at 12:04 AM, Afkham Azeez <az...@wso2.com> wrote: > Pradeep, shouldn;t you make the corresponding change to the wso2server.bat > file as well?
done. > > On Tue, Jan 18, 2011 at 11:52 AM, <prad...@wso2.com> wrote: >> >> Author: pradeep >> Date: Mon Jan 17 22:22:00 2011 >> New Revision: 85467 >> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=85467 >> >> Log: >> added a warning message if a user has specified JAVA_OPTS as well as debug >> option, fixing issue CARBON-8419 >> >> Modified: >> trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh >> >> Modified: trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh >> URL: >> http://wso2.org/svn/browse/wso2/trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh?rev=85467&r1=85466&r2=85467&view=diff >> >> ============================================================================== >> --- trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh >> (original) >> +++ trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh >> Mon Jan 17 22:22:00 2011 >> @@ -189,6 +189,9 @@ >> echo " Please specify the debug port after the --debug option" >> exit 1 >> fi >> + if [ -n "$JAVA_OPTS" ]; then >> + echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you >> give the --debug option." >> + fi >> CMD="RUN" >> JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE >> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT" >> echo "Please start the remote debugging client to continue..." >> _______________________________________________ >> Carbon-commits mailing list >> carbon-comm...@wso2.org >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits > > > > -- > Afkham Azeez > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > > Member; Apache Software Foundation; http://www.apache.org/ > email: az...@wso2.com cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > -- Pradeep Fernando Software Engineer WSO2 Inc; http://wso2.com/ blog: http://pradeepfernando.blogspot.com/ m: +94776603662 _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev