[JBoss JIRA] (WFLY-3747) build.bat can not run without the administrator on the windows
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-3747?page=com.atlassian.jira.plugin.... ]
Kabir Khan updated WFLY-3747:
-----------------------------
Fix Version/s: 9.0.0.Final
> build.bat can not run without the administrator on the windows
> --------------------------------------------------------------
>
> Key: WFLY-3747
> URL: https://issues.jboss.org/browse/WFLY-3747
> Project: WildFly
> Issue Type: Bug
> Components: Build System
> Reporter: Amos Feng
> Assignee: Amos Feng
> Fix For: 9.0.0.Final
>
> Attachments: 0001-Update-to-bypass-the-execution-policy-on-the-windows.patch
>
>
> we are building the widlfy on the windows and meet the following failure. It looks like the powershell needs the Administrator to run the script.
> {noformat}
> C:\hudson\workspace\btny-pulls-narayana-windows2008\jboss-as\tools\download-maven.ps1
> cannot be loaded because the execution of scripts is disabled on this
> system. Please see "get-help about_signing" for more details.
> At line:1 char:2
> + & <<<< tools\download-maven.ps1
> + CategoryInfo : NotSpecified: (:) [],
> PSSecurityException
> + FullyQualifiedErrorId : RuntimeException
> {noformat}
> It could be set the execution policy or bypass it. see http://stackoverflow.com/questions/4037939/powershell-execution-of-script...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (WFLY-4728) Undertow no confidential port is available
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-4728?page=com.atlassian.jira.plugin.... ]
Kabir Khan updated WFLY-4728:
-----------------------------
Fix Version/s: 9.0.0.Final
> Undertow no confidential port is available
> ------------------------------------------
>
> Key: WFLY-4728
> URL: https://issues.jboss.org/browse/WFLY-4728
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 9.0.0.CR1
> Environment: Java application server: wildfly-9.0.0.CR1
> Java Development Kit (JDK): 1.7.0_04
> OS: Windows 7 (x64)
> Reporter: David Zukerman
> Assignee: Stuart Douglas
> Labels: security, security-constraint, undertow
> Fix For: 9.0.0.Final
>
>
> I configured my application's web.xml file to handle all calls through https:
> <security-constraint>
> <web-resource-collection>
> <web-resource-name>All resources</web-resource-name>
> <url-pattern>/*</url-pattern>
> </web-resource-collection>
> <user-data-constraint>
> <description>SSL</description>
> <transport-guarantee>CONFIDENTIAL</transport-guarantee>
> </user-data-constraint>
> </security-constraint>
> I configured WildFly 9.0.0 CR1 to handle https request on the 443 port:
> <socket-binding name="https" port="${jboss.https.port:443}"/>
> <security-realm name="UndertowRealm">
> <server-identities>
> <ssl>
> <keystore path="keystore.jks" relative-to="jboss.server.config.dir" keystore-password="mypassword" alias="server" key-password="mypassword"/>
> </ssl>
> </server-identities>
> </security-realm>
> <https-listener name="default-https" socket-binding="https" security-realm="UndertowRealm"/>
> If I type on the browser https://localhost/ca/user/1 everything is just fine, but if I type http://localhost/ca/user/1, instead of redirecting to http://localhost/ca/user/1 I get the following error:
> 2015-06-03 01:49:28,228 ERROR [io.undertow.request] (default task-1) UT005001: An exception occurred processing the request: java.lang.IllegalStateException: UT010053: No confidential port is available to redirect the current request.
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.getRedirectURI(ServletConfidentialityConstraintHandler.java:80)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:49)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:274)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:253)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Please note that this issue doesn't happen over WildFly 8.2 Final
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month