I have only installed Jetspeed_1.4b4. Inside I have found velocity.properties, jetspeed.properties and TurbineResources.properties but I haven't found Turbine.properties.
Inside TurbineResources.properties there is:
# M O D U L E P A C K A G E S # # These look like mostly ECS modules module.packages=org.apache.jetspeed.modules module.packages=org.apache.turbine.modules
and I have added the package containing my classes : module.packages=portal_cl.portlet,org.apache.turbine.modules
When I make to start Jetspeed in mine shell of continuous DOS to see
"XML document structures must start and end within the same entity."
for this files admin.xreg, client.xreg, controllers.xreg, controls.xreg, demo-portlets.xreg, media.xreg, security.xreg, skins.xreg, wml-examples.xreg, feed_local.xreg, feed_apache.xreg, portlets.xreg.
and I have the following error on the browser:
Horrible Exception: java.lang.NullPointerException
at org.apache.jetspeed.modules.pages.JetspeedTemplatePage.doBuildBeforeAction(JetspeedTemplatePage.java:159)
at org.apache.jetspeed.modules.pages.JetspeedVelocityPage.doBuildBeforeAction(JetspeedVelocityPage.java:83)
I must perhaps install some other product? (if, which).
In the Turbine.properties file what I must write of precise so that it does not have more errors than compilation?
Thanks in advance and excuse the triviality of the question
Stefano
From: Vlachogiannis Evangelos <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Problem with portlet Date: Fri, 11 Jul 2003 19:15:00 +0300
You have to add it in the Turbine.properties modules
-----Original Message----- From: stefano s [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 3:51 PM To: [EMAIL PROTECTED] Subject: Problem with portlet
Hi List,
first of all, sorry for my english. I am a newbie of Jetspeed. I have installed Tomcat 4.1.24 and Jetspeed-1.4-b3 on on Windows XP Home Edition. When it start it works correctly. Therefore I have created one new portlet following the following steps: - I have copied my class under c:\Tomcat\webapps\jetspeed\WEB-INF\classes\portal_cl\portlet and after I have written in portlets.xreg this code:
<portlet-entry name="HelloWorld" hidden="false" type="instance" application="false"> <meta-info> <title>HelloWorld</title> <description>Portlet Hello World</description> </meta-info> <classname>portal_cl.portlet.HelloWorldPortlet</classname> <media-type ref="html"/> </portlet-entry> after i have set the enviroment variable CLASSPATH=:\Tomcat 4.1.24\webapps\jetspeed\WEB-INF\classes.
When I make to start again Jetspeed I have the following error on the browser: java.lang.NoClassDefFoundError at org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform (TemplateSessionValidator.java:105) at org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp eedSessionValidator.java:103)
Then I make to start again Jetspeed and Tomcat and on shell dos I have this error:
"XML document structures must start and end within the same entity."
for this files admin.xreg, client.xreg, controllers.xreg, controls.xreg, demo-portlets.xreg, media.xreg, security.xreg, skins.xreg, wml-examples.xreg, feed_local.xreg, feed_apache.xreg, portlets.xreg. and Jetspeed doesn't start.
Moreover when it uses jetspeed the rows portlets.xreg come rewritten and the
code that I have inserted comes cancelled and i don't Know why.
There is someone that can help me?
Thanks in advance and excused for the length of the mail
Stefano
_________________________________________________________________ Comunica in un 'altra dimensione con MSN Extra Storage! http://www.msn.it/msnservizi/es/?xAPID=534&DI=1044&SU=http://hotmail.it/&HL= HMTAGTX_Comunica
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN Extra Storage: piena libert� di esprimersi e comunicare http://www.msn.it/msnservizi/es/?xAPID=534&DI=1044&SU=http://hotmail.it/&HL=HMTAGTX_MSN_Extra_Storage
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
