Re: Postgresql localhost connection url?

2014-03-03 Thread Kevin Spake
Yes, it was the colon. I can't believe I missed that. Of course, something tells me that's not the last time I'm going to say that to myself. Thanks, Kevin On Mar 2, 2014, at 10:14 PM, Theodore Petrosky wrote: jdbc:postgresql://localhost/5433/wonderbook if you want to include a port

Re: Flattened to-one relationship problems

2014-03-03 Thread Ray Kiddy
On Sun, 02 Mar 2014 16:05:26 +0100 Jean Pierre Malrieu jp.malr...@free.fr wrote: Actually I think I solved the problem by using the relationship keypath in the qualifier: if ( cd.toOneRelationshipKeys().contains(sv1)) { EORelationship relation1 = entity.relationshipNamed(sv1);

Starting second instance=app not available

2014-03-03 Thread Jeffrey Schmitz
Hello, Here's one I don't think I've seen. When I start a second instance on my server (mac OS Maverick Server), I start getting app not avaliable errors. Even if I try to get to the original instance directly through the url (append /1), I still get app not available. If I then set the

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
Do a Sudo jstack –F process ID On the instances when this happens. My guess is that they are contending for a resource and neither is able to process requests. Deadlock would be my guess, maybe the wrong isolation level on the DB connection? This then gets escalated to dead and mis-reported

Re: Starting second instance=app not available

2014-03-03 Thread Jeffrey Schmitz
Will have to wait until later tonight when things quiet down for the jstack command I do have another server setup with the same load that serves a different site and that is functioning fine. Would I see any stack traces if it's deadlock? I'm not seeing anything in any of the log files.

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
On 2014-03-03, 5:49 PM, Jeffrey Schmitz wrote: Will have to wait until later tonight when things quiet down for the jstack command I do have another server setup with the same load that serves a different site and that is functioning fine. Something is different. :-) Would I see any

Re: Starting second instance=app not available

2014-03-03 Thread Jeffrey Schmitz
Thought I'd do a jstack on the instance that is out there, so I looked for its process ID with: ps aux | grep netBrackets And 2 processes showed up with that name even though only one is showing in javamonitor?!? root36486 0.0 0.0 2490648 3200 ?? SSun02PM 0:00.09

Re: Starting second instance=app not available

2014-03-03 Thread Chuck Hill
On 2014-03-03, 6:20 PM, Jeffrey Schmitz wrote: Thought I'd do a jstack on the instance that is out there, so I looked for its process ID with: ps aux | grep netBrackets Probably one is JavaMonitor or something. Try ps auxwww | grep netBrackets And 2 processes showed up with that name even