[JBoss JIRA] (WFCORE-782) Upgrade to Elytron 1.0.0.Alpha2
by Darran Lofthouse (JIRA)
Darran Lofthouse created WFCORE-782:
---------------------------------------
Summary: Upgrade to Elytron 1.0.0.Alpha2
Key: WFCORE-782
URL: https://issues.jboss.org/browse/WFCORE-782
Project: WildFly Core
Issue Type: Sub-task
Components: Security
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 2.0.0.Alpha6
This will also require the SSL Explorer copyright notice including within the WildFly distribution.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (WFLY-4827) Network Connection leak on client abort connection
by Andrea Bertolini (JIRA)
[ https://issues.jboss.org/browse/WFLY-4827?page=com.atlassian.jira.plugin.... ]
Andrea Bertolini commented on WFLY-4827:
----------------------------------------
I succeed in downloading all dependency but in test phase it fails.
This is the end of the log (after a very long sequence of stack errors)
Results :
Tests in error:
WebSocket13ServerTestCase.initializationError » ExceptionInInitializer
WebSocket08ServerTest.initializationError » NoClassDefFound Could not initiali...
WebSocket07ServerTest.initializationError » NoClassDefFound Could not initiali...
AbstractWebSocketServerTest.initializationError » NoClassDefFound Could not in...
WebSocketClient13TestCase.initializationError » NoClassDefFound Could not init...
SimpleSSLTestCase.initializationError » NoClassDefFound Could not initialize c...
ComplexSSLTestCase.initializationError » NoClassDefFound Could not initialize ...
SsoTestCase.initializationError » NoClassDefFound Could not initialize class i...
SpnegoDigestAuthenticationTestCase.initializationError » NoClassDefFound Could...
SpnegoBasicAuthenticationTestCase.initializationError » NoClassDefFound Could ...
SpnegoAuthenticationTestCase.initializationError » NoClassDefFound Could not i...
SimpleConfidentialRedirectTestCase.initializationError » NoClassDefFound Could...
DigestAuthenticationAuthTestCase.initializationError » NoClassDefFound Could n...
DigestAuthentication2069TestCase.initializationError » NoClassDefFound Could n...
ClientCertTestCase.initializationError » NoClassDefFound Could not initialize ...
ClientCertRenegotiationTestCase.initializationError » NoClassDefFound Could no...
BasicAuthenticationTestCase.initializationError » NoClassDefFound Could not in...
SimpleParserTestCase.testQueryParams:189 Runtime Uncompilable source code - Er...
SimpleParserTestCase.testEmptyQueryParams:238 Runtime Uncompilable source code...
SimpleParserTestCase.testCarriageReturnLineEnds:146->runTest:260->runTest:265 Runtime
SimpleParserTestCase.testSameHttpStringReturned:207 Runtime Uncompilable sourc...
SimpleParserTestCase.testEncodedSlashDisallowed:54 Runtime Uncompilable source...
SimpleParserTestCase.testColonSlashInFullURL:90 Runtime Uncompilable source co...
SimpleParserTestCase.testCanonicalPath:167 Runtime Uncompilable source code - ...
SimpleParserTestCase.testTabWhitespace:158->runTest:260->runTest:265 Runtime U...
SimpleParserTestCase.testLineFeedsLineEnds:152->runTest:260->runTest:265 Runtime
SimpleParserTestCase.testColonSlashInURL:78 Runtime Uncompilable source code -...
SimpleParserTestCase.testSimpleRequest:124->runTest:260->runTest:265 Runtime U...
SimpleParserTestCase.testSimpleRequestWithHeaderCaching:132->runTest:265 Runtime
SimpleParserTestCase.testNonEncodedAsciiCharacters:253 Runtime Uncompilable so...
SimpleParserTestCase.testEncodedSlashAllowed:66 Runtime Uncompilable source co...
SimpleParserTestCase.testPathParameters:102 Runtime Uncompilable source code -...
SimpleParserTestCase.testNoHeaders:178 Runtime Uncompilable source code - Erro...
ParserResumeTestCase.initializationError » NoClassDefFound LHttpRequestParser;
URLRewritingSessionTestCase.initializationError » NoClassDefFound Could not in...
SSLSessionTestCase.initializationError » NoClassDefFound Could not initialize ...
InMemorySessionTestCase.initializationError » NoClassDefFound Could not initia...
ProxyHandlerXForwardedForTestCase.initializationError » NoClassDefFound Could ...
LoadBalancingProxyTestCase.initializationError » NoClassDefFound Could not ini...
LoadBalancingProxySPDYTestCase.initializationError » NoClassDefFound Could not...
LoadBalancingProxyHttpsTestCase.initializationError » NoClassDefFound Could no...
LoadBalancingProxyAJPTestCase.initializationError » NoClassDefFound Could not ...
PathTestCase.initializationError » NoClassDefFound Could not initialize class ...
MultipartFormDataParserTestCase.initializationError » NoClassDefFound Could no...
FormDataParserTestCase.initializationError » ExceptionInInitializer
FileHandlerTestCase.initializationError » NoClassDefFound Could not initialize...
FileHandlerSymlinksTestCase.initializationError » NoClassDefFound Could not in...
FileHandlerStressTestCase.initializationError » NoClassDefFound Could not init...
FileHandlerIndexTestCase.initializationError » NoClassDefFound Could not initi...
ContentEncodedResourceTestCase.initializationError » NoClassDefFound Could not...
SimpleErrorPageHandlerTestCase.initializationError » NoClassDefFound Could not...
FileErrorPageHandlerTestCase.initializationError » NoClassDefFound Could not i...
GzipContentEncodingTestCase.initializationError » NoClassDefFound Could not in...
EncodingSelectionTestCase.initializationError » NoClassDefFound Could not init...
DeflateContentEncodingTestCase.initializationError » NoClassDefFound Could not...
CacheHandlerTestCase.initializationError » NoClassDefFound Could not initializ...
SimpleBlockingServerTestCase.initializationError » NoClassDefFound Could not i...
AccessLogTestCase.initializationError » NoClassDefFound Could not initialize c...
AccessLogFileTestCase.initializationError » NoClassDefFound Could not initiali...
VirtualHostTestCase.initializationError » NoClassDefFound Could not initialize...
SimpleNonBlockingServerTestCase.initializationError » NoClassDefFound Could no...
SetAttributeTestCase.initializationError » NoClassDefFound Could not initializ...
SenderTestCase.initializationError » NoClassDefFound Could not initialize clas...
RoutingHandlerTestCase.initializationError » NoClassDefFound Could not initial...
ResumeWritesTestCase.initializationError » NoClassDefFound Could not initializ...
RequestLimitingHandlerTestCase.initializationError » NoClassDefFound Could not...
RedirectTestCase.initializationError » NoClassDefFound Could not initialize cl...
QueryParametersTestCase.initializationError » NoClassDefFound Could not initia...
PredicatedHandlersTestCase.initializationError » NoClassDefFound Could not ini...
PreChunkedResponseTransferCodingTestCase.initializationError » NoClassDefFound
PathTemplateHandlerTestCase.initializationError » NoClassDefFound Could not in...
OriginTestCase.initializationError » NoClassDefFound Could not initialize clas...
MetricsHandlerTestCase.initializationError » NoClassDefFound Could not initial...
LotsOfQueryParametersTestCase.initializationError » NoClassDefFound Could not ...
LotsOfHeadersResponseTestCase.initializationError » NoClassDefFound Could not ...
JDBCLogDatabaseTestCase.initializationError » NoClassDefFound Could not initia...
HttpContinueConduitWrappingHandlerTestCase.initializationError » NoClassDefFound
HttpContinueAcceptingHandlerTestCase.initializationError » NoClassDefFound Cou...
HeadTestCase.initializationError » NoClassDefFound Could not initialize class ...
GracefulShutdownTestCase.initializationError » NoClassDefFound Could not initi...
FixedLengthResponseTestCase.initializationError » NoClassDefFound Could not in...
FixedLengthRequestTestCase.initializationError » NoClassDefFound Could not ini...
ExceptionHandlerTestCase.initializationError » NoClassDefFound Could not initi...
DateHandlerTestCase.initializationError » NoClassDefFound Could not initialize...
ChunkedResponseTransferCodingTestCase.initializationError » NoClassDefFound Co...
ChunkedResponseTrailersTestCase.initializationError » NoClassDefFound Could no...
ChunkedRequestTransferCodingTestCase.initializationError » NoClassDefFound Cou...
ChunkedRequestTrailersTestCase.initializationError » NoClassDefFound Could not...
BadRequestTestCase.initializationError » NoClassDefFound Could not initialize ...
AllowedMethodsTestCase.initializationError » NoClassDefFound Could not initial...
ParseTimeoutTestCase.initializationError » NoClassDefFound Could not initializ...
MaxRequestSizeTestCase.initializationError » NoClassDefFound Could not initial...
HttpServerExchangeTestCase.initializationError » NoClassDefFound Could not ini...
ConnectionTerminationTestCase.initializationError » NoClassDefFound Could not ...
HttpClientTestCase.initializationError » NoClassDefFound Could not initialize ...
Tests run: 174, Failures: 0, Errors: 95, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Undertow ........................................... SUCCESS [ 30.116 s]
[INFO] Undertow Parser Generator .......................... SUCCESS [ 5.316 s]
[INFO] Undertow Core ...................................... FAILURE [ 11.944 s]
[INFO] Undertow Servlet ................................... SKIPPED
[INFO] Undertow WebSockets JSR356 implementations ......... SKIPPED
[INFO] Undertow Examples .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.566 s
[INFO] Finished at: 2015-06-30T09:59:41+02:00
[INFO] Final Memory: 27M/279M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project undertow-core: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\abertolini\undertow\core\target\surefire-reports for the individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :undertow-core
> Network Connection leak on client abort connection
> --------------------------------------------------
>
> Key: WFLY-4827
> URL: https://issues.jboss.org/browse/WFLY-4827
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow), Web Sockets
> Affects Versions: 8.2.0.Final
> Environment: On Windows Server 2012, JDK 1.8.0_45, Wildfly 8.2.0.Final in standalone mode.
> Reporter: Andrea Bertolini
> Assignee: Stuart Douglas
>
> We have a classic client-server application, all written in Java. Each client is installed on a forklift which can move all around a large area. This area is under wi-fi coverage.
> Sometimes the clients can have a bad connection quality and the client-server communication is interrupted; in such a case it takes too many seconds to be restored.
> To fix this situation, we add a timeout client-side. After 5 seconds it aborts the call and tries again a second time.
> To achieve this call we use apache httpcomponents library (version 4.4). We use the abort method of httppost to interrupt this call.
> Server-side, we have a group of web-servlets which listen to the incoming calls, manage requests and send a response.
> It appears that sometimes a communication remains stuck in reading or writing from/to the stream. When the client aborts the communication, an exception is thrown on the server caused by the channel being closed.
> It happens that a large number of connections remains stuck in connection status 'established' (only server-side) even if the real connection is actually closed (client doesn't have that connection active anymore).
> When the number of established connections grows up to 200, server stops responding on port 8080, so it cannot accept more connections and it seems to freeze.
> We tried to add tcp-keep-alive=true and no-request-timeout=120000 on http-listener in undertow subsystem, but sometimes it removes idle connections after any incoming requests are received for 2 minutes, some other times it keep connections as established and doesn't close them.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (DROOLS-815) Ensure type declarations can handle inner classes
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-815?page=com.atlassian.jira.plugin... ]
Mario Fusco commented on DROOLS-815:
------------------------------------
I tried the following test case and it works for me. Do you have any other example demonstrating the problem?
{code}
public static class $X {
public static class $Y {
private final int value;
public $Y( int value ) {
this.value = value;
}
public int getValue() {
return value;
}
}
}
@Test
public void testDoubleNestedClass() {
String drl =
"import " + $X.$Y.class.getCanonicalName() + ";\n" +
"global java.util.List list\n" +
"rule R when\n" +
" $X.$Y($v : value)\n" +
"then\n" +
" list.add($v);\n" +
"end";
KieSession ksession = new KieHelper().addContent(drl, ResourceType.DRL)
.build()
.newKieSession();
List<String> list = new ArrayList<String>();
ksession.setGlobal( "list", list );
ksession.insert( new $X.$Y(42) );
ksession.fireAllRules();
assertEquals( 1, list.size() );
assertEquals( 42, list.get(0) );
}
{code}
> Ensure type declarations can handle inner classes
> -------------------------------------------------
>
> Key: DROOLS-815
> URL: https://issues.jboss.org/browse/DROOLS-815
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.3.0.Beta1
> Reporter: Davide Sottara
> Assignee: Mario Fusco
> Priority: Minor
>
> Verify that deeply nested classes can be handled correclty, even in edge cases
> {code}
> public class Foo {
> public static class $X {
> public static class $Y {
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (SECURITY-897) Unable to authenticate in SPNEGO Login Module with NullPointerException
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/SECURITY-897?page=com.atlassian.jira.plug... ]
RH Bugzilla Integration commented on SECURITY-897:
--------------------------------------------------
Chao Wang <chaowan(a)redhat.com> changed the Status of [bug 1236606|https://bugzilla.redhat.com/show_bug.cgi?id=1236606] from NEW to ASSIGNED
> Unable to authenticate in SPNEGO Login Module with NullPointerException
> -----------------------------------------------------------------------
>
> Key: SECURITY-897
> URL: https://issues.jboss.org/browse/SECURITY-897
> Project: PicketBox
> Issue Type: Bug
> Components: Negotiation
> Affects Versions: Negotiation_2_3_6_Final, Negotiation_2_3_3_Final
> Environment: Red Hat JBoss EAP 6.3.2
> Reporter: Kunjan Rathod
> Assignee: Darran Lofthouse
> Labels: jboss, jboss-as
>
> Description of problem:
> The configuration with SPNEGO works fine, however from time to time the authentication fails with the following error:
> ERROR (HTTP-341) [org.jboss.security.auth.spi.AbstractServerLoginModule] Unable to authenticate: java.lang.NullPointerException
> at org.jboss.security.negotiation.spnego.SPNEGOLoginModule$AcceptSecContext.run(SPNEGOLoginModule.java:420)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> Version-Release number of selected component (if applicable):
> JBoss Security Negotiation 2.3.3.Final
> How reproducible:
> This happens very rarely (20 times in a day on a system where about 50 users are working) and it is extremely hard to reproduce.
> Additional info:
> At line 420 in [1], the GSSToken is null
> ~~~~
> if (respToken != null)
> {
> NegotiationMessage response;
> if (requestMessage instanceof KerberosMessage)
> {
> response = new KerberosMessage(Constants.KERBEROS_V5, respToken);
> }
> else
> {
> NegTokenTarg negTokenTarg = new NegTokenTarg();
> negTokenTarg.setResponseToken(respToken);
> response = negTokenTarg;
> }
> ~~~~
> It looks like a GSSToken can be or is null, check the line#344 as follows:-
> ~~~~~~~~~
> public Object run()
> {
> try
> {
> // The message type will have already been checked before this point so we know it is
> // a SPNEGO message.
> NegotiationMessage requestMessage = negotiationContext.getRequestMessage();
> // TODO - Ensure no way to fall through with gssToken still null.
> byte[] gssToken = null;
> if (requestMessage instanceof NegTokenInit)
> {
> ...
> ~~~~~~~~~
> [1] : https://github.com/wildfly-security/jboss-negotiation/blob/2.3.3.Final/jb...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (WFCORE-781) Add ability to use capability-provided integrations from services and DUPs
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-781:
---------------------------------------
Summary: Add ability to use capability-provided integrations from services and DUPs
Key: WFCORE-781
URL: https://issues.jboss.org/browse/WFCORE-781
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The service name discovery and custom runtime integration API features of WildFly Core managed capabilities are currently only accessible directly from the OperationContext. Add a mechanism for services to look up capability-based service names and runtime APIs.
The OperationContext will make this facility available. OSHs can then provide it to services they create.
The immediate use case for this is the deployment related OSHs can provide this to RootDeploymentUnitService. From there it can be exposed to DeploymentUnitProcessors via the DeploymentPhaseContext.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (WFLY-2939) JBAS014194 Extended Implementation of 'import javax.jms.MessageListener' not accepted
by Eduardo Silva (JIRA)
[ https://issues.jboss.org/browse/WFLY-2939?page=com.atlassian.jira.plugin.... ]
Eduardo Silva commented on WFLY-2939:
-------------------------------------
I think that it has the same problem of WFLY-4200 :
I believe that the problem is because AnnotatedEJBComponentDescriptionDeploymentUnitProcessor executes in the parse phase:
Phase.PARSE,Phase.PARSE_CREATE_COMPONENT_DESCRIPTIONS
Since the dependencies will be resolved at Phase.DEPENDENCIES, your build will not work.
Regarding WFLY, my suggestion is not throw the EjbLogger.ROOT_LOGGER.mdbDoesNotImplementNorSpecifyMessageListener(beanClass) only bring up some flag that the required interfaces were not yet resolved, some attachment could be useful, just to retain the super class name. When the dependencies were solved, the class will be present on the class index and the test against the annotation should be performed again. Since that work will be done twice, to verify the required interfaces, this requires some experts advice.
> JBAS014194 Extended Implementation of 'import javax.jms.MessageListener' not accepted
> -------------------------------------------------------------------------------------
>
> Key: WFLY-2939
> URL: https://issues.jboss.org/browse/WFLY-2939
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 8.0.0.Final
> Environment: Windows 7, 64bit, JDK 1.7
> Reporter: Eugen Eisler
>
> I am trying to deploy working Weblogic EAR to WildFly and it is not working, because a MDB (ExampleTopic1Mdb) can not be deployed, what extends a super class(SingleTypeEventListenerBridgeByJms) which implements MessageListener, but the MDB itself does not have "implements javax.jms.MessageListener".
> Error Message:
> JBAS014194: EJB 3.1 FR 5.4.2 MessageDrivenBean does not implement 1 interface nor specifies message listener interface.
> @SuppressWarnings("unused")
> @MessageDriven(mappedName = ExampleConstants.JMS_TOPIC1,
> activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
> @ActivationConfigProperty(propertyName = "topicMessagesDistributionMode", propertyValue = "One-Copy-Per-Application") })
> @Traceable
> public class ExampleTopic1Mdb extends SingleTypeEventListenerBridgeByJms<Task> {
> @Inject
> public void setExampleSynchronizer(EventListener<Task> exampleSynchronizer) {
> super.setEventListener(exampleSynchronizer);
> }
> }
> public class SingleTypeEventListenerBridgeByJms<T> implements javax.jms.MessageListener {
> ....
> The class SingleTypeEventListenerBridgeByJms is in different ejb module of the EAR.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months