Pradeep, shouldn;t you make the corresponding change to the wso2server.bat
file as well?

On Tue, Jan 18, 2011 at 11:52 AM, <[email protected]> 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
> [email protected]
> 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/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to