Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Startup slow

I've setup a launch configuration to run an IntegratedProcessingUnitContainer, but what happens on startup is that for around 5 minutes it does nothing, and then suddenly starts (to be exact: the javaw.exe is launched 1:44:31, the first logging output is 1:50:52). Then, within seconds, it starts webster, reggie, and the spaces configured.

The only "out of the ordinary" setting is "-Dcom.gs.jini_lus.groups=L-LWR308207" - we're working in a workgroup of laptops and constantly messing around in each other's dev environment is messy :)

What could be causing this?

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2995]{quote}

asked 2009-04-03 06:57:22 -0500

cdegroot gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Is this windows or linux?
How your hosts file looks like?
Do you have antivirus installed?

Make sure the hosts file includes the machine IP and all the machine can really ping each other.
Please disable antivirus sw running on the space machine or any windows network security.

If you need different space for each environment I suggest using different space names and not different groups.

This how you can use unicast discovery and not multicast discovery.

Remember the lookup groups is ignored with unicast discovery mode.

Shay

answered 2009-04-03 07:08:03 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Never mind, Shay - the pu had a mirror space definition, but my local VMware that runs MySQL was not running. Still strange that it takes a full five minutes to find that out...

With MySQL present, startup takes 5 secs :)

cdegroot gravatar imagecdegroot ( 2009-04-03 07:37:36 -0500 )edit

So you might want to change the database connection timeout to have shorter value.

Shay

shay hassidim gravatar imageshay hassidim ( 2009-04-03 14:42:00 -0500 )edit

We just junked the whole persistence definition in the PU. YAGNI - the business hasn't yet added a requirement that data needs to survive between restarts ;-)

cdegroot gravatar imagecdegroot ( 2009-04-08 10:13:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-04-03 06:57:22 -0500

Seen: 35 times

Last updated: Apr 03 '09