PK ;VJ9 META-INF/PK :VJ9W[offMETA-INF/MANIFEST.MFManifest-Version: 1.0 Ant-Version: Apache Ant 1.7.0 Created-By: 10.0-b22 (Sun Microsystems Inc.) PK {lI9WEB-INF/PK {lI9WEB-INF/classes/PK FTJ9WEB-INF/classes/test/PK {lI9l(WEB-INF/classes/test/ComponentBase.class18  !"#  $ % & ' () *+,-.fooLjava/lang/String;RuntimeVisibleAnnotationsLjavax/annotation/Resource;name()VCodeLineNumberTableLocalVariableTablethisLtest/ComponentBase; postConstruct Ljavax/annotation/PostConstruct; SourceFileComponentBase.java  java/lang/IllegalStateExceptionjava/lang/StringBuilderfoo is not injected to /0 /1 23 4FOO5 67foo is not FOO in test/ComponentBasejava/lang/Objectappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;(Ljava/lang/String;)Vjava/lang/Stringequals(Ljava/lang/Object;)Z! s/*  J*YY* * YY * ".I JPK {lI9i,WEB-INF/classes/test/ContextAttributeL.class1O ( )* (+ , - . /01 234 25 6789 :3 /;<=loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/ContextAttributeL;attributeAdded/(Ljavax/servlet/ServletContextAttributeEvent;)Varg0,Ljavax/servlet/ServletContextAttributeEvent;attributeRemovedattributeReplaced SourceFileContextAttributeL.java  java/lang/StringBuilder2ServletContextAttributeEvent attributeAdded 2 foo= >? @A BCD EFname=G HC, value= IJ >K4ServletContextAttributeEvent attributeRemoved 2 foo=5ServletContextAttributeEvent attributeReplaced 2 foo=test/ContextAttributeLL MNtest/ComponentBase-javax/servlet/ServletContextAttributeListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)V*javax/servlet/ServletContextAttributeEventgetNamegetValue()Ljava/lang/Object;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;java/lang/Class getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;!/*  EY* Y +  +  DEE!"# EY* Y +  +  DEE!"$ EY* Y +  +   D!EE!"%% &'PK {lI9gѼ#WEB-INF/classes/test/ContextL.class1> ! "# !$ % & ' ()*+ ,- (./0loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/ContextL;contextInitialized&(Ljavax/servlet/ServletContextEvent;)Varg0#Ljavax/servlet/ServletContextEvent;contextDestroyed SourceFile ContextL.java  java/lang/StringBuilder-ServletContextEvent contextInitialized 2 foo= 12 34 567 89+ServletContextEvent contextDestroyed 2 foo= test/ContextL: ;6 <=test/ComponentBase$javax/servlet/ServletContextListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)Vjava/lang/ClassgetName getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;! /* UY*  UY *  %   PK {lI9Fg$WEB-INF/classes/test/ContextL2.class1@ " #$ "% & ' ( )*+, -. )/012loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/ContextL2;contextInitialized&(Ljavax/servlet/ServletContextEvent;)Varg0#Ljavax/servlet/ServletContextEvent;contextDestroyed SourceFileContextL2.java  java/lang/StringBuilder7ContextL2 ServletContextEvent contextInitialized 2 foo= 34 56 789 :;5ContextL2 ServletContextEvent contextDestroyed 2 foo= test/ContextL< =8 >?test/ContextL2test/ComponentBase$javax/servlet/ServletContextListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)Vjava/lang/ClassgetName getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;!/* UY*  UY *  %   !PK {lI9$WEB-INF/classes/test/FooFilter.class1 <w ;x yz{ w| } ;~  % ; ;   ; ;     ;   % ( ( ( %   3w (  3 3  filterConfigLjavax/servlet/FilterConfig;debugZ ConstantValue()VCodeLineNumberTableLocalVariableTablethisLtest/FooFilter;doBeforeProcessing@(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)VrequestLjavax/servlet/ServletRequest;responseLjavax/servlet/ServletResponse; ExceptionsdoAfterProcessingdoFilter[(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)VtLjava/lang/Throwable;chainLjavax/servlet/FilterChain;problemgetFilterConfig()Ljavax/servlet/FilterConfig;setFilterConfig(Ljavax/servlet/FilterConfig;)VdestroyinittoString()Ljava/lang/String;sbLjava/lang/StringBuffer;sendProcessingError7(Ljava/lang/Throwable;Ljavax/servlet/ServletResponse;)VpsLjava/io/PrintStream;pwLjava/io/PrintWriter;exLjava/lang/Exception; stackTraceLjava/lang/String; getStackTrace)(Ljava/lang/Throwable;)Ljava/lang/String;swLjava/io/StringWriter;log(Ljava/lang/String;)Vmsg SourceFileFooFilter.java DE >? gjava/lang/StringBuilder### In FooFilter, foo= m `a sFooFilter:DoBeforeProcessing rsFooFilter:DoAfterProcessingFooFilter:doFilter() KL SLjava/lang/Throwable E RLjavax/servlet/ServletExceptionjava/io/IOException deFooFilter:Initializing filter FooFilter()java/lang/StringBuffer FooFilter( Ds ) no  text/html sjava/io/PrintStream Djava/io/PrintWriter2 Error s6

The resource did not process correctly


Ejava/lang/Exception java/io/StringWriter D  test/FooFiltertest/ComponentBasejavax/servlet/Filterjava/lang/Systemoutappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooprintlnjavax/servlet/FilterChainprintStackTrace,(Ljava/lang/Object;)Ljava/lang/StringBuffer;,(Ljava/lang/String;)Ljava/lang/StringBuffer;java/lang/Stringequals(Ljava/lang/Object;)Zjavax/servlet/ServletResponsesetContentTypegetOutputStream%()Ljavax/servlet/ServletOutputStream;(Ljava/io/OutputStream;)Vprintclose!javax/servlet/ServletOutputStream(Ljava/io/PrintStream;)V(Ljava/io/Writer;)V(Ljava/io/PrintWriter;)V getBuffer()Ljava/lang/StringBuffer;javax/servlet/FilterConfiggetServletContext ()Ljavax/servlet/ServletContext;javax/servlet/ServletContext!;<=>?@ABC DEF< **G H  IJKLFi#Y* * G"4H #IJ#MN#OPQRLFI* G 8SH IJMNOPQSTFT* *+,:-+,::*+,&  *,G:bd fiskq r%u+{0|>}L~SH> UVTIJTMNTOPTWXEYVQZ[F/*GH IJ\]F>*+G HIJ>?^EF+GH IJ_]FP*++ * G HIJ>?`aFm)*YL+*W+W+G $H)IJbcdeFe+ N-d-!"[,#$%Y,&':(Y):*+,+-+-+./,&00:+%Y,&':+2/,&0:be1j1GN)4;BHOTYbjyH\ )9fg4.higjkyfgjkIJUVOPlm noF.L3Y4M(Y,5N*-6-.,7,8LM+(+1G&   (,H4 pqhi,jk.UV,lmrsFH*9+:G HIJtmuvPK FTJ9] WEB-INF/classes/test/Hello.class1 hello&(Ljava/lang/String;)Ljava/lang/String; SourceFile Hello.java test/Hellojava/lang/ObjectPK ;VJ9́6G++$WEB-INF/classes/test/HelloBean.class1F ( )* + ), -. (/ 0 1 2345 2678loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/HelloBean; getLogger()Ljava/util/logging/Logger;hello&(Ljava/lang/String;)Ljava/lang/String;nameLjava/lang/String; SourceFileHelloBean.javaRuntimeVisibleAnnotationsLjavax/ejb/Stateless; Ljavax/interceptor/Interceptors;valueLtest/HelloInterceptor; 9 :;  <= java/lang/StringBuilderIn HelloBean.hello(), name is >? @AB CDHello, com.sun.ts.tests.ejb30 Etest/HelloBeanjava/lang/Objectjava/util/logging/LogManager getLogManager ()Ljava/util/logging/LogManager; addLogger(Ljava/util/logging/Logger;)Zappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;java/util/logging/Loggerfine(Ljava/lang/String;)V.(Ljava/lang/String;)Ljava/util/logging/Logger;! /*  *W  e-Y + Y +  -- !  !"#$%&[c'PK {lI9Ec+WEB-INF/classes/test/HelloInterceptor.class1D $ %&' () *+,- $ ./ 0 *123()VCodeLineNumberTableLocalVariableTablethisLtest/HelloInterceptor; intercept9(Ljavax/interceptor/InvocationContext;)Ljava/lang/Object;inv%Ljavax/interceptor/InvocationContext;params[Ljava/lang/Object;nameLjava/lang/String; Exceptions4RuntimeVisibleAnnotations Ljavax/interceptor/AroundInvoke; SourceFileHelloInterceptor.java 5 67In HelloInterceptor.intercept8 9:; <=java/lang/Stringjava/lang/StringBuilder >? __modified @A BCtest/HelloInterceptorjava/lang/Objectjava/lang/Exceptionjava/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintln(Ljava/lang/String;)V#javax/interceptor/InvocationContext getParameters()[Ljava/lang/Object;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;proceed()Ljava/lang/Object;! /* 3+M,2N,Y-  S+ ,*33$ !"#PK {lI9c80WEB-INF/classes/test/HttpSessionAttributeL.class1A # $% #& ' ( ) *+,-. /0 *123loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/HttpSessionAttributeL;attributeAdded/(Ljavax/servlet/http/HttpSessionBindingEvent;)Varg0,Ljavax/servlet/http/HttpSessionBindingEvent;attributeRemovedattributeReplaced SourceFileHttpSessionAttributeL.java  java/lang/StringBuilder-HttpSessionBindingEvent attributeAdded 2 foo= 45 67 89: ;</HttpSessionBindingEvent attributeRemoved 2 foo=0HttpSessionBindingEvent attributeReplaced 2 foo=test/HttpSessionAttributeL= >9 ?@test/ComponentBase/javax/servlet/http/HttpSessionAttributeListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)Vjava/lang/ClassgetName getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;! /* UY*  UY *  UY *   %  !"PK {lI9'WEB-INF/classes/test/HttpSessionL.class1> ! "# !$ % & ' ()*+ ,- (./0loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/HttpSessionL;sessionCreated((Ljavax/servlet/http/HttpSessionEvent;)Varg0%Ljavax/servlet/http/HttpSessionEvent;sessionDestroyed SourceFileHttpSessionL.java  java/lang/StringBuilder&HttpSessionEvent sessionCreated 2 foo= 12 34 567 89(HttpSessionEvent sessionDestroyed 2 foo=test/HttpSessionL: ;6 <=test/ComponentBase&javax/servlet/http/HttpSessionListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)Vjava/lang/ClassgetName getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;! /* UY*  UY *  %   PK {lI9oQXX'WEB-INF/classes/test/NewServlet$1.class1Z 2 34 35 67 89: 3; < = > ?@ABCD EFGHthis$0Ltest/NewServlet;(Ltest/NewServlet;)VCodeLineNumberTableLocalVariableTablethis InnerClassesLtest/NewServlet$1;run()VicLjavax/naming/InitialContext;obj#Ljavax/transaction/UserTransaction;ffLjava/lang/String;eLjava/lang/Exception; SourceFileNewServlet.javaEnclosingMethodI JK  $javax/naming/InitialContextjava:comp/UserTransaction LM!javax/transaction/UserTransactionN OPjava/lang/StringBuilder2In new thread, UserTransaction lookup returned::: QR QS TUV WXjava:comp/env/foojava/lang/String&In new thread, foo lookup returned::: java/lang/Exception Y$test/NewServlet$1java/lang/Objectjava/lang/Runnabletest/NewServletprocessRequestR(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Vlookup&(Ljava/lang/String;)Ljava/lang/Object;java/lang/SystemoutLjava/io/PrintStream;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;java/io/PrintStreamprintln(Ljava/lang/String;)VprintStackTrace 4 *+*M  "#$WYL+M Y  , +N Y  - L+NQ& PQR+S5TNWQURVVX4F%&<'(5)*R+,W"-./01! PK {lI9 d%WEB-INF/classes/test/NewServlet.class1 E|} D~ D D  |  D  D    D   |  " ) , + + D    D helloBeanLtest/HelloBean;RuntimeVisibleAnnotationsLjavax/ejb/EJB;foo3Ljava/lang/String;Ljavax/annotation/Resource;namefoofoo2ut2#Ljavax/transaction/UserTransaction;utfoos[Ljava/lang/Object;()VCodeLineNumberTableLocalVariableTablethisLtest/NewServlet;xxxobjLjava/lang/Object;arr$len$Ii$ Ljavax/annotation/PostConstruct;processRequestR(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)VicLjavax/naming/InitialContext;ffeLjava/lang/Exception;request'Ljavax/servlet/http/HttpServletRequest;response(Ljavax/servlet/http/HttpServletResponse;outLjava/io/PrintWriter;thLjava/lang/Thread; helloResult ExceptionsdoGetdoPostgetServletInfo()Ljava/lang/String; SourceFileNewServlet.java UVjava/lang/Object JK OK ST ojava/lang/StringBuilder ### foo2= , foo3=ut= RQ , ut2= PQ y ## foos  , foos size  ## element bar this is bar text/html;charset=UTF-8 javax/naming/InitialContextjava:comp/UserTransaction !javax/transaction/UserTransaction&## UserTransaction lookup returned::: java:comp/env/foojava/lang/String## foo lookup returned::: Vjava/lang/Exceptionjavax/servlet/ServletException Ujava/lang/Threadtest/NewServlet$1 InnerClasses U U V FGDuke !Servlet NewServlet

Servlet NewServlet at  y

foo== helloBean.hello(duke) returns  V deShort descriptiontest/NewServletjavax/servlet/http/HttpServletjava/io/IOExceptionjava/lang/SystemLjava/io/PrintStream;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;toStringjava/io/PrintStreamprintln(Ljava/lang/String;)V(I)Ljava/lang/StringBuilder;getServletContext ()Ljavax/servlet/ServletContext;javax/servlet/ServletContext setAttribute'(Ljava/lang/String;Ljava/lang/Object;)V&javax/servlet/http/HttpServletResponsesetContentType getWriter()Ljava/io/PrintWriter;lookup&(Ljava/lang/String;)Ljava/lang/Object;begin(Ljava/lang/Throwable;)V(Ltest/NewServlet;)V(Ljava/lang/Runnable;)Vstarttest/HelloBeanhello&(Ljava/lang/String;)Ljava/lang/String;java/io/PrintWriter%javax/servlet/http/HttpServletRequestgetContextPathcloseremoveAttribute!DEFGHIJKH LMsNOKH LMsNPQHLRQHLSTUVWI**Y*SY*SX )Y Z[\VWY *  *  *  *Y * **L+=>(+2:Y ٱX.@0i1}214Y4}]^n/_Tq,`as*baZ[HcdeW[K*,,NY: !":Y# $!%:Y&  ':)Y*+Y,Y*-.:/*012:-34-54-64-74-84-Y9 +: ; 4-Y< * ; 4-Y=  ; 4->4-?4-@ :-@*Ax{(/6686Xz= >?D%E1FKGWHqIxL{J}KM[\^_`abcde#g)h/j3k6j?lJmYf %Sfg1G]QW!hK} ijKZ[KklKmn/opqrsKt)uveWI*+,BX wxY Z[klmnt)uweWI*+,BX Y Z[klmnt)uxyW-CXY Z[z{ ,PK {lI9*,WEB-INF/classes/test/RequestAttributeL.class1O ( )* (+ , - . /01 234 25 6789 :3 /;<=loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/RequestAttributeL;attributeAdded/(Ljavax/servlet/ServletRequestAttributeEvent;)Varg0,Ljavax/servlet/ServletRequestAttributeEvent;attributeRemovedattributeReplaced SourceFileRequestAttributeL.java  java/lang/StringBuilder2ServletRequestAttributeEvent attributeAdded 2 foo= >? @A BCD EFname=G HC, value= IJ >K4ServletRequestAttributeEvent attributeRemoved 2 foo=5ServletRequestAttributeEvent attributeReplaced 2 foo=test/RequestAttributeLL MNtest/ComponentBase-javax/servlet/ServletRequestAttributeListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)V*javax/servlet/ServletRequestAttributeEventgetNamegetValue()Ljava/lang/Object;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;java/lang/Class getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;!/*  EY* Y +  +  DEE!"# EY* Y +  +  DEE!"$ EY* Y +  +  DEE!"%% &'PK {lI9yq#WEB-INF/classes/test/RequestL.class1> ! "# !$ % & ' ()*+ ,- (./0loggerLjava/util/logging/Logger;()VCodeLineNumberTableLocalVariableTablethisLtest/RequestL;requestDestroyed&(Ljavax/servlet/ServletRequestEvent;)Varg0#Ljavax/servlet/ServletRequestEvent;requestInitialized SourceFile RequestL.java  java/lang/StringBuilder+ServletRequestEvent requestDestroyed 2 foo= 12 34 567 89-ServletRequestEvent requestInitialized 2 foo= test/RequestL: ;6 <=test/ComponentBase$javax/servlet/ServletRequestListenerappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;fooLjava/lang/String;toString()Ljava/lang/String;java/util/logging/Loggerinfo(Ljava/lang/String;)Vjava/lang/ClassgetName getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;! /* UY*  UY *  %   PK {lI9:ttWEB-INF/web.xml NewServlet test.NewServlet NewServlet /NewServlet to test foo can be injected into servlet foo java.lang.String FOO PK {lI9mo[ index.jsp<%-- Document : index Created on : Sep 15, 2008, 1:33:13 PM Author : cf126330 --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> JSP Page

Hello World!

PK ;VJ9 AMETA-INF/PK :VJ9W[off+META-INF/MANIFEST.MFPK {lI9AWEB-INF/PK {lI9AWEB-INF/classes/PK FTJ9AWEB-INF/classes/test/PK {lI9l(JWEB-INF/classes/test/ComponentBase.classPK {lI9i,WEB-INF/classes/test/ContextAttributeL.classPK {lI9gѼ# WEB-INF/classes/test/ContextL.classPK {lI9Fg$WEB-INF/classes/test/ContextL2.classPK {lI9$WEB-INF/classes/test/FooFilter.classPK FTJ9] (WEB-INF/classes/test/Hello.classPK ;VJ9́6G++$)WEB-INF/classes/test/HelloBean.classPK {lI9Ec+.WEB-INF/classes/test/HelloInterceptor.classPK {lI9c803WEB-INF/classes/test/HttpSessionAttributeL.classPK {lI9'9WEB-INF/classes/test/HttpSessionL.classPK {lI9oQXX'>WEB-INF/classes/test/NewServlet$1.classPK {lI9 d%EWEB-INF/classes/test/NewServlet.classPK {lI9*,VWEB-INF/classes/test/RequestAttributeL.classPK {lI9yq#]WEB-INF/classes/test/RequestL.classPK {lI9:ttbWEB-INF/web.xmlPK {lI9mo[ Ykindex.jspPKLPm