[weld-commits] [weld/core] 9caa08: WELD-1561 Update Jetty integration

GitHub noreply at github.com
Thu Jan 2 10:17:39 EST 2014


  Branch: refs/heads/2.1
  Home:   https://github.com/weld/core
  Commit: 9caa08fdb3b5812e3fd7b209a087056a33a94f1a
      https://github.com/weld/core/commit/9caa08fdb3b5812e3fd7b209a087056a33a94f1a
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M environments/servlet/core/src/main/java/org/jboss/weld/environment/jetty/WeldDecorator.java
    M environments/servlet/pom.xml
    M environments/servlet/tests/jetty/src/test/java/org/jboss/weld/environment/servlet/test/util/JettyDeployments.java

  Log Message:
  -----------
  WELD-1561 Update Jetty integration
- modify WeldDecorator to support Jetty 9.1 API
- instruct Jetty to disable JVM built-in URL caching in the test suite
- upgrade the default Jetty version to 8.1.14.v20131031


  Commit: b5c1726189c8fd7f8c0b302c34f423c304e902d9
      https://github.com/weld/core/commit/b5c1726189c8fd7f8c0b302c34f423c304e902d9
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M environments/servlet/core/pom.xml
    M environments/servlet/pom.xml

  Log Message:
  -----------
  Add explicit dependency on jetty-util (prevents possible compilation error with a corrupt pom file)


  Commit: 862d63ff137d955aaea1d8814965b05a3442c9c2
      https://github.com/weld/core/commit/862d63ff137d955aaea1d8814965b05a3442c9c2
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M docs/reference/src/main/docbook/en-US/scopescontexts.xml

  Log Message:
  -----------
  Docs: Add a link to the conversation filter faq


  Commit: 4ae96c1c0963dc9d68697300a0b13fd600a79847
      https://github.com/weld/core/commit/4ae96c1c0963dc9d68697300a0b13fd600a79847
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M examples/jsf/numberguess/pom.xml
    M examples/jsf/permalink/pom.xml
    M jboss-tck-runner/1.1/pom.xml
    M jsf/pom.xml
    M pom.xml
    M tests-arquillian/pom.xml
    M tests/pom.xml

  Log Message:
  -----------
  Upgrade JSF API to 2.2


  Commit: a11337070b3ff0fa72bfbfc08d466ba9b4adaa4f
      https://github.com/weld/core/commit/a11337070b3ff0fa72bfbfc08d466ba9b4adaa4f
  Author: astefanutti <antonin.stefanutti at murex.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/proxy/ProxyFactory.java

  Log Message:
  -----------
  WELD-1568 ClassFormatError exception thrown when creating bean proxy on IBM J9 VM


  Commit: 31a69422753cf7047bacab3ed262bf734f6ed438
      https://github.com/weld/core/commit/31a69422753cf7047bacab3ed262bf734f6ed438
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/interceptor/WeldInterceptorClassMetadata.java

  Log Message:
  -----------
  WELD-1564 Implement equals/hashCode for WeldInterceptorClassMetadata


  Commit: 00c5a1e385ef6823aeb24a510be556ce140f481e
      https://github.com/weld/core/commit/00c5a1e385ef6823aeb24a510be556ce140f481e
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/context/conversation/ConversationImpl.java

  Log Message:
  -----------
  Minor


  Commit: 1790b93d5d85983ba4ab267c5b7f81a098d02c99
      https://github.com/weld/core/commit/1790b93d5d85983ba4ab267c5b7f81a098d02c99
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bootstrap/Validator.java

  Log Message:
  -----------
  Minor fix in CDIInterceptor passivation capability validation


  Commit: 5e3c231b86dbf20eff0fd5361755050e9b9be472
      https://github.com/weld/core/commit/5e3c231b86dbf20eff0fd5361755050e9b9be472
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M docs/reference/src/main/docbook/en-US/scopescontexts.xml
    M impl/src/main/java/org/jboss/weld/bootstrap/WeldStartup.java
    M impl/src/main/java/org/jboss/weld/context/AbstractContext.java
    M impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
    M impl/src/main/java/org/jboss/weld/context/http/HttpConversationContextImpl.java
    A impl/src/main/java/org/jboss/weld/context/http/LazyHttpConversationContextImpl.java
    M impl/src/main/java/org/jboss/weld/servlet/ConversationContextActivator.java
    M impl/src/main/java/org/jboss/weld/servlet/ConversationFilter.java
    M impl/src/main/java/org/jboss/weld/servlet/HttpContextLifecycle.java
    M impl/src/main/java/org/jboss/weld/servlet/WeldInitialListener.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/weld1559/Foo.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/weld1559/LazyConversationContextTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/weld1559/SimpleFilter.java
    A tests-arquillian/src/test/resources/org/jboss/weld/tests/contexts/conversation/weld1559/web.xml

  Log Message:
  -----------
  WELD-1559 Lazy conversation context


  Commit: c6077fafc5f0c83fcd61ec769a9460e872c64743
      https://github.com/weld/core/commit/c6077fafc5f0c83fcd61ec769a9460e872c64743
  Author: Matej Briskar <mbriskar at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M docs/reference/src/main/docbook/en-US/environments.xml

  Log Message:
  -----------
  WELD-1567 Document initial/terminal listener


  Commit: 4dbf34d8a89c7a2159099ffb217a2d3fec39f323
      https://github.com/weld/core/commit/4dbf34d8a89c7a2159099ffb217a2d3fec39f323
  Author: Matej Briskar <mbriskar at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/util/BeanMethods.java

  Log Message:
  -----------
  Def methods from groovy with @PostConstruct annotation will be now called


  Commit: af1e293c07bcc8a356317e737a070576386b49f2
      https://github.com/weld/core/commit/af1e293c07bcc8a356317e737a070576386b49f2
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/serialization/ContextualStoreImpl.java

  Log Message:
  -----------
  Make Weld compile on JDK8


  Commit: 6c22e35495ef74e1cad70bddcb5d7dab9dccdd99
      https://github.com/weld/core/commit/6c22e35495ef74e1cad70bddcb5d7dab9dccdd99
  Author: Matej Briskar <mbriskar at redhat.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/builtin/ExtensionBean.java
    M impl/src/main/java/org/jboss/weld/logging/BeanLogger.java

  Log Message:
  -----------
  WELD-1569: Warn when an extension has a non-static public field


  Commit: 30a9fb71de47b571ad7cd8f319b9884465a540d1
      https://github.com/weld/core/commit/30a9fb71de47b571ad7cd8f319b9884465a540d1
  Author: Steve Moyer <smoyer64 at gmail.com>
  Date:   2014-01-02 (Thu, 02 Jan 2014)

  Changed paths:
    M environments/se/core/src/main/java/org/jboss/weld/environment/se/StartMain.java
    M environments/se/core/src/main/java/org/jboss/weld/environment/se/Weld.java

  Log Message:
  -----------
  WELD-1579: Weld-SE's shutdown hook fails to dispose of CDI managed objects

The shutdown hook needs to be registered with the JVM before the Weld container is initialized.  Without the shutdown hook, the following problems occur (or can occur):

- System.exit(0) will terminate the program without any @PreDestroy or @Disposes methods being called.
- CTRL-C will terminate the program without any @PreDestroy or @Disposes methods being called.
- SIGTERM will terminate the program without any @PreDestroy or
@Disposes methods being called.
- Normal completion of methods that @Observes the ContainerInitialized events (effectively the program's entry points) will not call @PreDestroy or @Disposes methods unless they're @ApplicationScoped.
- Since calling addShutdownHook() is not permitted once the JVM has started the shutdown process, multi-threaded applications can allow the main thread to return to StartMain while the JVM is still running.  Executing addShutdownHook() in this instance will throw an IllegalStateException.

The problem described in this thread (https://community.jboss.org/thread/180032?start=0&tstart=0) may be related.


Compare: https://github.com/weld/core/compare/2c58449965c0...30a9fb71de47


More information about the weld-commits mailing list