Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-26 Thread Igal @ Lucee.org

On 7/26/2017 11:00 AM, Berneburg, Cris J. - US wrote:



I'm not such a miserable bastard as this thread would indicate

Sounds like a great sig for you.  ;-)



(that's a "Laughing Tears" emoji if it doesn't render right)


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



RE: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-26 Thread Berneburg, Cris J. - US
Hey Chris

> From: Christopher Schultz [mailto:chris@...] 
> Sent: Friday, July 21, 2017 1:02 PM
> To: users@tomcat.apache.org
> Subject: Re: [OT] Unable to install Tomcat 9 on Windows 10

[SNIP]

> I'm not such a miserable bastard as this thread would indicate

Sounds like a great sig for you.  ;-)

--
Cris Berneburg
CACI Lead Software Engineer


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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roparzh,

On 7/22/17 11:05 AM, Roparzh Hemon wrote:
> On Fri, Jul 21, 2017 at 6:35 PM, Christopher Schultz 
>  wrote:
> 
>> I've been developing Java web applications since 2000, and I use
>> Eclipse, and I've never used Eclipse's "Run as server".
> 
> 
> So, could you please tell a newbie like me how to view my bare 
> "hello world" html file inside my Java project without using this
> "Run on server" command ?

$ mvn war
$ cp project.war "${CATALINA_BASE}/webapps"

?

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZc3D9AAoJEBzwKT+lPKRYmSUP/A41AylCn12azumqwPmFbCTJ
4pm+CP+xfe5DWpQ4maA2uYZKYqswoP4pDd0vkNIqq+hP9ZakcwvMagnxsiLO31V4
N5LptjF5JtXL89nrhNxoMtcZWaZoPFZd8qOvd2pDeNaw9SyOlfMfAlaM15BH58T2
L3yz+8krUQ+yHW+ZTHv1Rdy69y4nCNQ/ywLK8XgiUL3V1rqMzN4xc+pOEH2mUu3L
cp6+nmfedYou12ed7nwf9lOKT0HfVjo4kDHcv6ay4ulT3PzqvKZMPH/QSKBUMfOR
R8eMEOx0S8lxeAPbevAw3FOWYXiQcELLZ6GkzET9e/pbaXdry3ehH8VMrQWZqK5H
EJb3xKB/UiHtoX75MoMbsx9HcrZg26To1D6aGE3ohfkX0onB8u5BA1rkWqGk90Av
sxfaZLgCFP5ob8uga51MKexQ9gsSPCCIcoUVtHVYHasJYnDB3ggXb3UGhZOsOeGt
QbKe1dvA9s2bkXco0JUlLWXOUM45O3sQavromyu3cISg9r8++16KBuPD4DZd1maU
N3ELW1DWI14fTOU5WZpwVV4h5Mrtz/h7XcnxUK2aMOwMhCylcKEPwJlVu/oSbWhk
wiO8eBIE5C3lJTrSsYuwfUWhk4hJMCQf+dB3afxdEZyxBXAY+X3Wz9ECXBuLxH3B
uhSKKuC+iJPdmpamzp2e
=IqGM
-END PGP SIGNATURE-

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-22 Thread Roparzh Hemon
On Fri, Jul 21, 2017 at 6:35 PM, Christopher Schultz
 wrote:

>  I've been developing Java web applications since
> 2000, and I use Eclipse, and I've never used Eclipse's "Run as
> server".


  So, could you please tell a newbie like me how to view my bare
"hello world" html file inside my Java project without using this "Run
on server" command ?

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-22 Thread kidambi madhu
Hi Chris,

Bad advice all around:

1. Windows 2k8 was EOL 2015-01-13 [security risk]  - I agree with you
2. Windows Server and "workstation" use the same kernel [no difference] -
May be you are right and I don't have much exposure of Windows at the
Kernel level
3. Java runtime is the same regardless of the OS flavor [no difference] -
Pls don't forget that JVM is written in native code and hence platform/OS
agnostic. So JVM has different stability on diff OSes and hence your next
statement below is true (That Java on windows nightmare and stable linux)
4. Java on Windows is a nightmare. If you want to quip about moving to
a "real server OS," then suggest switching to a UNIX-like OS, where
the Real Servers run :)  - yes I agree with you but at the time of learning
anybody in this world prefers Windows than UX platforms

Thanks,
Madhu

