Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access log & default-web module support in undertow #4943

Closed
wants to merge 5 commits into from

Conversation

ctomc
Copy link
Contributor

@ctomc ctomc commented Aug 20, 2013

No description provided.

@wildfly-ci
Copy link

Build 237 is now running using a merge of 5ae0f4026b3bedaf1c4459cedc5da15ffaa58463

.addChild(
builder(JspDefinition.INSTANCE)
.setXmlElementName(Constants.JSP_CONFIG)
.addAttributes(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't do this, the attributes are listed explicitly to make forward compatibility easier. When we want to create a new schema version we can just make a copy of this file, however if just reference the attributes list directly this won't work, as items may be added or removed from the list.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I will revert this

@wildfly-ci
Copy link

Build 237 outcome was FAILURE using a merge of e396ffef248f22a9b927b62017bac704f9a48474
Summary: Tests failed: 9 (9 new), passed: 4391, ignored: 84 Build time: 1:12:14

Failed tests

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.setJvmRoute: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getJvmRoute: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getDefaultHost: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getConnectors: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.findHost: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getProxyConnector: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getName: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.wildfly.mod_cluster.undertow.UndertowEngineTestCase.getHosts: java.lang.IllegalArgumentException: UT000008: Handler cannot be null
    at io.undertow.server.HttpHandlers.handlerNotNull(HttpHandlers.java:61)
    at io.undertow.server.handlers.NameVirtualHostHandler.addHost(NameVirtualHostHandler.java:75)

org.jboss.as.test.clustering.cluster.ejb3.security.FailoverWithSecurityTestCase(SYNC-tcp).testDomainSecurityAnnotation: javax.ejb.EJBException: java.io.IOException: Channel Channel ID d7795c63 (outbound) of Remoting connection 017599ab to null has been closed
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:236)
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)

@jaikiran
Copy link
Contributor

Those stacktraces look related to this PR change

@wildfly-ci
Copy link

Build 246 is now running using a merge of 3fe2a5888ac23dfdd367b9885d16d3a56016af9a

@wildfly-ci
Copy link

Build 247 is now running using a merge of cf30ad92995090233b7699f7a2cad69e82de8ef6

@wildfly-ci
Copy link

Build 247 outcome was SUCCESS using a merge of cf30ad92995090233b7699f7a2cad69e82de8ef6
Summary: Tests passed: 4400, ignored: 84 Build time: 1:8:24

@@ -169,6 +171,13 @@
<xs:attribute name="name" use="required" type="xs:string"/>
<xs:attribute name="handler" use="required" type="xs:string"/>
</xs:complexType>
<xs:complexType name="accessLogType">
<xs:attribute name="pattern" use="required" type="xs:string"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nillable in the model, with a default of 'common'

@kabir
Copy link
Contributor

kabir commented Aug 22, 2013

retest this please

@wildfly-ci
Copy link

Build 265 is now running using a merge of 1349f0ba47d02b718edf5ff7f29e71f697c6a022

@wildfly-ci
Copy link

Build 265 outcome was FAILURE using a merge of 1349f0ba47d02b718edf5ff7f29e71f697c6a022
Summary: Tests failed: 2 (2 new), passed: 4411, ignored: 84 Build time: 1:31:12

Failed tests

org.jboss.as.test.smoke.webservices.WSTestCase.testManagementDescription: java.util.concurrent.TimeoutException
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
    at java.util.concurrent.FutureTask.get(FutureTask.java:119)

org.jboss.as.test.manualmode.ws.ReloadWSDLPublisherTestCase.testHelloStringAfterReload: java.lang.AssertionError: expected:<200> but was:<404>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)

@wildfly-ci
Copy link

Build 269 is now running using a merge of 5600ecac85642a40d06443fb8e1f0bb527a8fc74

@Override
public void start(StartContext context) throws StartException {
AccessLogService logService = accessLogService.getValue();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will throw an ISE if there's no injection, and there won't be if there's no access log configured. InjectedValue.getOptionalValue() won't throw the ISE.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, but to be fair ISE does not happen :) it just returns null.
probably bug in msc... i will fix it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. I thought it odd this wouldn't have failed a test somewhere, since I figured an access log probably wasn't configured everywhere.

@wildfly-ci
Copy link

Build 269 outcome was SUCCESS using a merge of 5600ecac85642a40d06443fb8e1f0bb527a8fc74
Summary: Tests passed: 4413, ignored: 84 Build time: 1:11:46

@wildfly-ci
Copy link

Build 271 is now running using a merge of ed0c9b1

@wildfly-ci
Copy link

Build 271 outcome was SUCCESS using a merge of ed0c9b1
Summary: Tests passed: 4413, ignored: 84 Build time: 1:10:23

@bstansberry
Copy link
Contributor

Looks good.

@stuartwdouglas
Copy link
Contributor

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants