Re: JS 1.6 with Fusion Struts demo/JS1.6/ Sybase - AutoCommit failure

2004-12-02 Thread Hema Menon
For reference if anyone come across this problem. You can fix this issue by modifying the repository_database.xml to have useAutoCommit=0 added to it as shown below. jdbc-connection-descriptor jcd-alias=jetspeed platform=Sybase default-connection=true

JS 1.6 with Fusion Struts demo/JS1.6/ Sybase - AutoCommit failure

2004-12-01 Thread Hema Menon
Hi, I am trying to deploy the struts and jsf demo portlets on jetspeed 1.6 with fusion. I find the following exception. It seems to be specific to Sybase and might be related to OJB component. Also I was successful in deploying these with Hsql database. Has anyone come across this error? Any

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Well, this seems to be an issue with the struts-demo and Weblogic. I can hit the first page of the demo, and actually I can hit any page if I set it up as the first page in the portlet.xml. However I cannot click on a link and go to another page. When clicking on a link, weblogic throws the

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Well, I was able to fix the issue for Weblogic, but I'm not sure if it is a good fix. I traced through some Weblogic classes to find that internally they are trying to cast to a Weblogic implementation of HttpServletResponse instead of using the interface itself. The quick fix is to comment out

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
I think I have a better fix now, and I would be happy to submit a patch if someone shows me how. I changed the EmptyHttpServletResponseImpl into a EmptyHttpServletResponseWrapper. Then I modified this line in StrutsPortlet, line 269: if (actionRequest) { res =

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff, Thanks for providing this information. I will look into this tonight but I expect your changes can be incorporated without harm or side-effect. I created the EmptyHttpServletResponseImpl as the lightest implementation to nullify any usage of the HttpServletResponse. Using a wrapper instead

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff Sheets wrote: Ate, Actually, now that I look at it, it was only missing the src\java\org\apache\struts\webapp\example\CheckLogonTag.java file. I believe I saw the compile error when trying to access the logon screen, or possibly the register screen. I scanned the source tree and you are

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
Sorry for a second post, but I think I know where you are going with this now. I deployed the struts-demo in Jetspeed on Weblogic Server. I didn't try to deploy the struts-demo in Weblogic Portal. That hopefully answers your question... On Wed, 17 Nov 2004 17:48:24 -0600, Jeff Sheets [EMAIL

Re: Fusion Struts Demo

2004-11-17 Thread Ate Douma
Jeff Sheets wrote: Sorry for a second post, but I think I know where you are going with this now. I deployed the struts-demo in Jetspeed on Weblogic Server. I didn't try to deploy the struts-demo in Weblogic Portal. That hopefully answers your question... Your previous message hasn't reached

Re: Fusion Struts Demo

2004-11-17 Thread Jeff Sheets
I never even looked at the ServletContextProvider spi interface. Deploying to Weblogic was nearly as easy as deploying to Tomcat or JBoss. I only needed to modify the two things that I mentioned earlier... On Wed, 17 Nov 2004 22:58:15 +0100, Ate Douma [EMAIL PROTECTED] wrote: Jeff Sheets

Fusion Struts Demo

2004-11-16 Thread Jeff Sheets
I'm trying get the struts-demo app working in Fusion. I have the other JSR-168 sample apps working, like the demo.war number guessing game, however the struts-demo.war is giving me some problems. I built from CVS head just two days ago. Here is the only exception trace that I can find (as