Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-29 Thread zeugme
Yes, I can confirm.
There is a bug on Tomcat launch with previous version of NB, at least
version 11.
It works fine with version 12 beta.

On Wed, 27 May 2020 at 07:42, Geertjan Wielenga  wrote:

>
> Can you try this scenario with 12.0 Beta 5? There has been a recent fix in
> this area.
>
> bit.ly/download-12-0-beta-5
>
> Gj
>
> On Wed, 27 May 2020 at 04:25, René Aravena  wrote:
>
>> Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I
>> went back to the apache-tomcat-9.0.30 and it worked ok, however I didn't
>> have time to investigate what it was about.
>> Maybe if you just need it to work the deployment this information will be
>> useful.
>>
>> René Aravena
>>
>>
>> El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron (
>> mbaron.netbe...@fastmail.com) escribió:
>>
>>> Software: NetBeans 11.3, Tomcat 8.8.55.
>>>
>>> I have a simple, out of the box Maven web/servlet app that is
>>> effectively a "Hello world" app.
>>>
>>> When I set it up to run in a Wildfly or GlassFish server it deploys and
>>> runs fine, with no special configuration other than setting up the "Server"
>>> in NetBeans.
>>>
>>> When I set it up to run in Tomcat, the entire deployment  (as in when I
>>> hit the Run button) seems to hang.  It will start the Tomcat server, but
>>> the war file is never copied anywhere in $CATALINA_HOME.  The NetBeans GUI
>>> hourglasses, saying "Waiting for tomcat", despite the Catalina log saying
>>> the server started just fine.
>>>
>>> If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will
>>> automatically deploy the war file with no issues.
>>>
>>> Any ideas on how to get this to work?
>>>
>>>
>>>
>>>


Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
Running 12.0 Beta 5, I had no issues at all with these versions of Tomcat. 
Thanks again!

apache-tomcat-8.5.55/

apache-tomcat-9.0.30/

apache-tomcat-9.0.35/



-- 
 Matt Baron
mbaron.netbe...@fastmail.com



On Wed, May 27, 2020, at 11:14 AM, Matt Baron wrote:
> For sure. I'll install it today and report back ASAP.
> 
> -- 
>  Matt Baron
> mbaron.netbe...@fastmail.com
> 
> 
> 
> On Wed, May 27, 2020, at 12:41 AM, Geertjan Wielenga wrote:
>> 
>> Can you try this scenario with 12.0 Beta 5? There has been a recent fix in 
>> this area.
>> 
>> bit.ly/download-12-0-beta-5
>> 
>> Gj
>> 
>> On Wed, 27 May 2020 at 04:25, René Aravena  wrote:
>>> Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went 
>>> back to the apache-tomcat-9.0.30 and it worked ok, however I didn't have 
>>> time to investigate what it was about.
>>> Maybe if you just need it to work the deployment this information will be 
>>> useful.
>>> 
>>> René Aravena
>>> 
>>> 
>>> El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron 
>>> (mbaron.netbe...@fastmail.com) escribió:
 __
 Software: NetBeans 11.3, Tomcat 8.8.55.
 
 I have a simple, out of the box Maven web/servlet app that is effectively 
 a "Hello world" app. 
 
 When I set it up to run in a Wildfly or GlassFish server it deploys and 
 runs fine, with no special configuration other than setting up the 
 "Server" in NetBeans.
 
 When I set it up to run in Tomcat, the entire deployment (as in when I hit 
 the Run button) seems to hang. It will start the Tomcat server, but the 
 war file is never copied anywhere in $CATALINA_HOME. The NetBeans GUI 
 hourglasses, saying "Waiting for tomcat", despite the Catalina log saying 
 the server started just fine.
 
 If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will 
 automatically deploy the war file with no issues.
 
 Any ideas on how to get this to work?
 
 
 
> 


Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
For sure. I'll install it today and report back ASAP.

-- 
 Matt Baron
mbaron.netbe...@fastmail.com



On Wed, May 27, 2020, at 12:41 AM, Geertjan Wielenga wrote:
> 
> Can you try this scenario with 12.0 Beta 5? There has been a recent fix in 
> this area.
> 
> bit.ly/download-12-0-beta-5
> 
> Gj
> 
> On Wed, 27 May 2020 at 04:25, René Aravena  wrote:
>> Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went 
>> back to the apache-tomcat-9.0.30 and it worked ok, however I didn't have 
>> time to investigate what it was about.
>> Maybe if you just need it to work the deployment this information will be 
>> useful.
>> 
>> René Aravena
>> 
>> 
>> El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron 
>> (mbaron.netbe...@fastmail.com) escribió:
>>> __
>>> Software: NetBeans 11.3, Tomcat 8.8.55.
>>> 
>>> I have a simple, out of the box Maven web/servlet app that is effectively a 
>>> "Hello world" app. 
>>> 
>>> When I set it up to run in a Wildfly or GlassFish server it deploys and 
>>> runs fine, with no special configuration other than setting up the "Server" 
>>> in NetBeans.
>>> 
>>> When I set it up to run in Tomcat, the entire deployment (as in when I hit 
>>> the Run button) seems to hang. It will start the Tomcat server, but the war 
>>> file is never copied anywhere in $CATALINA_HOME. The NetBeans GUI 
>>> hourglasses, saying "Waiting for tomcat", despite the Catalina log saying 
>>> the server started just fine.
>>> 
>>> If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will 
>>> automatically deploy the war file with no issues.
>>> 
>>> Any ideas on how to get this to work?
>>> 
>>> 
>>> 


Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
Thank you Rene! Tomcat 9.0.30 worked perfectly.

