Jetspeed-2 Struts application as a portlet
Hi all; i have downloaded and rebuilded successfully Jetspeed-2; i have seen some samples; in these samples there was the struts portlet but i have some confusion can anybody tell me or show me how i can configure a my struts application as a Portlet under Jetspeed-2 portal engine? Thanks. 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Read a psml file
Hi all; in order to have the name of the PSML fiel where we are: ( (DefaultJetspeedRunData) (data)).getProfile().getDocument().getName(); by usign a similar thing you should have a similar thing: C:/JBoss-3.2.5/server/default/jetspeed.war/web-inf/psml etc. Then i have used this code: public String getPsmlParameter(String psmlDocument, String parameterName) { LOG.info("Starting to searching and reading PSML file: " + psmlDocument); SAXBuilder saxBuilder = new SAXBuilder( "org.apache.xerces.parsers.SAXParser"); try { Document document = saxBuilder.build(new File(psmlDocument)); if (LOG.isDebugEnabled()) { LOG.debug("Is the Attribute null ? " + ( (Attribute) (XPath. selectSingleNode(document, "//portlets/entry/[EMAIL PROTECTED]'" + parameterName + "']/@value")))==null); LOG.debug("I'll return for parameterName: [" + parameterName + "] this value: " + ( (Attribute) (XPath.selectSingleNode(document, "//portlets/entry/[EMAIL PROTECTED]'" + parameterName + "']/@value"))). getValue()); } return ( (Attribute) (XPath.selectSingleNode(document, "//portlets/entry/[EMAIL PROTECTED]'" + parameterName + "']/@value"))). getValue(); } catch (IOException ex) { LOG.error("IOException. Message: " + ex.getMessage()); throw new IllegalArgumentException("IOException. Message: " + ex.getMessage()); } catch (JDOMException ex) { LOG.error("JDOMException. Message: " + ex.getMessage()); throw new IllegalArgumentException("JDOMException. Message: " + ex.getMessage()); } } I hope to be usefull. Bye -- Initial Header --- >From : "Deep Kumar" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Wed, 9 Feb 2005 20:12:55 +0530 Subject : Re: Read a psml file > how did u do that??? > > Thanks in advance > - Original Message - > From: "angeloimm" <[EMAIL PROTECTED]> > To: "jetspeed-user" > Cc: "jetspeed-user" > Sent: Wednesday, February 09, 2005 7:24 PM > Subject: Re: Read a psml file > > > Hi; thanks for your answer infact i have used XPath... the problem i had > was to know the psml to read but i have solved it. > Thanks > > -- Initial Header --- > > From : "Carlos Torres" [EMAIL PROTECTED] > To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org > Cc : > Date : Wed, 9 Feb 2005 11:26:04 -0200 > Subject : Re: Read a psml file > > > Hi > > You could read the parameter in the psml file as a XML file with DOM or > SAX > > API. > > I didn't know if it is your question, if not explain better > > If you need to change the attribute or parameter in the psml you could > read > > it and transform in a DOM object and write it back, with the new > attribute, > > in the file. > > > > Carlos Torres. > > > > - Original Message - > > From: "zaza" <[EMAIL PROTECTED]> > > To: "Jetspeed Users List" > > Sent: Wednesday, February 09, 2005 10:27 AM > > Subject: Re: Read a psml file > > > > > > > David Sean Taylor wrote: > > > > angeloimm wrote: > > > > > > > >> Hi all; if i know the psml name... how could i have a parameter in > > > >> this psml file? > > > > > > > > > > > > Not sure if I understand the question, but I'll try. > > > > To change the parameters on a portlet instance, you can edit the psml > > > > file by hand, for example the StockQuote portlet, override the > default > > > > init parameters on a portlet instance: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > value="MSFT,IBM,ORCL,SUNW,ITGW"/> > > > > > > > > > > > > > > > > or change them from the running portlet. For example the StockQuote > > > > portlet provides an edit
Re: Read a psml file
Hi; thanks for your answer infact i have used XPath... the problem i had was to know the psml to read but i have solved it. Thanks -- Initial Header --- >From : "Carlos Torres" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Wed, 9 Feb 2005 11:26:04 -0200 Subject : Re: Read a psml file > Hi > You could read the parameter in the psml file as a XML file with DOM or SAX > API. > I didn't know if it is your question, if not explain better > If you need to change the attribute or parameter in the psml you could read > it and transform in a DOM object and write it back, with the new attribute, > in the file. > > Carlos Torres. > > - Original Message - > From: "zaza" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" > Sent: Wednesday, February 09, 2005 10:27 AM > Subject: Re: Read a psml file > > > > David Sean Taylor wrote: > > > angeloimm wrote: > > > > > >> Hi all; if i know the psml name... how could i have a parameter in > > >> this psml file? > > > > > > > > > Not sure if I understand the question, but I'll try. > > > To change the parameters on a portlet instance, you can edit the psml > > > file by hand, for example the StockQuote portlet, override the default > > > init parameters on a portlet instance: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > or change them from the running portlet. For example the StockQuote > > > portlet provides an edit mode to edit the parameters > > > > > >> For example let's suppose i have in the file a.psml a parameter called > > >> text. well in a portlet called b how can i have this parameter? > > >> Thanks > > >> > > > Programatically a Jetspeed-1 portlet can access its PSML parameters by > > > via the portlet instance > > > > > > > http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/portal/PortletInstance.html > > > > > > > > > The are a few variations on this, see the example portlets that come > > > with the distribution > > > > Hi, > > > > What about J2? Can you configure fragments responsible for portlets in > > similar way? Can you add a paramater tag to the psml file? And finally > > can you access those parameters programatically later? > > > > Thank you for any help. > > > > - > > 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] > > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using a GenericMVCPortlet in a wml environment
Hi all! I have developed a GenericMVCPortlet; i have setted a GenericMVCAction to this portlet and in html all work very fine; now i have tried it by using wml and it doesn't work; in the log i have this error: org.apache.velocity.runtime.exception.ReferenceException: reference : template = navigations/wml/PRTT_NewsHome.vm [line 7,column 6] : $infoBeans is not a valid reference. Now in my GenericMVCAction i set in the context a parameter this parameter has name infobeans; in my html environment i can use this context variable by calling simply $infobeans and i can use it; in the vm of my wml samples i can't use it... have you any idea about this? How can i use my GenericMVCAction/GenericMVCPortlet in a wml environment? Is it possible or must i re-write my Action? Moreover... is present a customizer in the wml like the one in the html? Thanks to all Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Read a psml file
Hi all; if i know the psml name... how could i have a parameter in this psml file? For example let's suppose i have in the file a.psml a parameter called text. well in a portlet called b how can i have this parameter? Thanks 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PLEASE HELP ME Order of action execution
Hi all i'm sorry i was on another pc where in the outlook there was a "please notify the sender that you have received this message" pop-up.. i didn't know pardonme and thanks to all. Have nice week end -- Initial Header --- >From : "Kevin McCann" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Fri, 04 Feb 2005 09:33:10 -0500 Subject : Re: PLEASE HELP ME Order of action execution > > A few people on this list tend to send messages with a "please notify > the sender that you have received this message" pop-up. Please stop it. > > Thanks, > Kevin > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PLEASE HELP ME Order of action execution
Hi all; i have this scenario: A page where there are several portlets; the first portlet is a "Navigator" that shows to me where i am; now this portlet by reading a parameter in the session (i have used the PageSessionState) reads a xml file where it can be able to "understand" where we are; now the problem is that this parameter is setted by another portlet that is shown after this navigator; this means that the action of this portlet is executed later than the action of navigator. and this is a problem for me; infact the old value of parameter in the session is changed after that the navigator portlet has taken the value... so the navigator is not synchronized with the page where we are; if i refresh the page (by using F5 for example) all works fine and i don't have this problem since the PageSessionState works good. The problem is that i'ld like to call the action of the second portlet and then the action of navigator; is this possible? Thanks Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Some questions PortletSessionState
Hi all; this is my scenario: i have several portlets in a page; i have, then, added a portlet that works as navigator by reading some parameters from xml file. These parameters' id are passed by the other partlets in the same page; this portlet must set an attribute into session and this first portlet must read thi attribute; now if i use the normal HttpSession i don't have what i want; infact since the navigator is the first portlet that is loaded it doesn't find the new value into session; it finds it only if i refresh the page (by using F5); then i have used the SessionState in the action of portlets that must set this value i have setted a similar thing: String pageId = portlet.getAttribute("pageId", null, rundata) == null ? "FWD-OO1" : portlet.getAttribute("pageId", null, rundata) ; logger.info("pageId from psml: " + ( portlet.getAttribute("pageId", null, rundata) == null ? "FWD-OO1" : portlet.getAttribute("pageId", null, rundata) )); ((JetspeedRunData)(rundata)).getPageSessionState().setAttribute( "pageId", pageId ); ((JetspeedRunData)(rundata)).getPageSessionState().setAttribute("rootPageId",pageId.substring(0,7)); Then in tha action of my navigator portlet i have added: String pageId = (String) ( ( (JetspeedRunData) (data)).getPageSessionState().getAttribute("pageId")); Well this doesn't work as i hoped; infact if i change page, the value pageId recovered doesn't change; if i use refresh (F5), this value changes correctly, but if i close the page and then re-open it i have the same thing, that is to refresh the page. Is there a method to have what i want? What i would like to have is set a parameter into session or context or where possible and then to recover it. Thanks to all 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SessionState
Hi all; can i get the SessionState of a portlet A in a portlet B; i could use this method: ((JetspeedRunData)(rundata)).getPortletSessionState(String name); but what name must i use? The id of the portlet A or the name in xreg file of portlet A? Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing portlet parameters
Hi; first of all thanks for your reply; i'ld like to know if it's possible from a portlet A to read the psml of a portlet B; if it's possible this could resolve my problems... thanks. -- Initial Header --- >From : "Frank Villarreal" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Tue, 1 Feb 2005 07:53:38 -0600 Subject : RE: Passing portlet parameters > If they are deployed as part of the same "portlet application" ... then you > can use the PortletSession to share state data between your 2 portlets ... > if you're referring to "preference" parameters ... then you might try > implementing some type of portal service that can feed data about other > portlet instances to the portlet container ... of course I'm no expert and > this may already be implemented in jetspeed. > > - Frank > > -Original Message- > From: angeloimm [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 01, 2005 07:37 AM > To: Jetspeed Jetspeed > Subject: Passing portlet parameters > Importance: High > > > Hi all... i have this scenario: > i must read a parameter from portlet A into portlet B how can i do? > > > > > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! > Scaricalo su INTERNET GRATIS 6X http://www.libero.it > > > > - > 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] > > 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing portlet parameters
Hi all... i have this scenario: i must read a parameter from portlet A into portlet B how can i do? 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ERROR VelocityPortletControl - Exception while creating content
Hi all; i'm using Jetspeed 1.5, JBoss 3.2.5; all worked fine until this morning; now i have this error: 2005-01-31 15:24:58,739 [http-0.0.0.0-8080-Processor22] ERROR VelocityPortletControl - Exception while creating content org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getContent' in class org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper threw exception class java.lang.NoClassDefFoundError : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461) rethrown as 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.CacheableStatefulPortletWrapper threw exception class java.lang.NoClassDefFoundError : null at org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:533) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:499) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:155) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:494) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:336) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:143) at org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:105) at org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353) at org.apache.jetspeed.util.template.JetspeedTool.getPane(JetspeedTool.java:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) a
Re:Still JNDI Problem
Anybody can help me? Thanks - Initial Header --- From : "angeloimm" [EMAIL PROTECTED] To : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org Cc : Date : Tue, 25 Jan 2005 13:14:55 +0100 Subject : Still JNDI Problem > Hi all... i'm using Jetspeed version 1.5; JBoss 3.2.5 and 3.2.6; in my > ${JBOSS_HOME}/server/defeault/deploy i have this datasource: > > > > > > >JetspeedDS > > jdbc:oracle:thin:@192.168.11.251:1521:SUNDB > oracle.jdbc.driver.OracleDriver > > jetspeed > jetspeed > 10 > 20 > 1 > -1 > > org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter > > > > Now in my Tourque.properties i have: > # --- > # > # T O R Q U E P R O P E R T I E S > # > # --- > # These are your database settings. Look in the > # org.apache.pool.* packages for more information. > # > # The parameters to connect to the default database. You MUST > # configure these properly. > # --- > > > torque.database.default=default > #torque.database.default.adapter=hypersonic > #torque.database.default.adapter=mysql > torque.database.default.adapter=oracle > ### torque.database.default.adapter=mssql > . > . > . > . > . > . > ## Using jndi > torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory > torque.dsfactory.default.jndi.path=JetspeedDS > torque.dsfactory.default.jndi.java.naming.factory.initial = > org.apache.naming.java.javaURLContextFactory > torque.dsfactory.default.jndi.java.naming.factory.url.pkgs = org.apache.naming > > #What must i put here?? > > #torque.dsfactory.default.datasource.classname=org.apache.torque.pool.TorqueClassicDataSource > #torque.dsfactory.default.datasource.dataSourceName=jdbc/DBdefault > #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.initial > = org.apache.naming.java.javaURLContextFactory > #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.url.pkgs > = org.apache.naming > #torque.dsfactory.default.datasource.defaultMaxConnections=10 > > > I have tried also: > torque.dsfactory.default.jndi.path=java/JetspeedDS > torque.dsfactory.default.jndi.path=env:java/jdbc/JetspeedDS > > But i have always this error: > 2005-01-25 13:06:14,810 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Looking for client with useragent > :Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322) does not match .*MSIE 5.* > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.1; SV1; .NET CLR 1.1.4322) matches .*Mozilla/4.* > 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG > CapabilityMapFactory - CapabilityMap: User-agent: Mozilla/4.0 (compatible; > MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) mapped to > ns4text/html-HTML_3_2/HTML_JAVA/HTML_JAVASCRIPT/HTML_TABLE/HTML_FORM/HTML_FRAME/HTML_IMAGE/HTML_CSS1/HTML_LAYER/HTML_PLUGIN/HTML_DOM_NS4/HTTP_COOKIE/ > 2005-01-25 13:06:15,030 [http-0.0.0.0-8080-Processor25] WARN IDBroker - > IDBroker is being used with db 'default', which does not support > transactions. IDBroker attempts to use transactions to limit the possibility > of duplicate key generation. Without transactions, duplicate key generation > is possible if multiple JVMs are used or other means are used to write to the > database. > 2005-01-25 13:06:15,040 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - > org.apache.torque.TorqueException: The url cannot be null > 2005-01-25 13:06:15,050 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - A > FATAL ERROR has occurred which should not have happened under any > circumstance. Please notify the Torque developers > and give as many details as possible > (including the error stack trace). > java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): The url > cannot be null > at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274) > at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249) > at > org.apache.jetspeed.om.security.turbine.TurbineUserPeer.(
Still JNDI Problem
Hi all... i'm using Jetspeed version 1.5; JBoss 3.2.5 and 3.2.6; in my ${JBOSS_HOME}/server/defeault/deploy i have this datasource: JetspeedDS jdbc:oracle:thin:@192.168.11.251:1521:SUNDB oracle.jdbc.driver.OracleDriver jetspeed jetspeed 10 20 1 -1 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Now in my Tourque.properties i have: # --- # # T O R Q U E P R O P E R T I E S # # --- # These are your database settings. Look in the # org.apache.pool.* packages for more information. # # The parameters to connect to the default database. You MUST # configure these properly. # --- torque.database.default=default #torque.database.default.adapter=hypersonic #torque.database.default.adapter=mysql torque.database.default.adapter=oracle ### torque.database.default.adapter=mssql . . . . . . ## Using jndi torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory torque.dsfactory.default.jndi.path=JetspeedDS torque.dsfactory.default.jndi.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory torque.dsfactory.default.jndi.java.naming.factory.url.pkgs = org.apache.naming #What must i put here?? #torque.dsfactory.default.datasource.classname=org.apache.torque.pool.TorqueClassicDataSource #torque.dsfactory.default.datasource.dataSourceName=jdbc/DBdefault #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory #torque.dsfactory.default.datasource.jndiEnvironment.java.naming.factory.url.pkgs = org.apache.naming #torque.dsfactory.default.datasource.defaultMaxConnections=10 I have tried also: torque.dsfactory.default.jndi.path=java/JetspeedDS torque.dsfactory.default.jndi.path=env:java/jdbc/JetspeedDS But i have always this error: 2005-01-25 13:06:14,810 [http-0.0.0.0-8080-Processor25] DEBUG BaseClientRegistry - ClientRegistry: Looking for client with useragent :Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) does not match .*MSIE 5.* 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG BaseClientRegistry - ClientRegistry: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) matches .*Mozilla/4.* 2005-01-25 13:06:14,850 [http-0.0.0.0-8080-Processor25] DEBUG CapabilityMapFactory - CapabilityMap: User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) mapped to ns4text/html-HTML_3_2/HTML_JAVA/HTML_JAVASCRIPT/HTML_TABLE/HTML_FORM/HTML_FRAME/HTML_IMAGE/HTML_CSS1/HTML_LAYER/HTML_PLUGIN/HTML_DOM_NS4/HTTP_COOKIE/ 2005-01-25 13:06:15,030 [http-0.0.0.0-8080-Processor25] WARN IDBroker - IDBroker is being used with db 'default', which does not support transactions. IDBroker attempts to use transactions to limit the possibility of duplicate key generation. Without transactions, duplicate key generation is possible if multiple JVMs are used or other means are used to write to the database. 2005-01-25 13:06:15,040 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - org.apache.torque.TorqueException: The url cannot be null 2005-01-25 13:06:15,050 [http-0.0.0.0-8080-Processor25] ERROR BasePeer - A FATAL ERROR has occurred which should not have happened under any circumstance. Please notify the Torque developers and give as many details as possible (including the error stack trace). java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): The url cannot be null at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:274) at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:249) at org.apache.jetspeed.om.security.turbine.TurbineUserPeer.(TurbineUserPeer.java:49) at org.apache.jetspeed.om.security.turbine.BaseTurbineUser.(BaseTurbineUser.java:36) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:141) at org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:128) at org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:136) at org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:59) at org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnonymousUser(TurbineAuthentication.java:188) at org.apache.jetspeed.services.Jetspe
Understand when it's the first time i call the portlet
Hi all i have this problem; i have a GenericMvcPortlet; to this portlet is associated an Action; in this action there are some variables that i use for some settings; now by writing on the psml and by reading from psml i'm able to "freeze" the portlet state the problem is that when i close the portlet i'ld like to write on the psml all the default values... how could i do this? I need this for setting the right parameters for pagination of my portlet; if anybody know how i can do this, plese tell me. Bye 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Method not called... why?
Hi all... i have an action that has a method called doNext; this is method: public void doNext(Context contesto, RunData data) { logger.info( "In doNext method.." ); currentPage++; fromIndex += toSee; toIndex = toSee * currentPage; logger.info("Into doNext method i have this values: currentPage: " + currentPage + " fromIndex " + fromIndex + " toIndex: " + toIndex); } Logger level is INFO; i have this template: function $!{js_peid}_submitThis() { window.document.$!{js_peid}_post.eventSubmit_doNext.click(); } #if( $pageNumber > 1 ) next #end #if ($infoBeans.size() > 0) #foreach ($it in $infoBeans) #set( $element = $it.getElementAt(1)) #set( $elemento = $it.getElementAt(2)) #if( $element.getClass().getName().indexOf( "Resources" ) > -1 ) Sono risorsa #else $element $elemento #end #end #end All works except this... if i click on next the method doNext isn't called. do you know why? Thanks Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re:How to get Session in portlet
Hello... according to me you cann't use response.sendRedirect(response.encodeRedirectURL(sendUrl)); try by using: request.getRequestDispatcher( response.encodeRedirectURL(sendUrl) ).forward( req, resp ); -- Initial Header --- >From : "Amit Soni" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Mon, 17 Jan 2005 18:54:26 +0530 Subject : Re: Re:How to get Session in portlet > Hi, > > Thanks for u r interest... > > Here i have made my login page in another context say xyz... > > not in xyz context i have one page the content is like :: > > test.jsp :: > > > String sendUrl = > "http://ipaddress:port/jetspeed/portal?action=JLoginUser&username=name&password=password"; > > > session.setAttribute("data",object); > > > response.sendRedirect(response.encodeRedirectURL(sendUrl)); > > so by this command it sends the page to jetspeed and directly login in > the jetspeed page. Now in this page one pane is there for that i have > written one class in which i want that session which i have set in > test.jsp page.. > so if u have any idea then pls help me > > Thanks and Regards, > Amit Soni > > On Mon, 2005-01-17 at 17:56, angeloimm wrote: > > Hello; in the method public ConcreteElement getContent(RunData runData) you > > can use runData in order to have Session: > > > > HttpSession session = runData.getRequest().getSession(); > > > > it works fine for me i hope the same for you :-)) > > regards > > > > -- Initial Header --- > > > > >From : "Amit Soni" [EMAIL PROTECTED] > > To : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org > > Cc : > > Date : Mon, 17 Jan 2005 17:42:14 +0530 > > Subject : How to get Session in portlet > > > > > Hi all, > > > > > > Here i have made my own login then using this login page i get logged in > > > jetspeed. In this login page i have set one session and want to access > > > this session in each portlet of jetspeed > > > > > > now i after login i have few panes in which i have IFramePortlet for > > > that i have written class... > > > > > > On click on each i frame portlet it calls one class for which its parent > > > is of IFramePortlet. The xreg file for this portlet si like :: > > > > > > > > > > > > > > > > > > > > parent="IFramePortlet" application="false"> > > > > > > Events Horizon Portlet from the class > > > Events Horizon Portlet > > > > > > > > > com.netcore.actions.EHIFramePortlet > > > > > cachedOnName="true" cachedOnValue="true"> > > > > > > > > > > > cachedOnName="true" cachedOnValue="true"> > > > > > > > > > > > cachedOnName="true" cachedOnValue="true"> > > > > > > > > > > > cachedOnName="true" cachedOnValue="true"> > > > > > > > > > > > cachedOnName="true" cachedOnValue="true"> > > > > > > > > > > > > > > > EH > > > > > > > > > > > > > > > and the class com.netcore.actions.EHIFramePortlet :: > > > > > > public class HipergateIFramePortlet extends AbstractInstancePortlet > > > > > > has method :: public ConcreteElement getContent(RunData runData) > > > > > > so i want to access this session if this class so if any one of u have > > > idea regarding this then pls help me... > > > > > > Thanks and Regards, > > > Amit Soni > > > > > > > > > > > > -- > > > Netcore's New Website > > > http://www.netcore.co.in > > > -- > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
How to aggregate portlet
Hi all... i need to aggregate the content of several portlets. how can i do this? This is my scenario: I have a principal portlet in which i must insert other portlets and i'ld like to arrange their position as i want. how can i do this? Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:How to get Session in portlet
Hello; in the method public ConcreteElement getContent(RunData runData) you can use runData in order to have Session: HttpSession session = runData.getRequest().getSession(); it works fine for me i hope the same for you :-)) regards -- Initial Header --- From : "Amit Soni" [EMAIL PROTECTED] To : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org Cc : Date : Mon, 17 Jan 2005 17:42:14 +0530 Subject : How to get Session in portlet > Hi all, > > Here i have made my own login then using this login page i get logged in > jetspeed. In this login page i have set one session and want to access > this session in each portlet of jetspeed > > now i after login i have few panes in which i have IFramePortlet for > that i have written class... > > On click on each i frame portlet it calls one class for which its parent > is of IFramePortlet. The xreg file for this portlet si like :: > > > > > > parent="IFramePortlet" application="false"> > > Events Horizon Portlet from the class > Events Horizon Portlet > > > com.netcore.actions.EHIFramePortlet >cachedOnName="true" cachedOnValue="true"> > > >cachedOnName="true" cachedOnValue="true"> > > >cachedOnName="true" cachedOnValue="true"> > > >cachedOnName="true" cachedOnValue="true"> > > >cachedOnName="true" cachedOnValue="true"> > > > > > EH > > > > > and the class com.netcore.actions.EHIFramePortlet :: > > public class HipergateIFramePortlet extends AbstractInstancePortlet > > has method :: public ConcreteElement getContent(RunData runData) > > so i want to access this session if this class so if any one of u have > idea regarding this then pls help me... > > Thanks and Regards, > Amit Soni > > > > -- > Netcore's New Website > http://www.netcore.co.in > -- > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Creating a my Customizer
Hi all... can anybody tell me how i can create my own customizer? What i'm not able to understand is... if i have my portlet and i want to customize it i can do it by clicking the link customize when i'm log in as admin now if i want to change this link in order to point to my customizer class only for my own portlet... how can i do it? Thanks Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd:Profile not found
Hi all... i'm using jetspeed 1.5; i have developed three portlets on some windows pc, then i have migrated from window to linux red-hat; well when i go in http://localhost:8080/jetspeed all work, but if i login as admin/jetspeed i have an error: Profile not found; instead if i login as turbine/turbine it works... why does this error occur? On window pc this doesn't happen Thanks and regards Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Profile not found
This is the jetspeedservices.log: 2005-01-13 16:22:39,994 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 16:22:39,995 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: We are done 2005-01-13 16:22:40,273 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: DettaglioNotizia 2005-01-13 16:22:40,273 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: ApacheGroupNews 2005-01-13 16:22:40,273 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: AnonymousHome 2005-01-13 16:22:40,273 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: UserRoleDefault 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: CurrentPage 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: SpecificPane 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: SpecificPane2 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: PortletCustomize 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains Forward key: PortletPrint 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains portletForward key: ForwardDemo:Success 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains portletForward key: ForwardDemo:Failure 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains portletForward key: ForwardDemo:Validate 2005-01-13 16:22:40,274 [main] ERROR JetspeedForwardService - ForwardService: already contains portletForward key: ForwardDemo:Pane 2005-01-13 16:22:40,308 [DaemonThread:feeddaemon] ERROR CastorRegistryService - RegistryService: Could not create fragment: /usr/java/jboss-3.2.6/server/nikko/deploy/jetspeed.war/WEB-INF/conf/feed_apache.xreg org.xml.sax.SAXException: Parsing Error : Content is not allowed in prolog. Line : 2 Column : 1 at org.exolab.castor.xml.UnmarshalHandler.fatalError(UnmarshalHandler.java:2228) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:513) at org.apache.jetspeed.services.registry.CastorRegistryService.createFragment(CastorRegistryService.java:596) at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:165) at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:109) at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:74) 2005-01-13 16:23:21,618 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedRunDataService - JetspeedRunDataService: storing rundata [EMAIL PROTECTED] for thread: Thread[http-0.0.0.0-8080-Processor23,5,jboss] 2005-01-13 16:23:21,915 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedRunDataService - JetspeedRunDataService: accessing rundata [EMAIL PROTECTED] for thread: Thread[http-0.0.0.0-8080-Processor23,5,jboss] 2005-01-13 16:23:21,923 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedRunDataService - JetspeedRunDataService: accessing rundata [EMAIL PROTECTED] for thread: Thread[http-0.0.0.0-8080-Processor23,5,jboss] 2005-01-13 16:23:22,221 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedProfilerService - Profiler: fallback called with: BaseProfile[anon/en/US/html/default.psml] 2005-01-13 16:23:22,224 [http-0.0.0.0-8080-Processor23] WARN CastorPsmlManagerService - PSMLManager: /usr/java/jboss-3.2.6/server/nikko/deploy/jetspeed.war/WEB-INF/psml/user/anon/html/en/US/default.psml not found, returning null document 2005-01-13 16:23:22,224 [http-0.0.0.0-8080-Processor23] WARN CastorPsmlManagerService - PSMLManager: /usr/java/jboss-3.2.6/server/nikko/deploy/jetspeed.war/WEB-INF/psml/user/anon/html/en/default.psml not found, returning null document 2005-01-13 16:23:22,342 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedPro
Profile not found
Hi all... i'm using jetspeed 1.5; i have developed three portlets on some windows pc, then i have migrated from window to linux red-hat; well when i go in http://localhost:8080/jetspeed all work, but if i login as admin/jetspeed i have an error: Profile not found; instead if i login as turbine/turbine it works... why does this error occur? On window pc this doesn't happen Thanks and regards Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wap Configuration
Hi all... i need to create a new client-entry for a PDA...My configuration is this one: Jetspeed version: 1.5 Application Server: JBoss 3.2.5 OS: windows XP home edition SP2 and Windows 2000 SP4 I have some problems when i add this new client-entry to the file client.xreg; i try to add a thing like this one: .*PPC.* text/html PDA NO_CSS If i add this row in the file client.xreg before od this one: .*MSIE 5.* Microsoft None 5.5 text/html text/xml HTML_3_2 HTML_JAVA HTML_JAVASCRIPT HTML_TABLE HTML_NESTED_TABLE HTML_FORM HTML_FRAME HTML_IMAGE HTML_ACTIVE_X HTML_CSS1 HTML_CSS2 HTML_CSSP HTML_IFRAME HTML_DOM_IE HTTP_COOKIE jetspeed doesn't start; in the log file (jetspeedservices.log) i always see this 2005-01-13 10:07:17,109 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedTemplateLocatorService - TemplateLocator: template exists in cache: C:\jboss-3.2.5\server\default\deploy\jetspeed.war\WEB-INF\templates\vm\controllers\html\card.vm returning /html/card.vm 2005-01-13 10:07:17,109 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedTemplateLocatorService - TemplateLocator: template exists in cache: C:\jboss-3.2.5\server\default\deploy\jetspeed.war\WEB-INF\templates\vm\controls\html\jetspeed.vm returning /html/jetspeed.vm 2005-01-13 10:07:17,140 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedTemplateLocatorService - TemplateLocator: template exists in cache: C:\jboss-3.2.5\server\default\deploy\jetspeed.war\WEB-INF\templates\vm\navigations\html\bottom.vm returning /html/bottom.vm 2005-01-13 10:07:17,156 [http-0.0.0.0-8080-Processor23] DEBUG JetspeedRunDataService - JetspeedRunDataService: releasing rundata for thread: Thread[http-0.0.0.0-8080-Processor23,5,jboss] 2005-01-13 10:07:17,312 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:17,812 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:18,312 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:18,812 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:19,312 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:20,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:20,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:21,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:21,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:22,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:22,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:23,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:23,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:24,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:24,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:25,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:25,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:26,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:26,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:27,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:27,546 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:28,046 [DaemonThread:feeddaemon] DEBUG CastorRegistryService - RegistryService: Waiting for init of Registry... 2005-01-13 10:07:28,546 [DaemonThread:feeddaemon] DEBUG CastorRegistrySe
Retrieving URL
How all... i have seen that in order to forwarding to a portlet from another protlet i must populate the forward.xml file... is it so? Then how can i have the url of a portlet? I.E: if i go to http://localhost:8080/jetspeed and i do login i can arrive to my portlet; then i copy the url in the address bar and i can see my portlet also when i'm not logged if i want to go directly to my portlet how can i do? Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jetspeed-config.jcfg
Hi all form different articles about Jetspeed i have read that there is an configuration file called jetspeed-config.jcfg... now in my jetspeed distribuition (version 1.5) this file is not present... where is it? Is this file for an old version of jetspeed? Thanks Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:Jetspeed 1.5 and datasources
I don't understand.. noone has ever had this kind of problem or is it with no solution? -- Initial Header --- >From : "angeloimm" [EMAIL PROTECTED] To : "Jetspeed Jetspeed" jetspeed-user@jakarta.apache.org Cc : Date : Wed, 5 Jan 2005 10:33:04 +0100 Subject : Jetspeed 1.5 and datasources > Hi all how can i use the datasources defined in JBoss? I need to use this > datasource..how can i do? > > > > > Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza > limiti a meno di 1 euro al giorno. > Abbonati subito senza costi di attivazione su http://www.libero.it > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetspeed 1.5 and datasources
Hi all how can i use the datasources defined in JBoss? I need to use this datasource..how can i do? Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Jetspeed
Hi all... i'ld likr to know how to use Jetspeed. I have downloaded jetspeed 1.5 and i have studied it for a little time... now what i want to know is... can't i use onle jetspeed.jar file and put it in my classpath or must i use all the .war file that i have downloaded? Thnaks to all Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error in deploying Jetspeed
Hi all; i'm using Jetspeed 1.5 under JBoss 3.2.5 well i have seen that in thejetspeed.log file after i have deploied Jetspeed there is this error: [DaemonThread:feeddaemon] ERROR SimpleTransform - Invalid SAX Transformer: org.xml.sax.SAXException: Impossibile risolvere il prefisso dello spazio nomi: aocs at org.apache.xalan.processor.XSLTAttributeDef.processPREFIX_LIST(XSLTAttributeDef.java:1281) at org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1451) at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1600) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:342) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:267) at org.apache.xalan.processor.ProcessorStylesheetElement.startElement(ProcessorStylesheetElement.java:101) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:600) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:404) at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:217) at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:157) at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:109) at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:74) 2004-12-30 09:12:06,966 [DaemonThread:feeddaemon] ERROR FeedDaemon - FeedDaemon: Couldn't process URL: /ocs/local.ocs java.io.IOException: problem in SAX transform: org.xml.sax.SAXException: Impossibile risolvere il prefisso dello spazio nomi: aocs at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:486) at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:217) at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:157) at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:109) at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:74) 2004-12-30 09:12:06,966 [DaemonThread:feeddaemon] INFO FeedDaemon - BEGIN FEED -> http://jakarta.apache.org/jetspeed/channels/apache.ocs 2004-12-30 09:12:06,966 [DaemonThread:feeddaemon] INFO FeedDaemon - FeedDaemon: transforming url: http://jakarta.apache.org/jetspeed/channels/apache.ocs with stylesheet: /WEB-INF/xsl/ocs.xsl 2004-12-30 09:12:06,966 [DaemonThread:feeddaemon] WARN JetspeedDiskCache - Cache getEntry Called with /WEB-INF/xsl/ocs.xsl 2004-12-30 09:12:06,966 [DaemonThread:feeddaemon] INFO JetspeedDiskCache - Returning local cached URL Can anybody tell me what it means? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please Help......Customize Portlet
Hi all; i have a little problem. I have written a my GenericMVCAction that works on a GenericMVCPortlet. Al works fine; now when i log in as admin i can customize my portlet and i can set different parameters; now let's imagine that i want to use a html tag http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using JBoss Datasource
Hi all... i need to use Jetspeed 1.5 under JBoss 3.2.5/3.2.6; i'ld like to know if it's possible and how i can use the Datasource of JBoss defined, for example, in oracle-ds.xml or mysql-ds.xml. Thanks to all Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HELP......Requested Action not found: portlets.NikkoInfoBeanAction
Hi all; i have a problem with my generic mvc portlet; i have written an action called: NikkoInfoBeanAction. This action is in the package: it.eng.nikko.delivery.modules.actions.portlets; i have written my xreg file in this way: Nikko Portlet Visualizza il contenuto di Info Beans org.apache.jetspeed.portal.portlets.GenericMVCPortlet View View links in condensed, expanded or JavaScriptPowered view. example I have added to the file my.properties this: module.packages=it.eng.nikko.delivery.modules # # Filter OneStop Logging # log4j.category.it.eng.nikko = WARN, onestop, stdout log4j.additivity.it.eng.nikko = false # # onestop.log # log4j.appender.onestop = org.apache.log4j.FileAppender log4j.appender.onestop.file = ${webappRoot}/WEB-INF/log/onestop.log log4j.appender.onestop.layout = org.apache.log4j.PatternLayout log4j.appender.onestop.layout.conversionPattern = %d [%t] %-5p (%F:%L) - %m%n log4j.appender.onestop.append = false to the log4j.properties.merge i have added: # # Filter OneStop Logging # log4j.category.com.automateddocsys = DEBUG, nikko, stdout log4j.additivity.com.automateddocsys = false # # NikkoPortlet.log # log4j.appender.nikko = org.apache.log4j.FileAppender log4j.appender.nikko.file = ${webappRoot}/WEB-INF/log/NikkoPortlet.log log4j.appender.nikko.layout = org.apache.log4j.PatternLayout log4j.appender.nikko.layout.conversionPattern = %d [%t] %-5p (%F:%L) - %m%n log4j.appender.nikko.append = false Prima scrittura sulla console log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern che deve avere loutput log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p (%F:%L) - %m%n to the TurbineResources i have added: module.packages=it.eng.nikko.delivery.modules Well i have added the portlet by using the PSML Browser but when i try to use it i have this error: Requested Action not found: portlets.NikkoInfoBeanAction Turbine looked in the following modules.packages path: [org.apache.jetspeed.modules, org.apache.turbine.modules, it.eng.portal.modules, it.eng.nikko.delivery.modules] at org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.jetspeed.portal.portlets.GenericMVCPortlet.buildContent(GenericMVCPortlet.java:276) at org.apache.jetspeed.portal.portlets.GenericMVCPortlet.getContent(GenericMVCPortlet.java:207) at org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(PortletWrapper.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461) . . I have created a jar file and i have inserted it in the WEB-INF/lib directory, then i have restarted JBoss 3.2.5. but i'm not able to use this portlet. Any Idea?? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ERROR SimpleTransform - Invalid SAX Transformer:
Hi all i have seen that when i start Jetspeed 1.5 under JBoss 3.2.5 ( but i have not tried it under other web server and application server until now ) i have this error: 2004-12-23 10:45:36,922 [DaemonThread:feeddaemon] INFO JetspeedDiskCache - Adding Local to cache list: jndi:/localhost/jetspeed/WEB-INF/xsl/ocs.xsl 2004-12-23 10:45:36,932 [DaemonThread:feeddaemon] INFO JetspeedDiskCache - Returning local cached URL 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] ERROR SimpleTransform - Invalid SAX Transformer: org.xml.sax.SAXException: Impossibile risolvere il prefisso dello spazio nomi: aocs at org.apache.xalan.processor.XSLTAttributeDef.processPREFIX_LIST(XSLTAttributeDef.java:1281) at org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1451) at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1600) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:342) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:267) at org.apache.xalan.processor.ProcessorStylesheetElement.startElement(ProcessorStylesheetElement.java:101) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:600) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:404) at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:217) at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:157) at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:109) at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:74) 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] ERROR FeedDaemon - FeedDaemon: Couldn't process URL: /ocs/local.ocs java.io.IOException: problem in SAX transform: org.xml.sax.SAXException: Impossibile risolvere il prefisso dello spazio nomi: aocs at org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:486) at org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:217) at org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:157) at org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:109) at org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:74) 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] INFO FeedDaemon - BEGIN FEED -> http://jakarta.apache.org/jetspeed/channels/apache.ocs 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] INFO FeedDaemon - FeedDaemon: transforming url: http://jakarta.apache.org/jetspeed/channels/apache.ocs with stylesheet: /WEB-INF/xsl/ocs.xsl 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] WARN JetspeedDiskCache - Cache getEntry Called with /WEB-INF/xsl/ocs.xsl 2004-12-23 10:45:37,032 [DaemonThread:feeddaemon] INFO JetspeedDiskCache - Returning local cached URL 2004-12-23 10:45:37,042 [DaemonThread:feeddaemon] ERROR SimpleTransform - Invalid SAX Transformer: org.xml.sax.SAXException: Impossibile risolvere il prefisso dello spazio nomi: aocs at org.apache.xalan.processor.XSLTAttributeDef.processPREFIX_LIST(XSLTAttributeDef.java:1281) at org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1451) at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1600) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:342) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:267) at org.apache.xalan.processor.ProcessorStylesheetElement.startElement(ProcessorStylesheetElement.java:101) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:600) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScann
RE: Write a my personal GenericMVCPortlet
Hi all. first of all thanks for your replay. There is a thing that i'm not able to understand. how can i create a project for jetspeed? I think that i must create a project with my java src directory, my templates and all resources i need. Then i create a maven.xml where i set all my project properties, is it so? Then i re-compile all the project jetspeed and i'll deploy it, am i right? Thanks -- Initial Header --- >From : "Sebastien BLANC" [EMAIL PROTECTED] To : jetspeed-user@jakarta.apache.org Cc : Date : Wed, 22 Dec 2004 14:32:20 +0100 (CET) Subject : RE: Write a my personal GenericMVCPortlet > Hi, > For 2) > You can use your portlet by putting a reference to it in the psml file (or > psml database), use the tag : > ... > > > put here some info > > <-- you can also add a control tag,a skin tag and a security tag --> > > > > > ... > > > > -Original Message- > From: angeloimm [mailto:[EMAIL PROTECTED] > Sent: woensdag 22 december 2004 13:55 > To: Jetspeed Jetspeed > Subject: Write a my personal GenericMVCPortlet > > Hi all.. i'm newbie in jetspeed. i have not understood two things: > > 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss > datasources? I think i must change the file Torque.properties... but how? > 2) I want to write a my portlet that has as parent a GenericMVC; by starting > from a sample found on javaworld, i have written some java classes; i have > written my vm files, merge files and xreg files; the xreg file is: > > > parent="GenericMVCPortlet" application="false"> > > Link Farm Portlet > Create and maintain lists of URL's for quick links > > org.apache.jetspeed.portal.portlets.GenericMVCPortlet > cachedOnName="true" cachedOnValue="true"/> > cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"> > > View > View links in condensed, expanded or JavaScriptPowered > view. > > > cachedOnName="true" cachedOnValue="true"/> > > cachedOnName="true" cachedOnValue="true"/> > cachedOnName="true" cachedOnValue="true"/> > > > example > > > Now how can i use it? > What must i do in order to use my Portlet and my classes? Thanks > > > > Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di > musica, film, video e sport. > Abbonati subito senza costi di attivazione su http://www.libero.it > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Write a my personal GenericMVCPortlet
Hi all.. i'm newbie in jetspeed. i have not understood two things: 1) I want to use Jetspeed 1.5 under JBoss 3.2.5 how can i use JBoss datasources? I think i must change the file Torque.properties... but how? 2) I want to write a my portlet that has as parent a GenericMVC; by starting from a sample found on javaworld, i have written some java classes; i have written my vm files, merge files and xreg files; the xreg file is: Link Farm Portlet Create and maintain lists of URL's for quick links org.apache.jetspeed.portal.portlets.GenericMVCPortlet View View links in condensed, expanded or JavaScriptPowered view. example Now how can i use it? What must i do in order to use my Portlet and my classes? Thanks Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re:Deploying portlet
-- Initial Header --- >From : "zazo" [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Tue, 21 Dec 2004 18:56:16 +0100 Subject : Re: Re:Deploying portlet > Hello, > > First of all, thank you for the reply. You are welcome ;-) > > Well, I'm not using CLASSPATH at all. It's not defined. Could that > be a problem? Is possible that I don't have any version of Jdom or > xerces libarary? Will it be enough if I just put recent ones to the > /tomcat/shared/lib folder? Pheraps it's tomcat or JBoss that have an old version of JDom... try to search for in all .jar files the name Element. Infact if you go to this link (JDom javadoc): http://www.jdom.org/docs/apidocs/org/jdom/Element.html you can find the method addElement(string value); this method is present in JDom 1.0 but, i'm not sure, not in older Jdom version. You can also try to download JDom 1.0 and set it in your classpath so you can see if you have still this error. Bye > > Thanks for answering any of above questions. > > > Hi; i'm not sure but probably you are using an old version of > JDom. Check your classpath and see what version of JDom i loaded for > first. > > > > -- Initial Header --- > > > > From : [EMAIL PROTECTED] > > To : jetspeed-user@jakarta.apache.org > > Cc : > > Date : Tue, 21 Dec 2004 18:23:52 +0100 > > Subject : Deploying portlet > > > > > Hello everyone, > > > > > > I've finally managed to make jetspeed work with fusion. However I've > > > still got problem during deployment of my portlet. The print stack > > > looks like this: > > > > > > (no exceptions so far.) > > > Fusion Service: Initialization Done > > > INFO: Loading portlet application from web archive > > > > C:\tomcat\webapps\jetspeed\WEB-INF\deploy\prefportlet.war > > > INFO: Preparing to (re) deploy portlet app "PREF" > > > INFO: Deploying portlet applicaion WAR prefportlet.war > > > INFO: Portlet application deployment target directory is > > > C:\tomcat\webapps\jetspeed/..//PREF > > > ERROR: Unexpected exception deploying portlet application: > > > java.lang.NoSuchMethodError: > > > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > > > > attempting rollback... > > > java.lang.NoSuchMethodError: > > > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > > > at > > > > org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter.processWebXML(JetspeedWebApplicationRewriter.java:135) > > > at > > > > org.apache.jetspeed.util.descriptor.PortletApplicationWar.processWebXML(PortletApplicationWar.java:504) > > > at > > > > org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(FileSystemPAM.java:297) > > > at > > > > org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(FileSystemPAM.java:121) > > > at > > > > org.apache.jetspeed.fusion.tools.pamanager.FusionPAM.deploy(FusionPAM.java:173) > > > at > > > > org.apache.jetspeed.fusion.tools.pamanager.FusionAppServerPAM.deploy(FusionAppServerPAM.java:76) > > > at > > > > org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.doDeploy(DeployPortletAppEventListener.java:259) > > > > at > > > > org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:162) > > > at > > > > org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:304) > > > at > > > > org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:195) > > > at > > > > org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSystemScanner.run(StandardDeploymentManager.java:458) > > > INFO: Exception in deploy. Rollback of application deployment... > > > INFO: Rollback: Remove C:\tomcat\webapps\jetspeed/..//PREF and all > > > sub-directories. > > > ERROR: org.apache.jetspeed.deployment.DeploymentException: Error > > > (re)deploying portlet app: > > > org.apache.jetspeed.tools.pamanager.PortletApplicationException: > > > java.lang.NoSuchMethodError: > > > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > > > org.apache.jetspeed.deployment.DeploymentException: Error > > > (re)deploying portlet app: > > > > org.apache.jetspeed.tools.pamanager.PortletApplicationException: > > > java.lang.NoSuchMethodError: > > > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > > > at org.apache.jetspeed > > > Can anyone help me with this? > > > > > > Thank you in advance! > > > > > > Best regards, > > > > > > Tomasz > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 > Mega di m
Re: [SPAM] Changing db
-- Initial Header --- >From : "Peter F." [EMAIL PROTECTED] To : "Jetspeed Users List" jetspeed-user@jakarta.apache.org Cc : Date : Tue, 21 Dec 2004 14:07:39 +0200 Subject : Re: [SPAM] Changing db > Hello angeloimm, > > > Where did you get this scripts? > Try to get the latest versions of MySQL-related scripts from CVS. They must > be fixed under CVS. Hello Peter thanks for your tip; now it seems to work. Do you know how i can use JBoss Datasource? I.e i want to use jetspeed under JBoss; now in JBoss are defined some datasources. how can i use them in jetspeed? Thanks > > > Tuesday, December 21, 2004, 1:51:14 PM, you wrote: > > a> Hi all; i'm very newbie in Jetspeed(i have downloaded it this > a> morning italian time :-) ). I want to change form Hsql to MySql > a> (version 4.0.16-nt); in order to do this thing i have tried to > a> launch turbine-mysql.properties scripts but i have this error: > > a> You have an error in your SQL syntax. Check the manual that > a> corresponds to your MySQL server version for the right syntax to > a> use near 'IDENTITY, PERMISSION_NAME VARCHAR (99) NOT NULL, > a> OBJECTDATA BIN > > a> The table i want to create is: > > a> CREATE TABLE TURBINE_PERMISSION > a> ( > a> PERMISSION_ID integer NOT NULL IDENTITY, > a> PERMISSION_NAME VARCHAR (99) NOT NULL, > a> OBJECTDATA BINARY, > a> PRIMARY KEY(PERMISSION_ID), > a> UNIQUE (PERMISSION_NAME) > a> ); > > a> If i don't insert PRIMARY KEY and UNIQUE and change from BINARY > a> to BLOB the table is created... can anybody help me? > > a> Moreover... i use JBoss 3.2.5 and jetspeed 1.5; now if i want > a> to use in jetspeed a JBoss datasource... how can i do? I think i > a> must change the Torque.properties file, but how? > > a> Thanks to all > > > > a> > a> Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. > a> 1.2 Mega di musica, film, video e sport. > a> Abbonati subito senza costi di attivazione su http://www.libero.it > > > > > a> - > a> To unsubscribe, e-mail: > a> [EMAIL PROTECTED] > a> For additional commands, e-mail: > a> [EMAIL PROTECTED] > > > > > -- > Best regards, > Petermailto:[EMAIL PROTECTED] Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re:Deploying portlet
Hi; i'm not sure but probably you are using an old version of JDom. Check your classpath and see what version of JDom i loaded for first. -- Initial Header --- >From : [EMAIL PROTECTED] To : jetspeed-user@jakarta.apache.org Cc : Date : Tue, 21 Dec 2004 18:23:52 +0100 Subject : Deploying portlet > Hello everyone, > > I've finally managed to make jetspeed work with fusion. However I've > still got problem during deployment of my portlet. The print stack > looks like this: > > (no exceptions so far.) > Fusion Service: Initialization Done > INFO: Loading portlet application from web archive > C:\tomcat\webapps\jetspeed\WEB-INF\deploy\prefportlet.war > INFO: Preparing to (re) deploy portlet app "PREF" > INFO: Deploying portlet applicaion WAR prefportlet.war > INFO: Portlet application deployment target directory is > C:\tomcat\webapps\jetspeed/..//PREF > ERROR: Unexpected exception deploying portlet application: > java.lang.NoSuchMethodError: > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > attempting rollback... > java.lang.NoSuchMethodError: > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > at > org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter.processWebXML(JetspeedWebApplicationRewriter.java:135) > at > org.apache.jetspeed.util.descriptor.PortletApplicationWar.processWebXML(PortletApplicationWar.java:504) > at > org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(FileSystemPAM.java:297) > at > org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(FileSystemPAM.java:121) > at > org.apache.jetspeed.fusion.tools.pamanager.FusionPAM.deploy(FusionPAM.java:173) > at > org.apache.jetspeed.fusion.tools.pamanager.FusionAppServerPAM.deploy(FusionAppServerPAM.java:76) > at > org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.doDeploy(DeployPortletAppEventListener.java:259) > at > org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:162) > at > org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:304) > at > org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:195) > at > org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSystemScanner.run(StandardDeploymentManager.java:458) > INFO: Exception in deploy. Rollback of application deployment... > INFO: Rollback: Remove C:\tomcat\webapps\jetspeed/..//PREF and all > sub-directories. > ERROR: org.apache.jetspeed.deployment.DeploymentException: Error > (re)deploying portlet app: > org.apache.jetspeed.tools.pamanager.PortletApplicationException: > java.lang.NoSuchMethodError: > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > org.apache.jetspeed.deployment.DeploymentException: Error > (re)deploying portlet app: > org.apache.jetspeed.tools.pamanager.PortletApplicationException: > java.lang.NoSuchMethodError: > org.jdom.Element.addContent(Ljava/lang/String;)Lorg/jdom/Element; > at org.apache.jetspeed > Can anyone help me with this? > > Thank you in advance! > > Best regards, > > Tomasz > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jetspeed 1.5] Changing db
Hi all; i have tried to change db for Jetspeed 1.5; i have tried to point to mySql version 4.0.16 nt; now i have downloaded all the sql script from the cvs since the scripts in the release 1.5 were not valid. I have created all the tables on the DB (19 table); i have populated them; next step has been to change the Torque properties; since i'm using JBoss 3.2.5, i have create first this mySql-ds.xml dile: JetspeedDS jdbc:mysql://localhost:3306/jetspeed com.mysql.jdbc.Driver jetspeed jetspeed 10 20 1 -1 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Then in the Torque.properties i have inserted these strings: ## ConnectionPoolDataSource torque.dsfactory.default.factory=org.apache.torque.dsfactory.JndiDataSourceFactory torque.dsfactory.default.jndi.path=jdbc/JetspeedDS torque.dsfactory.default.jndi.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory torque.dsfactory.default.jndi.java.naming.factory.url.pkgs = org.apache.naming torque.dsfactory.default.datasource.classname=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS # torque.dsfactory.default.datasource.driver = oracle.jdbc.driver.OracleDriver #torque.dsfactory.default.datasource.url = jdbc:mysql://localhost:3306/torque #torque.dsfactory.default.datasource.user = user #torque.dsfactory.default.datasource.password = password I have restarted JBoss and all has gone ok; but when i have tried to acced to the irl: http://localhost:8080/jetspeed i have had this error: There has been an Error! Reason: org.apache.jetspeed.om.profile.ProfileException: java.lang.NullPointerException Get/Post Data: template = /html/ShowError.vm Stacktrace: org.apache.jetspeed.om.profile.ProfileException: java.lang.NullPointerException at org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:502) at org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:245) at org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:528) at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87) at org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:74) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:529) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637) at org.apache.jsp.index_jsp._jspService(index_jsp.java:45) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) at org.apache.cat
Changing db
Hi all; i'm very newbie in Jetspeed(i have downloaded it this morning italian time :-) ). I want to change form Hsql to MySql (version 4.0.16-nt); in order to do this thing i have tried to launch turbine-mysql.properties scripts but i have this error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTITY, PERMISSION_NAME VARCHAR (99) NOT NULL, OBJECTDATA BIN The table i want to create is: CREATE TABLE TURBINE_PERMISSION ( PERMISSION_ID integer NOT NULL IDENTITY, PERMISSION_NAME VARCHAR (99) NOT NULL, OBJECTDATA BINARY, PRIMARY KEY(PERMISSION_ID), UNIQUE (PERMISSION_NAME) ); If i don't insert PRIMARY KEY and UNIQUE and change from BINARY to BLOB the table is created... can anybody help me? Moreover... i use JBoss 3.2.5 and jetspeed 1.5; now if i want to use in jetspeed a JBoss datasource... how can i do? I think i must change the Torque.properties file, but how? Thanks to all Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di musica, film, video e sport. Abbonati subito senza costi di attivazione su http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]