The variable and the static variable print as null for me when I start up.
So you might want to check your call to the other library.

To save a role you need to set the creator manually.  Try calling
role.setCreator() to the daemon user (or the user with id = 1)

Ben

On Thu, Oct 13, 2011 at 8:05 PM, Juan David <[email protected]> wrote:

> Hi,
>
> How  do I know which version I am using, I think I am using 1.7.1-dev from
> build.properties file.
>
> I worked it around creating a route module/radiologymodule/init.form that
> calls
> a function called start(), this function is also called by
> Activator.startup()
> (Activator extends BaseModuleActivator)
>
> start():
>
> 1. Starts 2 DICOM servers
> 2. Creates a radiology order type
> 3. Creates roles defined in a class in my module
>
> 2 and 3 works with the init.form route, but I am having some issues yet:
>
> A. How can get references to the 2 DICOM servers, to stop them when I want.
> I am trying to solve this with a class with static fields and assigning
> them in
> start(), in start() the 2 references are good but when I print them in
> console
> (using a controller that just print, to test) they are null.
> B. Make 2 and 3 work with startup(), because just work with init.form route
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to