Le jeu. 19 juil. 2018 à 17:05, maciejka <[email protected]>
a écrit :
> 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.
>
If you start tomcat with catalina.[bat|sh] run then it is normal, if not it
is not. Maybe share the command launched, the system properties and
environment variables (you can grab most of it from a JMX console).
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>