[JBoss JIRA] (JBDS-4680) Slow startup time
by Anton Giertli (JIRA)
[ https://issues.jboss.org/browse/JBDS-4680?page=com.atlassian.jira.plugin.... ]
Anton Giertli updated JBDS-4680:
--------------------------------
Attachment: jstack_threaddump.out
> Slow startup time
> -----------------
>
> Key: JBDS-4680
> URL: https://issues.jboss.org/browse/JBDS-4680
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: common
> Affects Versions: 11.1.0.GA
> Environment: os x high sierra
> jdk 1.8.0_161
> Reporter: Anton Giertli
> Attachments: jstack_threaddump.out
>
>
> JBDS tends to start slow - i.e. 90-120s.
> Thread dumps attached - 20 dumps in total, one per every 5s.
> JBDS started after 19th dump.
> Log from today:
> !ENTRY org.eclipse.jdt.core 4 0 2018-02-27 09:22:53.857
> !MESSAGE Invalid ZIP archive: /Users/osiris/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.12.Final-redhat-1/jaxrs-api-2.3.12.Final-redhat-1.jar
> !SESSION 2018-02-28 08:46:28.303 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:46:46.453
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !SESSION 2018-02-28 08:47:39.203 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:47:41.906
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !ENTRY org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
> Binding(COMMAND+SHIFT+F10,
> ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
> Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
> Category(org.eclipse.ui.category.file,File,null,true),
> org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2898cd46,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,,system)
> Binding(COMMAND+SHIFT+F10,
> ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
> Show the system menu,
> Category(org.eclipse.ui.category.window,Window,null,true),
> org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7ebf5bf,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,cocoa,system)
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for ALT+COMMAND+Z:
> Binding(ALT+COMMAND+Z,
> ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean...,
> Open CDI Named Bean...,
> Category(org.eclipse.ui.category.navigate,Navigate,null,true),
> org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5d8cbb32,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,,system)
> Binding(ALT+COMMAND+Z,
> ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
> Shows the Surround With quick menu,
> Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
> org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@46aa5294,
> ,,true),null),
> org.eclipse.ui.defaultAcceleratorConfiguration,
> org.eclipse.ui.contexts.window,,cocoa,system)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBDS-4680) Slow startup time
by Anton Giertli (JIRA)
Anton Giertli created JBDS-4680:
-----------------------------------
Summary: Slow startup time
Key: JBDS-4680
URL: https://issues.jboss.org/browse/JBDS-4680
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: common
Affects Versions: 11.1.0.GA
Environment: os x high sierra
jdk 1.8.0_161
Reporter: Anton Giertli
JBDS tends to start slow - i.e. 90-120s.
Thread dumps attached - 20 dumps in total, one per every 5s.
JBDS started after 19th dump.
Log from today:
!ENTRY org.eclipse.jdt.core 4 0 2018-02-27 09:22:53.857
!MESSAGE Invalid ZIP archive: /Users/osiris/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.12.Final-redhat-1/jaxrs-api-2.3.12.Final-redhat-1.jar
!SESSION 2018-02-28 08:46:28.303 -----------------------------------------------
eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
!ENTRY org.eclipse.core.net 1 0 2018-02-28 08:46:46.453
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!SESSION 2018-02-28 08:47:39.203 -----------------------------------------------
eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
!ENTRY org.eclipse.core.net 1 0 2018-02-28 08:47:41.906
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2018-02-28 08:49:05.496
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
!MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2898cd46,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
Show the system menu,
Category(org.eclipse.ui.category.window,Window,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@7ebf5bf,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
!MESSAGE A conflict occurred for ALT+COMMAND+Z:
Binding(ALT+COMMAND+Z,
ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean...,
Open CDI Named Bean...,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5d8cbb32,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+COMMAND+Z,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
Shows the Surround With quick menu,
Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@46aa5294,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-25703) OS connection wizard reports missing oc even though it is set for that workspace
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25703?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-25703:
-------------------------------------
When executing the following steps, I cannot replicate:
1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Open OS 3 connection
6. Assert: check that path to oc is propagated into 'Override 'oc' location' label
Actual result: The openshift connection has "override workspace setting" checked, and a value is already there, and is correct. Note that we did not set the workspace setting in this usecase.
When executing different steps, I still cannot replicate:
1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Setup OC for workspace in Preferences (ie. ~/.minishift/cache/oc/v3.7.14/windows/oc.exe)
6. Exec: Open OS 3 connection
7. Assert: "override oc location" is checked
8. Assert that if you uncheck "override oc location", the page has no errors
And a third usecase:
1. Exec: Have downloaded cdk 3.3
2. Exec: Create CDK 3.2+ server adapter
3. Exec: Start server adapter
4. Assert: Adapter is started, Os connection is created
5. Exec: Open OS 3 connection
6. Assert: "override oc location" is checked
7. Uncheck 'override oc location'
8. Assert the field does not validate, because workspace setting is missing
9. Click the Workspace Settings hyperlink
10. Set the workspace setting. Click apply. Close the preference window, focus on the openshift 3 connection wizard
11. Assert the validation is now successful.
If the complaint here is that the validation doesn't go away until you close the preference page, that's a bit of a stretch in terms of a bug. Validation will only be kicked off once the preference page is closed, not once the setting is changed.
Is this the bug?
> OS connection wizard reports missing oc even though it is set for that workspace
> --------------------------------------------------------------------------------
>
> Key: JBIDE-25703
> URL: https://issues.jboss.org/browse/JBIDE-25703
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.3.AM1
> Environment: Win10
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Fix For: 4.5.x
>
> Attachments: OCvalidationInWorkspace.PNG
>
>
> I managed to reproduce this on my windows 10 machine with hyperv, although, on another machine this was not reproducible. Please, try to reproduce first.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-25700) Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-25700:
-----------------------------------------
Sorry I'm on PTO and connected with my phone and don't have completion for the names.
Dhiraj Bokde or maybe Roland Huss
> Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
> ---------------------------------------------------------------------------
>
> Key: JBIDE-25700
> URL: https://issues.jboss.org/browse/JBIDE-25700
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: online, springboot
> Fix For: 4.5.3.AM2
>
>
> neither with open.paas.redhat.com
> so only when using the CDK.
> it seems to be due to the fact that the user in the pod are not the same.
> Jeff said:
> {quote}
> For SpringBoot deployments, the application file is called a fat jar and it placed in the /deployments folder (images are upstream fabric8/s2i-java or imagestream redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the /deployments folder leaded to new sub folders BOOT-INF and META-INF
> The user permissions on those folders are the following:
> /deployments: writable by user jboss and group root
> /deployments/BOOT-INF: writable by user jboss readable only by group root
> /deployments/META-INF: writable by user jboss readable only by group root
> The rsync process with create some sub folders under /deployments/BOOT-INF. The problem that we have is that the user that is assigned for the rsync operation (or when you open a terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we have permissions errors during the rsync operation.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-25700) Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25700:
------------------------------------------
[~aurelien.pupier] I suspect an image issue, who in fabric8 could look into this?
> Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
> ---------------------------------------------------------------------------
>
> Key: JBIDE-25700
> URL: https://issues.jboss.org/browse/JBIDE-25700
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: online, springboot
> Fix For: 4.5.3.AM2
>
>
> neither with open.paas.redhat.com
> so only when using the CDK.
> it seems to be due to the fact that the user in the pod are not the same.
> Jeff said:
> {quote}
> For SpringBoot deployments, the application file is called a fat jar and it placed in the /deployments folder (images are upstream fabric8/s2i-java or imagestream redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the /deployments folder leaded to new sub folders BOOT-INF and META-INF
> The user permissions on those folders are the following:
> /deployments: writable by user jboss and group root
> /deployments/BOOT-INF: writable by user jboss readable only by group root
> /deployments/META-INF: writable by user jboss readable only by group root
> The rsync process with create some sub folders under /deployments/BOOT-INF. The problem that we have is that the user that is assigned for the rsync operation (or when you open a terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we have permissions errors during the rsync operation.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-25700) Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-25700 at 2/27/18 10:06 AM:
--------------------------------------------------------------------
[~aurelien.pupier] just tried with the wildfly sample that's available on https://console.starter-us-east-1.openshift.com and it works fine.
Files are owned by default/root but files created by oc rsync are owned by an unknown user beloging to the root group
{code}
drwxrwxr-x. 3 default root 4096 Feb 27 14:12 configuration
drwxr-xr-x. 6 1113880000 root 84 Feb 27 14:12 data
drwxrwxr-x. 3 default root 81 Feb 27 14:28 deployments
drwxrwxr-x. 3 default root 17 Jan 29 2016 lib
drwxr-xr-x. 2 1113880000 root 24 Feb 27 14:11 log
drwxrwxr-x. 5 default root 67 Feb 27 14:12 tmp
{code}
There are no permission issues though, I can freely create new files in the deployments directory:
{code}
oc rsh <pod>
{code}
{code}
sh-4.2$ pwd
/wildfly/standalone/deployments
sh-4.2$ touch test
sh-4.2$ ls -l
total 16
-rw-rw-r--. 1 default root 8870 Jan 29 2016 README.txt
drwxr-xr-x. 5 1113880000 root 86 Feb 27 14:12 ROOT.war
-rw-r--r--. 1 1113880000 root 8 Feb 27 14:12 ROOT.war.deployed
-rw-r--r--. 1 1113880000 root 0 Feb 27 15:00 test
sh-4.2$
{code}
When trying the same thing with a pod for the fuse-on-openshift example (that I initially deploy via the fabric8 maven plugin, using the *fabric8/s2i-java* base image), I hit a permission error (*touch: cannot touch 'test.txt': Permission denied*):
{code}
sh-4.2$ pwd
/deployments/BOOT-INF/classes
sh-4.2$ touch test.txt
touch: cannot touch 'test.txt': Permission denied
sh-4.2$ ls -l
total 8
-rw-r--r--. 1 jboss root 547 Feb 27 14:41 application.properties
-rw-r--r--. 1 jboss root 468 Feb 27 14:41 logback.xml
drwxr-xr-x. 3 jboss root 23 Feb 27 14:41 org
drwxr-xr-x. 2 jboss root 31 Feb 27 14:41 spring
{code}
was (Author: adietish):
[~aurelien.pupier] just tried with the wildfly sample that's available on https://console.starter-us-east-1.openshift.com and it works fine.
Files are owned by default/root but files created by oc rsync are owned by an unknown user beloging to the root group
{code}
drwxrwxr-x. 3 default root 4096 Feb 27 14:12 configuration
drwxr-xr-x. 6 1113880000 root 84 Feb 27 14:12 data
drwxrwxr-x. 3 default root 81 Feb 27 14:28 deployments
drwxrwxr-x. 3 default root 17 Jan 29 2016 lib
drwxr-xr-x. 2 1113880000 root 24 Feb 27 14:11 log
drwxrwxr-x. 5 default root 67 Feb 27 14:12 tmp
{code}
There are not permission issue though. I can get into the pod
{code}
oc rsh <pod>
{code}
and create a new file via touch
{code}
/wildfly/standalone/deployments
sh-4.2$ touch test
sh-4.2$ ls -l
total 16
-rw-rw-r--. 1 default root 8870 Jan 29 2016 README.txt
drwxr-xr-x. 5 1113880000 root 86 Feb 27 14:12 ROOT.war
-rw-r--r--. 1 1113880000 root 8 Feb 27 14:12 ROOT.war.deployed
-rw-r--r--. 1 1113880000 root 0 Feb 27 15:00 test
sh-4.2$
{code}
When trying the same thing with a pod for the fuse-on-openshift example (that I initially deploy via the fabric8 maven plugin, using the *fabric8/s2i-java* base image), I hit a permission error (*touch: cannot touch 'test.txt': Permission denied*):
{code}
sh-4.2$ pwd
/deployments/BOOT-INF/classes
sh-4.2$ touch test.txt
touch: cannot touch 'test.txt': Permission denied
sh-4.2$ ls -l
total 8
-rw-r--r--. 1 jboss root 547 Feb 27 14:41 application.properties
-rw-r--r--. 1 jboss root 468 Feb 27 14:41 logback.xml
drwxr-xr-x. 3 jboss root 23 Feb 27 14:41 org
drwxr-xr-x. 2 jboss root 31 Feb 27 14:41 spring
{code}
> Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
> ---------------------------------------------------------------------------
>
> Key: JBIDE-25700
> URL: https://issues.jboss.org/browse/JBIDE-25700
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: online, springboot
> Fix For: 4.5.3.AM2
>
>
> neither with open.paas.redhat.com
> so only when using the CDK.
> it seems to be due to the fact that the user in the pod are not the same.
> Jeff said:
> {quote}
> For SpringBoot deployments, the application file is called a fat jar and it placed in the /deployments folder (images are upstream fabric8/s2i-java or imagestream redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the /deployments folder leaded to new sub folders BOOT-INF and META-INF
> The user permissions on those folders are the following:
> /deployments: writable by user jboss and group root
> /deployments/BOOT-INF: writable by user jboss readable only by group root
> /deployments/META-INF: writable by user jboss readable only by group root
> The rsync process with create some sub folders under /deployments/BOOT-INF. The problem that we have is that the user that is assigned for the rsync operation (or when you open a terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we have permissions errors during the rsync operation.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months