Re: Deployment on Centos 6 (Gino Pacitti)
Re: Deployment on Centos 6 (Gino Pacitti)
- Subject: Re: Deployment on Centos 6 (Gino Pacitti)
- From: Robert Hanviriyapunt <email@hidden>
- Date: Mon, 21 May 2018 10:04:58 -0500
I just had the same issue a few weeks back. I fixed it by making sure the host
is defined as the name defined on the machine. I copied the name from the
output of:
uname -n
Hope this helps.
= Robert =
STILL LOVE WEBO! AND WONDER!
// Don’t really projects.isActive qualifier, just here for WEBO/WONDER coding
example
ERXAndQualifier qualifier = //
User.PROJECTS.dot( Project.IS_ACTIVE ).eq( true ) //
.and( User.CLUE.greaterThan( 0 ) );
// Don’t really need the sort, just here for WEBO/WONDER coding example
ERXSortOrderings sortOrderings = //
User.FULL_NAME.asc() //
.then( User.USERNAME.asc() );
// Don’t really need to fetch the array, just here for WEBO/WONDER coding
example
NSArray<User> users = User.fetchUsers( editingContext, qualifier, sortOrderings
);
System.out.println( users.count() );
Original SQL:
select count(*) from user where clue > 0;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden