Re: Complexity in understanding

2014-08-06 Thread Tim Peierls
>From a brief look at your code, it looks like you're mixing up Restlets with ServerResources. Restlets are created and added to the routing structure in createInboundRoot, and typically have a lifetime that spans that of the application, while a new ServerResource instance is created for every req

Complexity in understanding

2014-08-06 Thread Shai Levit
So I am working on a more complex format from the tutorials but running into some odd issues and/or confusions that I don't quite understand. To simplify things, I attached my code. There are 3 java files (Main, Tracer and RootRoute). I am trying to get a better understanding on Router, Directory

RE: Re: Restlet 2.2.1 only serves from one thread

2014-08-06 Thread Robert Barnett
Hi Thierry, Can you help me understand why the out of the box configuration is not appropriate for production? Best, Matt -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3086334

CDI Weld Issue on Wildfly 8.1 due to public field

2014-08-06 Thread Ole Hornischer
Hey everyone, I discovered an issue with the deployment of the restlet libraries in a project (XWiki) on the current Wildfly 8.1 When trying to deploy the application with the bundled libraries I get the following error: [..] Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-75

Re: Restlet 2.2.1 only serves from one thread

2014-08-06 Thread Thierry Boileau
Hello Robert, I've added an issue for that question with a few line for analysis: https://github.com/restlet/restlet-framework-java/issues/937 This issue concerns the internal HTTP server connector which can be used for development, but not for production. You can use the Jetty and Simple connect