FYI, with last David refactoring the config is a bit different from the one
i did, just to keep a track in this thread (jira is up to date), properties
are and can be put in application.properties (META-INF or WEB-INF):
AsynchronousPool.CorePoolSize
AsynchronousPool.MaximumPoolSize
Hi All,
I'm testing the examples from the O'Reilly book RESTful Java with
JAX-RS on TomEE Plus. The examples were written for Resteasy, but I'm
following the guidelines for converting to CXF.
The error is:
SEVERE: Error deploying web application archive
C:\tomee\webapps\workbook-ex03_1-1.0.war
I built from the latest source (r1374989) and tried the new
configuration, but I get strange errors. Just by placing the
default values in system.properties in a freshly unpacked
TomEE-plus, I got this exception:
INFO: Assembling app: openejb
Aug 20, 2012 3:56:28 PM
yes it is linked but it seems to work fine on the snapshot,
i simply removed the web.xml + dependencies
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
2012/8/20 Todd Deshane todd.deshane.excels...@gmail.com
Hi All,
I'm testing the examples from the
When you say you simply removed the web.xml and dependencies, how do
you not get:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:
ar (default-war) on project workbook-ex03_1: Error assembling WAR: webxml attri
ute is required (or pre-existing WEB-INF/web.xml if
i did it on the exploded war, but with maven replace deps with
org.apache.openejb:javaee-api:6.0-4:provided jar.
for the web.xml you have the configuration of the maven war plugin which
lets you specify you don't need it:
plugin
groupIdorg.apache.maven.plugins/groupId
closer, new error:
SEVERE: Error deploying web application archive
C:\apache-tomee-plus-1.0.0\webapps\workbook-ex03_1-1.0.war
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
use the snapshot:
a diff to help you: https://gist.github.com/3405424
(you'll probably need to add as repository and plugin repo the apache repo:
https://repository.apache.org/content/groups/snapshots/ )
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
I found out that this setting is what causes the exception:
AsynchronousPool.KeepAliveTime = 60
Without it, everything is fine!
I simply added all three properties for testing, though I really
have no need to tweak KeepAliveTime. But just for the sake of
completeness: what's the intended format
I discovered my ide started leaving out the class files for some
reason.. I think I've got that fixed. But now starting up tomee I get
the error:
SEVERE: Failed to initialize end point associated with ProtocolHandler
[http-bio-8080]
java.net.SocketException: Unrecognized Windows Sockets
that's because we use a linked blocking queue
maybe we should make it configurable, not sure...
wdyt?
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
2012/8/20 David Blevins david.blev...@gmail.com
On Aug 20, 2012, at 9:23 AM, Bjorn Danielsson wrote:
put all you want in WEB-INF/classes (think descriptors go to WEB-INF
instead of META-INF) and it should be fine
about your port error it is that your java installation is not correct (you
probably get a java.exe wrapper with some environment not set)
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
On Aug 20, 2012, at 10:55 AM, Romain Manni-Bucau wrote:
that's because we use a linked blocking queue
maybe we should make it configurable, not sure...
Made it configurable. Code is basically:
public static AsynchronousPool create(AppContext appContext) {
final Options
13 matches
Mail list logo