Kimpton,C (Chris) wrote:
> Hi
>
> I thought I'd give this a try...
>
> I am using the latest code from CVS, with the JetspeedResources.properties
> changed to enable the glucode
> customiser/comment out the ibm one.
>
> I also copied the glucodeHTML.psml onto the turbine homeHTML.psml and the
> user/turbine/default.psml
>
> I then built the webapp and deployed with 3.3m2 under windows NT4.
>
> On the front page, the Apache Jetspeed portlet, has the error "problem in
> SAX transform: org.xml.sax.SAXException: System.property org.xml.sax.driver
> not specified" - not a big deal as I am not after that portlet - but does
> that indicate I have something misconfigured - or a known problem?
>
While I patch this one out, use
export
TOMCAT_OPTS="-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser"
or add it to your current TOMCAT_OPTS.
>
> When I then login as turbine, and try to use the customizer, I get the
> following exception;
>
> ArrayIndexOutOfBounds 2>=2
> in Vector
> in Portlets.getPortlets 238
> etc...
>
I get the same error. It comes, I think, from an error in the logic of
this method. David, could the following patch be needed?
diff -c -r1.2 PSMLDocument.java
*** PSMLDocument.java 2001/05/09 07:21:01 1.2
--- PSMLDocument.java 2001/05/09 15:50:33
***************
*** 421,431 ****
// Traverse the Portlets tree to get to the desired portlets
for (int i = 0; i < coord.length; i++)
{
! if (i < holder.getPortletsCount()-1)
holder = holder.getPortlets(coord[i]);
else
throw new ElementNotFoundException("A request was made for a
portlets "
! + "object that cannot be found.");
// end if-else
}// end for
--- 421,437 ----
// Traverse the Portlets tree to get to the desired portlets
for (int i = 0; i < coord.length; i++)
{
! if (coord[i] < holder.getPortletsCount()-1)
! holder = holder.getPortlets(coord[i]);
else
! throw new ElementNotFoundException("A request was made for a
portlets "
! + "object that cannot be
found.");
// end if-else
}// end for
i.e. coord[i] instead if i in the test (apart from indentation, which I
have set to 4 spaces.
>
> Any ideas what this might be?
>
> Thanks
> Chris
>
>
>
>
>>-----Original Message-----
>>From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, 09 May 2001 08:50
>>To: 'Ernest Ros'
>>Cc: [EMAIL PROTECTED]
>>Subject: Glucode customizer
>>
>>
>>Hi Ernest,
>>
>>Im writing to you directly to make sure you get this and
>>cc'ing the list.
>>The glucode customizer is all checked in -- Im trying to get
>>it to work with
>>1.3a2.
>>Ive written up a FAQ with your instructions for 1.3a1 - I
>>still need to put
>>it on the website
>>
>>wrt the customizer and 1.3a2:
>>it seems to work fine on the first page, but when i press
>>'continue' - the
>>html turns into quite a mess (try it out and you'll see what i mean)
>>i've also noticed that you are not using the new registry interfaces
>>it won't be too hard to convert the customizer code to the
>>new interfaces,
>>right Raphael?
>>(i can give it a try)
>>
>>Could you test it out?
>>
>>steps:
>>1) get the latest jetspeed cvs
>>2) switch over from the ibm customizer to the glucode customizer by
>>commented out the ibm customizer, and uncommenting the 3 glucode lines
>>3) create a new user, and copy over one of your glucode psml
>>files into that
>>user's directory
>>note: im using the new profiler, so copy to the /psml/user/..
>>directory
>>structure
>>
>>Why do you need to have special psml files in order to use the glucode
>>customizer?
>>Why doesn't it work with any old psml file?
>>
>>- david
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
>================================================================================================
> This electronic message (email) and any attachments to it are subject to copyright
>and are sent for the personal attention of the addressee. Although you may be the
>named recipient, it may become apparent that this email and its contents are not
>intended for you and an addressing error has been made. This email may include
>information that is legally privileged and exempt from disclosure. If you have
>received this email in error, please advise us immediately and delete this email and
>any attachments from your computer system.Rabobank International is the trading name
>of Co�peratieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the
>Netherlands. Registered with the Registrar of Companies for England & Wales No.
>BR002630 and regulated by the SFA for the conduct of investment business in the UK.
>
> The presence of this footnote also confirms that this email has been automatically
>checked by Rabobank International for the presence of computer viruses prior to it
>being sent, however, no guarantee is given or implied that this email is virus free
>upon delivery.
>
>
>
> ---------------------------------------------------------------------
> 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]