From: mlybarger <nu...@jb...> - 2005-07-01 10:47:23
|
i do have debug logging turned on, but i'll add some explicit log4j logging in my servlet to make sure in my example of using the CallLoggingInterceptor. i was unsuccessfull with the injboss example. i gave the jboss.dir needed in the build.xml, then ran ant deploy-basic-lt-war. I point my browser to http://localhost:8080/aopexample and run the example. there's a lot of output on the first run when the classes are going through any transform. when running, i only see the output from the ExampleValue class and the BasicExampleServlet class. I see the same results in the console and the server/default/log/server.log file. | 06:31:12,858 INFO [STDOUT] [trying to transform] org.apache.catalina.core.ApplicationDispatcher | 06:31:12,859 INFO [STDOUT] [debug] There are no caller pointcuts! | 06:31:12,932 INFO [STDOUT] [debug] was org.apache.catalina.core.ApplicationDispatcher converted: false | 06:31:12,959 INFO [STDOUT] [trying to transform] org.apache.catalina.core.ApplicationHttpResponse | 06:31:12,960 INFO [STDOUT] [debug] There are no caller pointcuts! | 06:31:12,963 INFO [STDOUT] [debug] was org.apache.catalina.core.ApplicationHttpResponse converted: false | 06:31:12,988 INFO [STDOUT] [trying to transform] org.apache.catalina.core.ApplicationResponse | 06:31:12,989 INFO [STDOUT] [debug] There are no caller pointcuts! | 06:31:12,991 INFO [STDOUT] [debug] was org.apache.catalina.core.ApplicationResponse converted: false | 06:31:13,011 INFO [STDOUT] [trying to transform] org.apache.catalina.core.ApplicationHttpRequest | 06:31:13,012 INFO [STDOUT] [debug] There are no caller pointcuts! | 06:31:13,022 INFO [STDOUT] [debug] was org.apache.catalina.core.ApplicationHttpRequest converted: false | 06:31:13,048 INFO [STDOUT] [trying to transform] org.apache.catalina.core.ApplicationRequest | 06:31:13,050 INFO [STDOUT] [debug] There are no caller pointcuts! | 06:31:13,052 INFO [STDOUT] [debug] was org.apache.catalina.core.ApplicationRequest converted: false | 06:31:13,082 INFO [STDOUT] **** ExampleValue.getMessage() | 06:31:38,315 INFO [STDOUT] **** BasicExampleServlet.service() | 06:31:38,316 INFO [STDOUT] **** ExampleValue String Constructor | 06:31:38,317 INFO [STDOUT] **** ExampleValue.getMessage() | 06:31:52,624 INFO [STDOUT] **** BasicExampleServlet.service() | 06:31:52,624 INFO [STDOUT] **** ExampleValue String Constructor | 06:31:52,626 INFO [STDOUT] **** ExampleValue.getMessage() | 06:32:31,721 INFO [STDOUT] **** BasicExampleServlet.service() | 06:32:31,722 INFO [STDOUT] **** ExampleValue String Constructor | 06:32:31,723 INFO [STDOUT] **** ExampleValue.getMessage() | i expected to see more output when running the servlet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883339#3883339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883339 |