I would like to know if its possible to instance a global service propety within a service impletation class?
So far I’ve followed the same pattern being used to instance the DAO property, that means including the bean reference inside the bean definition of the targeted class.
In this example I’m trying to instance a property type messageLogService inside DermaAnnotationImpl. I also defined the setters for the property msgLogService and I don’t have any warnings on my IDE.
The problem I’m having at the moment, occurs during the server initialization and it freezes on this line…
Then it’s another issue you are dealing with here, how long do you wait? It just takes a while but never hangs forever, you might have to wait long enough so you can look at the logs in case it eventually fails to catch the culprit.
Do you have a unit test where you call your service? Otherwise if you’re running the application it can be tough to zero down on the issue especially if you have several other modules installed.
I just got the basically for the server Reference application 2.8 and my own module, I had the server froze about 15min, and it didn’t seemed to bypass that message, do you know what causes the server to “freeze” like this?
Even so i don’t got unit test, the last time I was stuck like this, the solution was changing the API classes for hibernate version 4 to version 3 to stop using bean annotations for the module classes
Typically class loading issues cause that delay, and I still urge you to let it stay running, it will eventually stop, I’ve seen longer delays than that before, you got to wait for the failure logs to trace the issue.