On Thu, Jul 20, 2017 at 7:03 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> [image: Boxbe]  This message is eligible
> for Automatic Cleanup! (ch...@christopherschultz.net) Add cleanup rule
> 
> | More info
> 
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> kidambi,
>
> On 7/20/17 10:49 AM, kidambi madhu wrote:
> > Hi Hemon,
> >
> > Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation
> > OS.
> >
> > Servers will perform good on Servers only
>
> Bad advice all around:
>
> 1. Windows 2k8 was EOL 2015-01-13 [security risk]
> 2. Windows Server and "workstation" use the same kernel [no difference]
> 3. Java runtime is the same regardless of the OS flavor [no difference]
> 4. Java on Windows is a nightmare. If you want to quip about moving to
> a "real server OS," then suggest switching to a UNIX-like OS, where
> the Real Servers run :)
>
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJZcPBmAAoJEBzwKT+lPKRYIeEP/1Hf8HWSVC8RU5+oGmO1Xlro
> wSykSpgzOYGQO5ZGsUwcJCi0sHmcKYM9QFOp5KxaQ2cMZLSRMtZavpWWF+78UDxG
> lJNxZr++kIt1wxqcGAUUZjdZBFAExl4g+IsjouyZOtCZn1gjptxhQP3JDPAGnTe5
> jHaLqBvoQYhQDUGN3Tc/F+TCpnSpcXH3BvPtOtmLBz+8f7wRkQy2+x2lG1DDXFS0
> GlKyx5Xp3MkeHt+PO+jc/2CvqFCIj/sI7YvDp8muVPSJjo+2zch72djVKncgnQNg
> ylDUw9V8mQfGRIST9TxJT9NpLAVPcfJlBPYu/JMgVIGGX4GQZtihpmHT4bxebe/T
> uJMFjtBs9n4g/gKWQlY9jGff0mqbmihgYxcFqitzCHCK5xFApFNFS+Kx3y+f0yFd
> ncMPIv/BXlAKvtJkiXNAGT3UxuNgAnYJFfrQ3IsjT807RPW2bzkQ5EPg1o7h19pn
> VlmwY+4Z5ALMfIu8v6cFyM9HMF3cEL246R0qnLTnBARNxlRNN1KUNJWSRDzIZ1nf
> NkxVkbwXE5CaC4+It31MD0adjuxx8LJH0SimqQ6WYtvY2+Kw1C0m28VPJz9mrqze
> 713b/OnZr1jWtc4LFki2Eto9844TWA9NGaYz5Q6eentY33l/6aQO42gcVwJOoin0
> XUERHaJad0r0DTZCYcGK
> =1bmL
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>


Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-22 Thread Roparzh Hemon
On Fri, Jul 21, 2017 at 6:35 PM, Christopher Schultz
 wrote:
> Try re-posting your question on THIS list and see if you get better
> answers.
>

Done : 
http://tomcat.markmail.org/search/?q=#query:+page:1+mid:zzrx4xb5l4mudhzm+state:results

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Igal @ Lucee.org

Mark,

On 7/21/2017 10:47 AM, Mark Eggers wrote:



1. Watching a log file is not easy. No "tail". No command-line tools
to look at text files, other than "TYPE". Want to see that log file?
Open in Notepad. Oh, is your log file too big? Sorry, try a different
GUI editor. Oh, does your log file have newlines instead of CRLF?
Unreadable: must use WRITE.EXE or install another tool.

There are a lot of solutions for this:

1. My favorite - install cygwin


I highly recommend using MSYS2 over cygwin.  It is much "lighter" and 
provides all of the tools that I've ever needed:

http://www.msys2.org/

Igal Sapir
Lucee Core Developer
Lucee.org 





Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Mark Eggers
Chris,

Replies inline:

On 7/21/2017 10:01 AM, Christopher Schultz wrote:
> Roparzh,
> 
> On 7/20/17 2:16 PM, Roparzh Hemon wrote:
>> On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz 
>>  wrote:
> 
>>> 4. Java on Windows is a nightmare. If you want to quip about
>>> moving to a "real server OS," then suggest switching to a
>>> UNIX-like OS, where the Real Servers run :)
> 
>> I am quite curious and interested in what you say here, because my 
>> feedback and experience go the opposite direction.
> 
> Problems I've had on Windows with Java-based programs as listed below.
> Not all issues are Java-specific, however. I suspect most of these
> problems are because I just "don't know Windows well enough". Fair
> enough. But they are so irritating, they have made me confident I will
> never use Windows for anything production-related.
> 
> 1. Watching a log file is not easy. No "tail". No command-line tools
> to look at text files, other than "TYPE". Want to see that log file?
> Open in Notepad. Oh, is your log file too big? Sorry, try a different
> GUI editor. Oh, does your log file have newlines instead of CRLF?
> Unreadable: must use WRITE.EXE or install another tool.

There are a lot of solutions for this:

1. My favorite - install cygwin
2. Eclipse has a plugin (since you use Eclipse)

The Eclipse Log Viewer is a non blocking IO stream reader that
can tail any number of files and eclipse consoles.
It allows to syntax color the log files with either a regular
expression or a word match.

3. Powershell command (have not tried this)

Get-Content -Path "C:\scripts\test.txt" -Wait

