I finally got the ToDoList portlet working when I inserted the tables in
the default database.

Michael Dalton

-----Original Message-----
From: Richard Berger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 12:03 PM
To: Jetspeed Users List
Subject: RE: ToDo list portlet


Hmmmm.... I thought that I had posted my findings on this earlier, but I
can't seem to find that anywhere.  I was able to get the todolist
portlet working, but only when I inserted those tables in the default
database.  Did you put your tables into the "default" database, or did
you choose a different database?

Good luck,
RB 

Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not
necessarily those of Action Technologies, Inc. or its employees or its
affiliates. 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 6:52 AM
To: [EMAIL PROTECTED]
Subject: ToDo list portlet

I am attempting to configure Cone's To Do List portlet with jetspeed and
mySQL.

I created the todolist database with all the 4 tables (PORTAL_TODOLIST,
PORTAL_TODOLIST_USER, PORTAL_TODOLIST_GROUP, PORTAL_TODOLIST_CATEGORY)
following the suggestion make by  karthikeyan
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg10965.h
tml)
in a precedent post.

I build the todolist portlet without having problems and i copied the 2
dir "img" and "WEB-INF" in the jetspeed-dir under tomkat webapps.

I select the portlet in the customizer but when i try to click the
"insert item" link nothing appens.

Here i post part of my jetspeed.log file

..

       [Thread-21] ERROR GenericMVCPortlet - GenericMVCPortlet - error
executing action
java.lang.NullPointerException: Connection object was null. This could
be due to a misconfiguration of the DataSourceFactory. Check the logs
and Torque.properties to better determine the cause.
        at
org.apache.torque.util.Transaction.rollback(Transaction.java:179)
        at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1333)
        at
org.apache.jetspeed.om.todolist.BasePortalTodolistPeer.doSelectVillageRe
cords(BasePortalTodolistPeer.java:471)
        at
org.apache.jetspeed.om.todolist.BasePortalTodolistPeer.doSelectVillageRe
cords(BasePortalTodolistPeer.java:406)
        at
org.apache.jetspeed.om.todolist.BasePortalTodolistPeer.doSelect(BasePort
alTodolistPeer.java:375)
        at
org.apache.jetspeed.modules.actions.portlets.todolist.ToDoListPortletbui
ldNormalContext(ToDoListPortlet.java:221)
        at
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction.build
NormalContext(VelocityPortletAction.java:112)
        at
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction.doPerform(
GenericMVCAction.java:208)
        at
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction.perform(Ge
nericMVCAction.java:165)
        at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
        at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.buildContent(Gener
icMVCPortlet.java:293)
        at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.getContent(Generic
MVCPortlet.java:224)
        at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(P
ortletWrapper.java:157)
        at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        
...

Could someone help me??
Regards,
Diego.

__________________________________________________________________
Tiscali ADSL SENZA CANONE:
Attivazione GRATIS, contributo adesione GRATIS, modem GRATIS, 50 ore di
navigazione GRATIS.  ABBONARTI TI COSTA SOLO UN CLICK!
http://point.tiscali.it/adsl/index.shtml

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

Reply via email to