Surely sendmail reeled when thusly spake Geert Bevin:
>
> The init parameters of the servlet are automatically aggregated into  
> the properties or the repository, and thus also those of the elements.

Unfortunately I am seeing some VERY odd interaction btwn Rep startup 
and Tomcat.

I am making a number of Rep API calls in order to try to retrieve the 
value of the attribute I want from the ServletContext, and also dump 
other info. 

When I run this code in my subclass of BlockingParticipant:

        System.out.println("##########################################");
        System.out.println("# ParticipantWA.initialize(): running... #");
        System.out.println("##########################################");
        System.out.println ("parameter:  " + getParameter());
        System.out.println ("threadName: " + getName());
        System.out.println ("dfltObject: " + getObject().toString()); 
        List LL = getObjects();
        System.out.println ("Objects: nr: " + LL.size()); 
        for (Object o : LL)
                System.out.println ("Object: " + o.toString());

the last items written to the Tomcat logfile are these: 

        ##########################################
        # ParticipantWA.initialize(): running... #
        ##########################################
        parameter: null

and then my app HANGS. 

When I recode it like this, to try to fetch the "default object" first:

        System.out.println("##########################################");
        System.out.println("# ParticipantWA.initialize(): running... #");
        System.out.println("##########################################");
        //System.out.println ("parameter:  " + getParameter());
        System.out.println ("dfltObject: " + getObject().toString()); 
        System.out.println ("threadName: " + getName());
        List LL = getObjects();
        System.out.println ("Objects: nr: " + LL.size()); 
        for (Object o : LL)
                System.out.println ("Object: " + o.toString());

it logs this:

        ##########################################
        # ParticipantWA.initialize(): running... #
        ##########################################

and hangs.

This tells me that some of these Rep calls are interfering with the runtime.
For whatever reason, certain API calls appear to throw a wrench in the works.

Can anyone explain what is going on here, and how to work around it ?

BTW it's not a problem with disk space.


thx

fred

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to