> 
> 2. Running as a service is a headache. First, you need a wrapper
> program, but that wrapper program needs to fit into the Windows
> Service scheme. It's like systemd except without configuration files
> and instead you need configuration programs. This program can't return
> any useful status information (e.g. exit value) because anything other
> than 0 exit status means "error" and the service looks like it failed.
> Same is true with scheduled jobs, btw (and is worse, since
> scheduled-jobs really need to be able to return status information).
> If you want to use the command-line (let's just admit that Windows is
> completely unusable from the command-line), using "NET" to start/stop
> services is particularly difficult because the service name is always
> some 90-character string with spaces and special characters that need
> to be escaped. Using GUI tools gives you carpal tunnel syndrome with
> all the clicking required.
> 

This is one of the many reasons why I don't run Tomcat as a service on
development machines.

1. "Install" Tomcat from a zip or tar.gz file
2. Configure IDE to start / stop / debug Tomcat
3. Profit (more or less)

> 3. There are a handful of programs all which launch Java in different
> ways. You need javaw.exe if you don't want to see a console window,
> java.exe will always show a console window. If you use javaw.exe,
> stdout/stderr is discarded.
> 
> 4. File paths have unexpected quirks. This is not unique to Java and
> is getting much better where Java is concerned, since URL handlers are
> improving over time. Drive letters, UNC paths, network shares, etc.
> are all a headache to use because you have to know the incantation for
> each one to make it work. Sometimes you must map a network drive
> letter. Out of drive letters? Too bad. Sometimes \\server\share works.
> Maybe? Depends on the exact versions of everything involved.
> 
> 5. Scripting is awful. I'm sure PowerShell makes it better. But there
> was solution to this invented in the 1970s that is very powerful. It's
> sad that it took Windows 25 years to get a decent shell/script
> framework. Have a look at catalina.bat versus catalina.sh if you want
> to get a sense of how awful scripting in Windows actually is.
> 

Scripting is awful. Again, I install cygwin on all of my Windows machines.

OK - I'm avoiding installing cygwin on my Windows 10 laptop. We'll see
how much pain I can endure in my effort to learn PowerShell. It's the
same way I learned vi.

1. Install vi on my Windows machine (long time ago and far away)
2. Use nothing but vi (eschewing SPF editor / mainframe - long time ago)
3. Profit (or at least learnit)

>> My goal is to self-teach myself Java in JEE for Web development. I
>> am a long-time Mac fan, but on my mac I got stuck by a
>> configuration problem in JEE and got ZERO feedback on half a dozen
>> forums and mailing lists, including this one. In contrast, in this
>> windows question I got a lot of feedback very quickly.
> 
> Well, welcome to the community. If you ever meet me in person, you'll
> see I'm not such a miserable bastard as this thread would indicate.
> 
> -chris
> 

My overall goal in all of this is to have a single way of doing things
regardless of platform (object oriented development environment design).
I figure that I have enough to learn without trying to remember 

Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Mark Eggers
Roparzh,

On 7/21/2017 9:35 AM, Christopher Schultz wrote:
> Roparzh,
> 
> On 7/20/17 10:23 PM, Roparzh Hemon wrote:
>> On Thu, Jul 20, 2017 at 8:44 PM, Mark Thomas 
>> wrote:
>>> On 20/07/17 19:16, Roparzh Hemon wrote:
 I am a long-time Mac fan, but on my mac I got stuck by a
 configuration problem in JEE and got ZERO feedback on half a
 dozen forums and mailing lists, including this one.
>>>
>>> Reference please. A quick search of the archives suggests this is
>>> the first question you have asked on this list.
>>>
> 
>> You are technically correct, my bad, the question I was referring
>> to was on the Apache mailing list, not this Tomcat mailing list :
>> look at 
>> http://httpd.markmail.org/search/?q=#query:%20list%3Aorg.apache.httpd.
> users+page:13+mid:w72upzzpj4uh3bgk+state:results
> 
> I'm
> 
> not surprised you got no response: that's the list for the native
> web server. They probably just thought you were lost.
> 
> Your problem is actually with Eclipse and had nothing to do with what
> platform you are on. I've been developing Java web applications since
> 2000, and I use Eclipse, and I've never used Eclipse's "Run as
> server". So I would count myself pretty knowledgeable and even I would
> be no help.
> 
> Try re-posting your question on THIS list and see if you get better
> answers.
> 
> -chris

Although I run (mostly) on Windows and develop (mostly) using NetBeans,
I think that I can help with this.

Post your question here, and I can walk you through how I do this on
Windows and Eclipse / Oxygen.

Basically, my philosophy for development machines is the same regardless
of platform or IDE.

1. Keep the Tomcat installation in a directory that you own / control
2. Do not run Tomcat as a service (Windows, Linux, MacOS)
3. Control the start / stop / debug server commands through the IDE

