[Tomcat, HTTPD, Servlets & JSP] - Jetty 4.2.19 on JBoss 3.2.1
by asif_ck
Dear All,
Currently I'm ussing Jetty 4.2.9 on JBoss 3.2.1. I've just come to know that this version of jetty contains a vulnerability that can allow an attacker to cause a denial of service condition. I wish to upgrade jetty to version 4.2.19. I downloaded jboss-3.2.1-jetty-4.2.19.sar and replaced the contents of deploy\jbossweb-jetty.sar folder with the contents of sar file. JBoss throws the exception that it cannot fine the web.xml file of web-console.war. It seems that 4.2.19 is not compatible with JBoss 3.2.1.
Do you know the solution how to upgrade jetty?
Am I doing something wrong or missing any step?
One more thing, I couldn't find any resource which tells what version of jboss is compatible with what version of jetty. Is there any matrix which describes the compatibility of jetty and jboss versions?
Thanks for your help in advance.
Regards,
-Asif
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965674#3965674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965674
19 years, 8 months
[Installation, Configuration & Deployment] - Jetty 4.2.19 on JBoss 3.2.1
by asif_ck
Dear All,
Currently I'm ussing Jetty 4.2.9 on JBoss 3.2.1. I've just come to know that this version of jetty contains a vulnerability that can allow an attacker to cause a denial of service condition. I wish to upgrade jetty to version 4.2.19. I downloaded jboss-3.2.1-jetty-4.2.19.sar and replaced the contents of deploy\jbossweb-jetty.sar folder with the contents of sar file. JBoss throws the exception that it cannot fine the web.xml file of web-console.war. It seems that 4.2.19 is not compatible with JBoss 3.2.1.
Do you know the solution how to upgrade jetty?
Am I doing something wrong or missing any step?
One more thing, I couldn't find any resource which tells what version of jboss is compatible with what version of jetty. Is there any matrix which describes the compatibility of jetty and jboss versions?
Thanks for your help in advance.
Regards,
-Asif
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965673#3965673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965673
19 years, 8 months
[JBoss Seam] - Messaging in Seam
by msteiner
In Seam reference from CVS is :
anonymous wrote : Message-driven beans may even be Seam components, in which case it is possible to inject other event and application scoped Seam components.
But this not works. I get NPE when I send message to MDB annotated with @Name:
Caused by: java.lang.NullPointerException
| at org.jboss.seam.Component.forName(Component.java:1298)
| at org.jboss.seam.ejb.SeamInterceptor.getSeamComponent(SeamInterceptor.java:193)
| at org.jboss.seam.ejb.SeamInterceptor.postConstruct(SeamInterceptor.java:72)
| at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:131)
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105)
| ... 15 more
I have also problems with ManagedQueueSender it works but when Seam tries to destroy component it throws Exceptions:
11:28:13,946 DEBUG [Lifecycle] destroying event context
| 11:28:13,947 DEBUG [Contexts] destroying: org.jboss.seam.core.manager
| 11:28:13,947 DEBUG [Contexts] destroying: queueSender
| 11:28:13,947 ERROR [STDERR] java.lang.NullPointerException
| 11:28:13,948 ERROR [STDERR] at org.jboss.seam.jms.ManagedQueueSender.destroy(ManagedQueueSender.java:59)
| 11:28:13,948 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 11:28:13,948 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 11:28:13,948 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 11:28:13,948 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 11:28:13,948 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| 11:28:13,948 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
| 11:28:13,948 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1476)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.Component.callDestroyMethod(Component.java:1464)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:638)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:158)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:157)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
| 11:28:13,949 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
| 11:28:13,950 ERROR [STDERR] at web.Sender$$EnhancerByCGLIB$$2cb76983.finalize(<generated>)
| 11:28:13,950 ERROR [STDERR] at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| 11:28:13,950 ERROR [STDERR] at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| 11:28:13,950 ERROR [STDERR] at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| 11:28:13,950 ERROR [STDERR] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
| 11:28:13,950 WARN [Contexts] Could not destroy component: queueSender
| java.lang.NullPointerException
| at org.jboss.seam.jms.ManagedQueueSender.destroy(ManagedQueueSender.java:59)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1476)
| at org.jboss.seam.Component.callDestroyMethod(Component.java:1464)
| at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
| at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:638)
| at org.jboss.seam.contexts.Lifecycle.endCall(Lifecycle.java:158)
| at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:157)
| at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:130)
| at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:58)
| at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:46)
| at web.Sender$$EnhancerByCGLIB$$2cb76983.finalize(<generated>)
| at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
| at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
| at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
| at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
|
Am I doing something wrong or this features do not work yet?
(Seam version from CVS)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965669#3965669
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965669
19 years, 8 months