I start TomEE, deploy my app, and invoke rest endpoint:
Example:
@GET
@Path("/all")
@Produces(MediaType.APPLICATION_JSON + "; charset=UTF-8")
@StringifyJSON
public Service getAll(@DefaultValue("false")
@QueryParam(CompressJsonFilter.PRETTY) boolean pretty) {
logger.debug("GET ServicesAll with param pretty {}", pretty);
System.out.println("Some text")
....
return l;
}
Method completes sucessfully.
Should 'Some text' be printed in catalina.out? It is not. Why?
What do You mean by "run" command? I do not run System.out from shell.
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html