Approaching a development machine in this fashion gives you lots of
flexibility, and avoids potential permissions problems.

. . . just my two cents
/mde/



signature.asc
Description: OpenPGP digital signature


Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roparzh,

On 7/20/17 2:16 PM, Roparzh Hemon wrote:
> On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz 
>  wrote:
> 
>> 4. Java on Windows is a nightmare. If you want to quip about
>> moving to a "real server OS," then suggest switching to a
>> UNIX-like OS, where the Real Servers run :)
> 
> I am quite curious and interested in what you say here, because my 
> feedback and experience go the opposite direction.

Problems I've had on Windows with Java-based programs as listed below.
Not all issues are Java-specific, however. I suspect most of these
problems are because I just "don't know Windows well enough". Fair
enough. But they are so irritating, they have made me confident I will
never use Windows for anything production-related.

1. Watching a log file is not easy. No "tail". No command-line tools
to look at text files, other than "TYPE". Want to see that log file?
Open in Notepad. Oh, is your log file too big? Sorry, try a different
GUI editor. Oh, does your log file have newlines instead of CRLF?
Unreadable: must use WRITE.EXE or install another tool.

2. Running as a service is a headache. First, you need a wrapper
program, but that wrapper program needs to fit into the Windows
Service scheme. It's like systemd except without configuration files
and instead you need configuration programs. This program can't return
any useful status information (e.g. exit value) because anything other
than 0 exit status means "error" and the service looks like it failed.
Same is true with scheduled jobs, btw (and is worse, since
scheduled-jobs really need to be able to return status information).
If you want to use the command-line (let's just admit that Windows is
completely unusable from the command-line), using "NET" to start/stop
services is particularly difficult because the service name is always
some 90-character string with spaces and special characters that need
to be escaped. Using GUI tools gives you carpal tunnel syndrome with
all the clicking required.

3. There are a handful of programs all which launch Java in different
ways. You need javaw.exe if you don't want to see a console window,
java.exe will always show a console window. If you use javaw.exe,
stdout/stderr is discarded.

4. File paths have unexpected quirks. This is not unique to Java and
is getting much better where Java is concerned, since URL handlers are
improving over time. Drive letters, UNC paths, network shares, etc.
are all a headache to use because you have to know the incantation for
each one to make it work. Sometimes you must map a network drive
letter. Out of drive letters? Too bad. Sometimes \\server\share works.
Maybe? Depends on the exact versions of everything involved.

5. Scripting is awful. I'm sure PowerShell makes it better. But there
was solution to this invented in the 1970s that is very powerful. It's
sad that it took Windows 25 years to get a decent shell/script
framework. Have a look at catalina.bat versus catalina.sh if you want
to get a sense of how awful scripting in Windows actually is.

> My goal is to self-teach myself Java in JEE for Web development. I
> am a long-time Mac fan, but on my mac I got stuck by a
> configuration problem in JEE and got ZERO feedback on half a dozen
> forums and mailing lists, including this one. In contrast, in this
> windows question I got a lot of feedback very quickly.

Well, welcome to the community. If you ever meet me in person, you'll
see I'm not such a miserable bastard as this thread would indicate.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZcjODAAoJEBzwKT+lPKRYET8P/jCEdqZV+Gk2X3QdvXU2wTII
AhEhrvvZiBX7J5juqqkHgvyxF0KiR8b1rbyv7GK3Zyek7vTWvIhHuMDa8uhz13SC
bmW2LnueOMH8JAH3GCmADCDPd4pTQxbYYuAnPLvyLgttu8+26ZrF3pk1zQVqWtQJ
Z9m47zGKs3cSuQfnbfeMeBNUE1jPeUC8yvEzn4QMb18mRFAFXFQMJKo8VzJCujgO
OLiUHMvC2J5lJoIxtt+F2AkeqHO+8Z8JxGEFYDxQVZDW5CBmNBZjqIfq5eYGlx6E
CPiDbArft+4Xazh/t37nq55l5NK79/izywsK5ZW0yUvHxiTPlwog3T2/AdF3tM9v
KHPVJU6rPpPWkRjOT09SQMfd0huKWGji2WF6c9uAo9MIJSzmOTwIgUSR4bA+yXaI
q9zdi7JxZP0EJyqC4HaZ7U0cFLvXAvfnRLIVibR04aw+ScjkfN2qxISgcIsPqAn6
HVeDNAuBQ73Fnfxkow9uYC/ho59gRKARcThSIxMwh13DBhXfgwaqfigLfGeCD/uR
N2eWdPAwNHsGQwhaaIDZECURIDTkmmDyWX/3gRFEA75jGaOiNMK7XdohsOrcBTpT
LRHWJxSJJhdxi1Muijda1JSXZ2RlhrbWt9yS0w47D9nUcd7SnG6KCZUwmFuMiDuR
4yp6aJ8wG3GxfqvOYYtt
=ogro
-END PGP SIGNATURE-

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Roparzh,

