You can try this annotation on a normal component. Remove the Startup on this component Observer({"org.jboss.seam. PostInitialization", "org.jboss.seam.
PostReInitialization"}) public void create() { System.out. Println("SERVER STARTED SUCCESSFULLY"); }.
You can try this annotation on a normal component. Remove the @Startup on this component. @Observer({"org.jboss.seam.
PostInitialization", "org.jboss.seam. PostReInitialization"}) public void create() { System.out. Println("SERVER STARTED SUCCESSFULLY"); }.
The above suggestion doesn't seem to work. Is there a way to use the @Instal annotation with a precedence option? I am not sure how to get that to work.
– Joe Jun 25 at 4:44 The above suggestion produces a similar output as before and the above line doesn't get printed after the Servlet Filter gets initialized. – Joe Jun 25 at 4:51 I looked at the code public static void endReinitialization() { Contexts. Startup(ScopeType.
APPLICATION); Events.instance(). RaiseEvent("org.jboss.seam. PostReInitialization"); and you suggestion seems correct, but for some reason didn't work.
– Joe Jun 25 at 4:54 which version of seam are you using? You should use the latest version, as it supports JBoss 6 – Shervin Jun 27 at 7:42 If this does not work, try removing @BypassInterceptors in your @Startup component. – Shervin Jun 27 at 8:53.
If the idea is only to show some status AFTER all seam messages, there are at least 2 ways: First is to use a Shervin's solution and suppress org.jboss.seam.servlet. Filter INFO messages in $JBOSS_HOME/server//conf/jboss-log4j. Xml: Or implement a filter: @Scope(APPLICATION) @Name("com.example.seam.
MyFilter") @BypassInterceptors @Filter(within={"org.jboss.seam.web. RewriteFilter"}) public class MyFilter implements Filter { public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException { chain. DoFilter(request, response); } public void init(FilterConfig filterConfig) throws ServletException { System.out.
Println("SERVER STARTED SUCCESSFULLY"); } }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.