Re: Methods of debugging

2002-11-04 Thread Chris Kimpton
Hi,

I use remote debugging via IDEA - you just add some settings to the
tomcat start line and whenever you need to debug it - just connect.

Works well for me.

Regards,
Chris

--- Raffaele Ragni <[EMAIL PROTECTED]> wrote:
> Hi, i was just wondering if there was some efficent methods to
> debug with jetspeed, especially using Forte4Java.
> And, if there was some standard rules on developing too.
> 
> 
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770 
> |- CONE Sistemi Informativi  
> 
> 
> 


=


__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Example sites using jetspeed?

2002-10-29 Thread Chris Kimpton
Hi,

I am assuming (and you know what problems that can cause...) that you
are looking at a largely java website development - where you will be
adding your portlets to Jetspeed.

My main question would be - what is there to justify about Jetspeed -
it can't be cost?

I can see that you might be comparing it with other technologies -
tapestry, struts, velocity-direct, turbine-direct, jsp, etc.  But
then you need to evaluate it - what are the pros and cons of the
choices for your environment.

Jetspeed currently has a beta release - which indicates there are
rough parts to it - but you get the source code, so if there is a
problem you have the means to find the solution yourself 

Basically Jetspeed is a servlet - all you need to justify is using
servlets or not.  If you decide on servlets - then Jetspeed gives you
a big leg up in developing an application (but then so does struts et
al).  But its still a servlet... 

Have fun,
Chris

PS - As for recognising a jetspeed site - you might base it on seeing
/portal in the URL, but that is configurable.  There are no standard
extensions.  It uses the turbine convention of name/value pairs in
the url, if required, for example - /portal/action/JLogout.


--- Glen Carl <[EMAIL PROTECTED]> wrote:
> Reviving an old thread from June 2002.
> I am trying to justify the use of Jetspeed to some clients, and the
> 
> clients want to know who else is using Jetspeed or is planning to
> use 
> Jetspeed. The sample site page and the sites listed below provide a
> 
> start, but some of the links below seem dead.
> Is there an updated who's using Jetspeed list?
> 
> It would be great if the 
> http://jakarta.apache.org/jetspeed/site/usejetspeed.html page had
> more 
> sites listed. I see alot of European extensions on the email list,
> but 
> do not see any sites listed for that part of the world. Why?
> 
> If you have a site to share please include:
> Company/Organization:
> Country:
> URL or Intranet:
> Primary Language:
> Wireless support:
> 
> What helps is some proof of Jetspeed use. From my Enhydra days, the
> .po 
> extension was always a good tip. See
> http://enhydra.enhydra.org/software/enhydrasites.html
> 
> Thanks,
> Glen
> 


=


__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed, Torque and Weblogic Connection Pools

2002-08-22 Thread Chris Kimpton

Hi Markus,

It depends what you are up to...

If you want your applications business data to use it, and you are
using Torque for the OM-Relational mapping?  Then its a Torque issue
- try the torque-user/dev lists.

If your not using Torque, then you just it directly, I guess via
JNDI...

If your talking about the Jetspeed security stuff - then this has
been redone recently - David Sean Taylor is probably your man there. 
Although if your using the Torque stuff, again the torque-user/dev
lists are your best bet.

HTH,
Chris

--- [EMAIL PROTECTED] wrote:
> Hy Chris,
> 
> sorry for my direct mail but I´am trying to get Jetspeed running
> with a 
> Weblogic Connection Pool
> and was wondering about a TorqueWrapper in the Jetspeed sources.
> So it seemed to me you could be the right person to ask about this.
> 
> Can you tell me anything about getting jetspeed (1.4b1) / torque to
> work 
> with a J2EE Connection Pool / DataSource ?
> 
> Thanks for help,
> even if you can tell me the name/email of someone whom can answer
> this.
> 
> And sorry for my english :|
> 
> Greetings from germany
> Markus


=


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to access WML site?

2002-07-10 Thread Chris Kimpton

Hi,

--- Deep Narain Singh <[EMAIL PROTECTED]> wrote:
> 
> Can anyone please tell me what is the User ID to log-in to Jetspeed
> main 
> WML page?
> I failed to get into the site. I tried 
> turbine.admin.jetspeedall.
> I shall be highly obliged for your kind response.

Are you accessing your version of jetspeed?  If so, just look in the
hsql directory (WEB-INF/db) in the jetspeed.script file and you will
see the user creation statements - there are probably 2 -
turbine/turbine and jetspeed/admin (or is it admin/jetspeed).

If your access the internet example site - the passwords maybe the
same as your local or maybe not - it depends on whether someone has
changed them - but then its just an example site - test with your
local config.

Regards,
Chris

=


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to access WML site?

2002-07-10 Thread Chris Kimpton

Hi,

--- "Weaver, Scott" <[EMAIL PROTECTED]> wrote:
> > Try the
> > http://localhost/jetspeed/index.jsp#Login
> > or better yet,
> > http://localhost/jetspeed
> 
> No dice, same error.
> 
> > You probably loaded up the html into the WAP browser instead of
> the WML.
> 
> Maybe I'm ignorant, but shouldn't Jetspeed send back WML if it is
> being accessed via a WAP-device?  Am I missing something simple
> here?
> 

The critical point is recognising the device as being WAP-enabled...

Jetspeed currently looks at the User-Agent header and in the
CapabilityMap code somewhere guesses whether its a WAP-enabled -
you'll see things like startswith Nokia or Ericsson in the code...

So - if the Klondike WAP browser sends a user agent that Jetspeed
does not recognise, you will get HTML returned...

Can you choose the User-Agent name to send with that browser?

HTH,
Chris

=


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to use the decoupled Torque in Jetspeed?(Repost)

2002-07-08 Thread Chris Kimpton

Hi,

--- touchmyheart <[EMAIL PROTECTED]> wrote:
> 
> but the error happened,in Jetspeed.log file:
> 
> [15:48:01,216 WARN ] IDBroker is being used with db
> 'bookstore',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.
> [15:48:01,226 INFO ] IDBroker thread was started.
> [15:48:01,296 WARN ] A DBConnection was finalized, without being
> returned to
> the ConnectionPool it belonged to
> ..
> 

I don't see any errors - just 2 WARNings and an INFO message.

The first WARN says you are using a db that does not support
transactions - probably hsql.

The second WARN seems wierd as you don't seem to be getting any
connections and thus cannot be faulted for not releasing them ;-) 
Which means it might be a Torque internal problem - so try the
torque-user mailing list.

> /*
>  * Initializing Torque
>  */
> Torque.init("Torque.properties");
> 
> .
> 
> my question is:
> 
> in Jetspeed,do i need to write some code instead of
> 'Torque.init("Torque.properties")'?
> 

Torque multiple DB connections, if you are working with the "default"
connection that jetspeed uses then this is not required in your code.

In fact, I think if you put your Torque config into the
Torque.properties file used by jetspeed it will get bootstrapped
(init'd) for you.

I am assuming that you are using the latest jetspeed from CVS that
uses Torque too?

HTH,
Chris


=


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Aargh - how do i turn off the content syndication...

2002-06-27 Thread Chris Kimpton

Hi,

I have done all of these and it still is looking up the content!

Looks like I'll have to dust off the debugger for this one

Chris

--- Gautam Aggarwal <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I had a similar problem and I managed to solve the problem like
> this :
> 
> 1. Shut down the server.
> 
> 2. Set 'hidden="true"' for the respective portlet entries in
> '\web-inf\conf\portlets.xreg' and
> '\web-inf\conf\demo-portlets.xreg' registries. Alternatively,
> you can remove the entries altogether.
> 
> 3. Rename, hide or delete the file '\ocs\local.ocs'.
> 
> 4. Set 'hidden="true"' for respective portlet entries in the
> '\web-inf\conf\feed-local.xreg' registry file.
> 
> 5. Comment out the content-feed entries in the 'Content Feeds'
> section of '\web-inf\conf\JetspeedResources.Properties' file.
> 
> 6. Set 'hidden="true"' for the respective portlet entries in
> '\web-inf\conf\feed-apache.xreg' registry file. Alternatively,
> you can remove the entries from here as well.
> 
> If you follow the steps carefully, it should work.
> 
> Bye,
> Gautam 
> _
> 
> --- Chris Kimpton <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I am trying to turn off the news feed lookup - eg the
> > slashdot.org/rdf, xml.com etc stuff.
> > 
> > I've tried commenting out the contentfeeds, feeddaemon and
> > content.provider stuff in JR.p.
> > 
> > I've replaced local.ocs with an empty one.
> > 
> > My demo-portlets.xreg is empty.
> > 
> > I have an empty datasources.properties, but it seems to get
> > filled
> > with the datasources later...
> > 
> > Help... where I am going wrong...
> > 
> > Thanks for any info,
> > Chris
> > 
> > =
> > 
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Aargh - how do i turn off the content syndication...

2002-06-25 Thread Chris Kimpton

Hi,

I am trying to turn off the news feed lookup - eg the
slashdot.org/rdf, xml.com etc stuff.

I've tried commenting out the contentfeeds, feeddaemon and
content.provider stuff in JR.p.

I've replaced local.ocs with an empty one.

My demo-portlets.xreg is empty.

I have an empty datasources.properties, but it seems to get filled
with the datasources later...

Help... where I am going wrong...

Thanks for any info,
Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Running Jetspeed With Apache Web Server

2002-06-19 Thread Chris Kimpton

Hi,

There are known (?) problems with jetspeed and certain versions of
tomcat 4 (specifically 4.0.2 and 4.0.3 - 4.0.1 should be ok).

Which version are you using?

Does it work without Apache being in the loop?

How are you link Apache and tomcat - ajp12/ajp13... some other way..

HTH,
Chris

--- Guillaume Thomassian <[EMAIL PROTECTED]> wrote:
> Hi all !
> 
> Did anyone try to run Jetspeed on an Apache + Tomcat combination ?
> It doesnt't work with my configuration (Apache 1.3 + Tomcat 4.0).
> I get an horrible Exception from turbine.
> 
> Do you have any tips or configuration ideas ?
> 
> Thanks
> 
> Guillaume
> 


=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Re : PSML Importer failed

2002-06-10 Thread Chris Kimpton

Hi,

--- Indra Yana <[EMAIL PROTECTED]> wrote:
> [Tue Jun 11 11:08:19 EDT 2002] -- ERROR -- BasePeer.MapBuilder
> failed trying to instantiate:
> org.apache.turbine.util.db.map.TurbineMapBuilder
>   Exception:  org.apache.turbine.util.TurbineException: Unknown JDBC
> driver: org.gjt.mm.mysql.Driver: Check your configuration file
>   Stack Trace follows:
>   java.lang.InstantiationException: Unknown JDBC driver:
> org.gjt.mm.mysql.Driver: Check your configuration file
> 
> Do I need to configure others file or include something from the
> newer src ?
> 

It looks like you don't have the mysql jdbc driver in your WAR setup.
 Copy it into the lib directory.

HTH,
Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Jetspeed and Slide?

2002-06-06 Thread Chris Kimpton

Hi,

--- Bob Fleischman <[EMAIL PROTECTED]> wrote:
> Is the portlet available to look at. It sounds very interesting?
> Everyone up
> here is always looking for good portlet samples.
> 

"up here" - sounds like the "other side" - is this the X-Files
zone...

;-)


Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: PSML Importer failed

2002-06-06 Thread Chris Kimpton

Hi,

--- Indra Yana <[EMAIL PROTECTED]> wrote:
> 
> 
> Do I have create the entry for JETSPEED_ANON_PROFILE in ID_TABLE ? 
> 
> Have any idea ? 
> 

Looks like your using the 1.3a2 release - I think that was missing
from that - either get the latest code, or manually add it
yourself...

HTH,
Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed and Slide?

2002-06-06 Thread Chris Kimpton

Hi,


--- David <[EMAIL PROTECTED]> wrote:
> 
> Has anyone had any experience integrating Jetspeed and Slide?  I
> want to implement a small intranet portal that provide saccess to
> documents.  I assume that I would need to write a custom portlet
> that acts as a WebDAV client but I wanted to see if anyone on this
> group has any insight on this topic before I get too far down any
> one path.
> 

We are using Jetspeed and Slide.

The architecture we have is as follows:

Turbine RawScreen for getting access to the documents - pretty crude
and seems to only work well for PDF files.

Portlet for document upload. You enter some general document
title/summary/category details and specify the file to upload.  

