Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,609
Community Members
 
Community Events
177
Community Groups

Unable to restart crowd

i was trying to integrate crowd with jira and login was failing for one of the users(present in jira) for crowd. Then crowd went into a hung state and page was not loading. So i ran stop_crowd.bat and then start_crowd.bat but am still getting connection timed out error in browser. Please help! I do not see any errors in crowd log file.

3 answers

1 accepted

0 votes
Answer accepted

There was an issue with my database where one of the processes was locked so i had to kill it manually. MSSQL db gave java.lang.InterruptedException and so i was not able to login to crowd using admin credentials as well. Now my issue is fixed.

0 votes

Based on the error message about not being able to clean the cache directory, I would guess that the c:\crowd-home\caches\felix directory is not writable by the Crowd process. But that's just a guess.

For this kind of "my Crowd is completely broken and it's spewing out errors in the logs" situation, you are probably best off raising a support issue at https://support.atlassian.comso that our friendly support team can get your full logs and help you troubleshoot, especially if this is a production instance.

Am still evaluating crowd so am not sure if i can get support to answer my queries. I also found this error in tomcat logs

Caused by: java.net.BindException: Address already in use: JVM_Bind

I tried to see if there is any process using that port using netstat -aon but did not find any process using that port. Am not sure what is going on. Should i consider reinstalling crowd?

Ah, evaluating Crowd makes things more difficult.

That JVM_Bind error means there's another process listening on Crowd's port (8095). Most likely that means that there's a Crowd already running, so I would try to stop all the Crowd instances. If by some chance you've stopped all the Crowd instances and you still get that error, then typing netstat -aon should list which ports are in use by which processes, and then you can kill those processes.

After you've stopped anything listening on port 8095, then yes, reinstalling Crowd is probably a good idea. Make sure the user which will be running Crowd will be able to write to the crowd.home directory which you configure.

After i stopped and started crowd, am getting the following error in logs

2014-06-02 00:09:12,627 localhost-startStop-1 ERROR [springframework.web.context.ContextLoader] Context initialization failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'propertyDao' defined in class path resource [applicationContext-CrowdDAO.xml]: Unsatisfied dependency expressed through bean property 'batchFinder': : Error creating bean with name 'directoryPluginLoader' defined in class path resource [applicationContext-CrowdPlugins.xml]: Cannot resolve reference to bean 'osgiPluginFactory' while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'osgiPluginFactory' defined in class path resource [applicationContext-CrowdPlugins.xml]: Cannot resolve reference to bean 'osgiPersistentCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'osgiPersistentCache': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: c:\crowd-home\caches\felix; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'directoryPluginLoader' defined in class path resource [applicationContext-CrowdPlugins.xml]: Cannot resolve reference to bean 'osgiPersistentCache' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'osgiPersistentCache': FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: c:\crowd-home\caches\felix

Any suggestions to fix this issue?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events