You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mitev, Mitko" <mi...@unify.com> on 2014/10/02 11:31:16 UTC

Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Hi,

I have just encountered the following issue:
I installed Tomcat 8.0.14 on my PC ( Win 7) and integrated it to Netbeans 8.0.1
I tried to start Tomcat from Netbeans IDE and I’ve got the following error:
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.

I have been using Netbeans and Tomcat for many years and I have never encountered such problem. The previous version - Tomcat 8.0.12 – works fine in my environment.

Any hints?
Mitko Mitev
R&D CZ 32 Team Lead
Unify, s.r.o.
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel,: +420 266 061 251
Fax: +420 266 066 251
Mobil: +420 724 754 090
mailto: mitko.mitev@unify.com<ma...@unify.com>
www.unify.com/cz<www.siemens-enterprise.com>
Follow us [Social_media_icons] <http://www.unify.com/us/about/social-media.aspx>

Unify s.r.o., zapsaná v obchodním rejstříku vedeném Městským soudem v Praze, oddíl C, vložka 117991
Sídlo:  Průmyslová 1306/7,  102 00 Praha 10 – Hostivař, IČ: 27599523, DIČ: CZ27599523
Jednatelé:  Jan Lerche  a  Ing. Tomáš Hájek
Bankovní spojení:  UniCredit Bank Czech Republic a.s., Nám. Republiky 3a/2090,  110 05  Praha 1,
č.ú. CZK: 513686001/2700,  č.ú. EUR: 513686028/2700

POZOR!
Důležité upozornění: Tato zpráva i její případné přílohy jsou důvěrného charakteru, mohou obsahovat obchodní tajemství a být chráněny před zveřejněním. Pokud jste zprávu obdrželi omylem, kontaktujte prosím odesílatele a předmětnou zprávu i s přílohami ihned ze svého systému vymažte. Jakékoli změny, přeposílání či jiné aktivity související s informacemi v této zprávě, nejsou dovoleny jiným osobám, než kterým je zpráva určena.
Important Note!
This e-mail and any attachment are confidential and may contain trade secrets and may also be legally privileged or otherwise protected from disclosure. If you have received it in error, please notify the sender immediately by e-mail and then delete this e-mail and any attachment from your system. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.


RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Posted by "Mitev, Mitko" <mi...@unify.com>.
Ognjen

-----Original Message-----
>From: Mitev, Mitko [mailto:mitko.mitev@unify.com] 
>Sent: 3. října 2014 10:06
>To: Tomcat Users List
>Subject: RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

>Ognjen

-----Original Message-----
>You right with the quotation mark, I apologize for it.
>But nevertheless the removing the quotation mark solves the problem. 
>I have done also further investigation the problem is with the following parameter in the command line: 
>-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.80.*|10.0.0.*"
 > If I remove the proxy setting the startup works fine.
> I have also looked on the issue 56895 in bugzilla and I have found interesting thing: The fix for 56895 comes from Tomcat 7 (actually from 7.0.54). If I run this tko] > version the startup works fine though I use proxy setting described above. For me it seems as bug in tomcat 8 for fix 56895.

The Tomcat 7.0.55 doesn't yet contain the fix for 56895. So this is the reason why it works.

-Mitko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Posted by "Mitev, Mitko" <mi...@unify.com>.
Ognjen

-----Original Message-----
>From: Ognjen Blagojevic [mailto:ognjen.d.blagojevic@gmail.com] 
>Sent: 3. října 2014 9:20
>To: Tomcat Users List
>Subject: Re: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

>Mitko,

On 3.10.2014 8:52, Mitev, Mitko wrote:
>> Tomcat 8.0.12
>> :noJuliConfig
>> set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
>>
>> Tomcat 8.0.14
>> :noJuliConfig
>> set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”

>>Actually, the qotation marks in 8.0.14 are in different position:

>>set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"


