Hi,
You are on new ground for me - I am using tomcat3.2.1
- I didn't think jetspeed1.3a1 worked with tomcat4,
but I guess it must if you have it working.
To be honest, I can't believe that just adding your
portlet is causing your problem, unless...
Can you double check your jcfg file - perhaps that has
been corrupted in some way, missing closing tag or
something - or perhaps added it into the wrong section
of the jcfg file - it should be in the
portlet-registry section.
I just noticed you have split your portlet into 2
entries an instance and a ref, it looks ok to me - but
why not just have the simpler instance option alone,
like I had suggested before? (walk before you can
run, comes to mind)
HTH,
Chris
--- rani bai <[EMAIL PROTECTED]> wrote:
> Hi,
> Iam using jakarta-tomcat-4.0-b3, jetspeed-1.3a1,
> jdk1.3.0_02
> I have copied the jetspeed war file in
> tomcat\webapps directory
> run the tomcat(tomcat\bin\startup) server.
> In browser I gave http:\\localhost:8080\jetspeed.
> Iam getting the jetspeed home screen with two
> accounts created.
>
>
> import
> org.apache.jetspeed.portal.portlets.AbstractPortlet;
>
> import org.apache.turbine.util.RunData;
>
> import org.apache.ecs.*;
>
> public class HelloWorldPortlet extends
> AbstractPortlet
>
> {
>
> public ConcreteElement getContent (RunData
> aRunData)
>
> {
>
> return (new StringElement ("Hello World!"));
>
> }
>
> }
>
>
> I have copied the HelloWorldPortlet class files in
>
> tomcat\webapps\examples\web-inf\classes directory
>
> I have modified the registry file
> (jetspeed-config)in
> tomcat\jetspeed\web-inf\conf direcory as follows
>
>
> <portlet-entry type="instance" name="HelloWorld"
> hidden="true">
> <classname>HelloWorldPortlet</classname>
> </portlet-entry>
>
> <portlet-entry type="ref" parent="HelloWorld"
> name="Hello">
> <meta-info>
> <title>Hello</title>
> </meta-info>
> </portlet-entry>
>
> I have saved the config file. then
> I started the tomcat server(startup). followed by
>
> http:\\localhost:8080\jetspeed in my browser.
> but now I am getting some exceptions in my front
> screen itself as follows.
>
> java.lang.LinkageError: loader constraints violated
> when linking org/apache/xalan/xslt/XSLTInputSource
> class at
>
org.apache.jetspeed.util.SimpleTransform.transform(SimpleTransform.java:186)
> at
>
org.apache.jetspeed.util.SimpleTransform.transform(SimpleTransform.java:152)
> at
>
org.apache.jetspeed.util.SimpleTransform.transform(SimpleTransform.java:125)
> at
>
org.apache.jetspeed.portal.portlets.JetspeedContent.parse(JetspeedContent.java:186)
> at
>
org.apache.jetspeed.portal.portlets.JetspeedContent.init(JetspeedContent.java:139)
> at
>
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:434)
> at
>
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:124)
> at
>
org.apache.jetspeed.portal.factory.PortletSetFactory.getPortletSet
>
> kindly tell me where I can see my portlet in what
> format.
>
>
=====
Need somewhere to Live in London - http://freeflats.com
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]