Re: Pass parameters from JSPPortlet to the JSP
Hi Erzhuam! Which version of JetSpeed did you use and got null? Thx. $kala. - Original Message - From: Mike Zhou [EMAIL PROTECTED] To: Jetspeed Users List [EMAIL PROTECTED]; [EMAIL PROTECTED]; Marc Moree [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 1:15 AM Subject: RE: Pass parameters from JSPPortlet to the JSP I tried and got the samething, null. Currently I am using a Portlet written in Java. It works for me. Erzhuan --- Mark Orciuch [EMAIL PROTECTED] wrote: Marc, First, I wanted to thank you so much for answering one of my questions earlier this month. I was reading your posting on how to get portlet init parameters when using JSPPortlet. I used the methods below(AND appropriate imports), but I am getting a null value for the portlet when trying to get it as an attribute from the request. I was wondering if you any ideas as to why this might happen. Are you building Jetspeed using CVS head or the current release? The portlet attribute is a recent enhancement (added on Aug-28-2002, to be exact). I am essentially writing a URLBrowser JSP so that I can embed an outside URL as a JSPPortlet, and still keep it embedded when navigating links supplied by the outside resource. I've seen many people Sounds like a job for IFramePortlet but I may be misinterpreting your requirement. requesting this, so if my code is up to par, I would gladly contribute it to the project. Thanks again. :-) % Portlet portlet = (Portlet) request.getAttribute(portlet); String myParm = portlet.getPortletConfig().getInitParameter(myParm); % Marc Moree Software Engineer ISR Global Best regards, Mark C. Orciuch Next Generation Solutions, Ltd. e-Mail: [EMAIL PROTECTED] web: http://www.ngsltd.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Help, DB2 integration problem #2
Hi Philipp! This will NOT help you, but I have JetSpeed 1.4b1 successfuly working with ORACLE database and had no problems with scripts provided. $kala. - Original Message - From: Philipp Schoepf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:52 PM Subject: Help, DB2 integration problem #2 Hi all, I'm in really big trouble with my DB2-Jetspeed integration. Like a said in my previous thread there are some problems using the turbine-db2.sql und populate-db2.sql scripts for the creation of a jetspeed db2 database. Could anyone tell me, if he ran into similar problems when integrating DB2 and Jetspeed? The provided scripts seem totally wrong! The error I got before was just because of the ; in the scripts. After I deleted the ; I was able to create the tables. But the next problem was not far away... The populate-db2.sql script seems as faulty as the turbine-db2.sql script. For example it tries to insert values into the user_id colums although this is permitted by db2 (just because the id'sare generated automatically using the GENERATED ALWAYS AS IDENTITY statement). There is also an error when inserting the long value into the blob colum for the user infos. Did I download the wrong version of jetspeed (1.4b1) or did I make a wrong db2 configuration? This is going to make me mad, so I would be very grateful if someone could help me Best regards, -- Philipp Schöpf IBM e-business Innovation Center Alter Wandrahm 10, 20457 Hamburg Fon: +49 (0)40/41912-461 Web: http://www.ibm.com/services/de/innovation -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How I can to create a new porlets ?
Hi Adriana! As I know how was the JS totaly baffling for me when I started to work with it, I decided to help you. Despite I think, there is quite lot of *newbie* stuff around if you know where to search (it looks you don't), and you should first start to dig in e.g. mailing list archive (http://www.mail-archive.com/jetspeed-user%40jakarta.apache.org/) *before* you ask here. See my comments below. Hi I'm new user with jetspeed, java, xml... and I want add a new porlets. I believe to in path-to-jetspeed/WEB-INF/conf is store a list of portlets with title and description. Right. But, if I want to add a new porlet, what I would have to do ? I have allready answered this (creating a *NEW* portlet) in your last post. Did you read it ? What wasn't clear to you? * It deepends what do you wanna achieve, to show some already existing content within the portlet window such as JSP page, HTML page or even RSS news, you may use some already writen portlets. Take a look at the portlet catalogue: http://jakarta.apache.org/jetspeed/site/catalog.html If you wanna write your specific portlet this may help you in the beginning: http://www.bluesunrise.com/jetspeed-docs/PortletHowTo.htm Shortly: 1) write the java class extending the AbstractPortlet 2) put it in to the class path within the JetSpeed 2) register it within the xreg files (WEB-INF\conf\) Then it should appear in the portlet list in JetSpeed and you'll be able to add it in to your pane. It is fine to writo own (e.g. local-portlets.xreg) xreg file. * IT IS IMPORTANT to know what do you want your portlet *TO DO* !!??? * show some existing, outside source within the portlet (HTML, JSP, VELOCITY) ? * show some specific stuff ? * show RSS news feed ? What do you want the JetSpeed use for? I would like to somebody send to me step to step, how add a new porlets... It deepends on the type of portlet you wanna create. Any suggestions ? Describe what do you really wanna achieve. Thanks and advance, Adriana $kala (www.eea.sk) ___ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
R: Status on Tomcat 4.x
On Tomcat3.2.3 everything works fine, If you need this feature you can consider to use this tomcat version. Unfotunately i need Tomcat4.0.4 so I'll take a look trying to find the problem ;- Dariush. -Messaggio originale- Da: Marian Skalsky [mailto:[EMAIL PROTECTED]] Inviato: giovedì 26 settembre 2002 7.37 A: Jetspeed Users List Oggetto: Re: Status on Tomcat 4.x Hi there! Tomcat 4.1.3, JS 1.4b1 - Jetspeed Content Admin - I got this message when trying to post article: Can't use this provider: /localhost/intranet/jcm/jetspeed-content.xml (No such file or directory) This thing never worked for me, but I have not been trying to get it work. What's that good for ? Thx. $kala. - Original Message - From: Carlos Orrego [EMAIL PROTECTED] To: Jetspeed Users List [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 7:46 PM Subject: RE: Status on Tomcat 4.x i am using win2k and tomcat 4.0.4 no luck with jetspeedContent c -Original Message- From: Dariush Behboudi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 8:50 AM To: Jetspeed Users List Subject: R: Status on Tomcat 4.x Hi Carlos, on wich OS are u using tomcat4.0.4? I've tried to deploy JetSpeed both on 4.0.4 and 4.1 versions on XP Prof system and I have a problem connected with JetSpeedContent Admin portlet: I'm not able to add new news... On 3.2.3 everything works fine. Any suggestion? Regards, Dariush. -Messaggio originale- Da: Carlos Orrego [mailto:[EMAIL PROTECTED]] Inviato: lunedì 26 agosto 2002 18.38 A: Jetspeed Users List Oggetto: RE: Status on Tomcat 4.x i had no problem with tomcat 4.0.4 c -Original Message- From: Matthew Baird [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 11:20 AM To: Jetspeed Developers List; [EMAIL PROTECTED] Subject: Status on Tomcat 4.x Out of the box Jetspeed is failing on Tomcat 4.x I've tried the WAR distro on several different Tomcat instances (3.2.1, 4.0.4, 4.1.9, etc) and the only instance that works out of the box is tomcat 3.2.3. Seems this is probably a known issue, are there any steps to making Jetspeed work with Tomcat 4.x? thanks, Matthew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Informix JDBC Driver and Jetspeed
Hi all, I have trouble with my Jetspeed(1.4b1)-Informix connection. The problem is the unknow JDBC driver of Informix. The driver ifxjdbc.jar is in my system classpath and I copied into WEB-INF/lib of jetspeed under tomcat. Could anyone tell me, what's wrong with my connection. I got follow error in the jetspeed.log: java.lang.InstantiationException: Unknown JDBC driver: com.informix.jdbc.IfxDriver: Check your configuration file at org.apache.torque.adapter.DBFactory.create(DBFactory.java:225) at org.apache.torque.pool.ConnectionPool.getDB(ConnectionPool.java:335) at org.apache.torque.pool.ConnectionPool.getNewConnection(ConnectionPool.java:444) at org.apache.torque.pool.ConnectionPool.getConnection(ConnectionPool.java:279) at org.apache.torque.Torque.getConnection(Torque.java:751) In the torque.properties I insert follow: database.adaptor=DBInformix database.adaptor.DBInformix=com.informix.jdbc.IfxDriver database.dbase1.driver=com.informix.jdbc.IfxDriver database.dbase1.url=jdbc:informix-sqli://192.168.17.155:1526/tut62:INFORMIXSERVER=dns database.dbase1.username=informix database.dbase1.password=informix --- Also in Turbine.Resources.properties (Is it important or not?) database.adaptor=DBInformix database.adaptor.DBInformix=com.informix.jdbc.IfxDriver - In demo-portlets.xreg I integrated the portlet-entry: portlet-entry name=Informix hidden=false type=ref parent=DatabaseBrowserPortlet application=false meta-info titleInformix/title descriptionAbfrage DB/description /meta-info classnameorg.apache.jetspeed.portal.portlets.browser.DatabaseBrowserPortlet/classname parameter name=template value=database-browser-portlet hidden=false cachedOnName=true cachedOnValue=true/ parameter name=customizeTemplate value=database-browser-customize hidden=false cachedOnName=true cachedOnValue=true/ parameter name=action value=portlets.browser.DatabaseBrowserAction hidden=false cachedOnName=true cachedOnValue=true/ parameter name=sql value=SELECT * FROM relate hidden=false cachedOnName=true cachedOnValue=true/ parameter name=poolname value=dbase1 hidden=false cachedOnName=true cachedOnValue=true/ parameter name=windowSize value=1 hidden=false cachedOnName=true cachedOnValue=true/ media-type ref=html/ url cachedOnURL=true/ /portlet-entry Anyone knows of this problem with Informix driver? Thank you for your help. Best regards, Niko Kumber _ Testen Sie MSN Messenger für Ihren Online-Chat mit Freunden: http://messenger.msn.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: jetspeed and xerces-2.0
Gopi, I have replaced Xerces 1.4.4 with Xerces 2.1.0 and rebuild Jetspeed. This seems to work :-) Some more testing needs to be done before committing. I suggest load Jetspeed from the CVS and replace lib/xerces-1.1.4.jar with xercesImpl.jar and xmlParserAPIs.jar from Xerces 2.1.0. Please report any problems you find to the list. Make sure you mention in the posting that you are using Xerces 2.1.0. Paul Spencer Gopi Kandaswamy wrote: Hi Paul, Thanks. But I understand from lots of articles on the web that the XML Serializer in Xerces-2.0 used to break the castor marshaller. But this was fixed in Xerces-2.0.1. So is it possible to upgrade the xerces in jetspeed to xerces-2.0.1. Does xerces-2.0.1 have other problems with castor Thanks --GK On Wednesday 25 September 2002 07:25 pm, Paul Spencer wrote: Gopi, Currently we are using Castor to marshal and unmarshal the Registry and PSML files. Since the current version of Castor does not support Xerces 2.x, Jetspeed does not support Xerces 2.x. We recently upgrade Xerces to version 1.4.4 See http://jakarta.apache.org/jetspeed/site/jars.html for information about Jars used by Jetspeed. Paul Spencer Gopi Kandaswamy wrote: Hi, I have written a portlet which uses wsdl4j, which in turn needs xerces-2.0. But jetspeed (1.4b1) uses xerces-1.3.1 and does not work with xerces-2.0. I get errors like this if I use xerces-2.0. org.apache.turbine.util.TurbineException: Error rendering Velocity template: / controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrap per threw exception class java.lang.AbstractMethodError : null Is there a version of jetspeed that uses xerces-2.0, or is there anyway I can specify my portlet to use xerces-2.0 and jetspeed to use xerces-1.3.1 Thanks a million, --GK -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Jetspeed documentation
Please keep width to a size that will print. Most of the doc pages are wider than will print even in landscape, plus they are harder to read.
Re: How to start
What I can use as a starting point to make my jetspeed portal ? The problem is the sample who comes with jetspeed has many features so I am felling lost. Just take one of the portlets most close to what you want and start to modify that one. Eg the Velocity portlet if you are a velocity programmer, the JSP portlet if you prefer JSPs. (There is one isn't there). You can ignore all the other portlet types you don't need. Alex Openweb Analysts Ltd, London. Software For Complex Websites http://www.OWAL.co.uk/ Open Source Software Companies please register here http://www.OWAL.co.uk/oss_support/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help, DB2 integration problem #2
Sorry about the DB2 scripts. I tested on Hypersonic, MySQL and Oracle. Do you know if DB2 has a free database download that I can test on? I think I could get it fixed fairly quickly... -Original Message- From: Marian Skalsky [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 07:35 To: Jetspeed Users List Subject: Re: Help, DB2 integration problem #2 Hi Philipp! This will NOT help you, but I have JetSpeed 1.4b1 successfuly working with ORACLE database and had no problems with scripts provided. $kala. - Original Message - From: Philipp Schoepf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:52 PM Subject: Help, DB2 integration problem #2 Hi all, I'm in really big trouble with my DB2-Jetspeed integration. Like a said in my previous thread there are some problems using the turbine-db2.sql und populate-db2.sql scripts for the creation of a jetspeed db2 database. Could anyone tell me, if he ran into similar problems when integrating DB2 and Jetspeed? The provided scripts seem totally wrong! The error I got before was just because of the ; in the scripts. After I deleted the ; I was able to create the tables. But the next problem was not far away... The populate-db2.sql script seems as faulty as the turbine-db2.sql script. For example it tries to insert values into the user_id colums although this is permitted by db2 (just because the id'sare generated automatically using the GENERATED ALWAYS AS IDENTITY statement). There is also an error when inserting the long value into the blob colum for the user infos. Did I download the wrong version of jetspeed (1.4b1) or did I make a wrong db2 configuration? This is going to make me mad, so I would be very grateful if someone could help me Best regards, -- -- -- Philipp Schöpf IBM e-business Innovation Center Alter Wandrahm 10, 20457 Hamburg Fon: +49 (0)40/41912-461 Web: http://www.ibm.com/services/de/innovation -- -- -- -- To unsubscribe, e-mail: mailto:jetspeed-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Failed to retrieve user 'anon': ORA-00904: invalid column name
Hi there! I'm moving from 1.4b1 to night build 22-9-2002 working with ORACLE 8.17 and I'm getting this exception when starting JetSpeed: Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': ORA-00904: invalid column name OBJECTDATA I've checked sql scripts of these versions, are equal and OBJECTDATA collumn is of course present in db. Anon user is also present in the db. Then I found post from David Sean Taylor ( 21 Aug 2002 - http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg05377.html ) that says: This is a bug from a patch I committed a while back. It doesn't work on Oracle for some reason, but seems to work on Hypersonic. I will roll it back out now and try to resolve the bug later... Can you tell me what's the progress about this issue ? How can I solve this problem ? Thank you very much. $kala. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Re[2]: How to start
The Jetspeed database is configured in webapp/WEB-INF/conf/Torque.properties database.default.driver=org.hsql.jdbcDriver database.default.url=jdbc:HypersonicSQL:${webappRoot}/WEB-INF/db/jetspeed database.default.username=sa database.default.password= Usually the best place to start is to modify the anonymous user page. You can do this my logging on as admin, and using the customizer to select which portlets will appear for the anonymous user. You may also change the top, left and bottom navigations, minimally replacing the Jetspeed logo with your own. See the JetspeedResources.properties to customize the default navigations as deployed (see below) or you can write your own navigations in Velocity or JSP, see the examples under webapp/WEB-INF/templates/vm/navigations and webapp/WEB-INF/templates/jsp/navigations # # Navigation Bar customization # # # Top navigation bar # topnav.enable- Display the left navigation bar # topnav.vm- VM file name for the top nav, in templates/vm/navigations/html # topnav.logo.file - file name of the logo relative to jetspeed_home. Do not use with logo.url # topnav.logo.url - URL of logo. Useful when using a common company logo that is on a different server # topnav.user_login.enable - Display login prompts on navigation bar. If false then login nust be via login portlet # topnav.user_creation.enable - Display create user prompts on navigation bar. Requires topnav.user_login.enable=true topnav.enable=true topnav.vm=top.vm topnav.logo.file=images/jetspeed-logo.gif topnav.logo.url= topnav.user_login.enable=true topnav.user_creation.enable=true # Left Navigation bar # leftnav.enable- Display the left navigation bar # leftnav.vm- VM file name for the left nav, in templates/vm/navigations/html # leftnav.width - Keep the left edge of the content from moving as the width of the content varies leftnav.enable=true leftnav.vm=left.vm leftnav.width=10% # Bottom Navigation bar # bottomnav.enable- Display the Bottom navigation bar # bottomnav.vm- VM file name for the bottom nav, in templates/vm/navigations/html bottomnav.enable=true bottomnav.vm=bottom.vm # # Portal Page customization # # # html page title text prefix - prepended to portal page title if defined. portalpage.title_prefix=Jakarta Jetspeed Portal: BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Failed to retrieve user 'anon': ORA-00904: invalid column name
It seems strange that Oracle would give an invalid column name. Can you go into SQLPLUS and type DESCRIBE TURBINE_USER and see the OBJECTDATA column there? What data type does it show? Ive had problems with security-schema.xml: column name=OBJECTDATA type=VARBINARY/ generating OBJECTDATA BINARY, And Torque has a problem with a HEX error Try changing to column name=OBJECTDATA type=BINARY/ generating OBJECTDATA LONG RAW If that fixes it let me know and I'll patch it -Original Message- From: Marian Skalsky [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 13:39 To: [EMAIL PROTECTED] Subject: Failed to retrieve user 'anon': ORA-00904: invalid column name Hi there! I'm moving from 1.4b1 to night build 22-9-2002 working with ORACLE 8.17 and I'm getting this exception when starting JetSpeed: Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.UserException: Failed to retrieve user 'anon': ORA-00904: invalid column name OBJECTDATA I've checked sql scripts of these versions, are equal and OBJECTDATA collumn is of course present in db. Anon user is also present in the db. Then I found post from David Sean Taylor ( 21 Aug 2002 - http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/m sg05377.html ) that says: This is a bug from a patch I committed a while back. It doesn't work on Oracle for some reason, but seems to work on Hypersonic. I will roll it back out now and try to resolve the bug later... Can you tell me what's the progress about this issue ? How can I solve this problem ? Thank you very much. $kala. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: jetspeed and xerces-2.0
Hi Paul, I don't know how to thank you enough for this. I will use the new jetspeed and report any problems. Thanks once again, --GK On Thursday 26 September 2002 02:51 am, Paul Spencer wrote: Gopi, I have replaced Xerces 1.4.4 with Xerces 2.1.0 and rebuild Jetspeed. This seems to work :-) Some more testing needs to be done before committing. I suggest load Jetspeed from the CVS and replace lib/xerces-1.1.4.jar with xercesImpl.jar and xmlParserAPIs.jar from Xerces 2.1.0. Please report any problems you find to the list. Make sure you mention in the posting that you are using Xerces 2.1.0. Paul Spencer Gopi Kandaswamy wrote: Hi Paul, Thanks. But I understand from lots of articles on the web that the XML Serializer in Xerces-2.0 used to break the castor marshaller. But this was fixed in Xerces-2.0.1. So is it possible to upgrade the xerces in jetspeed to xerces-2.0.1. Does xerces-2.0.1 have other problems with castor Thanks --GK On Wednesday 25 September 2002 07:25 pm, Paul Spencer wrote: Gopi, Currently we are using Castor to marshal and unmarshal the Registry and PSML files. Since the current version of Castor does not support Xerces 2.x, Jetspeed does not support Xerces 2.x. We recently upgrade Xerces to version 1.4.4 See http://jakarta.apache.org/jetspeed/site/jars.html for information about Jars used by Jetspeed. Paul Spencer Gopi Kandaswamy wrote: Hi, I have written a portlet which uses wsdl4j, which in turn needs xerces-2.0. But jetspeed (1.4b1) uses xerces-1.3.1 and does not work with xerces-2.0. I get errors like this if I use xerces-2.0. org.apache.turbine.util.TurbineException: Error rendering Velocity template: / controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWra p per threw exception class java.lang.AbstractMethodError : null Is there a version of jetspeed that uses xerces-2.0, or is there anyway I can specify my portlet to use xerces-2.0 and jetspeed to use xerces-1.3.1 Thanks a million, --GK -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- --GK -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Disabling RSS daemons
Hi all. I just noticed that my IP was banned from slashdot.org. Rob O. from slashdot told me that i downloaded too much RSS pages, so i understood... I have just a little question : How can i completely disable RSS daemons in Jetspeed ? Thanks !
how to refresh
Hi all, any idea how I can refresh from code the page depending on some variables into the request. I'll try to explain better: I'm trying to change the language in the page and it happens successfully but only after a refresh. It sets the new language but it build the page before the new setting takes effect, and only if I click again anywhere the browser shows the new language. I try the same thing from a template(invoking an action) and from a portlet with the same bad result!! Thanks Massimiliano Dessì
Role for the unlogged user, othr questions
Another question: I'm trying also to change role permissions using the 'Security role browser', but nothing seems to change accessing portlets using modifing role permissions (maybe am I making a mistake?). I would prefer to use role-based permissions (defined in the security role browser) instead of configuring security-regs. What do you think about that? Thanks, Dariush. Hi everyone, I need to make possibile for the unregistered users (not logged) to view, minimize and maximize portlets. To make this possible I created a new security entry for the 'guest' role, as follow: security-entry name=guestPerms meta-info titleguestPerms/title descriptionguestPerms/description /meta-info access action=view allow-if role=guest/ /access access action=maximize allow-if role=guest/ /access access action=minimize allow-if role=guest/ /access /security-entry I assigned to a portlet this security Perm, but accessing to the related pane as visitor (not logged), I'm not able to maximize and minimize, but only to view the portlet. Logging as 'anon' the security-entry is executed correctly. Thus, my question is: what's the default role assigned to an unlogged user? I belived that accessing jetspeed as a visitor was the same than logging on with 'anon' user, but my test demostrates that itsn't so. Regards, Dariush. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
sso for turbine apps!
I thought I should post to jetspeed also I just wrote a really cool infrastructure for sso that I will be using to provide sso for jetspeed and two other turbine applications that I have written. I will release it to the jetspeed and turbine community. I only need one question to be answered. Given that I have a HttpSession of a authenticated user in a turbine app, how can I get the TurbineUser or User object from the session. I know that I can do it from the RunData object, but I am in a filter, and that object is not available to me. Thanks! In case you are wondering, it's a set of servlets and filters that get the cookie value and ask for sso server (a servlet in the authoritative container) if the session is valid. If the servlet answers, it will be in an xml format that the filter will parse and create a new session in that container. In this way, two turbine apps in different jvms, on different hosts can have SSO. IT works for beyond turbine also, I have the various options parameterized in the web.xml, so we can do sso between oracle portal, or whatever. The only requirement is that the applications are in same domain. test.x.com and test2.x.com will work. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Portal to a legacy system
Hello, I am in the process of use Jetspeed to create a portal to a legacy system (wrote in Delphi who uses a Oracle database). This system controls a university, and is used by his professors, students and employees. The question I have is how make the login of this users on Jetspeed ? All persons who will use the system have his data stored on the Delphi system with his usernames and passwords. So I will not replicate this information on another database, I will never create a user on the portal but just access the information from the Oracle database. What I am thinking in to do is implement all the interfaces explained on http://jakarta.apache.org/jetspeed/site/security.html to get the data from my Delphi system. Some operations as usermanagement.addUser will always throw a exception because I will not allow user be created. And what about roles ? Each user will need to have a role base on who he is (student, professor, employee). Comments please. -- Best regards, Danilo mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Help, DB2 integration problem #2
try this link: http://www14.software.ibm.com/webapp/download/category.jsp?s=ccat=data free developers edition. otherwise go to www.software.ibm.com/db2 and then downloads. HTH David Sean Taylor wrote: Sorry about the DB2 scripts. I tested on Hypersonic, MySQL and Oracle. Do you know if DB2 has a free database download that I can test on? I think I could get it fixed fairly quickly... -Original Message- From: Marian Skalsky [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 07:35 To: Jetspeed Users List Subject: Re: Help, DB2 integration problem #2 Hi Philipp! This will NOT help you, but I have JetSpeed 1.4b1 successfuly working with ORACLE database and had no problems with scripts provided. $kala. - Original Message - From: Philipp Schoepf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 6:52 PM Subject: Help, DB2 integration problem #2 Hi all, I'm in really big trouble with my DB2-Jetspeed integration. Like a said in my previous thread there are some problems using the turbine-db2.sql und populate-db2.sql scripts for the creation of a jetspeed db2 database. Could anyone tell me, if he ran into similar problems when integrating DB2 and Jetspeed? The provided scripts seem totally wrong! The error I got before was just because of the ; in the scripts. After I deleted the ; I was able to create the tables. But the next problem was not far away... The populate-db2.sql script seems as faulty as the turbine-db2.sql script. For example it tries to insert values into the user_id colums although this is permitted by db2 (just because the id'sare generated automatically using the GENERATED ALWAYS AS IDENTITY statement). There is also an error when inserting the long value into the blob colum for the user infos. Did I download the wrong version of jetspeed (1.4b1) or did I make a wrong db2 configuration? This is going to make me mad, so I would be very grateful if someone could help me Best regards, -- -- -- Philipp Schöpf IBM e-business Innovation Center Alter Wandrahm 10, 20457 Hamburg Fon: +49 (0)40/41912-461 Web: http://www.ibm.com/services/de/innovation -- -- -- -- To unsubscribe, e-mail: mailto:jetspeed-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system, do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Tom Marsh mailto:[EMAIL PROTECTED] http://www.nitesco.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]