[JBoss Portal] - Null Layout when portlet maximized
by nollie
Hello. I have been tasked with upgrading our AS from jboss-4.0.3SP1 to jboss-4.0.5.GA, and our portal from 2.2.1-SP3 to 2.4.1. Both the AS and portal where downloaded and unzipped manually. My JDBC driver, jboss-portal.sar, and portal-hsqldb-ds.xml have been copied to the /server/default/lib. At the moment I am only working with the hypersonic database.
Almost everything works at this point. In addition to migrating my portlet descriptors I have been bringing our layout into compliance with JBoss standards - in the past we were not using many portlet styles and had no controls in the title bar. I have my portlet decorations and contols rendering correctly in my portlet title now and all of the controls work except for maximizing a portlet.
The exception:
anonymous wrote : javax.servlet.ServletException: No null layout allowed here
| org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:315)
| org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:173)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| root cause
|
| java.lang.IllegalArgumentException: No null layout allowed here
| org.jboss.portal.theme.LayoutDispatcher.(LayoutDispatcher.java:87)
| org.jboss.portal.theme.impl.JSPLayout.assembleResponse(JSPLayout.java:54)
| org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:363)
| org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:84)
| ... *snip*
|
I have searched the forums and found a thread or two concerning this exception where the solution seemingly had to do with the database connectivity. Since my entire portal is working except maximizing, I'm inclined to say I have a different problem. That said, we've never tried maximizing our portlets before so it could be some old mistake made before I started.
Any thoughts? Thanks in advance.
Nollie
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028423#4028423
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028423
19Â years, 1Â month
[JBossWS] - Problem calling a web service that requires empty input
by zhijun
I'm trying to call a Web service using a method that doesn't take an input parameter. The WSDL for the input parameter is this:
<element name="getAllValues">
| <complexType>
| <sequence />
| </complexType>
| </element>
I'm using call.invoke(Object[]) method to call it. I'm always getting the following ArrayIndexOutOfBoundsException no matter how I manipulate the Object[] for this call. It feels like JBossWS is having problem with this situation/WSDL description.
2007-03-15 10:48:18,870 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@1267610
| 2007-03-15 10:48:18,916 ERROR [org.jboss.ws.jaxrpc.CallImpl] Call invocation failed with unkown Exception
| java.lang.ArrayIndexOutOfBoundsException: 0
| at org.jboss.ws.binding.EndpointInvocation.initInputParams(EndpointInvocation.java:300)
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:642)
| at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
| at org.apache.jsp.TestWS1_jsp._jspService(TestWS1_jsp.java:90)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
| at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
| at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| ... ...
|
Is this a know issue or am I doing something wrong?
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028422#4028422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028422
19Â years, 1Â month
[JBossCache] - TreeCache problem killing nodes
by ottuzzi
Hi there,
I have a 32 nodes Weblogic cluster divided into 4 differente machines: I use TreeCache as distributed cache but, for unknown network reasons, every node can see only nodes on the same machine; from a point of view you can see it as 4 different caches with 8 nodes each.
A morning I saw strange logs (well I saw no logs) on nodes of a machine: only the nodes on a machine were silent, the other 24 were working regularly.
As windows teach: don't worry.. simply restart the malfunctioning nodes ;)
Well... the nodes did not came up: they were all stuck during the deploy of the webApp that uses TreeCache.
The only repetitive log from each node was:
2007-03-08 10:22:17,890 WARN - join(10.0.0.5:47656) sent to 10.0.0.5:32768 timed out, retrying
I shutdown (well... killed as they were waiting for the webapp to complete the deploy) all nodes and switched the TreeCache to LOCAL (the distributed cache is a plus not a must ;)) to let them restart.
Is it a know JGroup problem?
I'm using latest JBossCache 1.4.1SP2.
Any hints would be appreciated.
Many thanks
Bye
Piero
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028419#4028419
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028419
19Â years, 1Â month