[
https://issues.jboss.org/browse/JBIDE-25707?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-25707:
-------------------------------------
I've opened
https://github.com/jbosstools/jbosstools-openshift/pull/1691
I think this should fix it. In short, there are two APIs to find out this information. For
AS and WF and EAP we assume the user can set and override these values in the UI on a
per-module basis. For openshift server, the user cannot. So these values were hard-coded
in the OpenShiftDeploymentOptionsController. However, some parts of the codebase still
used IDeployableServer.getDeployFolder and getTempDeployFolder().
For AS / EAP / WF, the deployment options controller checks the same server variables as
the IDeployableServer interface does, so there was no discrepancy. For openshift server,
this was not the case.
Another possible workaround is that when a server is created, we set those values in the
server object. However... since openshift doesn't have a "runtime", we'd
need to set absolute paths on the filesystem, and these paths would become outdated if the
server was renamed. It's more likely to cause problems. Instead, it's better to
have our server's implementation point to the deployment options controller instead.
"Access is denied" when publishing on OpenShift (CDK)
-----------------------------------------------------
Key: JBIDE-25707
URL:
https://issues.jboss.org/browse/JBIDE-25707
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift, server
Affects Versions: 4.5.2.Final
Environment: Win10
Reporter: Josef Kopriva
Assignee: Jeff MAURY
Priority: Critical
Fix For: 4.5.3.AM3
Errors in error log:
{code:java}
!ENTRY org.jboss.ide.eclipse.as.core 4 1644298244 2018-02-13 11:51:11.164
!MESSAGE Full publish failed for module jboss-kitchensink
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/META-INF/MANIFEST.MF:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/classes/META-INF/persistence.xml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/classes/import.sql:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/beans.xml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/faces-config.xml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/kitchensink-quickstart-ds.xml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/WEB-INF/templates/default.xhtml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/index.html:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/index.xhtml:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/css/screen.css:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/gfx/asidebkg.png:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/gfx/banner.png:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/gfx/bkg-blkheader.png:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/gfx/headerbkg.png:
Access is denied
!SUBENTRY 1 org.jboss.ide.eclipse.as.wtp.core 4 1644298251 2018-02-13 11:51:11.164
!MESSAGE Error copying file
C:/Users/jbossqa/workspace_B2027/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@eap-app/deploy/ROOT.war/resources/gfx/rhjb_eap_logo.png:
Access is denied
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)