Re: NetBeans platform application in Windows Docker container

2018-04-28 Thread Platou, Halvor
Thanks! I will look into that.

Halvor

> 28. apr. 2018 kl. 09:26 skrev Emilian Bold <emilian.b...@protonmail.ch>:
>
> I assumed your app might be large, but a non-GUI Platform has only a few 
> JARs, you can probably build a classpath by hand and launch it with a .bat 
> file or something.
>
> But if you know that other Java apps launch fine, it's clearly the launcher.
>
> If you jump over to dev@ there was a discussion recently related to the 
> Windows launcher (by Eric Barboni I believe).
>
> You might see if it's easy to rebuild it yourself (perhaps with more logging 
> options?) in order to see why it is failing in that container.
>
> --emi
>
> ‐‐‐ Original Message ‐‐‐
>
>> On 28 April 2018 9:42 AM, Platou, Halvor <halvor.pla...@dnvgl.com> wrote:
>>
>> No, no logs or console output. The userdir is not created. Running a plain 
>> java application works just fine. I think you are right that there is 
>> something with the launcher. It fails so fast that I don't think the jvm is 
>> started. Are there any arguments I could set to the launcher that makes it 
>> more verbose? Do you know if it depends on any C++ redistributable version?
>>
>> The application I'm trying to launch is actually quite large, even without 
>> any GUI, and I would really like to utilize all the benefits of the NetBeans 
>> platform :)
>>
>> Br,
>>
>> Halvor
>>
>> -Original Message-
>>
>> From: Emilian Bold [mailto:emilian.b...@protonmail.ch]
>>
>> Sent: lørdag 28. april 2018 07.23
>>
>> To: Platou, Halvor halvor.pla...@dnvgl.com
>>
>> Cc: users@netbeans.apache.org
>>
>> Subject: Re: NetBeans platform application in Windows Docker container
>>
>> Never heard of this, but are there no NetBeans logs to look at?
>>
>> It might be just the .exe launcher having and issues inside this new 
>> configuration.
>>
>> Have you tried just running java by hand? A non-GUI Platform app shouldn't 
>> have that many JARs.
>>
>> --emi
>>
>> ‐‐‐ Original Message ‐‐‐
>>
>>> On 28 April 2018 1:13 AM, Platou, Halvor halvor.pla...@dnvgl.com wrote:
>>>
>>> Hi,
>>>
>>> Anyone been able to run a NetBeans platform application(no gui) in a 
>>> Windows Docker container? I have tried using the 
>>> openjdk:8-windowsservercore, but when trying to start the application 
>>> executable it immediately returns without any messages. I have also tried 
>>> installing a bunch of vcredist-versions without luck.
>>>
>>> Br
>>>
>>> Halvor Platou
>>>
>>> This e-mail and any attachments thereto may contain confidential 
>>> information and/or information protected by intellectual property rights 
>>> for the exclusive attention of the intended addressees named above. If you 
>>> have received this transmission in error, please immediately notify the 
>>> sender by return e-mail and delete this message and its attachments. 
>>> Unauthorized use, copying or further full or partial distribution of this 
>>> e-mail or its contents is prohibited.
>>
>> This e-mail and any attachments thereto may contain confidential information 
>> and/or information protected by intellectual property rights for the 
>> exclusive attention of the intended addressees named above. If you have 
>> received this transmission in error, please immediately notify the sender by 
>> return e-mail and delete this message and its attachments. Unauthorized use, 
>> copying or further full or partial distribution of this e-mail or its 
>> contents is prohibited.
>>
>> BCB[XܚXKK[XZ[\][XܚXP]X[˘\XKܙB܈Y][ۘ[[X[K[XZ[\Z[]X[˘\XKܙBB܈\\[ܛX][ۈX]H]X[XZ[[\]B΋ZK\XKܙۙY[K\^KӑUPSXZ[[\BB
>
>

**
This e-mail and any attachments thereto may contain confidential information 
and/or information protected by intellectual property rights for the exclusive 
attention of the intended addressees named above. If you have received this 
transmission in error, please immediately notify the sender by return e-mail 
and delete this message and its attachments. Unauthorized use, copying or 
further full or partial distribution of this e-mail or its contents is 
prohibited.
**

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: NetBeans platform application in Windows Docker container

2018-04-28 Thread Platou, Halvor
Hi,

So far I’m testing with an interactive terminal.

Halvor

28. apr. 2018 kl. 10:32 skrev Boris Heithecker 
>:

Hi,
in Docker, the container exits if the main process exits, nonregarding any 
processes spawned by the first one.
How did you start the application? Using CMD, or ENTRYPOINT?

Boris

2018-04-28 0:13 GMT+02:00 Platou, Halvor 
>:
Hi,

Anyone been able to run a NetBeans platform application(no gui) in a Windows 
Docker container? I have tried using the openjdk:8-windowsservercore, but when 
trying to start the application executable it immediately returns without any 
messages. I have also tried installing a bunch of vcredist-versions without 
luck.

Br
Halvor Platou


**
This e-mail and any attachments thereto may contain confidential information 
and/or information protected by intellectual property rights for the exclusive 
attention of the intended addressees named above. If you have received this 
transmission in error, please immediately notify the sender by return e-mail 
and delete this message and its attachments. Unauthorized use, copying or 
further full or partial distribution of this e-mail or its contents is 
prohibited.
**



--
Boris Heithecker


Dr. Boris Heithecker
Lüneburger Str. 30
28870 Ottersberg
Tel.: 0 42 05/ 31 58 34

**
This e-mail and any attachments thereto may contain confidential information 
and/or information protected by intellectual property rights for the exclusive 
attention of the intended addressees named above. If you have received this 
transmission in error, please immediately notify the sender by return e-mail 
and delete this message and its attachments. Unauthorized use, copying or 
further full or partial distribution of this e-mail or its contents is 
prohibited.
**


Re: NetBeans platform application in Windows Docker container

2018-04-28 Thread Boris Heithecker
Hi,
in Docker, the container exits if the main process exits, nonregarding any
processes spawned by the first one.
How did you start the application? Using CMD, or ENTRYPOINT?

Boris

2018-04-28 0:13 GMT+02:00 Platou, Halvor :

> Hi,
>
>
>
> Anyone been able to run a NetBeans platform application(no gui) in a
> Windows Docker container? I have tried using the
> openjdk:8-windowsservercore, but when trying to start the application
> executable it immediately returns without any messages. I have also tried
> installing a bunch of vcredist-versions without luck.
>
>
>
> Br
>
> Halvor Platou
>
>
>
> 
> **
> This e-mail and any attachments thereto may contain confidential
> information and/or information protected by intellectual property rights
> for the exclusive attention of the intended addressees named above. If you
> have received this transmission in error, please immediately notify the
> sender by return e-mail and delete this message and its attachments.
> Unauthorized use, copying or further full or partial distribution of this
> e-mail or its contents is prohibited.
> 
> **
>



-- 
Boris Heithecker


Dr. Boris Heithecker
Lüneburger Str. 30
28870 Ottersberg
Tel.: 0 42 05/ 31 58 34


RE: NetBeans platform application in Windows Docker container

2018-04-28 Thread Emilian Bold
I assumed your app might be large, but a non-GUI Platform has only a few JARs, 
you can probably build a classpath by hand and launch it with a .bat file or 
something.

But if you know that other Java apps launch fine, it's clearly the launcher.

If you jump over to dev@ there was a discussion recently related to the Windows 
launcher (by Eric Barboni I believe).

You might see if it's easy to rebuild it yourself (perhaps with more logging 
options?) in order to see why it is failing in that container.

--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 9:42 AM, Platou, Halvor <halvor.pla...@dnvgl.com> wrote:

> No, no logs or console output. The userdir is not created. Running a plain 
> java application works just fine. I think you are right that there is 
> something with the launcher. It fails so fast that I don't think the jvm is 
> started. Are there any arguments I could set to the launcher that makes it 
> more verbose? Do you know if it depends on any C++ redistributable version?
> 
> The application I'm trying to launch is actually quite large, even without 
> any GUI, and I would really like to utilize all the benefits of the NetBeans 
> platform :)
> 
> Br,
> 
> Halvor
> 
> -Original Message-
> 
> From: Emilian Bold [mailto:emilian.b...@protonmail.ch]
> 
> Sent: lørdag 28. april 2018 07.23
> 
> To: Platou, Halvor halvor.pla...@dnvgl.com
> 
> Cc: users@netbeans.apache.org
> 
> Subject: Re: NetBeans platform application in Windows Docker container
> 
> Never heard of this, but are there no NetBeans logs to look at?
> 
> It might be just the .exe launcher having and issues inside this new 
> configuration.
> 
> Have you tried just running java by hand? A non-GUI Platform app shouldn't 
> have that many JARs.
> 
> --emi
> 
> ‐‐‐ Original Message ‐‐‐
> 
> On 28 April 2018 1:13 AM, Platou, Halvor halvor.pla...@dnvgl.com wrote:
> 
> > Hi,
> > 
> > Anyone been able to run a NetBeans platform application(no gui) in a 
> > Windows Docker container? I have tried using the 
> > openjdk:8-windowsservercore, but when trying to start the application 
> > executable it immediately returns without any messages. I have also tried 
> > installing a bunch of vcredist-versions without luck.
> > 
> > Br
> > 
> > Halvor Platou
> > 
> > This e-mail and any attachments thereto may contain confidential 
> > information and/or information protected by intellectual property rights 
> > for the exclusive attention of the intended addressees named above. If you 
> > have received this transmission in error, please immediately notify the 
> > sender by return e-mail and delete this message and its attachments. 
> > Unauthorized use, copying or further full or partial distribution of this 
> > e-mail or its contents is prohibited.
> 
> This e-mail and any attachments thereto may contain confidential information 
> and/or information protected by intellectual property rights for the 
> exclusive attention of the intended addressees named above. If you have 
> received this transmission in error, please immediately notify the sender by 
> return e-mail and delete this message and its attachments. Unauthorized use, 
> copying or further full or partial distribution of this e-mail or its 
> contents is prohibited.
> 
> BCB[XܚXKK[XZ[\][XܚXP]X[˘\XKܙB܈Y][ۘ[[X[K[XZ[\Z[]X[˘\XKܙBB܈\\[ܛX][ۈX]H]X[XZ[[\]B΋ZK\XKܙۙY[K\^KӑUPSXZ[[\BB



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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



RE: NetBeans platform application in Windows Docker container

2018-04-28 Thread Platou, Halvor
No, no logs or console output. The userdir is not created. Running a plain java 
application works just fine. I think you are right that there is something with 
the launcher. It fails so fast that I don't think the jvm is started. Are there 
any arguments I could set to the launcher that makes it more verbose? Do you 
know if it depends on any C++ redistributable version?

The application I'm trying to launch is actually quite large, even without any 
GUI, and I would really like to utilize all the benefits of the NetBeans 
platform :)


Br,
Halvor

-Original Message-
From: Emilian Bold [mailto:emilian.b...@protonmail.ch]
Sent: lørdag 28. april 2018 07.23
To: Platou, Halvor <halvor.pla...@dnvgl.com>
Cc: users@netbeans.apache.org
Subject: Re: NetBeans platform application in Windows Docker container

Never heard of this, but are there no NetBeans logs to look at?

It might be just the .exe launcher having and issues inside this new 
configuration.

Have you tried just running java by hand? A non-GUI Platform app shouldn't have 
that many JARs.

--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 1:13 AM, Platou, Halvor <halvor.pla...@dnvgl.com> wrote:

> Hi,
>
> Anyone been able to run a NetBeans platform application(no gui) in a Windows 
> Docker container? I have tried using the openjdk:8-windowsservercore, but 
> when trying to start the application executable it immediately returns 
> without any messages. I have also tried installing a bunch of 
> vcredist-versions without luck.
>
> Br
>
> Halvor Platou
>
> **
>
> This e-mail and any attachments thereto may contain confidential information 
> and/or information protected by intellectual property rights for the 
> exclusive attention of the intended addressees named above. If you have 
> received this transmission in error, please immediately notify the sender by 
> return e-mail and delete this message and its attachments. Unauthorized use, 
> copying or further full or partial distribution of this e-mail or its 
> contents is prohibited.
>
> **

**
This e-mail and any attachments thereto may contain confidential information 
and/or information protected by intellectual property rights for the exclusive 
attention of the intended addressees named above. If you have received this 
transmission in error, please immediately notify the sender by return e-mail 
and delete this message and its attachments. Unauthorized use, copying or 
further full or partial distribution of this e-mail or its contents is 
prohibited.
**


Re: NetBeans platform application in Windows Docker container

2018-04-27 Thread Emilian Bold
Never heard of this, but are there no NetBeans logs to look at?

It might be just the .exe launcher having and issues inside this new 
configuration.

Have you tried just running java by hand? A non-GUI Platform app shouldn't have 
that many JARs.

--emi

‐‐‐ Original Message ‐‐‐

On 28 April 2018 1:13 AM, Platou, Halvor  wrote:

> Hi,
> 
> Anyone been able to run a NetBeans platform application(no gui) in a Windows 
> Docker container? I have tried using the openjdk:8-windowsservercore, but 
> when trying to start the application executable it immediately returns 
> without any messages. I have also tried installing a bunch of 
> vcredist-versions without luck.
> 
> Br
> 
> Halvor Platou
> 
> **
> 
> This e-mail and any attachments thereto may contain confidential information 
> and/or information protected by intellectual property rights for the 
> exclusive attention of the intended addressees named above. If you have 
> received this transmission in error, please immediately notify the sender by 
> return e-mail and delete this message and its attachments. Unauthorized use, 
> copying or further full or partial distribution of this e-mail or its 
> contents is prohibited.
> 
> **

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists