Problem installing J2M1
Hi all, I've just downloaded J2 from the link bellow and I was not able to start it. Im using Tomcat 5.0.30, as recomended, I start the database but at the tomcat log I get the following exception: Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs api. java.lang.InternalError: Can't instantiate Preferences factory java.lang.ClassNotFoundException: org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl Does anybody knows what can be wrong?? []'s Loreno David Sean Taylor wrote: 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/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
problem when displaying images on j1.5
Hi all, I´m faced to an estrange problem on J1.5. When I first display the portal´s initial page (where we perform login) all the images are correctly displayed. But, if I press my browser´s reload buttom, the images desapear! :-O If I press some more times the reload buttom, the images, magicaly, cames back. Does anyone knows what is it?? []´s Loreno -- Loreno Feitosa de Oliveira Graduação - CCC UFCG / CCT / Depto. de Sistemas e Computação - http://www.dsc.ufcg.edu.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: downloading files from user's directory
Hi Eliane, an alternative solution could be create a hiperlink on the following model: when the user clicks on the link name our java code reads the file and puts the bytes array on the output stream using the HttpServeletRequest object. I did this to allow users download files that are stored in a database, and it works!! :-) Talking about Jetspeed, the idea would be associate an event to the download action, thus, the HttpServletRequest it's given by the own Jetspeed's event method signature. []'s Loreno On Mon, 02 Aug 2004 16:54:24 -0300, Eliane Cristina de Araujo wrote Hello all, We are building a service portal and want to allow users to download files with the results of his operations. * At first, we have tried to create the output files on the users' psml directory, for example: $CATALINA_HOME/webapps/ourapp/WEB-INF/psml/user/eliane/results/a1.txt Then we created a link to these files on the portlet HREF=ourapp/WEB-INF/psml/user/eliane/a1.txt We have also tried HREF=WEB-INF/psml/user/eliane/a1.txt It does not work. Error 404. * On a second try, we have tried to create the output files on the app directory, for example: $CATALINA_HOME/webapps/ourapp/results/a1.txt It does not work, too. We aren't able to create the file here. Anyone has an idea what we should do? We are developing with Jetspeed 1.5 and tomcat 5.0.19. cheers, Eliane -- Loreno Feitosa de Oliveira Graduação - CCC UFCG / CCT / Depto. de Sistemas e Computação - http://www.dsc.ufcg.edu.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting portlet url via API
Hi all, I´m trying to get a portlet url through the statement bellow: protected void buildNormalContext( Portlet portlet, RunData runData ) throws Exception { System.out.println(URL is + portlet.getPortletConfig().getURL()); ... } but the method getURL returns null. Does anybody knows why?? []´s Loreno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
default psml file
Hi everyone! does anybody knows what I need to do in order to alter the default psml file created always a new user is added to the portal (default.psml)?? The idea is to provide a default set of portlets for my portal new users. []´s Loreno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: default psml file
Works!! Thanks Bob, I did what you said and I solved my problem. :-) []´s Loreno Bob Fleischman wrote: You can create a new user, call it something like BaseUser, then configure that users default.psml the way you would like it to look. After you have finished that open JetspeedResources.properties and search for services.Profiler.newuser.template=turbine Change 'turbine' to the name of your new default user. Bob -Original Message- From: Loreno F. de Oliveira [mailto:[EMAIL PROTECTED] Sent: Monday, July 05, 2004 2:05 PM To: Jetspeed Users List Subject: default psml file Hi everyone! does anybody knows what I need to do in order to alter the default psml file created always a new user is added to the portal (default.psml)?? The idea is to provide a default set of portlets for my portal new users. []´s Loreno - 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]
localisation
Hello, I´m in troubles trying to change the localization file. First, when a change the language letters in the TurbineResources.properties to : locale.default.bundles=org.apache.jetspeed.modules.localization.JetspeedLocalization locale.default.language=pt locale.default.country=US nothing changes in the iterface. Doesn´t matter which letters I put there, always the language used is english. Does anybody knows what is the problem?? Also, is there a better jetspeed tutorial then the one in the jetspeed page?? That tutorias has no enough information about how to customize the portal. For example, if I´m creating a portal for my company, should I use the binary distribution or the source?? []´s Loreno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localisation
Ok, but htere is two problems in this solution. First, I can´t ask all my portal users to change their browsers configuration. Second, what I really need is to alter some messages displayed in some places. The poit is that I think jetspeed have localization problems. Since three day ago I´m, trying to alter messages in some pages and I can´t do it without change the .vm templates. Does anybody has another ideia?? :-/ []´s Loreno Shinsuke SUGAYA wrote: Loreno F. de Oliveira wrote: Hello, I´m in troubles trying to change the localization file. First, when a change the language letters in the TurbineResources.properties to : locale.default.bundles=org.apache.jetspeed.modules.localization.JetspeedLocalization locale.default.language=pt locale.default.country=US nothing changes in the iterface. Doesn´t matter which letters I put there, always the language used is english. Does anybody knows what is the problem?? Please try to set browser's preferred language to pt. Regards, shinsuke Also, is there a better jetspeed tutorial then the one in the jetspeed page?? That tutorias has no enough information about how to customize the portal. For example, if I´m creating a portal for my company, should I use the binary distribution or the source?? []´s Loreno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? http://bb.yahoo.co.jp/ - 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: localisation
Thaks Shinsuke. It would be great if you contribute with your path. By now, I´m forced to do a thing I wouldn´t to do: put my hands inside the .vm files and write my messages there. Thanks for the atention Shinsuke.. :-) []´s Loreno Shinsuke SUGAYA wrote: Loreno F. de Oliveira wrote: Ok, but htere is two problems in this solution. First, I can´t ask all my portal users to change their browsers configuration. Second, what I really need is to alter some messages displayed in some places. I think it's a general method. So, the localized browser has proper language as default. For example, Japanese browser has ja by default. Using the l10ned browser, user does not need to change it. The poit is that I think jetspeed have localization problems. Since three day ago I´m, trying to alter messages in some pages and I can´t do it without change the .vm templates. Some English messages are included in default .vm files, though you can create l10n file. But these messages need to be i18ned, I believe. So, I'll file a bug and submit a patch later. In Japanese Support for Jetspeed project(Japanese only..), I have already fixed it. So, I'll submit the same fix to jetspeed. http://sourceforge.jp/projects/jetspeed-japan Thanks, shinsuke Does anybody has another ideia?? :-/ []´s Loreno Shinsuke SUGAYA wrote: Loreno F. de Oliveira wrote: Hello, I´m in troubles trying to change the localization file. First, when a change the language letters in the TurbineResources.properties to : locale.default.bundles=org.apache.jetspeed.modules.localization.JetspeedLocalization locale.default.language=pt locale.default.country=US nothing changes in the iterface. Doesn´t matter which letters I put there, always the language used is english. Does anybody knows what is the problem?? Please try to set browser's preferred language to pt. Regards, shinsuke Also, is there a better jetspeed tutorial then the one in the jetspeed page?? That tutorias has no enough information about how to customize the portal. For example, if I´m creating a portal for my company, should I use the binary distribution or the source?? []´s Loreno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? http://bb.yahoo.co.jp/ - 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] __ Do You Yahoo!? http://bb.yahoo.co.jp/ - 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: Portlets and JavaScript
Its a good question Oliver. In a few days I will start to create the first portlets in what will be a grid portal. I have been thinking about the problems I will need to solve and I thinked to use java scripts in some places, besides to use struts in all I need to implement. Soon I will have the same problems you have now. It could be excelent to know how to solve the problems I have not yet. :-) []'s Loreno Oliver Pfau wrote: Hi, is it possible to use JavaScript in portlets ? I think it is... but e. g. when I use taglibraries like struts, it could cause collisions of methodnames etc... or not ? Has somebody made experiences with portlets and JavaScript ? THX Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Re: compiling the tutorial problem
Finally I'll help somebody in the list.. :-) I had this problem and I have been solved it by adding fork=yes on the problematic ant tag... This doesn't looks a portlet/jetspeed problem, but a eclipse doubt. I hope also to be able to help all you on portlets/jetspeed subjects.. :-) []'s Loreno Nehemia Litterat wrote: Hi All Is anybody can tell me why I am getting this error I am using ECLIPSE as editor and I am running ANT with it JAVA_HOME do point to the JDK The ERROR [javac] BUILD FAILED: file:E:/work/work/Installation/JETSPEED/jportal/build.xml:135: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK this is my property file jetspeed_home=C:/Program Files/Apache Group/Tomcat 4.1/webapps/jetspeed/WEB-INF catalina_home=C:/Program Files/Apache Group/Tomcat 4.1 portlet_app_name=jportal company=xxx jetspeed_jar=/lib/jetspeed-1.4.jar jetspeed_war=C:/Program Files/Apache Group/Tomcat 4.1/webapps/jetspeed jetspeed_lib=/WEB-INF/lib jetspeed_conf=/WEB-INF/conf/ Thanks Nehemia Litterat 064700685 - Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. smime.p7s Description: S/MIME Cryptographic Signature