[JNDI/Naming/Network] - Re: [[EJBInvokerServlet]] Servlet.service() for servlet EJB
by nidget
I think there is a small problem in the code of the org.jboss.console.remote.InvokerServlet
In the processRequest() method, it has this in case an error occurs:
catch(Throwable t)
| {
| t = org.jboss.mx.util.JMXExceptionDecoder.decode (t);
| org.jboss.invocation.InvocationException appException = new org.jboss.invocation.InvocationException (t);
| log.debug ("Invoke threw exception", t);
| // Marshall the exception
| response.resetBuffer ();
| org.jboss.invocation.MarshalledValue mv = new org.jboss.invocation.MarshalledValue (appException);
| javax.servlet.ServletOutputStream sos = response.getOutputStream ();
| java.io.ObjectOutputStream oos = new java.io.ObjectOutputStream (sos);
| oos.writeObject (mv);
| oos.close ();
| }
It should probably surround the block of code after the comment "Marshal the exception" with a try catch on IllegalStateException, just in case the response cannot be sent back (for example, if the requester is disconnected).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038941#4038941
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038941
19 years
[JBoss Portal] - Customize The Navigation Tabs
by Frozen4Time
I am trying to get ahead of the curve in our plans to migrate from jboss portal 2.4.1 to the new 2.6 version. In our current implementation using 2.4.1 we made a copy and modified the navigation portlet to render the tabs in slightly a different way. Looking at the 2.6 version I see that there is no longer a navigation portlet. The PageCustomizerInterceptor now renders the navigation tabs.
However, I haven't found any documentation suggesting that there is a way for me to specify which Interceptor should be used to do this rendering. Basically I am looking for a way to configure the naviation tab rendering on a per portal basis. For example for the default and admin portal I would want to leave the current tabs the way they are, but for a new portal I am deploying in the container I would like to have a different rendering of the tabs.
Is this possible?
I am using the latests 2.6 release available (beta1) in JBoss 4.0.5GA both downloaded. I am running on windows and the only database I am using is hypersonic at the moment.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038936#4038936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038936
19 years
[JBoss Seam] - Re: Deploying seam app along side standard jsf app problem
by leman_1
Thank you for that. I read the same thing and was trying to set the classloading in the war files as a desperate measure. Upon startup I get warnings saying that JBoss is going to ignore the loader in the war files because only the root deployment can set it.
It must be a classloading issue I just don't know a way around it. I tried removing the seam jar from the application.xml file hoping this would stop the jar from being seen by all the components. That worked and of course stopped the seam app from working as well. I then set the Class-Path in the MANIFEST.MF file of the Seam EJB jar which brought up the same problem again. It looks like adding the jar to any artifacts classpath makes it visible to all.
I don't know of any way in a jar/war to say exclude from class path (of course thats assuming that it would solve the problem).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038935#4038935
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038935
19 years