Skip to Content
0
Former Member
Feb 10, 2006 at 12:05 AM

Server down after deploying Repository Service

14 Views

Hi,

I am trying to play around with repository services.

I created a repository service and then added it to a repository manager.

Now when I try to restart the EP server, it reaches max mem level, shows CPU usage as 100%, does not come up.

Could it be due to the repository service that I have written, I am thinking by mistake i might have an infinite loop in it.

Here is a section of code for repository service -

protected void startUpImpl(Collection repositoryManagers)

throws ConfigurationException, StartupException {

/*

try {

}

catch (Exception e) {

throw new StartupException(e.getMessage(), e);

}

*/

this.repositoryManagers = repositoryManagers;

Iterator it = repositoryManagers.iterator();

while (it.hasNext())

{

try {

if (it.toString().equals("/demo"))

addRepositoryAssignment((IRepositoryManager) it.next());

} catch (ServiceNotAvailableException e)

{

e.printStackTrace();

}

}

}

Can anyone please help me with it.

Any hints will be helpfull.

Thanks,

Vivek