You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Philip Mark Donaghy <ph...@gmail.com> on 2006/05/16 00:29:44 UTC

Demo portlets not registered, SQL error

Is anyone else getting this error while starting Jetspeed from the
latest source?

"Column 'MAPPED_NAME'  cannot accept a NULL value"

All of the demo portlets are unavailable to me.

The files registry-schema.sql and registry-schema.xml seem to be out
of sync. The torque xml seems to declare them nullable yet the sql is
generated(?) with 'NOT NULL'.

./etc/sql/derby/schema/registry-schema.sql:    MAPPED_NAME
VARCHAR(150) NOT NULL,
./etc/sql/derby/schema/registry-schema.sql:    MAPPED_NAME
VARCHAR(150) NOT NULL,

./etc/schema/registry-schema.xml:        <column name="MAPPED_NAME"
size="150" type="VARCHAR"/>
./etc/schema/registry-schema.xml:        <column name="MAPPED_NAME"
size="150" type="VARCHAR"/>

-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Demo portlets not registered, SQL error

Posted by David Sean Taylor <da...@bluesunrise.com>.
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/etc/sql/derby/schema/registry-schema.sql?rev=406820&r1=406819&r2=406820&view=diff

Jian Liao wrote:
> I encounter this problem, too. it seems that it is caused by a incomplete
> feature which is used to support customer portlet mode and window state. 
> The
> work around is that comment out the following line in
> $SRC_ROOT/applications/demo/src/webapp/WEB-INF/portlet.xml:
> 
> <custom-portlet-mode>
>    <name>print</name>
>    <description>a Custom Print Mode</description>
> </custom-portlet-mode>
> 
> thanks,
> - Jian Liao
> 
> On 5/16/06, Jacek Wiślicki <ja...@gmail.com> wrote:
> 
>>
>> Wiadomosc od Philip Mark Donaghy z 2006-05-16 00:29 brzmiala:
>>
>> > Is anyone else getting this error while starting Jetspeed from the
>> > latest source?
>> >
>> > "Column 'MAPPED_NAME'  cannot accept a NULL value"
>> >
>> > All of the demo portlets are unavailable to me.
>> The error is in registry-schema.sql.
>>
>> -- 
>> pozdrawiam,
>>      Jacek Wislicki
>>
>> jacek.wislicki@gmail.com
>> tel.: +48 502 408 444
>> gg: 2540358
>> skype: jacek_wislicki
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>>
>>
> 
> 


-- 
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Demo portlets not registered, SQL error

Posted by Jian Liao <ji...@gmail.com>.
I encounter this problem, too. it seems that it is caused by a incomplete
feature which is used to support customer portlet mode and window state. The
work around is that comment out the following line in
$SRC_ROOT/applications/demo/src/webapp/WEB-INF/portlet.xml:

<custom-portlet-mode>
    <name>print</name>
    <description>a Custom Print Mode</description>
</custom-portlet-mode>

thanks,
- Jian Liao

On 5/16/06, Jacek Wiślicki <ja...@gmail.com> wrote:
>
> Wiadomosc od Philip Mark Donaghy z 2006-05-16 00:29 brzmiala:
>
> > Is anyone else getting this error while starting Jetspeed from the
> > latest source?
> >
> > "Column 'MAPPED_NAME'  cannot accept a NULL value"
> >
> > All of the demo portlets are unavailable to me.
> The error is in registry-schema.sql.
>
> --
> pozdrawiam,
>      Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>


-- 
thanks,
- Jian Liao

Re: Demo portlets not registered, SQL error

Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Philip Mark Donaghy z 2006-05-16 00:29 brzmiala:

> Is anyone else getting this error while starting Jetspeed from the
> latest source?
> 
> "Column 'MAPPED_NAME'  cannot accept a NULL value"
> 
> All of the demo portlets are unavailable to me.
The error is in registry-schema.sql.

-- 
pozdrawiam,
     Jacek Wislicki

jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org