Returning binary data through portlet
Hi all, Wondering if anyone knows how to get a portlet to return binary data, or get Jetspeed to return binary data. I have a JSP that reads files for download, coupled with the JSP portlet, but any data returned seems to be intercepted and interpreted as text and is dumped to the portlet window. All the response headers have been correctly set and this JSP works outside of the portlet; so either the response headers are being swallowed, or the data is being converted. Any quick and dirty way to get files to download through portlets? Thanks -- "Calling Canadian beef unsafe is like calling your twin sister ugly" ~ Mark Dopp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to JetSpeed
Deepa, Do you have a need to compile Jetspeed 1.5? If not, you could download the release binaries available at http://jakarta.apache.org/site/binindex.cgi Hema On Fri, 14 Jan 2005 14:57:18 -0600, deepa chopra <[EMAIL PROTECTED]> wrote: > > I am new to jetSpeed. I am trying to use the jetspeed1.5. I got > jetspeed1.5-src.zip file from the internet and tried to compile. It does not > work form me. I used build.xml included with the project, for compiling. I > tried to use IntelliJ and tried the jar target. Does the build.xml work? It > has path that do not match to the files present in the project? Any > suggestions? > > Thanks > > Deepa > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
About j2M1 installer/build scripts - (was Re: Building Jetspeed2)
I thought of using the binary installer for J2 MI, unfortunately it does not have support for my deployment database, Sybase. Same goes for the manual build scripts. Could you consider including a Sybase entry to the build scripts and the installer, in future, perhaps? I could send out the modified build scripts and sql schemas for Sybase and maybe offer support for updating the scripts for future builds. Thanks, Hema On Fri, 14 Jan 2005 10:19:47 -0700, Randy Watler <[EMAIL PROTECTED]> wrote: > Mike, > > There is a recent J2 M1 binary release and an installer. > > > Well, I finally got the binary installer for J2 M1 finished, here is a > > temporary link: http://www.binary-designs.net/downloads.html. The > > download takes a little time to start but fairly quick once it does. > > > > The only requirements are that you have a compatible version of the > > JDK 1.4.2, installed, see: > > http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk1 > > and > > > The Apache Portals community is pleased to announce the release of > > Jetspeed 2.0 M1. > > > > This is our first milestone release and brings Jetspeed closer to a > > final 2.0 release. > > > > Feedback is greatly appreciated, especially in the form of bug reports. > > > > You can download Jetspeed 2.0 M1 from: > > > > http://www.apache.org/dist/portals/jetspeed-2/ > > > > Release notes and installation instructions are at: > > > > http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt > > > > The Jetspeed Project Wiki and Home pages can be found here: > > > > http://wiki.apache.org/portals/Jetspeed2 > > > > http://portals.apache.org/jetspeed-2/ > > > > You can also probably try to rerun your maven build and it will try to > reload the missing jars... it might take a few iterations if you are not > on a reliable connection. > > Good luck! > > Randy ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
instructions for installing js2
Hi folks, Didn't see this posted to the list, thought it might help some people out. It's Matt Raible's instructions for installing JS2. http://raibledesigns.com/wiki/Wiki.jsp?page=InstallJetspeed Please note that I've not tested these, since I'm using JS1. Cheers, Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hide Panes in JetSpeed
Carlos Torres wrote: I'm using Jetspeed 1.5 and it didn't work. I think I didn't explain very well. I'd like to hide only the "tab button" not the panel properly. Yes that is how it works Look at the Security Admin portlets in the 1.5 distribution for an example - Original Message - From: "David Sean Taylor" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Friday, January 14, 2005 4:37 PM Subject: Re: Hide Panes in JetSpeed Carlos Torres wrote: Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an application with only one pane, "Home", and I'd like to hide this pane and let the screen clean. Anybody has how to make it? Thank you very much regards, Carlos Torres Assume you are speaking of Jetspeed-1 Try this: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New to JetSpeed
I am new to jetSpeed. I am trying to use the jetspeed1.5. I got jetspeed1.5-src.zip file from the internet and tried to compile. It does not work form me. I used build.xml included with the project, for compiling. I tried to use IntelliJ and tried the jar target. Does the build.xml work? It has path that do not match to the files present in the project? Any suggestions? Thanks Deepa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invalid Column Name error - JS 2 build - SecurityAccessImpl
Hello, I was successful in building Jetspeed 2 from the source checked out from CVS today. My database for deployment is Sybase. After deploying jetspeed when I try to login I get the SQLException due to invalid column name. The error stack trace is provided below. I am not why the code is looking for a Column name: creation_date, when the column name is indeed CREATION_DATE. It appears that getInternalUserPrincipal() method of SecurityAccessImpl is creating the query using QueryFactory where this is failing. From what I understand it is using SECURITY_PRINCIPAL table where CREATION_DATE coulmn is defined. I am not sure failure of the query due to case-sensitiveness is specific to Sybase. Can anyone let me know why this is happening? Stack trace follows: org.springframework.jdbc.UncategorizedSQLException: (OJB operation): encountered SQLException [Invalid column name 'creation_date'. ]; nested exception is com.sybase.jdbc2.jdbc.SybSQLException: Invalid column name 'creation_date'. org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:94) org.springframework.orm.ojb.OjbAccessor.convertJdbcAccessException(OjbAccessor.java:107) org.springframework.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:89) org.springframework.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:155) org.springframework.orm.ojb.PersistenceBrokerTemplate.getObjectByQuery(PersistenceBrokerTemplate.java:178) org.apache.jetspeed.security.spi.impl.SecurityAccessImpl.. ..) org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) $Proxy2.getInternalUserPrincipal(Unknown Source) org.apache.jetspeed.security.spi.impl.DefaultUserSecurityHandler.getUserPrincipal(DefaultUserSecurityHandler.java:61) Thanks, Hema ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Jetspeed2
Mike, I did build JS2 from CVS successfuly today. Source was checked out today. What is the compile error that maven is reporting? Also delete the .cache files from the maven plugin directory before trying again.( Wiki link http://wiki.apache.org/portals/Jetspeed2/ResolvingPossibleMavenIssues ) Even though the build was successful, I had a problem which I will post separately. Hema On Fri, 14 Jan 2005 11:04:07 -0600, Mike Shoemaker <[EMAIL PROTECTED]> wrote: > I've followed the getting started steps listed on the website @ > http://portals.apache.org/jetspeed-2/getting-started.html > > I'm having a problem with the "maven allClean allBuild" step. During > the build I see various messaes stating that various jars failed to > download, and once the script stops I get the following. > > BUILD FAILED > File.. C:\Documents and > Settings\mshoemaker\projects\jakarta-jetspeed-2\maven.xml > Element... maven:reactor > Line.. 133 > Column 40 > Unable to obtain goal [java:compile] -- C:\Documents and > Settings\mshoemaker\.maven\cache\maven-java-plugin-1.5\plugin.j > elly:63:48: Compile failed; see the compiler error output > for details. > Total time: 7 minutes 31 seconds > Finished at: Fri Jan 14 10:01:23 CST 2005 > > It seems to me that this is more of a maven problem than Jetspeed. Is > there a way to down load a prebuilt binary that is ready to deploy? > What is the appropriate way to remedy this? Download all the > dependencies one by one? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hide Panes in JetSpeed
I'm using Jetspeed 1.5 and it didn't work. I think I didn't explain very well. I'd like to hide only the "tab button" not the panel properly. - Original Message - From: "David Sean Taylor" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Friday, January 14, 2005 4:37 PM Subject: Re: Hide Panes in JetSpeed > Carlos Torres wrote: > > Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an application with only one pane, "Home", and I'd like to hide this pane and let the screen clean. Anybody has how to make it? > > > > Thank you very much > > > > regards, > > > >Carlos Torres > > > > Assume you are speaking of Jetspeed-1 > Try this: > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Hide Panes in JetSpeed
Carlos Torres wrote: Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an application with only one pane, "Home", and I'd like to hide this pane and let the screen clean. Anybody has how to make it? Thank you very much regards, Carlos Torres Assume you are speaking of Jetspeed-1 Try this: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hide Panes in JetSpeed
Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an application with only one pane, "Home", and I'd like to hide this pane and let the screen clean. Anybody has how to make it? Thank you very much regards, Carlos Torres
Re: Building Jetspeed2
Interesting. I've rerun the thing probably 5-7 times. Also, haven't noticed my connection being unreliable but I guess could be possible. Thanks for your help! Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Jetspeed2
Mike, There is a recent J2 M1 binary release and an installer. Well, I finally got the binary installer for J2 M1 finished, here is a temporary link: http://www.binary-designs.net/downloads.html. The download takes a little time to start but fairly quick once it does. The only requirements are that you have a compatible version of the JDK 1.4.2, installed, see: http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk1 and The Apache Portals community is pleased to announce the release of Jetspeed 2.0 M1. This is our first milestone release and brings Jetspeed closer to a final 2.0 release. Feedback is greatly appreciated, especially in the form of bug reports. You can download Jetspeed 2.0 M1 from: http://www.apache.org/dist/portals/jetspeed-2/ Release notes and installation instructions are at: http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt The Jetspeed Project Wiki and Home pages can be found here: http://wiki.apache.org/portals/Jetspeed2 http://portals.apache.org/jetspeed-2/ You can also probably try to rerun your maven build and it will try to reload the missing jars... it might take a few iterations if you are not on a reliable connection. Good luck! Randy Mike Shoemaker wrote: I've followed the getting started steps listed on the website @ http://portals.apache.org/jetspeed-2/getting-started.html I'm having a problem with the "maven allClean allBuild" step. During the build I see various messaes stating that various jars failed to download, and once the script stops I get the following. BUILD FAILED File.. C:\Documents and Settings\mshoemaker\projects\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- C:\Documents and Settings\mshoemaker\.maven\cache\maven-java-plugin-1.5\plugin.j elly:63:48: Compile failed; see the compiler error output for details. Total time: 7 minutes 31 seconds Finished at: Fri Jan 14 10:01:23 CST 2005 It seems to me that this is more of a maven problem than Jetspeed. Is there a way to down load a prebuilt binary that is ready to deploy? What is the appropriate way to remedy this? Download all the dependencies one by one? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Building Jetspeed2
I've followed the getting started steps listed on the website @ http://portals.apache.org/jetspeed-2/getting-started.html I'm having a problem with the "maven allClean allBuild" step. During the build I see various messaes stating that various jars failed to download, and once the script stops I get the following. BUILD FAILED File.. C:\Documents and Settings\mshoemaker\projects\jakarta-jetspeed-2\maven.xml Element... maven:reactor Line.. 133 Column 40 Unable to obtain goal [java:compile] -- C:\Documents and Settings\mshoemaker\.maven\cache\maven-java-plugin-1.5\plugin.j elly:63:48: Compile failed; see the compiler error output for details. Total time: 7 minutes 31 seconds Finished at: Fri Jan 14 10:01:23 CST 2005 It seems to me that this is more of a maven problem than Jetspeed. Is there a way to down load a prebuilt binary that is ready to deploy? What is the appropriate way to remedy this? Download all the dependencies one by one? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed-2 site updated again: New documentation for defining and using User Attributes
I've added a new document describing how User Attributes are to be defined, how custom attribute mapping is possible in Jetspeed-2, and how to use them. Checkout: http://portals.apache.org/jetspeed-2/user-attributes.html NB: I also removed all the old sites on the server. Regards, Ate Douma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New article about Jetspeed 2
It's a first part (In italian): http://www.mokabyte.it/2005/01/jetspeed2-1.htm or: http://www.jugsardegna.org/vqwiki/jsp/Wiki?Jetspeed2 The English version will be available to more soon on: http://www.jugsardegna.org/vqwiki/jsp/Wiki?MassimilianoDessi Massimiliano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]