On 7/20/17 10:23 PM, Roparzh Hemon wrote:
> On Thu, Jul 20, 2017 at 8:44 PM, Mark Thomas 
> wrote:
>> On 20/07/17 19:16, Roparzh Hemon wrote:
>>> I am a long-time Mac fan, but on my mac I got stuck by a
>>> configuration problem in JEE and got ZERO feedback on half a
>>> dozen forums and mailing lists, including this one.
>> 
>> Reference please. A quick search of the archives suggests this is
>> the first question you have asked on this list.
>> 
> 
> You are technically correct, my bad, the question I was referring
> to was on the Apache mailing list, not this Tomcat mailing list :
> look at 
> http://httpd.markmail.org/search/?q=#query:%20list%3Aorg.apache.httpd.
users+page:13+mid:w72upzzpj4uh3bgk+state:results

I'm
> 
not surprised you got no response: that's the list for the native
web server. They probably just thought you were lost.

Your problem is actually with Eclipse and had nothing to do with what
platform you are on. I've been developing Java web applications since
2000, and I use Eclipse, and I've never used Eclipse's "Run as
server". So I would count myself pretty knowledgeable and even I would
be no help.

Try re-posting your question on THIS list and see if you get better
answers.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZci05AAoJEBzwKT+lPKRY1ggP/A8CB72crJKB8jdy0HFtypAt
ePIrihRPlxBeTw6sCkV7oivIatEa9YaEtgogPsAB8e06LUgvtknGXZHU6ioiqyZI
e/ex1CCQ4Ximyvef8gzDpFy0mfjAtgP8PiEtqo+C2w3v3b7/3KqoW3ZP5I60lyWA
1uadgyKBYnqEXxpInyXrSrKperDyPe3WOABC1FcRuLDpPCXzseJyPHAGxJDRdBsU
fM4tr85GybMPb8YZ4lrKe5abDsYnG9rWVWMjXTpKGbu6NuVWKOjgKjSt69ndrMac
UiKeYIugTmGL51boHPPLCQiNcgY/+TTWl5qWEQDM8lnnjHjZ/GTxZfkIkXFpvAuq
5hItMA49adKZWc5w6Hm1G7md4EHTFrT90mjo2XhCSUbJnuDbP/duMJy7Trg7Oyqa
mOzuUqpRFrQ9dIU0i6mXRPZq5g5OJz7n8BY5IIiNSHCKdqzwZ+UVsw7KIXx9LdCi
AW0LO34+J5PLOFspsUwAm6I84d6eerS8oISw4zy9zY+l1KuoMd9b76uyo4ahcDpO
HwFYSf41P44ZxJM8MWlaODMfq4xMZtrRjR21jZJKzyzrpwqKT9beC7Ndf90i+vnR
ln+3VrNc3i53HbhYHno0lhCUKslcwXUPIQq9SuiH4gEl6ijBsNM2UgkQ8aFwfGpP
Kj/pttDEdtxZTNGYmSFu
=/9fo
-END PGP SIGNATURE-

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-21 Thread Roparzh Hemon
Because I was bored and irritated by this persistent problem, I ended
up doing what I seldom do, choosing "Ignore and Continue (Not
Recommended)" in the list of options in the installation wizard. The
installation then finishes, but localhost:8080 is not recognized in
the browser.

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 8:44 PM, Mark Thomas  wrote:
> On 20/07/17 19:16, Roparzh Hemon wrote:
>>  I am a long-time
>> Mac fan, but on my mac I got stuck by a configuration problem in JEE
>> and got ZERO feedback on half a dozen forums and mailing lists,
>> including this one.
>
> Reference please. A quick search of the archives suggests this is the
> first question you have asked on this list.
>

  You are technically correct, my bad, the question I was referring to
was on the Apache mailing list, not this Tomcat mailing list : look at
http://httpd.markmail.org/search/?q=#query:%20list%3Aorg.apache.httpd.users+page:13+mid:w72upzzpj4uh3bgk+state:results

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Eggers
Roparzh,

