[JBoss JIRA] (JBIDE-13162) Server adapter: Cannot deploy dynamic web project to OpenShift without a web.xml
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13162?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-13162:
-------------------------------------
Summary: Server adapter: Cannot deploy dynamic web project to OpenShift without a web.xml (was: Cannot deploy dynamic web project to OpenShift without a web.xml)
> Server adapter: Cannot deploy dynamic web project to OpenShift without a web.xml
> --------------------------------------------------------------------------------
>
> Key: JBIDE-13162
> URL: https://issues.jboss.org/browse/JBIDE-13162
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: openshift, upstream
> Affects Versions: 4.0.0.CR1
> Reporter: Stefan Bunciak
> Labels: server_adapter
> Fix For: 4.2.x
>
>
> Dynamic web project should should be deployable to OpenShift (is visible when merging OpenShift application and the workspace project).
> After publishing, following output is returned from server:
> {code}
> [INFO] Packaging webapp
> [INFO] Assembling webapp [dw] in [/var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/target/dw]
> [INFO] Processing war project
> [INFO] Webapp assembled in [19 msecs]
> [INFO] Building war: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/deployments/ROOT.war
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 33.330s
> [INFO] Finished at: Tue Nov 27 11:27:40 EST 2012
> [INFO] Final Memory: 8M/169M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project dw: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> hot_deploy_added=false
> Found 127.3.36.1:8080 listening port
> /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied
> Failed to start jbossas-7
> {code}
> Shouldn't this be a part of openshift maven profile?
> {code}
> <failOnMissingWebXml>false</failOnMissingWebXml>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-13162) Server adapter: Cannot deploy dynamic web project to OpenShift without a web.xml
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13162?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-13162:
-------------------------------------
Labels: server_adapter (was: )
> Server adapter: Cannot deploy dynamic web project to OpenShift without a web.xml
> --------------------------------------------------------------------------------
>
> Key: JBIDE-13162
> URL: https://issues.jboss.org/browse/JBIDE-13162
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: openshift, upstream
> Affects Versions: 4.0.0.CR1
> Reporter: Stefan Bunciak
> Labels: server_adapter
> Fix For: 4.2.x
>
>
> Dynamic web project should should be deployable to OpenShift (is visible when merging OpenShift application and the workspace project).
> After publishing, following output is returned from server:
> {code}
> [INFO] Packaging webapp
> [INFO] Assembling webapp [dw] in [/var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/target/dw]
> [INFO] Processing war project
> [INFO] Webapp assembled in [19 msecs]
> [INFO] Building war: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/deployments/ROOT.war
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 33.330s
> [INFO] Finished at: Tue Nov 27 11:27:40 EST 2012
> [INFO] Final Memory: 8M/169M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project dw: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> hot_deploy_added=false
> Found 127.3.36.1:8080 listening port
> /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied
> Failed to start jbossas-7
> {code}
> Shouldn't this be a part of openshift maven profile?
> {code}
> <failOnMissingWebXml>false</failOnMissingWebXml>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17227) Application wizard: unchecking "Use default source code" wont enable "Source code" text field
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17227?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-17227.
---------------------------------
Verified in JBDS 8.0.0.Beta2a build B106.
> Application wizard: unchecking "Use default source code" wont enable "Source code" text field
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-17227
> URL: https://issues.jboss.org/browse/JBIDE-17227
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Beta2
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Labels: application_wizard, respin-a
> Fix For: 4.2.0.Beta2
>
> Attachments: BasicCartridge.png, Quickstart.png, Quickstart2.png, source_code_text.png
>
>
> In new OpenShift application wizard there is 3 choices how to create new applicaiton:
> - Code Anything
> - Basic/default cartridges
> - Quickstarts
> If user choose quickstart, on next wizard page is Source code field filled with appropriate url. But if user choose Basic cartridge, on the same next wizard page is by default checkbox "Use default source code" checked (that's ok) but after click on checkbox (make it unchecked), field is blank and uneditable and it is not also proceed to next wizard page / finish wizard (that's ok).
> !source_code_text.png!
> How it should work:
> - Basic cartridge - Advance section should be collapsed by default. After expanding Default source code checkbox should be checked. After unchecking it should be able to edit text.
> - Quickstart - If quickstart has source code then Default source code checkbox should be unchecked and in source code text should be URL of source code and this source code text should be uneditable. If quickstart does not have source code then advance section should be collapsed and Default source code checkbox should be checked.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-11408) Upstream: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER)
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-11408?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-11408:
-------------------------------------
Summary: Upstream: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER) (was: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER))
> Upstream: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER)
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-11408
> URL: https://issues.jboss.org/browse/JBIDE-11408
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: openshift, upstream
> Environment: windows 7
> Reporter: Nam Duong
> Assignee: Andre Dietisheim
> Priority: Critical
> Fix For: 4.2.x
>
>
> similar to https://issues.jboss.org/browse/JBIDE-10061
> When I create a domain for the first time on a clean windows environment, I have to create a new set of keys. Those keys have permissions 755 but they need to be 600 in order to run git/ssh commands with them. I get this error:
> git clone ssh://118b5a4772744905b3c19059c5c0ac9c@kitchensink-nduongdemo.rhcloud.com/~/git/kitchensink.git/
> Cloning into 'kitchensink'...
> The authenticity of host 'kitchensink-nduongdemo.rhcloud.com (174.129.77.140)' can't be established.
> RSA key fingerprint is cf:ee:77:cb:0e:fc:027:72:7e:ae:80:c0:90:88:a7.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'kitchensink-nduongdemo.rhcloud.com,174.129.77.140' (RSA) to the list of known hosts.
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> Permissions 0755 for '/home/spousty/.ssh/id_rsa' are too open.
> It is required that your private key files are NOT accessible by others.
> This private key will be ignored.
> bad permissions: ignore key: /home/spousty/.ssh/id_rsa
> Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
> fatal: The remote end hung up unexpectedly
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-16976) import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16976?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-16976:
-------------------------------------
Labels: application_wizard (was: )
> import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16976
> URL: https://issues.jboss.org/browse/JBIDE-16976
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta1
> Reporter: Marián Labuda
> Priority: Minor
> Labels: application_wizard
> Fix For: 4.2.x
>
> Attachments: error_dialog.png
>
>
> When creating application and following import (git clone after creation process is completed) in case of no SSH key/not added into preferences dialog there is a error dialog with description, that something went wrong during git clone (respectively creating local git repo) and exception thrown.
> !error_dialog.png!
> It would be nice to have in the dialog, that problem is caused by missing SSH key or at least remove InvocationTargetException from error message - it is useless for user.
> Error log stack trace
> {code}
> java.lang.reflect.InvocationTargetException
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:176)
> at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:169)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.ImportNewProject.execute(ImportNewProject.java:77)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.importProject(OpenShiftApplicationWizardModel.java:103)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:353)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: java.lang.IllegalStateException: Preference node "null" has been removed.
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.checkRemoved(SecurePreferences.java:354)
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.nodeExists(SecurePreferences.java:100)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.nodeExists(SecurePreferencesWrapper.java:94)
> at org.eclipse.egit.core.securestorage.EGitSecureStore.clearCredentials(EGitSecureStore.java:108)
> at org.eclipse.egit.ui.internal.credentials.EGitCredentialsProvider.reset(EGitCredentialsProvider.java:142)
> at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:125)
> at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
> at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
> at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
> at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
> at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
> at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
> at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:156)
> ... 7 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-16976) import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16976?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-16976:
-------------------------------------
Summary: import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive (was: OpenShift import: Error dialog after importing application without SSH key on PaaS is not enough descriptive)
> import wizard: Error dialog after importing application without SSH key on PaaS is not enough descriptive
> ---------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16976
> URL: https://issues.jboss.org/browse/JBIDE-16976
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.2.0.Beta1
> Reporter: Marián Labuda
> Priority: Minor
> Labels: application_wizard
> Fix For: 4.2.x
>
> Attachments: error_dialog.png
>
>
> When creating application and following import (git clone after creation process is completed) in case of no SSH key/not added into preferences dialog there is a error dialog with description, that something went wrong during git clone (respectively creating local git repo) and exception thrown.
> !error_dialog.png!
> It would be nice to have in the dialog, that problem is caused by missing SSH key or at least remove InvocationTargetException from error message - it is useless for user.
> Error log stack trace
> {code}
> java.lang.reflect.InvocationTargetException
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:176)
> at org.jboss.tools.openshift.egit.core.EGitUtils.cloneRepository(EGitUtils.java:270)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.AbstractImportApplicationOperation.cloneRepository(AbstractImportApplicationOperation.java:169)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.importoperation.ImportNewProject.execute(ImportNewProject.java:77)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizardModel.importProject(OpenShiftApplicationWizardModel.java:103)
> at org.jboss.tools.openshift.express.internal.ui.wizard.application.OpenShiftApplicationWizard$ImportJob.runInWorkspace(OpenShiftApplicationWizard.java:353)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: java.lang.IllegalStateException: Preference node "null" has been removed.
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.checkRemoved(SecurePreferences.java:354)
> at org.eclipse.equinox.internal.security.storage.SecurePreferences.nodeExists(SecurePreferences.java:100)
> at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.nodeExists(SecurePreferencesWrapper.java:94)
> at org.eclipse.egit.core.securestorage.EGitSecureStore.clearCredentials(EGitSecureStore.java:108)
> at org.eclipse.egit.ui.internal.credentials.EGitCredentialsProvider.reset(EGitCredentialsProvider.java:142)
> at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:125)
> at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
> at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
> at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
> at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
> at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
> at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
> at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:156)
> ... 7 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17504) FindBugs installation fails if done right after Eclipse start
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17504?page=com.atlassian.jira.plugi... ]
Martin Malina updated JBIDE-17504:
----------------------------------
Description:
As requested by Mickael, I created this new JIRA to deal with part of JBIDE-17496.
When I try to install something from Central as soon as JBDS starts for the first time, I get errors.
I can reproduce this every time (I tried 4 or 5 times), but only on a completely fresh install of JBDS/JBT (no central repo data cached).
It looks like there is a race condition.
{quote}
The following connectors are not available: FindBugs
Proceed with the installation anyways?
{quote}
Followed by the Computing connector errors with NPEs familiar from JBIDE-17471
!connector-error.png!
If I proceed anyway, the install dialog is empty.
If I click that I don't want to install, I get this:
{code}
Problems occurred while performing installation: The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
{code}
!problems-occurred.png!
This JIRA should deal with the part about missing FindBugs plugins.
When this happens to me, the only way to install FindBugs from central is to restart JBDS.
was:
As requested by Mickael, I created this new JIRA to deal with part of
When you try to install something from Central as soon as JBDS starts for the first time, you can get errors.
I can reproduce some sort of errors every time (I tried 4 or 5 times), but only on a completely fresh install of JBDS/JBT (no central repo data cached).
It looks like there is a race condition.
Several times when I tried to install Findbugs, I got:
{quote}
The following connectors are not available: FindBugs
Proceed with the installation anyways?
{quote}
Followed by the Computing connector errors with NPEs familiar from JBIDE-17471
!connector-error.png!
If I proceed anyway, the install dialog is empty.
If I click that I don't want to install, I get this:
{code}
Problems occurred while performing installation: The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
{code}
!problems-occurred.png!
> FindBugs installation fails if done right after Eclipse start
> -------------------------------------------------------------
>
> Key: JBIDE-17504
> URL: https://issues.jboss.org/browse/JBIDE-17504
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS 8.0.0.Beta2a B106
> Reporter: Martin Malina
> Assignee: Mickael Istria
> Priority: Critical
> Labels: respin-b
> Fix For: 4.2.0.Beta2
>
> Attachments: connector-error.png, problems-occurred.png
>
>
> As requested by Mickael, I created this new JIRA to deal with part of JBIDE-17496.
> When I try to install something from Central as soon as JBDS starts for the first time, I get errors.
> I can reproduce this every time (I tried 4 or 5 times), but only on a completely fresh install of JBDS/JBT (no central repo data cached).
> It looks like there is a race condition.
> {quote}
> The following connectors are not available: FindBugs
> Proceed with the installation anyways?
> {quote}
> Followed by the Computing connector errors with NPEs familiar from JBIDE-17471
> !connector-error.png!
> If I proceed anyway, the install dialog is empty.
> If I click that I don't want to install, I get this:
> {code}
> Problems occurred while performing installation: The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
> The following connectors are not available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group, site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
> {code}
> !problems-occurred.png!
> This JIRA should deal with the part about missing FindBugs plugins.
> When this happens to me, the only way to install FindBugs from central is to restart JBDS.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months