>> Removing quotation marks solves the problem.
>>
>> Does anybody knows the reason why the quotation marks were introduced?

>Rationale for the question marks is described here:

>   https://issues.apache.org/bugzilla/show_bug.cgi?id=56895

>-Ognjen

You right with the quotation mark, I apologize for it.
But nevertheless the removing the quotation mark solves the problem. 
I have done also further investigation the problem is with the following parameter in the command line: 
-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.80.*|10.0.0.*"
If I remove the proxy setting the startup works fine.
I have also looked on the issue 56895 in bugzilla and I have found interesting thing: The fix for 56895 comes from Tomcat 7 (actually from 7.0.54). If I run this version the startup works fine though I use proxy setting described above. For me it seems as bug in tomcat 8 for fix 56895.

-Mitko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Posted by Ognjen Blagojevic <og...@gmail.com>.
Mitko,

On 3.10.2014 8:52, Mitev, Mitko wrote:
> Tomcat 8.0.12
> :noJuliConfig
> set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
>
> Tomcat 8.0.14
> :noJuliConfig
> set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”

Actually, the qotation marks in 8.0.14 are in different position:

set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"


> Removing quotation marks solves the problem.
>
> Does anybody knows the reason why the quotation marks were introduced?

Rationale for the question marks is described here:

   https://issues.apache.org/bugzilla/show_bug.cgi?id=56895

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Posted by "Mitev, Mitko" <mi...@unify.com>.
Hi,

I have already found a root cause for this problem.

There is a change in catalina.bat file on lines 196 and 201

Tomcat 8.0.12
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%

Tomcat 8.0.14
:noJuliConfig
set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”

Removing quotation marks solves the problem.
 
Does anybody knows the reason why the quotation marks were introduced?

Regrads

Mitko

From: Mitev, Mitko [mailto:mitko.mitev@unify.com] 
Sent: 2. října 2014 11:31
To: users@tomcat.apache.org
Subject: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Hi,

I have just encountered the following issue:
I installed Tomcat 8.0.14 on my PC ( Win 7) and integrated it to Netbeans 8.0.1
I tried to start Tomcat from Netbeans IDE and I’ve got the following error:
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.

I have been using Netbeans and Tomcat for many years and I have never encountered such problem. The previous version - Tomcat 8.0.12 – works fine in my environment.

Any hints?
Mitko Mitev
R&D CZ 32 Team Lead
Unify, s.r.o.
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel,: +420 266 061 251
Fax: +420 266 066 251
Mobil: +420 724 754 090
mailto: mitko.mitev@unify.com
www.unify.com/cz 
Follow us 

Unify s.r.o., zapsaná v obchodním rejstříku vedeném Městským soudem v Praze, oddíl C, vložka 117991
Sídlo:  Průmyslová 1306/7,  102 00 Praha 10 – Hostivař, IČ: 27599523, DIČ: CZ27599523
Jednatelé:  Jan Lerche  a  Ing. Tomáš Hájek
Bankovní spojení:  UniCredit Bank Czech Republic a.s., Nám. Republiky 3a/2090,  110 05  Praha 1, 
č.ú. CZK: 513686001/2700,  č.ú. EUR: 513686028/2700

POZOR!
Důležité upozornění: Tato zpráva i její případné přílohy jsou důvěrného charakteru, mohou obsahovat obchodní tajemství a být chráněny před zveřejněním. Pokud jste zprávu obdrželi omylem, kontaktujte prosím odesílatele a předmětnou zprávu i s přílohami ihned ze svého systému vymažte. Jakékoli změny, přeposílání či jiné aktivity související s informacemi v této zprávě, nejsou dovoleny jiným osobám, než kterým je zpráva určena. 
Important Note!
This e-mail and any attachment are confidential and may contain trade secrets and may also be legally privileged or otherwise protected from disclosure. If you have received it in error, please notify the sender immediately by e-mail and then delete this e-mail and any attachment from your system. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org