On 7/20/2017 6:45 AM, Roparzh Hemon wrote:
>  Hello all,
> 
>  I am currently unable to install Tomcat 9.0 on my Windows 10
> system (I didn't install any other version of Tomcat so far).
>  I've retried several times and the same problem appears over and
> over again :
>  The install process goes on smoothly with the install wizard, up
> to the point where I see the following output :
> 
>  Installing Tomcat9 service
>  Apache Tomcat Setup
>  Failed to install Tomcate9 service.
>  Check your settings and permissions.
>  Ignore and continue anyway (not recommended) ?
>  Abort / Retry / Ignore
> 
>How exactly should I "check my settings and permissions"  ?
>Any help appreciated.

I had no issue installing Apache Tomcat 9.0.0 M22 on my Windows 10
laptop as a service.

Here are the steps that I took.
0. I already have a folder: C:\Users\[username]\Apache
1. Make a new folder in that one - called apache-tomcat-9.0.0.M22
2. download apache-tomcat-9.0.0.M22.exe
3. launch the installer
4. Agree to the UAC prompt
5. Follow the install wizard
6. Didn't automatically start the service or read the readme.txt

To run:

1. open the start menu
2. browse to Apache Tomcat 9.0 Tomcat9
3. Start the Monitor Tomcat application
4. Dig the Monitor Tomcat application out of the hidden icons
5. Right-mouse click on the running Monitor Tomcat application
6. Select Start service
7. Browse to http://localhost:8080

All that being said, I don't normally run Tomcat as a service on my
development machines. I typically download the appropriate zip file,
unpack it somewhere, and run from that.

I find that the zip file installation integrates much more nicely with
various IDEs. In particular I use NetBeans 8.2, which uses the standard
manager interface for deploying applications. Eclipse with the JBoss
Tools plugin works OK as well.

As far as Macintosh vs. Windows vs. Linux . . . running Tomcat and a
J2EE IDE should be pretty much the same across all platforms.

I prefer Linux, use Windows (7 and 10), and don't (yet) own a Macintosh
(which explains why I don't answer Macintosh questions).

. . . just my two cents
/mde/



signature.asc
Description: OpenPGP digital signature


Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20/07/17 19:16, Roparzh Hemon wrote:
> On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz
>  wrote:
> 
>> 4. Java on Windows is a nightmare. If you want to quip about moving to
>> a "real server OS," then suggest switching to a UNIX-like OS, where
>> the Real Servers run :)
> 
>   I am quite curious and interested in what you say here, because my
> feedback and experience go the opposite direction. My goal is to
> self-teach myself Java in JEE for Web development. I am a long-time
> Mac fan, but on my mac I got stuck by a configuration problem in JEE
> and got ZERO feedback on half a dozen forums and mailing lists,
> including this one.

Reference please. A quick search of the archives suggests this is the
first question you have asked on this list.

Mark



> In contrast, in this windows question I got a lot
> of feedback very quickly.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org

On 7/20/2017 11:16 AM, Roparzh Hemon wrote:

On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz
 wrote:


4. Java on Windows is a nightmare. If you want to quip about moving to
a "real server OS," then suggest switching to a UNIX-like OS, where
the Real Servers run :)

   I am quite curious and interested in what you say here, because my
feedback and experience go the opposite direction. My goal is to
self-teach myself Java in JEE for Web development. I am a long-time
Mac fan, but on my mac I got stuck by a configuration problem in JEE
and got ZERO feedback on half a dozen forums and mailing lists,
including this one. In contrast, in this windows question I got a lot
of feedback very quickly.


The thing here is that Java is configured and runs pretty much the same 
on all of the operating systems.  There is nothing wrong with Windows 
with respect to developing, configuring, or running Java. That applies 
to all Java software, including Tomcat.


If you are switching from a Mac, though, then perhaps a UNIX-like OS 
would have been a better choice for you, since MacOS is based on BSD, 
and even Microsoft is moving towards the *nix world (e.g. added Bash 
from Ubuntu, made a Linux version SQL Server, etc.).


Anyway, there's nothing wrong with Windows if you don't mind their 
licensing, costs, and added overhead of GUI where it is not needed.


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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 8:03 PM, Christopher Schultz
 wrote:

> 4. Java on Windows is a nightmare. If you want to quip about moving to
> a "real server OS," then suggest switching to a UNIX-like OS, where
> the Real Servers run :)

  I am quite curious and interested in what you say here, because my
feedback and experience go the opposite direction. My goal is to
self-teach myself Java in JEE for Web development. I am a long-time
Mac fan, but on my mac I got stuck by a configuration problem in JEE
and got ZERO feedback on half a dozen forums and mailing lists,
including this one. In contrast, in this windows question I got a lot
of feedback very quickly.

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



Re: [OT] Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

kidambi,

On 7/20/17 10:49 AM, kidambi madhu wrote:
> Hi Hemon,
> 
> Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation
> OS.
> 
> Servers will perform good on Servers only

Bad advice all around:

