http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/tomee-7.0.0-M3.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/tomee-7.0.0-M3.mdtext b/src/main/jbake/content/tomee-7.0.0-M3.mdtext new file mode 100644 index 0000000..e0ef9aa --- /dev/null +++ b/src/main/jbake/content/tomee-7.0.0-M3.mdtext @@ -0,0 +1,41 @@ +# Apache TomEE 7.0.0-M3 released, Mar 06th 2016 + +The Apache TomEE community is proud to announce the release of [Apache TomEE 7.0.0-M3](download/tomee-7.0.0-M3.html), which is based on [Apache Tomcat 8.0.32](http://tomcat.apache.org/tomcat-8.0-doc/index.html) and is our first milestone release towards EE7. +Part of this release an important security fix is included if EJBd is active on your instance (true by default). More on [CVE-2016-0779](security/tomee.html). + +Please feel free to check out and [contribute to the developer branch](contribute.html) - We are always interested in any help from the community that we can get. + +This version is not certified and is provided to the community as a milestone preview of the current development version. It is however an extremly well tested version. So please do test your applications and give us your feedback. + +The Apache TomEE 7.0.0-M3 release files can be downloaded from here: + +[http://tomee.apache.org/download/tomee-7.0.0-M3.html](download/tomee-7.0.0-M3.html) + +###Update Maven POM Files - The OpenEJB version and groupId have been aligned + +Simply update your existing Maven JavaEE-API, OpenEJB and or TomEE pom.xml entries to point to the latest versions: + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-core</artifactId> + <version>7.0.0-M3</version> + </dependency> + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>tomee</artifactId> + <version>7.0.0-M3</version> + </dependency> + +A complete [Changelog](tomee-7.0.0-M3-release-notes.html) can be viewed here: + +[tomee-7.0.0-M3-release-notes.html](tomee-7.0.0-M3-release-notes.html) + +Please feel free to jump in feet first and [get started with TomEE](documentation.html). You will nearly always find someone to help you on one of our [support channels](support.html).
http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/tomee-7.0.0-release-notes.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/tomee-7.0.0-release-notes.mdtext b/src/main/jbake/content/tomee-7.0.0-release-notes.mdtext new file mode 100644 index 0000000..331ad89 --- /dev/null +++ b/src/main/jbake/content/tomee-7.0.0-release-notes.mdtext @@ -0,0 +1,281 @@ + Release Notes - TomEE - Version 7.0.0 + +<h2> Sub-task +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1322'>TOMEE-1322</a>] - Client API +</li> +</ul> + +<h2> Bug +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1266'>TOMEE-1266</a>] - Unable to configure a datasource with TomEE in context of Oracle Wallet +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1268'>TOMEE-1268</a>] - Auto scanning of @Provider +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1275'>TOMEE-1275</a>] - TimerExecutor as compoenent doesn't follow executor lifecycle (stop/start) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1281'>TOMEE-1281</a>] - JAXRS doesn't work with deltaspike in Application#getSingleton +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1296'>TOMEE-1296</a>] - org.apache.openejb.jpa.integration.eclipselink.OpenEJBServerPlatform mbeanServer name is wrong +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1324'>TOMEE-1324</a>] - Problem with TomEE Maven archetype +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1325'>TOMEE-1325</a>] - Dynamic subclassing doesn't support interfaces (@Local) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1329'>TOMEE-1329</a>] - jars.txt doesn't support empty lines +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1330'>TOMEE-1330</a>] - Support to include container urls in scanning +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1334'>TOMEE-1334</a>] - cdi lazy realm throws NPE cause of init handling (too early) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1335'>TOMEE-1335</a>] - openejb.deployer.save-deployments broken on war +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1342'>TOMEE-1342</a>] - OutputGeneratedDescriptors doesn't output complete ejb-jar.xml +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1343'>TOMEE-1343</a>] - HSQL server shuts down saying no databases available +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1364'>TOMEE-1364</a>] - When using the tomee-maven-plugins stop goal tomee seems to hang forever +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1376'>TOMEE-1376</a>] - Invalid package within groovy script +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1398'>TOMEE-1398</a>] - The project maven-util doesn't contain the Log interface on it's classpath +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1400'>TOMEE-1400</a>] - Potential NPE in TomeeAnnotationProvider +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1408'>TOMEE-1408</a>] - Incorrect assertions within the testcode +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1409'>TOMEE-1409</a>] - Invalid configuration in module openejb-junit +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1509'>TOMEE-1509</a>] - PropertyPlaceHolderHelper does not work with cipher: +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1519'>TOMEE-1519</a>] - SetupCommand fails to delete file/dir on Windows +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1606'>TOMEE-1606</a>] - Bad conversion of DataSource password containing special characters +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1626'>TOMEE-1626</a>] - Maven Tomee Exec Mojo failed when provided server.xml use env vars +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1725'>TOMEE-1725</a>] - ManagedConnection#equals broken when not using dbcp +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1726'>TOMEE-1726</a>] - StreamOutput not considered as a stream +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1727'>TOMEE-1727</a>] - Application.getSingletons doesn't handle @Provider right creating warnings +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1728'>TOMEE-1728</a>] - ApplicationComposers.run calls twice @PostConstruct of the application +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1729'>TOMEE-1729</a>] - empty context path for application composer applications can lead to wrong http routing +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1730'>TOMEE-1730</a>] - bad regex for embedded http layer and filter mapping when ending by * +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1731'>TOMEE-1731</a>] - web.xml should override @ApplicationPath and not concatenate both paths +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1739'>TOMEE-1739</a>] - Javaagent arguments ignored by tomee-maven-plugin +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1740'>TOMEE-1740</a>] - Ensure Contexts propagates in ManagedExecutors the exchange to be able to inject RS @Context in async endpoints +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1741'>TOMEE-1741</a>] - Incorrect log message +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1742'>TOMEE-1742</a>] - application composer mvn plugins don't work with maven > 3.0 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1748'>TOMEE-1748</a>] - managed executor factory should support a Threadfactory (not a Managed one) as thread factory +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1751'>TOMEE-1751</a>] - RemoteServer doesnt support system properties with equals in values +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1759'>TOMEE-1759</a>] - JSF NPE in FashImpl with nested/forward request +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1764'>TOMEE-1764</a>] - JSP @Resource not honored if only in JSP +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1765'>TOMEE-1765</a>] - @Transactional doesn't throw as cause synchronization exceptions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1767'>TOMEE-1767</a>] - @DataSourceDefinition doesn't support XADataSource +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1770'>TOMEE-1770</a>] - @Initialized(AppScoped) not using the right classloader in tomee-embedded +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1772'>TOMEE-1772</a>] - Singleton DependsOnTest fails most of the times +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1777'>TOMEE-1777</a>] - some resources are not properly removed from OpenEjbConfiguration +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1785'>TOMEE-1785</a>] - activate bean validation with jaxrs by default +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1786'>TOMEE-1786</a>] - BvalCdiFilter is not active +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1787'>TOMEE-1787</a>] - EJBExceptionMapper can end up in a NPE +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1788'>TOMEE-1788</a>] - TomEE fails to start embedded ActiveMQ +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1791'>TOMEE-1791</a>] - property-provider should be properties-provider for tomee.xml on resources +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1792'>TOMEE-1792</a>] - Eclipselink integration not working in flat classloader mode +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1796'>TOMEE-1796</a>] - dont add war resources when running a .war with tomee embedded +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1799'>TOMEE-1799</a>] - Java 8 : java.lang.IllegalArgumentException: Comparison method violates its general contract! +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1800'>TOMEE-1800</a>] - SystemProperty not merged when using Import in tomee.xml +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1805'>TOMEE-1805</a>] - HttpServletRequest#logout doesn't clear authenticated identity in EJB +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1806'>TOMEE-1806</a>] - GeronimoConnectionManager background connection validation not working +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1811'>TOMEE-1811</a>] - IllegalArgumentException - File [xxxxxx.jar!/META-INF/persistence.xml] does not exist: +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1816'>TOMEE-1816</a>] - java.lang.NoSuchFieldException: pool in Connector Resource Adapter deploy +</li> +</ul> + +<h2> Dependency upgrade +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1391'>TOMEE-1391</a>] - Use maven-filtering:1.2 to fix MSHARED-319 when compiling under JDK8 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1754'>TOMEE-1754</a>] - Tomcat 8.5.2 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1757'>TOMEE-1757</a>] - [plume] eclipselinks 2.6.3 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1760'>TOMEE-1760</a>] - CXf 3.1.6 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1776'>TOMEE-1776</a>] - myfaces 2.2.10 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1781'>TOMEE-1781</a>] - slf4j 1.7.21 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1803'>TOMEE-1803</a>] - upgrade to AMQ 5.13.3 +</li> +</ul> + +<h2> Improvement +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1269'>TOMEE-1269</a>] - if a @Path interface has a single implementation add it as rest service +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1270'>TOMEE-1270</a>] - exclude from scanning @Deprecated @Providers +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1273'>TOMEE-1273</a>] - fix SslTomEETest to work with JDK 8 keytool +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1328'>TOMEE-1328</a>] - Arquillian.xml 'additionalLibs' must fail-fast +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1336'>TOMEE-1336</a>] - Support classname.activated = true/false for auto discovered providers +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1339'>TOMEE-1339</a>] - [JAXRS] try static resources first +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1365'>TOMEE-1365</a>] - Updated to use try statement RemoteServer +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1367'>TOMEE-1367</a>] - add singleDumpByArchiveName parameter to arquillian tomee adapters +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1736'>TOMEE-1736</a>] - more explicit message if ejbd fails cause of class filtering (introduced for 0-day vulnerability fixed in previous release) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1737'>TOMEE-1737</a>] - activating default EE resources in the distribution but not in others modes +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1738'>TOMEE-1738</a>] - basic configuration for TomEEJarScanner +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1744'>TOMEE-1744</a>] - Ensure tomee embedded uses default tomcat connector by default (nio) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1745'>TOMEE-1745</a>] - allow to configure on command line server.xml and tomee.xml to use for tomee embedded provided main(String[]) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1746'>TOMEE-1746</a>] - support connector configuration for tomee embedded with properties starting with connector.xxx (xxx being a connector option) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1747'>TOMEE-1747</a>] - for managed executor, thread factory option should support resource name +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1749'>TOMEE-1749</a>] - [ApplicationComposer] support Gradle test/main as we support Maven for @Default +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1750'>TOMEE-1750</a>] - support Gradle as invalid folders (for name identification) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1766'>TOMEE-1766</a>] - ensure default org.apache.johnzon.max-string-length size is 4k +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1784'>TOMEE-1784</a>] - try to force persistence enhancement in tomee-embedded +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1789'>TOMEE-1789</a>] - Expose Pool flush() through JMX +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1790'>TOMEE-1790</a>] - Allow primitive arrays to be serialized/deserialized over (http)ejbd +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1802'>TOMEE-1802</a>] - support network connector configuration on AMQ uri syntax (tomee.xml) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1807'>TOMEE-1807</a>] - exclude jaxb and junit from tomee embedded +</li> +</ul> + +<h2> New Feature +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1274'>TOMEE-1274</a>] - support additionalLibs in arquillian.xml to add libs from mvn coordinates to tomee/lib +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1282'>TOMEE-1282</a>] - basic @Transactional @TransactionScoped support +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1288'>TOMEE-1288</a>] - supports default in out propertyplaceholding +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1289'>TOMEE-1289</a>] - allow user to provide a properties-provider on resources +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1294'>TOMEE-1294</a>] - Allow to set System-Property in tomee.xml +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1295'>TOMEE-1295</a>] - openjpa.EntityManagerFactoryPool support for container persistence unit +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1297'>TOMEE-1297</a>] - add @Jars annotation to ApplicationComposer +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1298'>TOMEE-1298</a>] - Support JSR 107: JCACHE - Java Temporary Caching API +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1332'>TOMEE-1332</a>] - support @Startup on CDI beans (@ApplicationScoped or normal scoped beans if the context is active at boot time) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1341'>TOMEE-1341</a>] - Arquillian support for Suite testing +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1487'>TOMEE-1487</a>] - CDI Event based realm +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1735'>TOMEE-1735</a>] - basic JMSContext implementation +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1755'>TOMEE-1755</a>] - add tomee.tomcat.cookieProcessor to be able to use old cookie behavior +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1756'>TOMEE-1756</a>] - add ConfigurationCustomizer for tomee embedded configuration +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1758'>TOMEE-1758</a>] - support remove:prefix in additionalLibs in remote arquillian adapter +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1761'>TOMEE-1761</a>] - allow to take a thread dump if a resource takes more than X to be destroyed +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1769'>TOMEE-1769</a>] - Allow to configure formatter pattern on LocalfileHandler +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1771'>TOMEE-1771</a>] - Expose Deployer reload() function through JMX +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1775'>TOMEE-1775</a>] - tomee embedded single instance runner +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1780'>TOMEE-1780</a>] - basic tomee-embedded gradle plugin +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1783'>TOMEE-1783</a>] - allow tomee embedded (+maven + gradle) to force the webapp loader to be the boot one for deploy classpath method +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1798'>TOMEE-1798</a>] - can't load JTA and Common annotation on Java 9 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1804'>TOMEE-1804</a>] - add Monkey tomee-maven-plugin customizer +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1808'>TOMEE-1808</a>] - create a tomee embedded shade jaxrs oriented (without activemq) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1809'>TOMEE-1809</a>] - Run jaxws webservices using tomee embedded using --path parameter +</li> +</ul> + +<h2> Task +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1276'>TOMEE-1276</a>] - rework TimerExecutor +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1279'>TOMEE-1279</a>] - integrate batchee +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1280'>TOMEE-1280</a>] - myfaces 2.2.x +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1317'>TOMEE-1317</a>] - Ensure full support of JSR-349 Bean Validation 1.1 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1327'>TOMEE-1327</a>] - log4j2 integration +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1331'>TOMEE-1331</a>] - rework ProvisiningUtil to allow it to support more resolvers +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1410'>TOMEE-1410</a>] - Cleanup poms to update the filtering of EXE files. +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1572'>TOMEE-1572</a>] - adopt latest OWB-1.6.0 changes +</li> +</ul> + +<h2> Test +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1290'>TOMEE-1290</a>] - Source build profile 'hibernate' requires junit dependency +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1338'>TOMEE-1338</a>] - Create tests for DeployerEjb +</li> +</ul> + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/tomee-7.0.1-release-notes.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/tomee-7.0.1-release-notes.mdtext b/src/main/jbake/content/tomee-7.0.1-release-notes.mdtext new file mode 100644 index 0000000..08d7159 --- /dev/null +++ b/src/main/jbake/content/tomee-7.0.1-release-notes.mdtext @@ -0,0 +1,93 @@ + Release Notes - TomEE - Version 7.0.1 + +<h2> Bug +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1813'>TOMEE-1813</a>] - tomee.sh fails on cygwin +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1817'>TOMEE-1817</a>] - java.lang.NullPointerException in Connector Resource Adapter deploy +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1819'>TOMEE-1819</a>] - OWB configuration not respected +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1822'>TOMEE-1822</a>] - SecurityService not available in TomEERealm: Principal can be the default one instead of the logged one +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1827'>TOMEE-1827</a>] - Possible java.util.ConcurrentModificationException with ValidatingGenericConnectionManager +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1828'>TOMEE-1828</a>] - OpenEJB application fails to find singleton container when openejb.offline = true +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1829'>TOMEE-1829</a>] - com.sun.mail doesn't work in webapp out of the box +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1832'>TOMEE-1832</a>] - dbcp2 datasource lock contention on createDataSource + illogical locking +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1839'>TOMEE-1839</a>] - TomEE doesn't work with Arquillian servlet module 1.1.11.Final +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1841'>TOMEE-1841</a>] - webapp version ignored +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1844'>TOMEE-1844</a>] - bval can conflict with JAXRS bval integration +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1845'>TOMEE-1845</a>] - dbcp2 openejb datasource JMX warning message at datasource unregistration +</li> +</ul> + +<h2> Dependency upgrade +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1850'>TOMEE-1850</a>] - Tomcat 8.5.3 +</li> +</ul> + +<h2> Improvement +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1821'>TOMEE-1821</a>] - Allow to filter CDI extensions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1823'>TOMEE-1823</a>] - double johnzon max size (8k) and add a comment in system.properties +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1824'>TOMEE-1824</a>] - support date configuration for johnzon +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1825'>TOMEE-1825</a>] - allow to configure converters for johnzon jaxrs provider +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1830'>TOMEE-1830</a>] - Set TomEEJarScanner TomEEFilter to delegate to standard jar scan filter as default +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1838'>TOMEE-1838</a>] - (Un)DeployMojo not supporting HTTPS +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1843'>TOMEE-1843</a>] - resources.xml errors unclear about the file +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1849'>TOMEE-1849</a>] - JaccProvider hard to override +</li> +</ul> + +<h2> New Feature +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1812'>TOMEE-1812</a>] - add reload command to tomee embedded maven plugin +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1818'>TOMEE-1818</a>] - add depends-on to Resource +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1826'>TOMEE-1826</a>] - [CXF] openejb.cxf.monitoring.jmx config entry to activate counter repository +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1831'>TOMEE-1831</a>] - Enrich failover router to support error handling +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1833'>TOMEE-1833</a>] - add ExceptionSelector to Router (dynamic datasource routing) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1834'>TOMEE-1834</a>] - Add an all in one routed datasource and failover router +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1835'>TOMEE-1835</a>] - add openshift properties provider for mysql and postgresql +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1836'>TOMEE-1836</a>] - add create/destroy server events for resource +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1846'>TOMEE-1846</a>] - allow to fully configure a resource programmatically +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1847'>TOMEE-1847</a>] - allow to control API used to export a resource using classpath attribute +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1848'>TOMEE-1848</a>] - add @Configuration support for TomEEEmbeddedSingleRunner +</li> +</ul> + +<h2> Task +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1814'>TOMEE-1814</a>] - upgrade copyright year to 2016 +</li> +</ul> + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/tomee-7.0.1.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/tomee-7.0.1.mdtext b/src/main/jbake/content/tomee-7.0.1.mdtext new file mode 100644 index 0000000..8b20885 --- /dev/null +++ b/src/main/jbake/content/tomee-7.0.1.mdtext @@ -0,0 +1,40 @@ +# Apache TomEE 7.0.1 released, June 27th 2016 + +The Apache TomEE community is proud to announce the release of [Apache TomEE 7.0.1](download/tomee-7.0.1.html), which is based on [Apache Tomcat 8.5.3](http://tomcat.apache.org/tomcat-8.5-doc/index.html) and mainly aims to fix a security issue found in Tomcat 8.5.2. + +Please feel free to check out and [contribute to the developer branch](contribute.html) - We are always interested in any help from the community that we can get. + +This version is not certified and is provided to the community as a milestone preview of the current development version. It is however an extremly well tested version. So please do test your applications and give us your feedback. + +The Apache TomEE 7.0.1 release files can be downloaded from here: + +[http://tomee.apache.org/download/tomee-7.0.1.html](download/tomee-7.0.1.html) + +###Update Maven POM Files - The OpenEJB version and groupId have been aligned + +Simply update your existing Maven JavaEE-API, OpenEJB and or TomEE pom.xml entries to point to the latest versions: + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-core</artifactId> + <version>7.0.1</version> + </dependency> + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>tomee</artifactId> + <version>7.0.1</version> + </dependency> + +A complete [Changelog](tomee-7.0.1-release-notes.html) can be viewed here: + +[tomee-7.0.1-release-notes.html](tomee-7.0.1-release-notes.html) + +Please feel free to jump in feet first and [get started with TomEE](documentation.html). You will nearly always find someone to help you on one of our [support channels](support.html). http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/tomee-7.0.2-release-notes.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/tomee-7.0.2-release-notes.mdtext b/src/main/jbake/content/tomee-7.0.2-release-notes.mdtext new file mode 100644 index 0000000..de23d88 --- /dev/null +++ b/src/main/jbake/content/tomee-7.0.2-release-notes.mdtext @@ -0,0 +1,200 @@ + + Release Notes - TomEE - Version 7.0.2 + +<h2> Bug +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1545'>TOMEE-1545</a>] - Problem with parallel deployment + REST +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1778'>TOMEE-1778</a>] - XAPoolTest fails because lock on XA log file cannot be acquired +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1851'>TOMEE-1851</a>] - ear classloading can't be webapp first without a custom classloader +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1852'>TOMEE-1852</a>] - JAXWS services without CDI can lead to NPE +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1856'>TOMEE-1856</a>] - Empty log files from AsyncConsoleHandler +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1857'>TOMEE-1857</a>] - Logger.getInstance leaks +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1858'>TOMEE-1858</a>] - tomee.bat doesn't work +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1859'>TOMEE-1859</a>] - support debug command on tomee.sh +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1860'>TOMEE-1860</a>] - Potential NPE with DBCP if a shared connection is closed +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1862'>TOMEE-1862</a>] - TomcatWebAppBuilder: no need to track contextXml inputstream +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1865'>TOMEE-1865</a>] - NPE when injected request used in bean called from JASPIC SAM +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1866'>TOMEE-1866</a>] - Authenticators don't have access to the request in CDI beans (@RequestScoped) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1871'>TOMEE-1871</a>] - deactivate tomee gui link since it is no more provided by default +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1875'>TOMEE-1875</a>] - TomcatWebAppBuilder forces ConfigurationFactory impl +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1878'>TOMEE-1878</a>] - AlternateDriver should be used only if datasource defines a classpath attribute +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1879'>TOMEE-1879</a>] - DefinitionEncoding typo in Assembler +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1881'>TOMEE-1881</a>] - org.apache.openejb.server.httpd.ServerServlet activated init param not respected +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1887'>TOMEE-1887</a>] - Cipher command exception swalled +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1888'>TOMEE-1888</a>] - tomcat context.xml datasource can be created twice in a different way when singleton +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1890'>TOMEE-1890</a>] - arquillian remote tomee adapter should allow to configure options on the provider url (like timeout etc) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1893'>TOMEE-1893</a>] - JAXRS undeploys all contexts matching context prefix +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1894'>TOMEE-1894</a>] - MvnResolver uses openejb.m2.home for settings location +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1896'>TOMEE-1896</a>] - TomcatWebAppBuilder overwrites the last added event listener when the application doesn't use CDI +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1898'>TOMEE-1898</a>] - NPE in PojoEndpoint.java:110 when deploying JAX-WS application +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1899'>TOMEE-1899</a>] - deny-uncovered-http-methods not supported in web.xml +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1900'>TOMEE-1900</a>] - XAConnection wrongly pooled when not fully handled in transaction (JPA case) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1901'>TOMEE-1901</a>] - @Inject not working for EJB module +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1902'>TOMEE-1902</a>] - [plume] NPE when CDI is not used +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1903'>TOMEE-1903</a>] - JTA component lookup fails in CDI extensions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1904'>TOMEE-1904</a>] - allow to sort cdi extensions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1907'>TOMEE-1907</a>] - tomee arquillian enricher shouldn't log a warning for junit rules/statements +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1909'>TOMEE-1909</a>] - CDI not available for JSP +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1911'>TOMEE-1911</a>] - gradle plugin broken with gradle 3 and gradle wrapper +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1913'>TOMEE-1913</a>] - CDI.current().getBeanManager() returns BeanManager of another webapp +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1922'>TOMEE-1922</a>] - openejb-http doesn't support multiple header values +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1923'>TOMEE-1923</a>] - @WebXXX ignored with antijarlocking activated +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1925'>TOMEE-1925</a>] - WebContext#isWeb doesn't contain all web artifacts +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1928'>TOMEE-1928</a>] - use src/main/webapp by default as webresource for TomEEEmbeddedSingleRunner +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1933'>TOMEE-1933</a>] - InputStreamLeak in IO.java +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1935'>TOMEE-1935</a>] - Leaked streams to files/classloader resources +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1936'>TOMEE-1936</a>] - JMS message.getBody(String.class) is not working in MDB +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1940'>TOMEE-1940</a>] - AbstractMethodError: org.apache.activemq.ActiveMQSession.createDurableConsumer( +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1941'>TOMEE-1941</a>] - Logger.configure should also take into account openejb.logger.external +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1946'>TOMEE-1946</a>] - TomEE relies on deafult locale +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1951'>TOMEE-1951</a>] - BeanManager missing from javax.persistence.bean.manager entry in the map passed to JPA +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1952'>TOMEE-1952</a>] - openejb.ejbd.authenticate-with-request hides authentication exception +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1960'>TOMEE-1960</a>] - JarFiles are not closed +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1962'>TOMEE-1962</a>] - deprecate org.apache.openejb.core.LocalInitialContextFactory +</li> +</ul> + +<h2> Dependency upgrade +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1864'>TOMEE-1864</a>] - tomcat 8.5.6 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1869'>TOMEE-1869</a>] - upgrade xmlsec to 2.0.6 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1880'>TOMEE-1880</a>] - johnzon 0.9.4 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1905'>TOMEE-1905</a>] - ActiveMQ 5.14.1 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1906'>TOMEE-1906</a>] - CXF 3.1.8 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1920'>TOMEE-1920</a>] - Upgrade OpenWebBeans to 1.7.0 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1939'>TOMEE-1939</a>] - myfaces 2.2.11 +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1948'>TOMEE-1948</a>] - batchee 0.4 +</li> +</ul> + +<h2> Improvement +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1855'>TOMEE-1855</a>] - JSP can leak under no luck conditions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1861'>TOMEE-1861</a>] - org.apache.tomee.jul.formatter.AsyncConsoleHandler not configurable +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1870'>TOMEE-1870</a>] - Don't scan jars if scan.xml is used with classes only +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1882'>TOMEE-1882</a>] - tomee.sh/tomee.bat ignore tomcat boot classpat (tomcat-juli typically) +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1885'>TOMEE-1885</a>] - Improve MyFaces default properties +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1886'>TOMEE-1886</a>] - add tomee.embedded.add-callers flag to tomee embeddded to be able to skip add caller code +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1921'>TOMEE-1921</a>] - [tomee embedded] support to load configuration from a properties file in the classpath +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1927'>TOMEE-1927</a>] - Update Maven page for TomEE 7.x +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1929'>TOMEE-1929</a>] - Do not unnecessarily allocate an array +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1931'>TOMEE-1931</a>] - InputStreamLeak in CxfRsHttpListener +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1949'>TOMEE-1949</a>] - remove ejb-jar.xml and openejb-jar.xml from openejb-core +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1950'>TOMEE-1950</a>] - tomee embedded should support descriptors in classpath for --as-war +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1958'>TOMEE-1958</a>] - Mockito doesn't @MockInjector to be set as container properties +</li> +</ul> + +<h2> New Feature +</h2> +<ul> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1810'>TOMEE-1810</a>] - Default context should be '/' or ROOT if --context is not specified for embedded tomee +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1872'>TOMEE-1872</a>] - Map tomee embedded Configuration to its main +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1873'>TOMEE-1873</a>] - Add FatApp main which is designed for fatjar case and delegates to tomee embedded Main with fatjar config +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1883'>TOMEE-1883</a>] - provide tomee embedded classpath scanner through an event +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1884'>TOMEE-1884</a>] - provide a component to propagate command line and args of tomee embedded +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1889'>TOMEE-1889</a>] - EJBd http client BASIC support +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1895'>TOMEE-1895</a>] - support maven coordinates in classpaths element +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1914'>TOMEE-1914</a>] - org.apache.openejb.util.ContainerClassesFilter ignores jaxws exclusions +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1915'>TOMEE-1915</a>] - add --interactive=true or -i options to tomee embedded main to exist typing "exit" +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1916'>TOMEE-1916</a>] - add conf option to tomee embedded configuration +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1917'>TOMEE-1917</a>] - Provide means to bypass CountingInputStream/OutputStream +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1918'>TOMEE-1918</a>] - propagate gradle plugin configuration to gradle extension +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1919'>TOMEE-1919</a>] - gradle tomee embedde task configuration not working +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1926'>TOMEE-1926</a>] - add Configurer hook to TomEEEmbeddedSingleRunner to configure the Configuration instance +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1938'>TOMEE-1938</a>] - @JMSDestinationDefinition ignored +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1944'>TOMEE-1944</a>] - add --classes-filter to tomee embedded +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1953'>TOMEE-1953</a>] - TomEE Embedded Mojo should support additional web resource directories +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1957'>TOMEE-1957</a>] - add @Args to tomee-embedded application runner +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1959'>TOMEE-1959</a>] - add js/groovy customizers to tomee embedded maven plugin based on tomee standalone ones +</li> +<li>[<a href='https://issues.apache.org/jira/browse/TOMEE-1964'>TOMEE-1964</a>] - support to always return false for isSameResource on XADataSource +</li> +</ul> http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/webadmin.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/webadmin.mdtext b/src/main/jbake/content/webadmin.mdtext new file mode 100644 index 0000000..6cd7116 --- /dev/null +++ b/src/main/jbake/content/webadmin.mdtext @@ -0,0 +1,169 @@ +Title: Webadmin +The Webadmin is a new addition to OpenEJB 1.0 and very innovative in that +it lets you plug-in your own admin beans. Here are some screenshots: + +- [Main](http://tomee.apache.org/images/webadmin-main.png) +- [EJB Details](http://tomee.apache.org/images/webadmin-ejbdetails.png) +- [List Logs](http://tomee.apache.org/images/webadmin-listlogs.png) +- [System Properties](http://tomee.apache.org/images/webadmin-properties.png) +- [JNDI Viewer](http://tomee.apache.org/images/webadmin-viewjndi.png) +- [EJB Viewer](http://tomee.apache.org/images/webadmin-ejbviewer.png) +- [Object and EJB Invoker](http://tomee.apache.org/images/webadmin-objectinvoker.png) + +<a name="Webadmin-EnablingtheWebadminin1.0beta1"></a> +## Enabling the Webadmin in 1.0 beta 1 + +The Webadmin console is in the 1.0 beta 1 release. To enable it, simply +move into the openejb.home directory and *copy* the +openejb-webadmin-main.jar from the _beans_ directory into the _lib_ +directory. Then start the server. + + + mingus:~/ + $ cd /usr/local/openejb-1.0-beta1 + + mingus:/usr/local/openejb-1.0-beta1 03:37:33 + $ cp beans/openejb-webadmin-main.jar lib/ + + mingus:/usr/local/openejb-1.0-beta1 03:37:52 + $ ./bin/openejb start + OPENEJB_HOME = /usr/local/openejb-1.0-beta1 + OpenEJB 1.0-beta1 build: 20050829-2233 + http://www.openejb.org + resources 1 + OpenEJB ready. + [init] + OpenEJB Remote Server + ** Starting Services ** + NAME IP PORT + admin thread 127.0.0.1 4200 + ejbd 127.0.0.1 4201 + telnet 127.0.0.1 4202 + webadmin 127.0.0.1 4203 + ------- + Ready! + + +Now you can open your browser to go to http://localhost:4203/ + +<a name="Webadmin-WebAdminBeans"></a> +# WebAdmin Beans + +To create an EJB and have it included as part of the WebAdmin, simply +subclass from WebAdminBean and include it in your ejb-jar.xml file as such: + + <session> + <description>A JNDI viewer</description> + <ejb-name>webadmin/ViewJndi</ejb-name> + <home>org.openejb.webadmin.HttpHome</home> + <remote>org.openejb.webadmin.HttpObject</remote> + <ejb-class>org.openejb.webadmin.clienttools.ViewJndiBean</ejb-class> + <session-type>Stateless</session-type> + <transaction-type>Bean</transaction-type> + </session> + + +The ejb-name is used to create the menus and should follow the format of +'menu-section/menu-item'. WebAdminBeans are grouped together by the +'menu-section' portion of their ejb-name. The 'menu-item' is the clickable +link that causes the EJB code to be execute. Very simple and makes it +possible to package administrative components with your EJB applications. + +# WebAdmin Plugins + +Here is a project that already takes advantage of the new feature. [BeanGen|http://beangen.sourceforge.net] + +# Developers guide +Below is David Blevins' email on how webadmin worked. Please have a look at +the text below before you start working on porting the existing WebAdmin to +version 3. + +Plain old stateless beans were used as the "servlets". To make a bean that +would show up in the Webadmin Console you simply had to implement the +HttpBean interface (i think it's now called HttpListener) and give your +bean a deploymentId following this format "webadmin/{section}/\{page\}". +Anyone could add to the Webadmin console by doing both of these things, +which is really cool as people developing EJB apps can also deploy beans +for administering those apps right in the exact same jar. This is not only +easy for packaging but means new sections can be added/removed on the fly. + +Using the described "webadmin/{section}/\{page\}" deploymentId format, +things end up automagically grouped in the JNDI tree. There's a 'webadmin' +context we grab which will contain any number of "section" contexts +("ClientTools", "EJBGenerator", etc.). Each of those section subcontexts +will contain several beans which we will use to make the pages. Making the +menu is pretty easy as we just iterate over the webadmin section of the +global jndi tree. + +When an http request came in we just took the path part of the GET or POST +request, prepended "webadmin/" and then went looking for a bean with that +deployment id and invoked it via it's HttpBean (now called HttpListener) +interface passing in a HttpRequest and HttpResponse objects which are +trimmed down versions of similar servlet classes. +There'll be some changes to this as now we support our plain ejb protocol +over our http implementation, so the two will have to find a way to share +the URL space. See the openejb-http module. + +To implement session state, we had a stateful session bean implementing an +HttpSession interface (again, similar to the servlet equivalent) and simply +wrote the internal ID of the bean instance into a Cookie sent to the +browser. For some reason we would write the javax.ejb.Handle of the +stateful bean's EJBObject to disk and +read it back out on subsequent requests then used it to get a reference to +the EJBObject again. I'm not sure why we didn't just keep a static hashmap +and put the EJBObject right in it using an ID we could just make up like +UUID (that would have been way simpler). + +We had a standard superclass we favored for beans that implemented the +HttpBean (HttpListener) interface that did templating and the +aforementioned menu construction. The templating was perhaps too tricky +as we used a non-printable character to determine where to insert data. +Now we could just use swizzle-stream for some pretty decent templating +ability or even velocity. I'd be hesitant to endorse velocity as we +already have a dep on swizzle-stream and wouldn't want to see us add +another meg to our distro size if we can avoid it -- we have like 3 times +as many deps as 1.0 did and we should probably start tightening the belt. + +To serve static things like images, we had a "default" HttpBean which +searched for the items in the classpath and wrote them into the response +setting the mime type, etc. correctly. One thing that we never did which +still needs to happen is that the bean didn't have the logic to set the +modification information into the response so the "If modified since" +header which would allow the browser to rely on it's cache instead of +requesting the same images over and over again. + +That pretty much covers the way it was put together. + + + - The Jndi Viewer, Class Viewer, Ejb Viewer, and Object Invoker were written by yours truly + - The EJB Generator was written by Jeremy Whitlock + - Everything else was written by Tim Urberg. Tim was "WebAdmin guy" for + a good long while. Before Tim came along the webadmin was just some + experimental code I had in a branch, he did more than he realizes by putting his energy + into it -- active people attract/ create more active people. Maybe we can + convince him to come back and work on it ;) + +And of course I have to mention our own Paulo Lopes who wrote a really cool +project out in SF.net (http://beangen.sourceforge.net/) which was the first +plugin for the OpenEJB Webadmin. He wrote it before we even had shipped a +release containing the Webadmin or had any docs at all on it, which in my +mind shows just how neat the idea of using ejb's and simple conventions to +do the console really is. + +Some notes going forward is that we have a truck load of meta-data now +available via SystemInstance.get().get (OpenEjbConfiguration.class). +Certainly JSR-77 is one option, but we could do far better with plain old +java code. That tree is the primary source of meta-data for OpenEJB, it's +what was used to construct every container, bean, resource adapter, +database connector and *everything* in the system (well, sans the +protocols). Someone new to the project can look at it and understand it +without having to read any abstract specs. Something to consider. The +tree is read only in it's function, however it is possible to copy then +edit and make new containers, etc. based on existing definitions. + +Additionally, using this same data structure it's possible to show the +potential services available via the service-jar.xml files in the classpath +that detail containers, resource adapters, database connectors, etc. which +can be configured/created at runtime. So we could also display a sort of +catalogue of components (aka. services) that someone could click and deploy +via the console. http://git-wip-us.apache.org/repos/asf/tomee-site-generator/blob/b34e23c0/src/main/jbake/content/webobjects.mdtext ---------------------------------------------------------------------- diff --git a/src/main/jbake/content/webobjects.mdtext b/src/main/jbake/content/webobjects.mdtext new file mode 100644 index 0000000..73bd9ac --- /dev/null +++ b/src/main/jbake/content/webobjects.mdtext @@ -0,0 +1,7 @@ +Title: WebObjects + +We don't officially support the WebObjects OpenEJB integration, but we are +happy to offer up this page for those users to place information on usage +of EJBs in WebObjects 5.1. + +Click the edit link above, sign up for an wiki account and edit away!
