-
1. Re: problem in struts mail portlet in portlet swap
arunprasathav Oct 5, 2007 2:25 AM (in response to arunprasathav)Why dont i get any repllies?
is JBoss forum is utter waste? -
2. Re: problem in struts mail portlet in portlet swap
peterj Oct 5, 2007 9:35 AM (in response to arunprasathav)There are several reasons why this post might not get any response.
First, you do not indicate which version of JBoss Portal, JBoss App Server, and JDK you are using. In some cases, you also need to state which database and its version (not sure if that would apply here).
Second, error text is usually useless outside of its context (especially error text that you retyped). Instead, post the stack trace from the log file or the console (usually the first 20 or so lines of the stack track, and the 2 or 3 lines before the stack trace are sufficient).
Third, you said you are using an portlet from portletswap, but then indicate that you added a web.xml file. From the post, I assume that you had previously deployed the portlet without any problems and adding the web.xml caused the error to show. Without knowing what is in the web.xml, there is not much we could do other than tell you not to do that. In other words, post the contents of the web.xml.
Fourth, perhaps others have not used that specific portlet (several of the portlets on portletswap are contributed based on a given release of JBoss AS and JBoss Portal and never updated, I don't know if that is the case with this portlet). -
3. Re: problem in struts mail portlet in portlet swap
theute Oct 12, 2007 8:11 AM (in response to arunprasathav)I uploaded a Struts bridge example on Portletswap:
See the jPetStore example for portal 2.6 on JBoss AS 4.2 and JBoss EAP:
http://labs.jboss.com/portletswap/downloads/portlets/framework/?action=a&windowstate=maximized
Note that you will need to add:
-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false
When you start JBoss AS.
(you can alter the JAVA_OPTS defined in JBOSS_HOME/bin/run.conf)
On JBoss Portal 2.6.3 due in December you won't have to add that parameter anymore.