1. Windows 2k8 was EOL 2015-01-13 [security risk]
2. Windows Server and "workstation" use the same kernel [no difference]
3. Java runtime is the same regardless of the OS flavor [no difference]
4. Java on Windows is a nightmare. If you want to quip about moving to
a "real server OS," then suggest switching to a UNIX-like OS, where
the Real Servers run :)

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJZcPBmAAoJEBzwKT+lPKRYIeEP/1Hf8HWSVC8RU5+oGmO1Xlro
wSykSpgzOYGQO5ZGsUwcJCi0sHmcKYM9QFOp5KxaQ2cMZLSRMtZavpWWF+78UDxG
lJNxZr++kIt1wxqcGAUUZjdZBFAExl4g+IsjouyZOtCZn1gjptxhQP3JDPAGnTe5
jHaLqBvoQYhQDUGN3Tc/F+TCpnSpcXH3BvPtOtmLBz+8f7wRkQy2+x2lG1DDXFS0
GlKyx5Xp3MkeHt+PO+jc/2CvqFCIj/sI7YvDp8muVPSJjo+2zch72djVKncgnQNg
ylDUw9V8mQfGRIST9TxJT9NpLAVPcfJlBPYu/JMgVIGGX4GQZtihpmHT4bxebe/T
uJMFjtBs9n4g/gKWQlY9jGff0mqbmihgYxcFqitzCHCK5xFApFNFS+Kx3y+f0yFd
ncMPIv/BXlAKvtJkiXNAGT3UxuNgAnYJFfrQ3IsjT807RPW2bzkQ5EPg1o7h19pn
VlmwY+4Z5ALMfIu8v6cFyM9HMF3cEL246R0qnLTnBARNxlRNN1KUNJWSRDzIZ1nf
NkxVkbwXE5CaC4+It31MD0adjuxx8LJH0SimqQ6WYtvY2+Kw1C0m28VPJz9mrqze
713b/OnZr1jWtc4LFki2Eto9844TWA9NGaYz5Q6eentY33l/6aQO42gcVwJOoin0
XUERHaJad0r0DTZCYcGK
=1bmL
-END PGP SIGNATURE-

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:59 PM, Suvendu Sekhar Mondal
 wrote:

> Sounds like you have downloaded the binary version of Tomcat. Can you
> please right-click on it and check the properties? If you see a
> "unblocked" checkbox, then unblock it first. Then try to install it
> with admin privilege.
>

  When I right-click I don't have a checkbox but I do have a "Run as
administrator" menu item, so I tried that and combined it with Igal
Sapir's suggestion above to use another, homemade directory for
install.

  Surprisingly, I STILL get the exact same problem and error message.

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20 July 2017 15:49:25 BST, kidambi madhu  wrote:
>Hi Hemon,
>
>Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation OS.
>
>Servers will perform good on Servers only

That statement is highly debatable and irrelevant to the problem the original 
poster reported.

Mark


>
>Thanks,
>Madhu
>
>On Thu, Jul 20, 2017 at 3:46 PM, Roparzh Hemon 
>wrote:
>
>> On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas 
>wrote:
>>
>>
>> > You probably need to install with admin privs.
>>
>>
>>   How would I do that ? Unless I missed something the installation
>> wizard never mentions priviledges before the step where I get an
>error
>> message
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>


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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org

On 7/20/2017 8:06 AM, Roparzh Hemon wrote:

Should I create that Apps directory ?

Yes.

You can name it anything you want, but "Apps" is short and semantic in 
my opinion, so that's the simplest way.  Then you don't have to worry 
about the space nor permissions.



Igal Sapir
Lucee Core Developer
Lucee.org 



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:51 PM, Igal @ Lucee.org  wrote:

>
>
> C:\Program Files\... is a bad place in my opinion, for two reasons:
>
> 1) There is a stupid space there added by some "genius" from Microsoft
> 2) It often requires elevated rights for "write"
>
> I recommend putting it someplace else, e.g. C:\Apps
>
>
But I don't have any Apps directory inside C:, (I only have PerfLogs,
Program Files, Program Files x86, Users, Windows, Windows10Upgrade). Should
I create that Apps directory ?


Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:51 PM, M. Manna  wrote:
> what does the following show on command line
> echo %TMP%
> echo %TEMP%
>

Both those commands yield C:\Users\ROPARZ~1\AppData\Local\Temp

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Suvendu Sekhar Mondal
On Thu, Jul 20, 2017 at 7:53 PM, Mark Thomas  wrote:
> On 20/07/17 14:45, Roparzh Hemon wrote:
>>  Hello all,
>>
>>  I am currently unable to install Tomcat 9.0 on my Windows 10
>> system (I didn't install any other version of Tomcat so far).
>>  I've retried several times and the same problem appears over and
>> over again :
>>  The install process goes on smoothly with the install wizard, up
>> to the point where I see the following output :
>>
>>  Installing Tomcat9 service
>>  Apache Tomcat Setup
>>  Failed to install Tomcate9 service.
>>  Check your settings and permissions.
>>  Ignore and continue anyway (not recommended) ?
>>  Abort / Retry / Ignore
>>
>>How exactly should I "check my settings and permissions"  ?
>>Any help appreciated.
>
> You probably need to install with admin privs.
>
> Mark

Agreed.

Roparzh,
Sounds like you have downloaded the binary version of Tomcat. Can you
please right-click on it and check the properties? If you see a
"unblocked" checkbox, then unblock it first. Then try to install it
with admin privilege.

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread M. Manna
what does the following show on command line
echo %TMP%
echo %TEMP%

On 20 July 2017 at 15:44, Roparzh Hemon  wrote:

> I created a C:\Program Files\Apache
> Software Foundation\Tomcat 9.0 again directory next to the original
> one, and retried the installation process with that location for the
> install directory, but the problem and error message stayed the same.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Igal @ Lucee.org

On 7/20/2017 7:44 AM, Roparzh Hemon wrote:

I created a C:\Program Files\Apache
Software Foundation\Tomcat 9.0 again directory next to the original
one, and retried the installation process with that location for the
install directory, but the problem and error message stayed the same.


C:\Program Files\... is a bad place in my opinion, for two reasons:

1) There is a stupid space there added by some "genius" from Microsoft
2) It often requires elevated rights for "write"

