Skip to Content
Former Member
Jan 28, 2010 at 09:38 AM

portal service getting "null" after server restart & sometimes randomly



We have a portal service running on our portal. It's a simple portal service exposing a few methods.

Everything works fine when i deployed the dc [_DC Type_: Portal application standalone (Packed in SDA) ].

1) But if the server is restarted, and we try to access this portal service, we get NULL exception. It works fine if re-deploy DC again.

2) And sometimes, this occurs even if the server isn't restarted.

I have given startup property in the portalapp.xml

Plz find below the portalapp.xml

<?xml version="1.0" encoding="UTF-8"?>
    <property name="SharingReference" value=""/>
    <property name="startup" value="true"/>
    <property name="PrivateSharingReference" value=""/>
    <service name="MyDataService">
        <property name="className" value="com.pkg1.MyDataService"/>
        <property name="startup" value="true"/>

It would be great if anyone can help!

Thank you.