This talks to a WebDavService class, which uses the HTTPClient
package (from the DAVExplorer distribution) to talk to a webdav
server - in our case Slide.

That is, we do not use the Slide client API - rather using the more
standard WebDav HTTP api.

Its all pretty crude, but just about workable.

I'd be keen to hear from other experiences of this - or problems
found with implementations similar to ours...

Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed with Mysql

2002-06-06 Thread Chris Kimpton

Hi,

--- Indra Yana <[EMAIL PROTECTED]> wrote:

DISCLAIMER - I've not tried this with mysql myself - but with hsql
and oracle...

> I tried to make Jetspeed using PSML database instead of PSML file,
> I've read the mail related with my probles but I still can
> configure it out.
> 
> I've done :
> 1. create SQL script file by modifying 
>the /build/torque/build.properties
> 2. create user jetspeed with 'jetspeed' password on mysql
> 3. create the 'jetspeed' database on mysql
> 4. create tables on jetspeed using file script : dbpsml-schema.sql.
> It create : JETSPEED_USER_PROPERTIES , JETSPEED_ROLE_PROPERTIES ,
> JETSPEED_GROUP_PROPERTIES, etc.
> 5. modify file turbine-resources.properties :
>
>   database.default.driver=org.gjt.mm.mysql.Driver
>   database.default.url=jdbc:mysql://localhost:3306/jetspeed
>   database.default.username=jetspeed
>   database.default.password=jetspeed
> 
>   database.adaptor=DBMM
>   database.adaptor.DBMM=org.gjt.mm.mysql.Driver
> 

Sounds like you are using the 1.3a2 release - is that correct?  I
can't remember if that works fine with dbpsml or not... you might
want to try using the latest version of jetspeed from CVS.

> 6. modify file turbine-resource.velocity : (i modified it, just in
> case it also used by other jetspeed's program. But actually, should
> i modify it ? )
> 

This is not needed.

> 
> 7. modify the jetspeed-resources.properties. I comment the 1st line
> and uncomment the 2nd and 3rd line
> 
>
#services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService
>
services.PsmlImportManager.classname=org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService
>
services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService
> 
> 8. put the mm.mysql-2.0.14-bin.jar in jetspeed/WEB-INF/lib dir
> 9. restart catalina

Which version?  There are issues with TC4.0.2 and 4.0.3 - but then I
presume you have a working Jetspeed installation without using
dbpsml...

> 10. When I tried to browse the jetspeed, it keep try to connect to
> localhost for a long time. It didnt display anything.
> 11. It seems that the psml importer manager didnt work. Cause when
> i tried to query all tables on the 'jetspeed' database, they still
> empty. The importer manager didnt corvert the psml file to tables.
> 
> Do I had the right step ? Or is there something else that I miss or
> need to do ? Can somebody help me ? I really appreciate it.
> 

Sounds largely correct.

Were there any errors/messages in the jetspeed.log file (in
WEB-INF/log)?

HTH,
Chris

=


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: A Jetspeed Buildbox

2002-06-02 Thread Chris Kimpton

Hi,

--- David  Allen <[EMAIL PROTECTED]> wrote:
> 
> I am looking at creating a buildbox for an ongoing project we are
> doing
> internally. Has anyone else created such a beast. We are looking at
> using
> Ant and Cruise Control, but before I go too far down this road
> wanted to see
> what others have experienced.
> 
> I assume the trickiest part will be initializing the environment
> and
> deploying the par files.
> 
> Any words of wisdom?
> 

Jetspeed does not currently support par files - is this an IBM Portal
facility?

I assume your project is using Jetspeed and you want to keep up to
date with the latest versions (or at least update it a few times)...

What I've found useful is to build the jetspeed jar/jarsrc and
war-template targets in Jetspeed.  These 3 can then be used within
your project to build the complete app by merging them.


HTH,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Fwd: RE: Automatic logon feature (and JSP)

2002-05-29 Thread Chris Kimpton

Hi,

I don't think JSP is going to die anytime soon and thus Jetspeed will
support it for the foreseeable future...

Go for a bugzilla bug - this is strange.

Chris

--- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> Reply-to: <[EMAIL PROTECTED]>
> From: "Mark Orciuch" <[EMAIL PROTECTED]>
> To: "Chris Kimpton" <[EMAIL PROTECTED]>
> Subject: RE: Automatic logon feature (and JSP)
> Date: Wed, 29 May 2002 12:15:15 -0500
> 
> Chris,
> 
> Just to follow-up on my prior e-mail. It seems to be a JSP thing
> because I
> tried it again with base Jetspeed (Velocity being the default) and
> cookies
> got created. So it seems that there are two problems:
> 
> 1. Host name which is "too short" can prevent cookies from being
> created.
> 2. Cookies do not get created from JSP when using the JSP service.
> 
> Should these be logged as bugs in Bugzilla? Is the overall
> direction to
> withdraw JSP support? Unfortunately, we have a large investment in
> JSP and
> switching is not an option at this time :(
> 
> Best regards,
> 
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: [EMAIL PROTECTED]
> web: http://www.ngsltd.com
> 
> 
> -Original Message-
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 29, 2002 5:44 AM
> To: Jetspeed Users List; [EMAIL PROTECTED]
> Subject: Re: Automatic logon feature
> 
> 
> Hi,
> 
> --- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> > I enabled automatic logon in jr.props:
> automatic.logon.enable=true.
> > If I
> > check "Remember me on this computer", I expected a cookie to be
> > created on
> > my machine but it isn't. Cookies created via JavaScript or by
> > accessing
> > other sites work fine. I am running both sever and client on
> Win2K.
> > Is there
> > something that I'm missing here?
> 
> How are you accessing your site?
> 
> Is it via something like http://localhost...
> 
> The problem with this, is that somewhere (not sure if its client or
> server) it needs a larger (? fuller ?) name for the host.
> 
> That is, if you stick an entry in HOSTS file, mapping (for example)
> mypc.localhost.com to 127.0.0.1 and then access the site using this
> name, ( http://mypc.localhost.com... ) the cookies should work.
> 
> Regards,
> Chris
> 
> =
> --
> http://www.soccer2002.org.uk - The Game is On!
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Fwd: RE: Automatic logon feature

2002-05-29 Thread Chris Kimpton

Hi,

[I've copied this to the user list]

Sorry - don't use JSP that much - have you tried accessing the site
remotely - ie does the problem only occur when the site is on the
same machine as the client?

Chris


--- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> Reply-to: <[EMAIL PROTECTED]>
> From: "Mark Orciuch" <[EMAIL PROTECTED]>
> To: "Chris Kimpton" <[EMAIL PROTECTED]>
> Subject: RE: Automatic logon feature
> Date: Wed, 29 May 2002 10:01:19 -0500
> 
> Chris,
> 
> Sorry, still doesn't work. I tried the following test code from a
> .jsp:
> 
> Cookie test = new Cookie("hello", "there");
> test.setPath("/");
> test.setMaxAge(1);
> test.setDomain("."+data.getServerName());
> test.setVersion(0);
> test.setSecure(false);
> response.addCookie(test);
> Cookie[] cookies = data.getRequest().getCookies();
> if (cookies != null) {
> for(int c=0; c < cookies.length; c++) {
> try {
> %>
> 
> 
> <%=cookies[c].getName()%>=<%=cookies[c].getValue()%>,
> domain=<%=cookies[c].getDomain()%>
> , comment=<%=cookies[c].getComment()%>, max
> age=<%=cookies[c].getMaxAge()%>, path=<%=cookies[c].getPath()%>,
> server=<%=data.getServerName()%>
> 
> <%
> } catch (Exception e1) {
> }
> }
> }
> %>
> 
> The URL was http://s2kmcomtst01.cgs.com/portal/template/test.jsp. 
> NO cookie
> was generated. If I move the .jsp to the root and invoke it as
> http://s2kmcomtst01.cgs.com/test.jsp, the cookie IS generated. It
> can't be a
> JSP thing because base Jetspeed uses Velocity and and it still
> doesn't seem
> to work for me.
> 
> I'm confused because you're obviously using that feature on your
> http://www.soccer2002.org.uk/ portal and it works.
> 
> Best regards,
> 
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: [EMAIL PROTECTED]
> web: http://www.ngsltd.com
> 
> 
> -Original Message-
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 29, 2002 5:44 AM
> To: Jetspeed Users List; [EMAIL PROTECTED]
> Subject: Re: Automatic logon feature
> 
> 
> Hi,
> 
> --- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> > I enabled automatic logon in jr.props:
> automatic.logon.enable=true.
> > If I
> > check "Remember me on this computer", I expected a cookie to be
> > created on
> > my machine but it isn't. Cookies created via JavaScript or by
> > accessing
> > other sites work fine. I am running both sever and client on
> Win2K.
> > Is there
> > something that I'm missing here?
> 
> How are you accessing your site?
> 
> Is it via something like http://localhost...
> 
> The problem with this, is that somewhere (not sure if its client or
> server) it needs a larger (? fuller ?) name for the host.
> 
> That is, if you stick an entry in HOSTS file, mapping (for example)
> mypc.localhost.com to 127.0.0.1 and then access the site using this
> name, ( http://mypc.localhost.com... ) the cookies should work.
> 
> Regards,
> Chris
> 
> =
> --
> http://www.soccer2002.org.uk - The Game is On!
> 
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Automatic logon feature

2002-05-29 Thread Chris Kimpton

Hi,

--- Mark Orciuch <[EMAIL PROTECTED]> wrote:
> I enabled automatic logon in jr.props: automatic.logon.enable=true.
> If I
> check "Remember me on this computer", I expected a cookie to be
> created on
> my machine but it isn't. Cookies created via JavaScript or by
> accessing
> other sites work fine. I am running both sever and client on Win2K.
> Is there
> something that I'm missing here?

How are you accessing your site?

Is it via something like http://localhost...

The problem with this, is that somewhere (not sure if its client or
server) it needs a larger (? fuller ?) name for the host.

That is, if you stick an entry in HOSTS file, mapping (for example)
mypc.localhost.com to 127.0.0.1 and then access the site using this
name, ( http://mypc.localhost.com... ) the cookies should work.

Regards,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Creating users in jetspeed externally

2002-05-23 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Yes its a java class part of another webapp on the same tomcat
> installation
> as jetspeed.
> 
> This may be a stupid question, but I'm kind of confused:
> If jetspeed is running on my machine do i need to initialize a new
> 'instance' of turbine or will the existing instance be sufficient
> for my
> webapp? 

If they are completely separate webapps, then they won't have access
to each others instances (well - not without some classloading
hurdles) - in which case you will have to initialise Turbine in the
other webapp.

> How can I access the instance of turbine which is running
> jetspeed
> from my app?

If you could combine the webapps, then you would not need to init
Turbine.  For example if one /myapp and the other is /jetspeed, all
in the same web archive.

> 
> BTW, I figured out another dirty way to do what I wanted: Create a
> URLConnection to the portlet which creates a user and supply it
> with all the
> parameters needed
> 

That is also an option - fine when things work, but if you get an
error - then you will little details of the error (eg duplicate
username problems)

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Creating users in jetspeed externally

2002-05-22 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> 
> And here is the exception I get when I run it:
> [java] org.apache.turbine.services.InstantiationException:
> ServiceBroker:
> unknown service SecurityService requested
>  [java] at
>
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
> Broker.java:356)

How are you running this?  My first guess would be that you are
running a standalone java app and it does not Turbine initialised?

Although if this is happening inside a portlet in Jetspeed then that
guess is useless...

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: jetspeed stylesheet bug?

2002-05-22 Thread Chris Kimpton

Hi,

I have committed a patch to fix this - look in the jetspeed-dev
mailing list if you want to use it on your version.

Regards,
Chris


--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Just wondering if I stumbled onto a bug in jetspeed 1.3a3-dev.
> 
> Seems like the following entry in the jetspeedresources.properties
> file has
> a problem:
> 
> 
> #
> # Stylesheet.   #
> #
> #Use this to specify the HTML stylesheet
> site.stylesheet=css/default.css
> 
> 
> jetspeed always reads from default.css even if I change it to read
> from
> another css file in the same directory. Was this recently fixed?
> I'm using a
> nightly build from 5/2/2002 with recent patches to some classes.
> 
> Thanks.
> 
> Hammad.
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: jetspeed stylesheet bug?

2002-05-22 Thread Chris Kimpton

Hi,

Looks like a bug to me - well spotted.

I'll see if I can fix it easily, although I am not sure of the jsp
syntax for getting JR.p params ...

Chris


--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Just wondering if I stumbled onto a bug in jetspeed 1.3a3-dev.
> 
> Seems like the following entry in the jetspeedresources.properties
> file has
> a problem:
> 
> 
> #
> # Stylesheet.   #
> #
> #Use this to specify the HTML stylesheet
> site.stylesheet=css/default.css
> 
> 
> jetspeed always reads from default.css even if I change it to read
> from
> another css file in the same directory. Was this recently fixed?
> I'm using a
> nightly build from 5/2/2002 with recent patches to some classes.
> 
> Thanks.
> 
> Hammad.
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Powered by Jetspeed

2002-05-19 Thread Chris Kimpton

Hi,

They look great (although I must admit to not knowing any
Indonesian).

Is it ok to link to them on the "Powered By Jetspeed" part of the
Jetspeed site?

Regards,
Chris

--- Zulfahmi Andri <[EMAIL PROTECTED]> wrote:
> Hi,
> I am working on several websites that based on Turbine and Jetspeed
> combination. Two of them are :
> http://www.mizan.com
> http://www.ikapi.or.id
> 
> both in Indonesia language.
> Thanks for all of Jetspeed devs.
> 
> zulfahmi andri
> PT. Valensi Madani
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problem SOLVED!

2002-05-18 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Sorry for the confusion.
> 
> I hope this clarifies:
> 1. Turbine and jetspeed are able to find the template in the new
> path which
> i specified.
> 2. The template is only in the new path, not in the old one.
> 3. The only problem remaining is that the log message which
> indicates where
> the template was found shows the incorrect path. ie. it says that
> it found
> the template at the old path (which is not where it is). Instead it
> should
> say that the template was found at the new path.
> 

This is what is confusing me...

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problem SOLVED!

2002-05-17 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Yes I realize that. I want to keep my templates separate from
> jetspeed's
> default templates. The member_info.vm template is only in my 'test'
> directory tree.
> 

I am confused then oh well, one for bugzilla then.

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problem SOLVED!

2002-05-16 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Chris:
> 
> Here are the lines from the files:
> jr.props
>
services.TemplateLocator.templateRoot=/WEB-INF/templates,/WEB-INF/test/templ
> ates
> 
> tr.props:
> services.VelocityService.file.resource.loader.path =
> /WEB-INF/templates/vm,/WEB-INF/test/templates/vm
> 
> My file is in
> \WEB-INF\test\templates\vm\portlets\html\member_info.vm
> 

You do realise that by specifying your "test" directory second on the
path, it will look there only if the file is NOT found in the other
template root.

Is the member_info.vm in both directory structures?

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problems

2002-05-16 Thread Chris Kimpton

Hi,

> -Original Message-
> From: Mark Orciuch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 12:28 PM
> To: Jetspeed Users List
> Subject: RE: velocity template files path problems
> 
> 
> I am also having problems with this particular feature. I added
> another
> template root located in /jsp folder containing template
> Simple.jsp:
> 
> 1. Modified jr.props:
> services.TemplateLocator.templateRoot=/WEB-INF/templates,/
> 2. Modified tr.props: services.JspService.templates
> =/WEB-INF/templates/jsp,/jsp
> 3. According to debug statements the screen template is found
> (although
> screenJSP is set to /WEB-INF/templates/jsp/screens/Simple.jsp?).
> 4. Got FileNotFoundException: JSP file not found on
> /layouts/html/default.jsp'
> 

I don't know what screenJSP is - I don't normally use JSP.

Is default.jsp your overridden file?

I just made the following config changes:



Index: webapp/WEB-INF/conf/JetspeedResources.properties
===
< services.TemplateLocator.templateRoot=/WEB-INF/templates
---
>
services.TemplateLocator.templateRoot=/WEB-INF/mytemplates,/WEB-INF/templates

Index: webapp/WEB-INF/conf/TurbineResources.properties
===
< services.JspService.templates =/WEB-INF/templates/jsp
---
> services.JspService.templates
=/WEB-INF/mytemplates/jsp,/WEB-INF/templates/jsp



and added a custom version of hello.jsp in 

webapp/WEB-INF/mytemplates/jsp/portlets/html/hello.jsp

and it found it ok.


The jetspeed log said it found it in mytemplates directory too.

I think this is working...

Regards,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problem SOLVED!

2002-05-15 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> 
> However, just wanted to point out a minor issue with the log
> message in the
> jetspeed.log file:
> The log message isn'tshowing the path correctly. here is a dump:
> 
> [13:26:06,212 DEBUG] template exists:
>
C:\jakarta-tomcat-4.0.3\webapps\testportal\WEB-INF\templates\vm\portlets\htm
> l\member_info.vm returning /html/member_info.vm
> 
> My file is actually under:
>
C:\jakarta-tomcat-4.0.3\webapps\testportal\WEB-INF\test\templates\vm\portlet
> s\html\member_info.vm
> 

Are you sure... looking the code, when it prints that message, it
means that its found the template in the specified place...but if
your seeing the correct template being shown, it implies that the
templatelocator template path is wrong (so it is finding the template
in the wrong place), but your velocity path is ok - since your seeing
the correct template.

Regards,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: velocity template files path problems

2002-05-14 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Thanks for your help Chris.
> 
> I am currently using the 5/2/02 nightly build. Do I still need to
> update?

Yep - the change was after 7th May 

> 
> Actually I tried adding the path to the
> jetspeedresources.properties file as
> well: I changed it to the following:
>
services.TemplateLocator.templateRoot=/WEB-INF/templates,WEB-INF/test/templa
> tes
> 
> Is that correct?

Yep.

> 
> It still doesn't seem to work which either means that the change
> was after
> 5/2/02 or I'm still doing something wrong.
> I tried searching the bugzilla db for the fix but couldn't find
> anything.
> Would appreciate knowing when it was fixed so that I can know
> whether I need
> to patch or not.
> 

It was such a small fix that it did not make it into bugzilla...

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Fwd: information about sevlet/portlet and developpement about Jetspeed

2002-05-14 Thread Chris Kimpton


--- jose saloio <[EMAIL PROTECTED]> wrote:
> Reply-to: "Jetspeed Developers List"
> <[EMAIL PROTECTED]>
> From: "jose saloio" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: information about sevlet/portlet and developpement about
> Jetspeed
> Date: Tue, 14 May 2002 18:21:10 +0200
> 
> Hi,
> I will like to know how I can use servlet and JSP with portlet (if
> you have 
> examples).
> Moreover, I developped simples portlets and now, I want for example
> that a 
> person looks at this data via my portal JetSpeed: How I and he
> make?
> Thank you,
> Best regards.
> 
> José.
> 
> _
> MSN Photos est le moyen le plus simple de partager et d'imprimer
> vos photos 
> : http://photos.msn.com/support/worldwide.aspx
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: velocity template files path problems

2002-05-14 Thread Chris Kimpton

Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> How do I add an alternate location for jetspeed to pick up velocity
> templates from? 

The support for this has only just been added, so make sure you are
using current jetspeed from CVS - not the 1.3a2 release.

> 
> services.VelocityService.file.resource.loader.path =
> /WEB-INF/templates/vm,
> WEB-INF/test/templates/vm

This is correct.

> Also, what is the following entry in jetspeedresources.properties
> for?
> services.TemplateLocator.templateRoot=/WEB-INF/templates
> 

This location is where the JetspeedTemplateLocator service looks for
templates - it usually looks for a language/country/device specific
in these directories and then passes the expanded path to the
velocity (or jsp) service.

Thus you need to add your new template directory here too.

This is the recent code change in CVS - so you'll need to download
that.

There is a third place to change for jsp's - if you are using them...

Regards,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Demo portlet problems

2002-05-13 Thread Chris Kimpton

Hi,

--- Josh Hone <[EMAIL PROTECTED]> wrote:
> 
[snip]
> but cannot.  I am using the latest Apache server and tomcat 4.0,
[snip]

Which version of tomcat?

If you read the archive, you'll see that there are problems with
versions 4.0.2 and 4.0.3 - 4.0.1 should be good - not sure about
4.0.4 - which I think is out...

Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Jetspeed with DB2

2002-05-01 Thread Chris Kimpton

Hi,

--- shah rizal <[EMAIL PROTECTED]> wrote:
>  I`ve changed the DB2 .zip driver to .jar and placed
> it in web-inf/lib directory.This time jetspeed was
> able to find the driver but i still get an error in
> the logfile like this.
> 
> [Thu May 02 09:51:48 JST 2002] -- ERROR -- 
>   Exception:  java.lang.NoSuchFieldError: batchReturn
>   Stack Trace follows:
>   java.lang.NoSuchFieldError: batchReturn
>   at COM.ibm.db2.jdbc.app.DB2Driver.SQLAllocEnv(Native
> Method)
>   at
> COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:244)
>   at
> COM.ibm.db2.jdbc.app.DB2Driver.(DB2Driver.java:129)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:130)
>   at
> org.apache.turbine.util.db.adapter.DB.init(DB.java:210)

That sounds like an incompatibility between the JDBC driver and the
code using it - perhaps the Turbine code is using JDBC 3 or 2 API and
the driver you have is not so advanced - ie 1 or 2...

HTH,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed with DB2

2002-05-01 Thread Chris Kimpton

Hi,

--- "Mani, Bharanidharan" <[EMAIL PROTECTED]> wrote:
> Hi,
>   I would like to use new login page instead of
> layout\default.vm. So i
> have created a new login.html. But i would like to use my IBM DB2
> database
> for username and password authentication instead of Hypersonic SQl
> database.
> I have gone thru the mail archive but didnt get the sequence of
> steps quite
> clearly. can someone explain me the sequence of steps to be done. I
> guess i
> need to install turbine for database connection but not quite sure.
> please
> let me know.
> 

Firstly - Jetspeed is based on Turbine - so if you have Jetspeed, you
have Turbine - so no need to install it.

The db connection configuration is done in the file
WEB-INF/conf/TurbineResources.properties 

There are lines in there defining a connection to HSQL and an HSQL
adapter.  These need to be changed to the DB2 equivalents.

You might at this stage want to download turbine - as this will
possibly have information on sample DB2 configurations.

I suggest you do this before trying to change the login screen as
well.

HTH,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed with DB2

2002-05-01 Thread Chris Kimpton

Hi,

--- shah rizal <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Was this the error message in your browser?
> > 
> > If so, have a look in the jetspeed.log (its in
> > WEB-INF/log)
> > 
> > 
> 
> Hi Chris,
>  The error was in the browser.I`ve looked in log
> file(jetspeed.log) and it says jdbc driver not found.
> The problem is I already set the classpath to include 
> the JDBC Driver for DB2.
> 

Which servlet container are you using?  I think the recent tomcat
releases ignore the environment variable CLASSPATH - if that is what
you mean you set.

The best option is to put the jdbc jar into your WEB-INF/lib
directory.

I problem I sometimes have with oracle is that it is supplied as a
zip file - so I sometimes have to rename it...

HTH,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed with DB2

2002-05-01 Thread Chris Kimpton

Hi,

--- shah rizal <[EMAIL PROTECTED]> wrote:
> hi,i am trying to use jetspeed with DB2 instead of the
> default HypersonicSQL.But , when i try to login,i get
> an error like this.Horrible Exception:
> java.lang.NoClassDefFoundError at
>
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager.java:158)
> at
>
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager.java:246)
> at

Was this the error message in your browser?

If so, have a look in the jetspeed.log (its in WEB-INF/log)

It may have more information on the underlying problem - like jdbc
driver not found, table not found or invalid SQL...

HTH,
Chris

=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[OT] Powered by Jetspeed...

2002-04-27 Thread Chris Kimpton

Hi,

OK - its blatant promotion... 



=
--
http://www.soccer2002.org.uk - The Game is On!

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: why the database table must be mapped to java object with Torque in Jetspeed?

2002-04-24 Thread Chris Kimpton

Hi,

--- James Wang <[EMAIL PROTECTED]> wrote:
> thank for you answer,but my question is:
> why must convert db to object,it takes a lot of work.
> what's the benifit?
> 

It depends what your requirements are - if your requirement is to
produce something quickly that does not have a high performance
requirement, then using tools that help you convert tables to objects
is definitely quicker to develop with (you don't write the code to
select/insert/update the table).  You just write code to deal with
your objects - for example stock, product lines etc.  Ideally you do
not want to spend time writing code to put the data into and out of
the db.  Its been done before a million times - eg Torque...

If you have requirements for a very high performance system - chances
are, that is not required for all of it, eg some data is static, for
example countries - so you can use the object tools for those.  Where
the data does have high performance requirements you can then do your
own thing for that data...  But you will almost certainly have to
spend a lot of time developing this.

HTH,
Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: why the database table must be mapped to java object with Torque in Jetspeed?

2002-04-24 Thread Chris Kimpton

Hi,

--- James Wang <[EMAIL PROTECTED]> wrote:
> can i use entity bean instead of torque api?
> 

For your own objects, you can use whatever you want, EJB, JDO, etc.

For turbine/jetspeed objects, like TURBINE_USER and
JETSPEED_ANON_PROFILE (if your using dbpsml), then you will have to
do some work in terms of implementing interfaces etc - but it should
be possible... although I have not done it personally.

HTH,
Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Web hosting & Jetspeed

2002-04-17 Thread Chris Kimpton

Hi,

--- Hakan Aydin <[EMAIL PROTECTED]> wrote:
> Is there any web hosting company out there which can
> deliver a 'hosting package' with Jetspeed properly
> installed/configured?
> 
> I am not looking for anything fancy, just a basic hosting
> package that comes with Jetspeed so I can experiment
> with it (do I need to say preferably cheap/free?).
> 

Given the current state of Jetspeed (that is, you need to mix its and
your configuration to use it), then this is unlikely.

But since Jetspeed is just a servlet - any package offering java
servlets should be sufficient.

Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Horrible Exception in JetSpeed Login

2002-04-11 Thread Chris Kimpton

Hi,

Which versions of things are you using?

There are some problems using jetspeed with tomcat 4.0.2 and 4.0.3 -
not sure which version is integrated with jboss.

Chris

> -Original Message-
> From: Oscar Jiménez Ribera [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, April 11, 2002 7:58 AM
> To: Jetspeed Users List
> Subject: RE: Horrible Exception in JetSpeed Login
> 
> 
> 
> Another thing
> If I use JBoss-Tomcat, I have no problem, the problem comes when I
> use
> Tomcat alone.
> 
> 


=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: help using jetspeed with tomcat 3.3.1 on Linux

2002-04-10 Thread Chris Kimpton

Hi,

--- David Kogosov <[EMAIL PROTECTED]> wrote:
> 
> 
> Do you know if there are any known problems running jetspeed with
> tomcat on
> linux. It works on Windows but hangs tomcat on start-up in linux
> withouth
> leaving any traces in the log files.
> TIA, David Kogosov

I am not aware of any - thats what I am using tomcat331, redhat 7.1,
and jetspeed from CVS about 3 weeks ago.

Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New account

2002-04-04 Thread Chris Kimpton

Hi,

What versions of things are you using?

Windows/Linux?

jdk1.3/1.4?

jetspeed1.3a2? or latest in cvs?

tomcat 3.2/3.3 or 4?

There are some problems with 4.0.2 and 4.0.3 - try 3.3 instead.

HTH,
Chris

--- Julie Czemerega <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> When I create a new account, I fill all the fields (with valid
> email) and I
> click on "Create new account".
> 
> After that, I don't see the file ConfirmRegistration. The progress
> bar is
> blocked.
> 
> It does not work either if newuser.confirm.enable=true or false...
> 
> Do you know why ?
> 
> Thanks to help me
> Julie
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: how much of Jetspeed is Turbine?

2002-04-04 Thread Chris Kimpton

Hi,

--- Saddest OfAllKeys <[EMAIL PROTECTED]> wrote:
> 
> Clearly Jetspeed is built upon Turbine, but to what
> degree?

A lot.

> 
> For example, is the servlet controller from Turbine,
> or is it Jetspeed's own?  

It is Turbine - there is no servlet in the Jetspeed code.

> 
> I'm trying to get some sense of how Jetspeed is
> architected with Turbine in mind.  Any help, even if
> succinct, would be greatly appreciated.
> 

I think the place would be to look at the TR.properties file to see
the jetspeed specific hooks, like the DefaultPage that jetspeed uses
- assuming you are following this through the code.

Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: How to disable "pane Customization" ?

2002-04-02 Thread Chris Kimpton


--- Irene Huang <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have successfully disabled user's permission to do any
> customization for
> porlets with specified security tag "user".
> However, I still can't disable the "Pane Customization" (the small
> pencil)
> for each of the tab. (I was using layout  "TabPane")
> Any idea where I can disable the customization for the layout I
> choose? (so
> the user won't be able to add portlets, change layout/skin)
> 
> 
> Please help!
> 

I think I solved this by changing the default logged in permissions
in the JetspeedResources.properties file from * to specific
permissions, ie not including customize!

HTH,
Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Action not found

2002-04-02 Thread Chris Kimpton

Hi,

--- Marc Europe <[EMAIL PROTECTED]> wrote:
> 
> I got this error
>  
> VelocityPortlet found action GetNumber context
> org.apache.velocity.VelocityContext@76458f
> 
> Exception:  java.lang.ClassNotFoundException: 
> 
>   Requested Action not found: GetNumber
>   Turbine looked in the following modules.packages path: 
>   [com.working.number, org.apache.jetspeed.modules,
> org.apache.turbine.modules]
> 
> 
> GetNumber.class is put under 
>   WEB-INF\classes\com\working\number directory

I think this is your problem - Turbine assumes actions are in a
subpackage called "actions" - so your directory should be

   WEB-INF\classes\com\working\number\actions

> 
> AND
> 
> module.packages=com.working.number   is added to the
> TurbineResources.properties file

This is fine.

HTH,
Chris

=
--
http://www.soccer2002.org.uk

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Problems with the customization page, why?

2002-04-01 Thread Chris Kimpton

Hi,

--- Sonia Jorge Rico <[EMAIL PROTECTED]> wrote:
> Thanks, i've solved this problem changing the tomcat version.Now
> I'm using
> tomcat 4.0.1, and it works. Thanks a lot.
> 
> Now I would like to change jetspeed appearance, how could i do
> this?
> 

Now thats a biggy...

There are CSS and skins settings for changing the look of the current
layout.

For more fundamental changes, look in the WEB-INF/templates
directories - depending if you are using vm/jsp - the default is vm.
The layout and navigation subdirectories are a good place to start.

For the layout of the actual portlets, look into the controls and
controllers directories.

HTH,
Chris

PS  If the terms layout and navigations seem strange, it might help
to read the Turbine documentation on how these things hang together.

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: PostgreSQL/MySQL Database Config Problem

2002-03-30 Thread Chris Kimpton

Hi,

--- "Christopher E. Starnes" <[EMAIL PROTECTED]> wrote:
> 
> database.default.driver=org.postgresql.Driver
> database.default.url=jdbc:postgresql:turbine
> database.default.username=postgres
> database.default.password=postgres
>  
> database.adaptor=PostgreSQL
> database.adaptor.PostgreSQL=org.postgresql.Driver
> 

Looks good - we have used Oracle and Mysql fairly ok.

You have included the jdbc jar in your WEB-INF/lib - right?

And you have created your DB using the sql scripts in src/sql?

Have you looked in the WEB-INF/log/jetspeed.log - there is sometimes
more useful clues to the problem in there.

HTH,
Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Jetspeed Customizer problem

2002-03-29 Thread Chris Kimpton

Hi,

"estimates" ... I guess you are new to open source
...

Its a pretty core feature, so I would expect it to be fixed real soon
now...

Chris

--- Michael Yee <[EMAIL PROTECTED]> wrote:
> 
> Thanks!  Any estimates as to when the fixes will be available?
> 
> Mike
> 
> -Original Message-
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 29, 2002 3:23 PM
> To: Michael Yee
> Cc: [EMAIL PROTECTED]
> Subject: Re: Jetspeed Customizer problem
> 
> 
> Hi,
> 
> If your using the latest code from CVS, there are some problems
> with
> the customizer - but they should be fixed soon.
> 
> Chris
> 
> --- Michael Yee <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Was there ever a solution to this problem?  We are trying to use
> > Jetspeed
> > also and running Tomcat 3.2 on Windows, we have the exact same
> > problem.  Any
> > help would be greatly appreciated.
> > 
> > Thanks,
> > Mike
> > 
> > - Original Message -
> > From: Chris Kimpton <[EMAIL PROTECTED]>
> > To: Jetspeed Users List <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 27, 2002 2:27 PM
> > Subject: Re: Problems with the customization page, why?
> > 
> > 
> > > Hi,
> > >
> > > --- Sonia Jorge Rico <[EMAIL PROTECTED]> wrote:
> > > > I'm new using jetspeed but i've found some problems with the
> > > > customization
> > > > page.
> > > > When i first choose a skin it works, but when i try to do it
> > the
> > > > sencond
> > > > time it send and error message like this,and also when i try
> to
> > add
> > > > a
> > > > portlet when i return to the customization page the new
> portlet
> > > > doesn't
> > > > apears in the customization page:
> > > >
> > > > $jetspeed.getCustomizer($data.Customized).getContent($data)
> > > >
> > > > I'm using Apache Jetspeed 1.3a3-dev version.
> > > > What am i doing wrong?
> > > >
> > >
> > > Are you using tomcat?  Tomcat 4.0.2 and 4.0.3 causes problems
> for
> > the
> > > Jetspeed customization process.  Or you may have just found a
> bug
> > -
> > > its possible...
> > >
> > > Chris
> 
> 
> =
> SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup
> 2002
> Japan/Korea
> 
> __
> Do You Yahoo!?
> Yahoo! Greetings - send holiday greetings for Easter, Passover
> http://greetings.yahoo.com/


=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Jetspeed intermitant slowness.

2002-03-29 Thread Chris Kimpton

Hi,

>From the SOAP exception, I guess you are using the Stock Quote
Portlet - this is connecting to a SOAP service over the net - perhaps
there are delays on that end.

Try testing it with a basic portlet - it will give you an idea of the
core jetspeed performance - presumably you will be writing your own
portlet behind it - which is yours to tune...

Chris


--- "Buch, William" <[EMAIL PROTECTED]> wrote:
> All,
>   I have jetspeed 1.3a2, with tomcat 4.0.1, apache 1.3.x running on
> Linux (Slackware 8.0) with webapp module connecting apache and
> tomcat.  All
> is good on the connection, but when using jetspeed, intermitant
> slowness
> occurs. Looking at the log files, I am recieving exceptions:
> 
> Exception: java.rmi.RemoteException: Error doing soap stuff; nested
> exception is:
> java.net.ConnectException: Connection timed out.
> 
> That is as much information as I can give you.  Any ideas?
> 
> Bill
> 
> 


=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed Customizer problem

2002-03-29 Thread Chris Kimpton

Hi,

If your using the latest code from CVS, there are some problems with
the customizer - but they should be fixed soon.

Chris

--- Michael Yee <[EMAIL PROTECTED]> wrote:
> 
> 
> Was there ever a solution to this problem?  We are trying to use
> Jetspeed
> also and running Tomcat 3.2 on Windows, we have the exact same
> problem.  Any
> help would be greatly appreciated.
> 
> Thanks,
> Mike
> 
> - Original Message -
> From: Chris Kimpton <[EMAIL PROTECTED]>
> To: Jetspeed Users List <[EMAIL PROTECTED]>
> Sent: Wednesday, March 27, 2002 2:27 PM
> Subject: Re: Problems with the customization page, why?
> 
> 
> > Hi,
> >
> > --- Sonia Jorge Rico <[EMAIL PROTECTED]> wrote:
> > > I'm new using jetspeed but i've found some problems with the
> > > customization
> > > page.
> > > When i first choose a skin it works, but when i try to do it
> the
> > > sencond
> > > time it send and error message like this,and also when i try to
> add
> > > a
> > > portlet when i return to the customization page the new portlet
> > > doesn't
> > > apears in the customization page:
> > >
> > > $jetspeed.getCustomizer($data.Customized).getContent($data)
> > >
> > > I'm using Apache Jetspeed 1.3a3-dev version.
> > > What am i doing wrong?
> > >
> >
> > Are you using tomcat?  Tomcat 4.0.2 and 4.0.3 causes problems for
> the
> > Jetspeed customization process.  Or you may have just found a bug
> -
> > its possible...
> >
> > Chris


=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: User and its PSML file

2002-03-29 Thread Chris Kimpton

Hi,

--- [EMAIL PROTECTED] wrote:
> Hello Chris.
> Yes, I would still like to know how to read a user's 
> psml file programmatically. I really would like to 
> understand how the psml gets associated with a user. 

Thats 2 things - how to access their psml and the psml gets linked to
a user.  I'll answer the first one...

Look in JetspeedProfilerService 

public Profile getProfile(RunData rundata, CapabilityMap cm)

This gives you a good hook into the process of locating a users psml
file.

> 
> As for the role-based fallback psml, that works if the 
> user creates a new account. In our client's case, the 
> users create their account outside of Jetspeed. Thus, 
> our portal authenticates outside of Jetspeed. Since the 
> users are registered outside of Jetspeed, the psmls 
> don't get created in Jetspeed's file system or database. 
> This is my current and perhaps limited understanding of 
> how the psmls work. Please correct me if I'm wrong. 
> 

The role based psml does NOT create a psml per user - it uses the
role based psml file for all users (where they don't have their own).
 Thus I think it should work fine in your situation.

HTH,
Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to disable "pane Customization" ?

2002-03-29 Thread Chris Kimpton

Hi,

I believe you can control this with the security mechanism.

You will see permissions like view, close, customize and info in the
db initialization scripts.

The default setting is every user gets all these permissions.

Try changing it so that your "user" role does not have the info and
customize roles.

There are also settings in JR.properties regarding default logged in
roles - you may need to change too.

HTH,
Chris

--- Irene Huang <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Anyone know how to remove the little "pencil" at right corner of
> each pane
> if I don't
> want to let user customize the layout and skin?
> 
> 
> Irene
> 
> 

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: User and its PSML file

2002-03-27 Thread Chris Kimpton

Hi,

--- Louie Lansang <[EMAIL PROTECTED]> wrote:
> I've looked at the JLoginUser class and still can't figure out how
> a User
> grabs its own default.psml file. What I really want to do is read a
> specific
> default.psml (say turbine user's psml) from the file system and use
> that for
> any User that's logged in. In other words, I want to use the same
> psml file
> for any User.
> 
> Note: my Users won't be registered in the Jetspeed/Turbine tables
> or file
> system to begin with.  Should I just read the anonymous User's
> psml? How do
> I read a psml file programmatically?
> 

I am not sure what you really require - if your users won't be
registered with Jetspeed/Turbine, then the anon route seems to be the
way to go.

If they will eventually get logged in then you can use "role" based
psml - all users get the "user" role, you can define a psml file in
that directory and this will be used by all users.

To use this, change the JetspeedResources.properties file to not use
"turbine" as the template for new users psml - leave it blank like
the comment says and you should be sorted.

Do you still need to read the users psml programmatically?

Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Portlet development...

2002-03-27 Thread Chris Kimpton

Hi,

Just to give another spin on this, I use tomcat3.3  - which starts
quicker than tomcat4 - also switching to the java.util.Random class
and removing some other unused bits in the server.xml, like the
ajp13connector - since I am using it direct.

Or you could use Jetty - which also starts pretty quickly.

I have got the class reloading to work too - but generally find the
JVM runs out of memory after a few reloads

Chris

> 
> > -Original Message-
> > From: George Clernon [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, March 27, 2002 10:36 AM
> > To: Jetspeed Users List
> > Subject: Re: Portlet development...
> > 
> > 
> > 
> > If a context is reloadable tomcat will reload the changed classes
> 
> > automatically:
> > 
> >  > reloadable="true"/>
> > 
> > $TOMCAT_HOME/conf/server.xml
> > 
> > I tried it for jetspeed without success but it works great for
> other 
> > turbine based apps.
> > 
> > 
> > -George Clernon.
> > 
> > 
> > On Wednesday 27 March 2002 18:21, you wrote:
> > > Julia,
> > > I assume you are changing you portlet java source code.  If you
> are 
> > > using Tomcat 4.x, you MAY be able to user Tomcat's manager 
> > webapp to 
> > > reload jetspeed, i.e. 
> > http://localhost/manager/reload?> path=/jetspeed.  
> > > I tried 
> > this along time ago, but it did 
> > not work because the user 
> > > database as locked.
> > >
> > > Paul Spencer
> > >
> > > Julia A. Case wrote:
> > > > Last question for a while (I promise)
> > > >
> > > > I've developed 3 portlets this week.  But, right now I have
> to 
> > > > shutdown and restart the tomcat server to get a changed 
> > portlet to 
> > > > take affect. This cuts into the development time waiting for
> the 
> > > > server to cycle.  Is there a better way?  I tried setting 
> > > > isCacheable to false but that didn't help.
> > > >
> > > > Thanks,
> > > > Julia
> > 
> > --
> > To unsubscribe, e-mail:   
> >  [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: 
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Torque

2002-03-27 Thread Chris Kimpton

Hi,

--- "Turley, Michael" <[EMAIL PROTECTED]> wrote:
> I am using jetspeed 1.3a2 (with mySql) but TURBINE_USER does not
> seem to
> have a DISABLED column.
> 

I guess it must have been added since that release - try downloading
the latest from CVS.

> Do you think that if I manually edit the TURBINE_USER table,
> JetspeedUserProfile.java, JetspeedUserProfilePeer.java
> JetspeedUserMapBuilder.java that I will be able to use the new User
> attributes or do I have to build Adapter classes also.
> 

This definitely won't work  ;-)

These are classes for a users profile within jetspeed - not the
actual user class itself.

Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Problems with the customization page, why?

2002-03-27 Thread Chris Kimpton

Hi,

--- Sonia Jorge Rico <[EMAIL PROTECTED]> wrote:
> I'm using 3.2.1  version,is jetspeed incompatible with this?
> Could it be that i have configured it in a wrong way?
> I have followed the instructions on the installation page.

Tomcat3.2.1 ? Wow - thats an old one - should be in a museum  ;-)

I would suggest 3.3.1 or 3.2.4 at least.

But - back to your problem - we use jetspeed with tomcat 3.2.3 with
no problem - I've not tried it with 3.2.1.

HTH,
Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Problems with the customization page, why?

2002-03-27 Thread Chris Kimpton

Hi,

--- Sonia Jorge Rico <[EMAIL PROTECTED]> wrote:
> I'm new using jetspeed but i've found some problems with the
> customization
> page.
> When i first choose a skin it works, but when i try to do it the
> sencond
> time it send and error message like this,and also when i try to add
> a
> portlet when i return to the customization page the new portlet
> doesn't
> apears in the customization page:
> 
> $jetspeed.getCustomizer($data.Customized).getContent($data)
> 
> I'm using Apache Jetspeed 1.3a3-dev version.
> What am i doing wrong?
> 

Are you using tomcat?  Tomcat 4.0.2 and 4.0.3 causes problems for the
Jetspeed customization process.  Or you may have just found a bug -
its possible...

Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: local-portlets.xreg not recognized

2002-03-27 Thread Chris Kimpton

Hi,

> > I have Jetspeed 1.3.2a  working under Tomcat 3.2.4.  I deployed
> it under
> > Tomcat 4.0.3 and the vm files load, but none of the portlets
> listed in
> > the local-portlets.xreg are being pulled.
> >
> > Does anyone have an idea why?
> >

Just to clarify, you are saying it all works fine with Tomcat3.2.4,
but not with Tomcat4.0.3?

If you look at the mailing list archives, I believe there are some
problems with jetspeed and Tomcat4.0.2 and 4.0.3.  It maybe you have
hit upon this.

Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to check the roles?

2002-03-26 Thread Chris Kimpton

Hi,

--- "Julia A. Case" <[EMAIL PROTECTED]> wrote:
> How would I check if the current user has a particular role?
> 

You can get the current users access privileges with the call getACL
on RunData.  This has a hasRole method - it checks whether the user
has a role in a group (or the default group otherwise - I think).

If you havn't already, it is probably worth looking at the mail
archives to see the discussions on how group and role work with
Turbine/Jetspeed.

Chris

=
SHAMELESS PLUG: http://www.soccer2002.org.uk - Football World Cup 2002 Japan/Korea

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Howto on DatabaseMap's

2002-03-25 Thread Chris Kimpton

Hi,

> torque has created some files and after some fiddling I got it to
> all
> compile, but every time I try to get a select back it gets a null
> object, and I put in a extra logging info and I see this pattern.
> 
> Trying to get a DB Connection
> SELECT blah
> java.sql.SQLException: Connection object is null
> IDBroker thread was started
> 
> Am I still missing something simple?
> 

Probably not simple - but maybe something someone has hit before...

In your schema xml file for torque in the  element - do you
have a name= attribute - if so, remove it.  I think this make torque
look for a connection entry in your TR.properties file - removing it
makes it use "default" which is what is in there for turbine, ie the
same connection as used for TURBINE_USER.

Note - also make sure you add entries into the ID_BROKER table for
your new tables - like there is in the default populate scripts.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Howto on DatabaseMap's

2002-03-25 Thread Chris Kimpton

Hi,

--- "Julia A. Case" <[EMAIL PROTECTED]> wrote:
> On Mon, 2002-03-25 at 08:34, Chris Kimpton wrote:
> > Did you do this creation through torque?  If you have, then you
> just
> > need to call the Zipcod(e)Peer.doSelect method with a criteria
> > specifying the zipcode you wish to find.  It will generate the
> > correct mapbuilder code for you and call it behind the scenes.
> > 
> 
> But, this would make it more difficult for other people to reuse
> the
> code wouldn't it?  Not to mention after 10 minutes of searching I
> don't
> see where the database schema is stored in the system.  Would I
> need to
> use the source build/torque and then recompile the source?  If so
> this
> is not the way to go.
> 

I think that you haven't quite got what torque is/does or I missed
your point.

With torque, you specify in an xml file your DB schema (see the
build/torque subdirectory in the Jetspeed distribution).

You then use ant to get torque to generation sql scripts to build
your db and to generate the java code to access that db.

This builds code for you to insert, update and query your db.

You can extend this code to have any specific business methods you
need.

http://jakarta.apache.org/turbine/torque/user-guide.html

I reccomend using the torque in the jetspeed distribution - thats
what I am using.  You may have some problems/work to do if you use
the version from torque cvs.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Howto on DatabaseMap's

2002-03-25 Thread Chris Kimpton

Hi,

--- "Julia A. Case" <[EMAIL PROTECTED]> wrote:
> 
> I have the tables created, to start I'm just working on a simple
> Portlet
> that calculates the distance between 2 zip codes.  So, I have a
> table
> with the zipcodes and their longitude and latitude.  I want to do a
> query on the table with the 2 zipcodes get the data and calculate
> the
> distance.  I created a ZipcodMapBuilder class, but I'm not quite
> sure
> how to use it.  

Did you do this creation through torque?  If you have, then you just
need to call the Zipcod(e)Peer.doSelect method with a criteria
specifying the zipcode you wish to find.  It will generate the
correct mapbuilder code for you and call it behind the scenes.

One gotcha I had was that you need to make sure it is in the
"default" database in xml for torque - this make torque/turbine look
in the same db as your turbine user etc tables.

If you created the map manually - do you really need to - are your
requirements that complex - try torque.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Howto on DatabaseMap's

2002-03-25 Thread Chris Kimpton

Hi,

--- "Julia A. Case" <[EMAIL PROTECTED]> wrote:
> I'm trying to access some tables from inside Jetspeed and I'm
> looking
> for a howto on how this is done.  The PollPortlet seems only half
> done,
> and not a good example.
> 

There are some general Turbine how-tos at the Turbine site:

http://jakarta.apache.org/turbine/turbine-2/index.html

Your probably not going to get a full how to from this question -
perhaps you could re-state your question more specifically - do you
know to access your db?  Is it through Torque?  what kind of portlet
are you writing?  jsp, velocity or directly in a Portlet class?

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Including new velocity variables in top.vm

2002-03-22 Thread Chris Kimpton

Hi,

--- Stefan Kuhn <[EMAIL PROTECTED]> wrote:
> Hi everybody,
> in our project I need to include some additional data in the header
> of  the 
> jetspeed website. I understood that this header is controlled by
> top.vm, 
> which is called by default.vm. Because our data is not static and
> comes from 
> a database, I need to put them in as velocity variables (or
> proporties or 
> methods) which are retrieved by java code from the database. I
> understood 
> that the values need to be put in the context by the class calling
> the 
> template. And here is my problem: Which class is that? Where best
> put in the 
> context.put() in order to have these values in top.vm?
> I tried to find out it by myself but all these jetspeed classes are
> a bit too 
> much for me :-)
> Thanks for any advice
> Stefan
> 

Does the content depend on the user/portlets being displayed too - or
just from the db?

If just from the db, the I guess (?) you can create your own "Tool"
object and specify it in the JR.properties file - this should then
get loaded into the context automatically and be available in the
top.vm for your use.  Have a look at JetspeedTool.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: extended user would not save

2002-03-22 Thread Chris Kimpton

Hi,

--- Markus_Strauß <[EMAIL PROTECTED]> wrote:
> 
> if there WERE any exceptions I would have an idea where I was going
> wrong - but still my Jespeed-created User has only the "default"
> columns. 

OK - so let me try and restate the problem - your table has the new
columns, and you can create a user in jetspeed into this table.  The
UserUpdateAction calls the new setters/getters ok.  The problem is
that the row in the user table only has the default columns set?

In which case, it sounds like the MapBuilder stuff is not picking up
your version - but the Jetspeed one instead... which does not know it
needs to save the new columns.

HTH,
Chris


=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: extended user would not save

2002-03-22 Thread Chris Kimpton

Hi,

Sounds like you are doing the right thing - what exactly is your
problem?

If its a ClassCastException in your custom UserUpdateAction - that
should be picking up your custom class - it might be worth checking
all those settings again - as it will just be instantiating an
instance of the class you mentioned.

Regards,
Chris

PS What does AW mean?

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: invoke a URL

2002-03-22 Thread Chris Kimpton

Hi,

--- Michael Hufnagl <[EMAIL PROTECTED]> wrote:
> 
> I tried to invoke a URL by a portlet to reuse our existing Servlet.
>  Regardless
> of the invoked URL, i got ownly a text message:
> 
> "JSPPortlet: Could not include the following  URL:
> http://www.google.com : null"
> 
> displayed in the portlet
> 
> The portlet code looks like this
> 
>
> ...
>  public void init() {
> servletURL =  
> this.getPortletConfig().getInitParameter("servlet_url");
> }
> 
> public ConcreteElement getContent(RunData data) {
> PortletConfig pc = this.getPortletConfig();
> try {
> ElementContainer base = new ElementContainer();
> CapabilityMap map =
> CapabilityMapFactory.getCapabilityMap(data);
> 
> System.out.println("SERVLET PORTLET URL: " +
> servletURL);
> 
> EcsServletElement e = new EcsServletElement(data,
> servletURL);
> e.base.addElement(new EcsServletElement(data,
> servletURL));
>   }catch() {
>   }
> 
>   return ( base);
> ...
> 
> I am using:
> 
> Tomcat 3.2.1
>   with xerces 1.2 
> jetspeed 1.3a1
>   
> 

Generally, I would suggest using a more recent Tomcat - 3.3 is quite
good and at least the latest alpha of jetspeed 1.3a2 - although the
code from CVS is probably better.

As to your particular problem, it sounds like you have an existing
site (servlet) that you want to put into a portlet.

Looking at the EcsServlet code, it logs any errors to the
jetspeed.log file - have you looked in their - any stack
traces/messages that help you further?

Other ways to do this include:

The quick way would be to use the webpageportlet in the latest
jetspeed code to wrap your url, like you have done.  Or use an iframe
containing your url.

If you want to integrate things more closely, you can change your
servlet to be a portlet - the same things are available - namely the
http request and response (via RunData).

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: extended user would not save

2002-03-22 Thread Chris Kimpton

Hi,

--- Markus_Strauß <[EMAIL PROTECTED]> wrote:
> so far I succeeded in extending the Turbine_User by another column.
> If I
> add an user via the database, all would look fine, the new column
> is
> displayed with the correct value in the user-browser screen. 

So - I guess you have changed the template for the user-browser
screen to show your new column?

> But what I
> would like to do is to enable User Creation for the admin screen as
> well
> with the new column. So what I tried was to change the
> UserUpdateAction
> and casting the "normal" user to my extended one. but this does not
> work
> properly, i.e. i can still only create a "normal" user without my
> new
> column. Where do I have to do changes? Or does the additional
> column
> have to be treated in the new UserUpdateAction?
> Please help me here - I am a little confused.
> 

Have you changed the TR.properties file to refer to your user class? 
This defines what User objects are to be created.

The standard UserUpdateAction will then create your objects -
obviously with the default setting for your new column.  If you
override it, you can do more - eg change the template to include your
column and populate it into the User object.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Database Sessions

2002-03-21 Thread Chris Kimpton

Hi,

--- Anthony Smith <[EMAIL PROTECTED]> wrote:
> I have a database session open for each user, but a user never gets
> logged
> out of his db session if he doesn't logout. If he just closes the
> browser
> window, then to the db he is still logged in. Does anyone know how
> I can
> implement some kind of db session timeout for each user? So if he
> closes his
> window, after a number a minutes or hours, he will automatically
> get logged
> out of his session.
> 

Where are your db sessions being stored? If they are stored in the
http session, then this will eventually time out - you need to make
sure your session closes itself then - either via finalizers or
session notifications.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: User

2002-03-21 Thread Chris Kimpton

Hi,

--- "Turley, Michael" <[EMAIL PROTECTED]> wrote:
> I'd like to customise the User in Jetspeed so that I could ask for
> a few
> more fields when creating a new user. The user should also be able
> to edit
> these new fields. I would like to add a few more methods (get/set
> for each
> field). What is the best way to go about doing this?
> 

Extend the BaseJetspeedUser class.  Add your get/set methods -
sticking the new attributes into the getPerm/setPerm hashmap.  This
will have your new columns saved in the objectdata column of the
turbine_user table.  


If you want to extend the table, I would suggest the turbine extend
user how to - 

http://jakarta.apache.org/turbine/turbine-2/howto/extend-user-howto.html

I have not tried it myself, so I am not sure how uptodate/if it works
with jetspeed.

HTH,
Chris


=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: strange behavior when refreshing velocity portlet.

2002-03-21 Thread Chris Kimpton

Hi,

--- Pierre BESNARD <[EMAIL PROTECTED]> wrote:
> Secondly, it will be kind of you to excuse my poor English.

Don't worry - it is definitely better than my pathetic french  :-(

> I have observed that when an action method ( doSomething() ) behave
> 2 upper-case letters (i.e.: doSomeThing() ), the action is not
> called as it should be!

This is due to the way the ActionEvent class in Turbine finds your
method - it (or the http processing) seems to lose the upper and
lower case information, so all it gets to process is dosomething - it
then guesses that you may want doSomething - but it does not do any
further guessing - It could do more - have a look at the turbine code
- there maybe comments/reasons as to why it doesn't.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Mail archives

2002-03-20 Thread Chris Kimpton

Hi,

--- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> 
> http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listId=20
> 
> http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listId=21
> 

Looks good.

Just being picky, but they are a little out of date - is this in test
still?

Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to deal with user images ?

2002-03-20 Thread Chris Kimpton

Hi,

--- Emmanuel Bardet <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> I'm after a solution to display in a velocity portlet an image
> stored in a
> db. Has anybody faced this before ?
> 

This is not really a portlets question, more a "how do I return a
binary image from a url/servlet request" - in your portlet you will
be returning a standard  tag - its the url of that
source that needs to hit the DB.

You could do this using a standard servlet - that just sends binary
content back - mapping the image in the db to the output stream.

Or use the RawScreen facilities in Turbine to do the same - which
gives you hooks into the db connections and user stuff.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: other mean to post changes in velocity portlet

2002-03-20 Thread Chris Kimpton

Hi,

--- Pierre BESNARD <[EMAIL PROTECTED]> wrote:
> 
> Hello,
> 
> I am a new french user of jetspeed and I'm trying to build my first
> velocity porlet.

Welcome to the fun.

> I would like to know if it is possible to change a "submit button"
> with a simple link or an image with the same behaviour.
> 
> for the moment, I have something like :
> 
> 
> 
> I just would like to change that with :
> 
> 
> 

To do textual href links that submit forms, I think you will need to
use javascript - ie the link calls a javascript function and that
does a form submit.

If you want an image link, then you can use http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: problem with VelocityPortlet and VelocityPortletAction

2002-03-19 Thread Chris Kimpton

Hi,

> 
> I will try to do my own class VelocityPortlet, an abstract class
> with
> BuildMaximiseContext(), BuildCustomiseContext(),
> BuildNormalContext()
> abstract method to overwrite. If that can help...
> 

Please do - new ideas are always welcome.

As for your query about PEIDs - I understand that all portlets now
have a unique id - even 2 of the same type.  

Thus you could use this id, for example, as a hidden input field
parameter and in the Velocity action can then test the id and only if
present will it act upon it - otherwise the submit was for a
different portlet.

HTH,
Chris

=
http://www.soccer2002.org.uk - join in and win CA$H!

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How do I change the cellpadding in the column.vm?

2002-03-19 Thread Chris Kimpton

Hi,

--- Paul Spencer <[EMAIL PROTECTED]> wrote:
> Chris,
> Support for properties may be incomplete for version of IE <5.5 and
> 
> Netscape <6.
> 

Thanks for that - I am testing with 5.5, but did not notice a subtle
feature - the CSS style only seems to take effect when a CELLPADDING=
attribute is entered 

I have attached a sample file showing the problem - at least for
IE5.5 and Mozilla 0.9.8 ... for Netscape 6 (6.01) and Opera 6.01 the
style has no effect on the layout.

So - I plan to do the following, change CELLPADDING=2 to 0 in
column.vm and put padding:2 in the ControllerStyleClass - this should
achieve the current affect, but allow us to override it.

Is this ok?

I know it is a specific requirement for my app - but at least gives
control of the padding to style (sometimes) and hence users of
jetspeed do not need to amend column.vm etc.

Regards,
Chris

=
http://wc2002.kimptoc.net - someone has got to win...

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Re: problem with VelocityPortlet and VelocityPortletAction

2002-03-18 Thread Chris Kimpton

Hi,

> 
> In fact, the problem come from VelocityPortlet. In getContext
> method of
> VelocityPortlet, the action is load each time.
> When you call an action and pass the param eventsubmit_doAdd, all
> the
> VelocityPortlet present on your page, will be execute the methods
> doAdd of
> there VelocityPortletAction's.

Do your methods need to be the exact same name?

> 
> I'm sorry, but I dont understand why VelocityPortlet use the Action
> mechanisme of turbine? Why not just write an abstract
> VelocityPortlet with
> BuildMaximiseContext(), BuildCustomiseContext()
> BuildNormalContext() method
> to overwrite ?
> 

Jetspeed is based on Turbine - so its generally easier to use Turbine
features to implement it... although I am not sure how your
suggestion would help.

I think the problem you are getting is similar to the general problem
people have with parameters to portlets, if several of your portlets
look for a parameter, say userid, then when that is passed to the
page, all of them with see that parameter.  For now it is probably
best to use distinct field names/method names, if you can.

HTH,
Chris

=
http://wc2002.kimptoc.net - someone has got to win...

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How do I change the cellpadding in the column.vm?

2002-03-18 Thread Chris Kimpton

Hi,

--- Paul Spencer <[EMAIL PROTECTED]> wrote:
> Chris,
> Look at the style referenced by skin parameter
> controller-style-class in 
> the style sheet. See the skin "orange-red-Bordered".  The css
> properties 
> are padding, padding-top, padding-bottom, padding-left, and
> padding-right.
> 

I tried playing with those - but they seem to relate to padding of
other elements, like P, SPAN and DIV - not tables.  I don't believe
they affect CELLPADDING.

TIA,
Chris

=
http://wc2002.kimptoc.net - someone has got to win...

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




How do I change the cellpadding in the column.vm?

2002-03-18 Thread Chris Kimpton

Hi,

This is not meant to be a trick question...

I want to change this value and the way I have found to do this now
is by having my own version of column.vm.

I have looked at the CSS settings - but the CSS padding attribute
does not affect cellpadding - is there anyway to set this with CSS -
that would be the best...

My next option is to amend the PortletSkin et al classes to have some
new setters/getters - setControllerCellPadding - but this seems to be
going to quite a bit of detail for a simple change.  I am tempted to
put in some generic get/set accessors that directly return the
contents of the skin.xreg file - but I guess that is bad, as it
directly ties it to the implementation...

Chris

=
http://wc2002.kimptoc.net - someone has got to win...

__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 4 Revisitied... [Fwd: Re: Issue with Catalina Jar]

2002-03-06 Thread Chris Kimpton

Hi,

>From the no class def found on "javax/xml/transform/Source", my guess
would be that tomcat 4.0.2+ is not as "clean" in how it manages xml
parsers - it is getting confused between its own and those in the web
app.

I seem to remember there being some tomcat config that allows you to
expose/not expose its xml parser to its web apps - perhaps the
defaults have changed between 4.0.1 and 4.0.2.

Chris

--- todd tredeau <[EMAIL PROTECTED]> wrote:
> Hi;
> I have spent some time now, and can revisit this issue more 
> clearly... Tomcat 4.0.2 and Higher are not functional... 4.0.1.
> Does 
> work... According to Tomcat peoples, suggested to kick back to the 
> Jetspeed programmers...the problem is specifically in the 
> catalina.jar... someone who knows what they are doing can enter
> bugzilla 
> if needed.
> 
> greets
> 
> todd
> 
> 
>  Original Message 
> Subject: Re: Issue with Catalina Jar
> Date: Tue, 5 Mar 2002 00:35:41 -0800 (PST)
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> 
> 
> 
> On Tue, 5 Mar 2002, todd tredeau wrote:
> 
> > Date: Tue, 05 Mar 2002 00:18:20 -0500
> > From: todd tredeau 
> > Reply-To: Tomcat Users List 
> > To: [EMAIL PROTECTED]
> > Subject: Issue with Catalina Jar
> >
> >   I have a problem, as several others also have noticed this
> problem /
> > issue. I am not submitting a bug, as I just may be stupid.
> >
> > In tomcat 4.0.1, Jetspeed runs fine, no problem. In 4.0.2-> (i
> haven't
> > found the cvs yet) it has errors.
> >
> > If you replaced just the catalina.jar back to 4.0.1 it will work,
> no
> > problem. I believe the problem is in
> > 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 :
> > javax/xml/transform/Source
> >
> 
> Since none of the above indicates that the problem is Tomcat
> itself, your
> best bet would be to post a bug report in the bug tracking, under
> the
> appropriate product category (Jetspeed, or Cocoon, or Velocity
> ...).  In
> my experience, developers on all of these projects pay a *lot* of
> attention to bug reports, whereas they may or may not be subscribed
> to
> TOMCAT-USER (which obviously focuses on Tomcat related issues).
> >
> >
> >
> > This is consistent on multiple platforms, at least with jvm
> 1.3.1...
> >
> > Does anyone know someone in cocoon project... I need to
> communicate with
> > someone there who is active in programming.
> >
> > thanks
> >
> > todd
> > http://www.wiserlabz.com
> > collaborative project to promote Novell and Open Source solutions
> >
> >
> Craig McClanahan
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 
> 
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed Version

2002-02-27 Thread Chris Kimpton

Hi,

--- Hugh Brien <[EMAIL PROTECTED]> wrote:
> I have seen several developers referring to Jetspeed version
> "1.3a3dev"  Where is this version if it exists?  I don't see a tag
> or branch in the CVS tree. If the team released a zip file called
> "1.3a3dev" why don't we/they create a tag in the CVS tree to match
> it.  That way there is no ambiguity about versions and it makes
> maintaining the a baseline easier.  
> 

This is just the latest code in CVS - its the code in CVS now and the
code in CVS tomorrow... until people decide to put a stick in the
ground and actually tag it.  But then people will be referring to
1.3a4devor maybe 1.3b1

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Oracle PSML Database

2002-02-27 Thread Chris Kimpton

Hi,

--- "Burmeister, Mark" <[EMAIL PROTECTED]> wrote:
> I removed the records that where in the database...

The ones in the db are probably ok - its the psml files that probably
have a problem.

> Now I am getting the following exception in my jetspeed.log
> 
> -- DEBUG -- SELECT JETSPEED_USER_PROFILE.PSML_ID,
> JETSPEED_USER_PROFILE.USER_NAME, JETSPEED_USER_PROFILE.MEDIA_TYPE,
> JETSPEED_USER_PROFILE.LANGUAGE, JETSPEED_USER_PROFILE.COUNTRY,
> JETSPEED_USER_PROFILE.PAGE, JETSPEED_USER_PROFILE.PROFILE FROM
> JETSPEED_USER_PROFILE WHERE
> (JETSPEED_USER_PROFILE.USER_NAME='admin')
>   -- ERROR -- Error occurred in Database PSML Manager:
> Exception:  java.sql.SQLException: ORA-00904: invalid
> column name
> Stack Trace follows:
> java.sql.SQLException: ORA-00904: invalid column name
> 
> 
> This column does not exist in this table.  

Which column?

> Any ideas or pointer?  What version of Oracle, tomcat, jetspeed did
> you get
> this PSML to oracle working under.
> Please any help would be much appreciate.

We are using Oracle 815 and 816.  Tomcat 3.3 and 4.0.  Jetspeed -
latest from CVS - for the last couple of months.

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Oracle PSML Database

2002-02-26 Thread Chris Kimpton

Hi,

We are using dbpsml with Oracle 816.

We are using the sql scripts as supplied and its all working fairly
ok - at least now.

I did get some problems early on where certain profiles resulted in
entries with duplicate keys and thus the second one fails to load -
which seems to be the case as the message seems to be you have 3
profiles loaded.

Have you checked the tables - any profiles loaded?

You might want to remove a psml file or two.

HTH,
Chris

--- "Burmeister, Mark" <[EMAIL PROTECTED]> wrote:
> Does anyone have any accurate configuration instructions for
> getting Oracle
> 8i working using the PSML files.
> I have followed all the instructions and keep gettting errors in my
> jetspeed.log such as 
> Any  help would be much appreciated.
> 
> 
> Running PSMLImporter...
> java.lang.RuntimeException: Could not create new profile in DB
> at
>
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
> eOrSaveDocument(DatabasePsml
> ManagerService.java:600)
> at
> 

[snip]

> at java.lang.reflect.Method.invoke(Native Method)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> PSMLImporter completed. Exported 3 profiles
> Starting service Tomcat-Apache
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: After CLOSE the portlet, cannot show again ???

2002-02-20 Thread Chris Kimpton

Hi,

> 
> When I close the Portlet. Where can I show it again?
> I can't get any place to do this. When I enter the
> layout editor, the Portlet that I closed just be
> ticked and can't select.
> 
> JetSpeed version : 1.3a2
> 

This was a "feature" of 1.3a2 - in the latest code in CVS, if you
"close" a portlet, it is deselected on the customizer and you can
re-select it to get it back.

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Email Confirmation

2002-02-17 Thread Chris Kimpton

Hi,

--- Nael Mohammad <[EMAIL PROTECTED]> wrote:
> Greetings Community,
> 
> 
> Just finished setting up Jetspeed, now I need to get the email
> confirmation
> working. I look at the web site and its incomplete, any ideas! :)
> 
> 
> -Nael
> 

You could finish it and submit your code to the jetspeed project...

Or you could live with what is currently there - like the rest of
us...

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: HelloVelocity doesn't work maximized

2002-02-17 Thread Chris Kimpton

Hi,

I just tried this with the latest jetspeed code from CVS (Sunday 1pm
GMT) and it works fine for me.

There was an old problem relating to this - but it was fixed around a
month ago...

Could it be that you are using an old version?

HTH,
Chris

--- gus <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I'm having a problem running HelloVelocity portlet maximized. After
> pressing the
> update button I'll see the message
>"$jetspeed.getPortlet($data.Portlet)"
> where the portlet should display.
> The problem only occurs running the portlet maximized - in normal
> or customize
> context HelloVelocity works correct.
> 
> Any help greatly appreciated.
> 
>   gus
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Turbine & JetSpeed

2002-02-14 Thread Chris Kimpton

Hi,

For a crude pointer, jetspeed works "out of the box" - so the
TurbineResources.properties is configured to enable the services it
uses.

So look in this file.

It uses at least the db stuff, localisation, templates...

Chris

> -Original Message-
> From: Rajan Gupta [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 2:56 PM
> To: Jetspeed Users List
> Subject: Turbine & JetSpeed
> 
> 
> Is there a document/faq or any other link where I can understand
> the
> feature sets being used from Turbine in JetSpeed
> 
> Thanks in advance
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




How do I set global attributes from a portlet...

2002-02-12 Thread Chris Kimpton

Hi,

I have a simple (-ish) site that I am developing with Jetspeed, it
has several portlets, but only 1 is ever displayed at one time.

However the colors/look of the header changes according to which
portlet is being displayed...

I tried setting an entry in the context in the velocity portlet
action - but this does not seem to be in the context used by the
navigation vm's.

So - how should I do this?

I could set session attributes in the velocity portlet action, but I
guess this is being performed after the navigation vm's are built.

I could set the values in the session validator - which is probably
early enough, its just that I will then have an ugly if statement
working out which portlet to display and thus which color combos to
use...

Any ideas welcomed.

TIA,

Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Can I use Jetty instead of Tomcat for Jetspeed?

2002-02-12 Thread Chris Kimpton

Hello Irene,

--- Irene Huang <[EMAIL PROTECTED]> wrote:
> -
> I use Jetspeed 1.3a2, Jetty3.1.5, win XP,
> I followed the same set up instruction for Tomcat, and copied most
> of the
> jar file in jetspeed\lib to jetty\lib
> and set up the classpath in jetty.bat.
> but I put the Jetspeed folder(files deployed from jetspeed.war)
> under
> \webapps into \webapps
> Then I started Jetty, go to http://localhost:8080/jetspeed but it
> keeps
> loading forever...it just stuck ( I can still click to go other
> links on
> Jetty's default page)
> Is there something wrong for where I put the jetspeed folder? What
> and where
> exactly I need to put the Jetspeed so I can access it with Jetty?

I suggest you follow my instructions that I previously posted -
obviously something that you are doing is causing a problem - perhaps
because you put all the jetspeed jars into the jetty lib or did not
add the correct entry into the jetty demo.xml.  

> -
> 
> 
> I built the 'install' target in ant and then pointed Jetty at the
> webapp, as follows:
> 
> I added a webApp context into the default demo.xml file like this:
> 
> 
>   
> /jetspeed/*
> 
>
F:\cvslocal\jakartarw\jakarta-jetspeed\bin\webapp\jetspeed
>  default="."/>/etc/webdefault.xml
> false 
>   
> 
> 
> ---
> I add the same thing in /etc/demo.xml
> but I have \webapps\jetspeed 

fine.

> (I couldn't find a similiar dir like urs.)


Note the F:\ directory is where I have jetspeed installed - this will
change depending on how you have configured your system.


> 
> Is there someting wrong? I couldn't find webapp\jetspeed under
> \bin.

If you build the "install" target, then it creates the
webapp\jetspeed directory etc.


Just follow the steps from the earlier reply and if you get a
different thing happening, then let us know which step and what is
different and anything of note about the earlier steps.

In summary:

build the "install" target of jetspeed

copy xerces/xalan jars only into the jetty lib and add to its
classpath

add the WebApp entry into the jetty configuration file

start jetty.

HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Can I use Jetty instead of Tomcat for Jetspeed?

2002-02-09 Thread Chris Kimpton

Hi,

--- Irene Huang <[EMAIL PROTECTED]> wrote:
> Thank you for the link, I have download turbine-2.2b1.jar
> and set classpath in jetty.bat as:
> set CP=%CP%;%JETTY_HOME%\lib\turbine-2.2b1.jar
> 
> rebuild use Ant
> restart jetty
> 
> Howerver it still didn't work.
> Is there any more details about how to set up jetspeed with jetty?
> 

Exactly what does not work - Jetty does not start? Jetspeed/Turbine
is not found?  JSP fails? I will try it now and see if anything
obvious fails...

I will use Jetspeed from CVS and Jetty 3.1.5.

This is on WindowsXP (home)

I first started jetty by running jetty.bat from a command prompt in
the bin directory - that worked fine.

I built the 'install' target in ant and then pointed Jetty at the
webapp, as follows:

I added a webApp context into the default demo.xml file like this:


  
/jetspeed/*
   
F:\cvslocal\jakartarw\jakarta-jetspeed\bin\webapp\jetspeed
/etc/webdefault.xml
false 
  


This ran and gave me the Jetspeed homepage - but no portlets -
looking in the jetspeed log, I see xalan not found errors - which
usually means the xml parser is on the jetty classpath and is trying
to find the xalan jar - but its not visible as its inside the
jetspeed war...

So I copied the xalan jar into the jetty lib directory and amended
jetty.bat to use it (there is probably a better way to do this,
perhaps by disabling the global accessibility of the Jetty xml
parser...) - restarted jetty and I get further - but then one of the
homepage portlets uses the xerces parser directly...

So I copied the xerces jar over and added it to the jetty classpath -
as above.  I restarted and all seems to work - I get the anon front
page, the tabs works, I can login.  There are even the customize
controls when not logged in - yuck!

So - latest Jetspeed and Jetty work together - allowing for xml
parser tweakings...

Chris



=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Query on Multi-device support.

2002-01-23 Thread Chris Kimpton

Hi,

--- Vipul Lalka <[EMAIL PROTECTED]> wrote:
> Thanks a lot for your reply. I'll try it out with OpenWave 4.1. Can
> you tell
> me where you got the code for the stock-quote example? Or better
> still if
> you please can send me the code. I am completely new to this and am
> currently just evaluating JetSpeed among other things with WAP.
> 

The stock quote example comes with Jetspeed - look in the
conf/demo-portlets.xreg and the
WEB-INF/templates/vm/portlets/wml/stock-quote.vm

Have fun,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: https, jetspeed and turbine RawScreen's...

2001-12-19 Thread Chris Kimpton

Hi,

--- Michael Sallman <[EMAIL PROTECTED]> wrote:
> Chris,
> I have been trying to do the same thing (for over a year now), and
> I had
> come to the conclusion that it's a problem with IE (I've only tried
> it
> through Jetspeed, though).
> In trying to research the problem, I've run across a lot of similar
> problems which led me to that conclusion (problems with IE/PDF,
> Content
> headers vs. file extensions, problems with IE and https). Never the
> exact same problem, but similar.
> I finally resorted to adding a check-box to my page that would
> force IE
> to download the file, instead of trying to display it.

Could you provide some more detail on this solution, this seems like
it might be my best option...

> I'm sure there's a way to make it work correctly, I just got tired
> of
> fighting it.
> If you do figure it out, let me know :-)

I found out last night that I had the IE Security option "Do not save
encrypted pages to disk" switched off - which I don't think is the
default.  This seemed to allow the access to work in some cases. 
Turning this on meant that even my standalone servlet no longer
worked

Thanks,
Chris

> 
> Mike
> 
> Chris Kimpton wrote:
> > 
> > Hi,
> > 
> > This is probably a problem with my code, but just in case...
> > 
> > I have a turbine screen (extends RawScreen) that I use to return
> > documents, eg PDFs.
> > 
> > The screen just connects to a document server and reads in the
> bytes
> > and writes them out to the servlet response.  This works fine for
> > normal/non-secure/port 80/http connections.
> > 
> > but when I make tomcat run the portlet as a secure site,
> using
> > ssl, then IE gets an error downloading the document.  The rest of
> the
> > portlet seems to work fine through https.
> > 
> > Also, if I run the screen outside of jetspeed, just through
> turbine
> > with https - that also works too...
> > 
> > Also, if I use Opera to get the https document - it seems to be
> ok
> > too.
> > 
> > So, I guess (?) that there is something different with the
> headers
> > under Jetspeed - since the content seems ok with Opera.  This is
> the
> > line I am currently pursuing...
> > 
> > Anyone had anything similar - recognise a stupid mistake?
> > 
> > TIA,
> > Chris
> > 
> > =
> > Need somewhere to Live in London? - Then go to
> http://freeflats.com
> > 
> > __
> > Do You Yahoo!?
> > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > or bid at http://auctions.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




https, jetspeed and turbine RawScreen's...

2001-12-18 Thread Chris Kimpton

Hi,

This is probably a problem with my code, but just in case...

I have a turbine screen (extends RawScreen) that I use to return
documents, eg PDFs.  

The screen just connects to a document server and reads in the bytes
and writes them out to the servlet response.  This works fine for
normal/non-secure/port 80/http connections.

...but when I make tomcat run the portlet as a secure site, using
ssl, then IE gets an error downloading the document.  The rest of the
portlet seems to work fine through https.

Also, if I run the screen outside of jetspeed, just through turbine
with https - that also works too...

Also, if I use Opera to get the https document - it seems to be ok
too.

So, I guess (?) that there is something different with the headers
under Jetspeed - since the content seems ok with Opera.  This is the
line I am currently pursuing...

Anyone had anything similar - recognise a stupid mistake?

TIA,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Database settings moved!?

2001-12-13 Thread Chris Kimpton

Hi,

--- ICM S Op Guest 5 <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> it seems to me that the database settings which were normally
> stored in the TurbineResources.properties file are moved to the
> TurbineResources.velocity.
> 
> Is it right? 
> Why is this change, does the database settings more belong to
> velocity, I thought it was turbines part to do the authentication,
> db reading, ...?
> 

My understanding was that the TurbineResources.velocity file was just
a version of TurbineResources.properties that has velocity turned on
- although it is now the default anyway - so perhaps it is
redundant...

The DB settings should definitely be in TR.p !

Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Who changed this???

2001-12-05 Thread Chris Kimpton

Hi,

> 
> let me tell you - I AM VERY DISAPPOINTED!

Sounds like you are having a bad day - take a deep breath - count to
10.

> 
> I just installed Jetspeed, a nightly build, on my company computer
> and applied my patch (like I did with any new installation since
> 10/29/01).
> 
> Somebody has changed the customization completly. Now I have to
> start from the beginning... !?

When was the last time it worked?  Are you on the jetspeed-dev
mailing list?  ALL source code changes are mailed to that list, along
with the mandatory commit message.

> 
> - Logout seems to not work - when I logout from jetspeed and login
> again as a different user, I still have the old username on the
> 'edit account' button (and it is the previous account) - Had no
> problem with this in the 10/29/01 release!

Are you sure this is not a caching issue - perhaps your browser or
company proxy is returning the old page - the HTTP headers to direct
proxies on whether/how long to cache pages only recently went in -
about 4 weeks ago...

> 
> - When I click on the customization button everything is running
> fine - the first time! All other customization clicks are not going
> into the customization function - it looks like these pages are
> cached!
> It also looks like the administration of psml data (portlets/panes)
> is handled differently).

Browser or Proxy?

> 
> - Sometimes I receive a
> $jetspeed.getCustomizer($data.Customized).getContent($data) error
> (never had this before)
> 

This does happen occasionally for me - it might even be the bug in
bugzilla.  Feel free to track down the problem.

> - Confirmation mail doesn't work
> 

Can you be more specific?

> 
> - When you delete a user directory and you are loggin in using this
> username (still available in the db) than you will get an horrible
> exception when you try to customize your profile (which is clear,
> because these files doesn't exist) - so this should be checked by
> the JetspeedProfilerService (e.g. recreate the directory)
> 

I believe this is currently a bugzilla item.


Hope this helps,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: authenticated_user role doesn't exist

2001-11-30 Thread Chris Kimpton

Hi,

> 
> I am getting following error message when try to confirm the
> regestration
> process of new user.  Does anybody know why?? or had similar
> problem?  I am
> using Jetspeed 1.3a2 version.  

I think you mean 1.3a1.

This is a "known problem" - look on the archive for details.  To fix
it, I think you just need to create that role - are you using
hypersonic?  If so, just amend the jetspeed.script to add it in.

>I know that CVS version is more
> stable, but I
> am having hard time getting that version since we are inside of
> firewall.
> Does anybody know how to resolve below issue or get in to CVS  ???
> thanks,
> 

To get the version from CVS:

http://jakarta.apache.org/builds/jakarta-jetspeed/nightly/

Regards,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Jetspeed with VA java

2001-11-30 Thread Chris Kimpton

Hi,

Have you run it outside of VAJ?

These message look like what you get generally - the server is
accessing the web for portlet content.

Which web container are you using?  websphere in VAJ? have you tried
jetty or tomcat in VAJ?

Have fun,
Chris


--- Lance ZhangXD <[EMAIL PROTECTED]> wrote:
> Dear All,
> 
> I am trying to install JetSpeed in VA java after successfully
> installing it
> in Websphere 3.5. I saw a lot of output on my console screen like:
> 
> 
> : isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_xml.com_xml_xmlnews.rdf
> file=
> I:\jetspeed\web\WEB-INF\cache\http_xml.com_xml_xmlnews.rdf
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_java.apache.org_jetspeed_chan
> nels_apache.ocs file=
>
I:\jetspeed\web\WEB-INF\cache\http_java.apache.org_jetspeed_channels_apache.
> ocs
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_jakarta.apache.org_jetspeed_c
> hannels_jetspeed.rss file=
>
I:\jetspeed\web\WEB-INF\cache\http_jakarta.apache.org_jetspeed_channels_jets
> peed.rss
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_my.netscape.com_publish_forma
> ts_rss-0.91.dtd file=
>
I:\jetspeed\web\WEB-INF\cache\http_my.netscape.com_publish_formats_rss-0.91.
> dtd
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_www.mozilla.org_news.rdf
> file= I:\jetspeed\web\WEB-INF\cache\http_www.mozilla.org_news.rdf
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_www.apacheweek.com_issues_apa
> cheweek-headlines.xml file=
>
I:\jetspeed\web\WEB-INF\cache\http_www.apacheweek.com_issues_apacheweek-head
> lines.xml
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_www.slashdot.org_slashdot.rdf
> file=
> I:\jetspeed\web\WEB-INF\cache\http_www.slashdot.org_slashdot.rdf
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_java.apache.org_jetspeed_chan
> nels_turbine.rss file=
>
I:\jetspeed\web\WEB-INF\cache\http_java.apache.org_jetspeed_channels_turbine
> .rss
> DCE: isLocal:
>
url=file:///I:\jetspeed\web\WEB-INF\cache\http_jakarta.apache.org_jetspeed_c
> hannels_turbine.rss file=
>
I:\jetspeed\web\WEB-INF\cache\http_jakarta.apache.org_jetspeed_channels_turb
> ine.rss
> 
> Those output never stop.
> 
> And I am not able to even run the index.jsp. I also got an
> nullpointerexception in a FileWatcher class. Dose anyone have this
> kind the
> experience?
> 
> thanks/Lance
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Portlet jars

2001-11-30 Thread Chris Kimpton

Hi,

--- James Higginbotham <[EMAIL PROTECTED]> wrote:
> Is it possible to be able to jar a portlet and its supporting
> classes, ala a
> .war paradigm, and deploy them under a directory in Jetspeed? I
> haven't seen
> any docs on this, but was curious how dynamic your portlet
> components could
> be. If not, would this be something anyone would be interested in,
> so that
> others could share portlets with little hassle and maybe enough
> dynamic
> deployment.
> 

It was definitely discussed before - I think the suggestion was "par"
(portlet archive) files.  Its just finding the person with the "itch"
to add the feature...

I was thinking about this the other day - my first thought is that
where all the classloading/template/jsp/image/... loading occurs we
need to use a delegate classloader... but then this must be loads of
places - and I left it there... but feel free to have a look - I am
sure there would be a lot of interest.

Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: jetspeed-config

2001-11-27 Thread Chris Kimpton

Hi,

--- "Wilson, Bob" <[EMAIL PROTECTED]> wrote:
> Speaking of not needing jetspeed-conf.jcfg
> 
> I'm using nightly build 11-16-01 and I'm curious to know...do I
> need to
> download Velocity and install it to use with this latest build?  

Nope.

>I
> have
> never required it with prior versions before however now for some
> reason
> when I recompiled my personal portlets (eg. Hello World) and tried
> to add
> them...they show up in my portlets list BUT do not appear on my
> homepage
> once I have added them!?!?  Any ideas??  In order to use the latest
> builds
> what software/services do I need to have??  (Eg.  Ant, Velocity,
> Cocoon,
> etc.)

Java and tomcat - everything comes with in the jetspeed CVS.

If you are getting problems, it is possible that there is a bug or
that the core jetspeed has changed in a way that is not compatible
with your portlets... although I am not aware of any such changes to
the core jetspeed code.

> 
> I have created the local-portlets.xreg to add this registry and the
> class
> file resides in the TOMCAT_HOME/webapps/jetspeed/WEB-INF/classes
> directory.
> Looking in my jetspeed.log file I noticed that I'm getting (1) an
> ERROR
> Exception -- org.apache.jetspeed.portal.PortletException:
> PortletFactory:
> Unable to load class null 

This looks like your problem - it seems to fail to find your class -
doh.


and (2) DEBUG -- Exception while
> retireving
> attribute _display for portlet PortletSetCustomizer  ---
> java.lang.NullPointerException.  I'm not entirely sure exactly what
> these
> errors mean but I think they refer to Jetspeed not being able to
> see my
> HelloWorldPortlet.class file??  Is this correct?  Anyone know what
> I'm doing
> wrong?

This second one is a "known feature" - but its not a problem and can
be safely ignored.


HTH,
Chris

=
Need somewhere to Live in London? - Then go to http://freeflats.com

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




  1   2   >