I recommend putting it someplace else, e.g. C:\Apps


On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas  wrote:

You probably need to install with admin privs.

   How would I do that ? Unless I missed something the installation
wizard never mentions priviledges before the step where I get an error
message


If you're using Command Prompt, then to launch it, right-click and 
choose "Run as administrator":



Igal Sapir
Lucee Core Developer
Lucee.org 



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread kidambi madhu
Hi Hemon,

Pls use a server OS (Windows Server 2K8 or 2K12 than Workstation OS.

Servers will perform good on Servers only

Thanks,
Madhu

On Thu, Jul 20, 2017 at 3:46 PM, Roparzh Hemon 
wrote:

> On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas  wrote:
>
>
> > You probably need to install with admin privs.
>
>
>   How would I do that ? Unless I missed something the installation
> wizard never mentions priviledges before the step where I get an error
> message
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:23 PM, Mark Thomas  wrote:


> You probably need to install with admin privs.


  How would I do that ? Unless I missed something the installation
wizard never mentions priviledges before the step where I get an error
message

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
I created a C:\Program Files\Apache
Software Foundation\Tomcat 9.0 again directory next to the original
one, and retried the installation process with that location for the
install directory, but the problem and error message stayed the same.

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
On Thu, Jul 20, 2017 at 4:20 PM, M. Manna  wrote:
> Where is your TMP folder location? Is it somewhere inside Windows?
> Try a different TMP folder location and restart.

Not sure what you mean by TMP folder location.
The default install directory in the wizard is C:\Program Files\Apache
Software Foundation\Tomcat 9.0 (but it's not temporary as some items
will permanently be stored there, so it shouldn't be called TMP)
 I'll try another location for that install directory and let you know
the results.

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Mark Thomas
On 20/07/17 14:45, Roparzh Hemon wrote:
>  Hello all,
> 
>  I am currently unable to install Tomcat 9.0 on my Windows 10
> system (I didn't install any other version of Tomcat so far).
>  I've retried several times and the same problem appears over and
> over again :
>  The install process goes on smoothly with the install wizard, up
> to the point where I see the following output :
> 
>  Installing Tomcat9 service
>  Apache Tomcat Setup
>  Failed to install Tomcate9 service.
>  Check your settings and permissions.
>  Ignore and continue anyway (not recommended) ?
>  Abort / Retry / Ignore
> 
>How exactly should I "check my settings and permissions"  ?
>Any help appreciated.

You probably need to install with admin privs.

Mark

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



Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread M. Manna
Where is your TMP folder location? Is it somewhere inside Windows?
Try a different TMP folder location and restart.

On 20 July 2017 at 14:45, Roparzh Hemon  wrote:

>  Hello all,
>
>  I am currently unable to install Tomcat 9.0 on my Windows 10
> system (I didn't install any other version of Tomcat so far).
>  I've retried several times and the same problem appears over and
> over again :
>  The install process goes on smoothly with the install wizard, up
> to the point where I see the following output :
>
>  Installing Tomcat9 service
>  Apache Tomcat Setup
>  Failed to install Tomcate9 service.
>  Check your settings and permissions.
>  Ignore and continue anyway (not recommended) ?
>  Abort / Retry / Ignore
>
>How exactly should I "check my settings and permissions"  ?
>Any help appreciated.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Roparzh Hemon
 Hello all,

 I am currently unable to install Tomcat 9.0 on my Windows 10
system (I didn't install any other version of Tomcat so far).
 I've retried several times and the same problem appears over and
over again :
 The install process goes on smoothly with the install wizard, up
to the point where I see the following output :

 Installing Tomcat9 service
 Apache Tomcat Setup
 Failed to install Tomcate9 service.
 Check your settings and permissions.
 Ignore and continue anyway (not recommended) ?
 Abort / Retry / Ignore

   How exactly should I "check my settings and permissions"  ?
   Any help appreciated.

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