-- 
 Matt Baron
mbaron.netbe...@fastmail.com



On Tue, May 26, 2020, at 9:24 PM, René Aravena wrote:
> Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went 
> back to the apache-tomcat-9.0.30 and it worked ok, however I didn't have time 
> to investigate what it was about.
> Maybe if you just need it to work the deployment this information will be 
> useful.
> 
> René Aravena
> 
> 
> El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron 
> (mbaron.netbe...@fastmail.com) escribió:
>> __
>> Software: NetBeans 11.3, Tomcat 8.8.55.
>> 
>> I have a simple, out of the box Maven web/servlet app that is effectively a 
>> "Hello world" app. 
>> 
>> When I set it up to run in a Wildfly or GlassFish server it deploys and runs 
>> fine, with no special configuration other than setting up the "Server" in 
>> NetBeans.
>> 
>> When I set it up to run in Tomcat, the entire deployment (as in when I hit 
>> the Run button) seems to hang. It will start the Tomcat server, but the war 
>> file is never copied anywhere in $CATALINA_HOME. The NetBeans GUI 
>> hourglasses, saying "Waiting for tomcat", despite the Catalina log saying 
>> the server started just fine.
>> 
>> If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will 
>> automatically deploy the war file with no issues.
>> 
>> Any ideas on how to get this to work?
>> 
>> 
>> 


Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread Geertjan Wielenga
Can you try this scenario with 12.0 Beta 5? There has been a recent fix in
this area.

bit.ly/download-12-0-beta-5

Gj

On Wed, 27 May 2020 at 04:25, René Aravena  wrote:

> Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I
> went back to the apache-tomcat-9.0.30 and it worked ok, however I didn't
> have time to investigate what it was about.
> Maybe if you just need it to work the deployment this information will be
> useful.
>
> René Aravena
>
>
> El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron (
> mbaron.netbe...@fastmail.com) escribió:
>
>> Software: NetBeans 11.3, Tomcat 8.8.55.
>>
>> I have a simple, out of the box Maven web/servlet app that is effectively
>> a "Hello world" app.
>>
>> When I set it up to run in a Wildfly or GlassFish server it deploys and
>> runs fine, with no special configuration other than setting up the "Server"
>> in NetBeans.
>>
>> When I set it up to run in Tomcat, the entire deployment  (as in when I
>> hit the Run button) seems to hang.  It will start the Tomcat server, but
>> the war file is never copied anywhere in $CATALINA_HOME.  The NetBeans GUI
>> hourglasses, saying "Waiting for tomcat", despite the Catalina log saying
>> the server started just fine.
>>
>> If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will
>> automatically deploy the war file with no issues.
>>
>> Any ideas on how to get this to work?
>>
>>
>>
>>


Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread René Aravena
Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went
back to the apache-tomcat-9.0.30 and it worked ok, however I didn't have
time to investigate what it was about.
Maybe if you just need it to work the deployment this information will be
useful.

René Aravena


El mar., 26 de may. de 2020 a la(s) 21:11, Matt Baron (
mbaron.netbe...@fastmail.com) escribió:

> Software: NetBeans 11.3, Tomcat 8.8.55.
>
> I have a simple, out of the box Maven web/servlet app that is effectively
> a "Hello world" app.
>
> When I set it up to run in a Wildfly or GlassFish server it deploys and
> runs fine, with no special configuration other than setting up the "Server"
> in NetBeans.
>
> When I set it up to run in Tomcat, the entire deployment  (as in when I
> hit the Run button) seems to hang.  It will start the Tomcat server, but
> the war file is never copied anywhere in $CATALINA_HOME.  The NetBeans GUI
> hourglasses, saying "Waiting for tomcat", despite the Catalina log saying
> the server started just fine.
>
> If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will
> automatically deploy the war file with no issues.
>
> Any ideas on how to get this to work?
>
>
>
>


[java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread Matt Baron
Software: NetBeans 11.3, Tomcat 8.8.55.

I have a simple, out of the box Maven web/servlet app that is effectively a 
"Hello world" app. 

When I set it up to run in a Wildfly or GlassFish server it deploys and runs 
fine, with no special configuration other than setting up the "Server" in 
NetBeans.

When I set it up to run in Tomcat, the entire deployment (as in when I hit the 
Run button) seems to hang. It will start the Tomcat server, but the war file is 
never copied anywhere in $CATALINA_HOME. The NetBeans GUI hourglasses, saying 
"Waiting for tomcat", despite the Catalina log saying the server started just 
fine.

If I manually copy the war file to $CATALINA_HOME/webapps, Tomcat will 
automatically deploy the war file with no issues.

Any ideas on how to get this to work?