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

Ask Your Question

jbilder's profile - activity

2020-03-19 15:28:49 -0500 received badge  Famous Question (source)
2020-03-19 15:28:49 -0500 received badge  Notable Question (source)
2020-03-19 15:28:49 -0500 received badge  Popular Question (source)
2016-02-15 03:44:57 -0500 received badge  Notable Question (source)
2016-02-15 03:44:57 -0500 received badge  Famous Question (source)
2014-09-24 03:01:44 -0500 received badge  Popular Question (source)
2008-12-01 10:26:00 -0500 asked a question SQLQuery in read() always sorts null values first

Hi,

When I run this query in the space browser of the GigaSpaces Management Center:

select uid,* from Unit where location = '01' and customer = '6031' order by unitModel desc

Rows with a null value in unitModel always display first regardless of the (desc/asc) in the order by clause.

Is there a way to control this behavior? I would like null values to always sort lowest (first if asc/ last if desc).

Thanks, Jackie

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

2008-11-14 13:03:13 -0500 commented answer How to remove default administrator user gsadmin?

Shay,

I added the parent config directory to my classpath and also the GigaSpaces install directory is in the classpath. I started the GSM and GSCs but was still able to log in with both gsadmin and comfinadmin.

So I set my variables in my environment and called gsm.bat and gsc.bat directly. It still allows me to login as both gsadmin and comfinadmin.

I changed the gsadmin user password. When I close my GSM/GSC and restart, the new gsadmin password is required.

I would welcome any other suggestions that you have. Otherwise, I will have to resort to just changing the gsadmin password to secure my space.

Thanks, Jackie

2008-11-14 09:29:48 -0500 commented answer How to remove default administrator user gsadmin?

I am able to use the Manage Users dialog with both logins.

I start the GSM with this command:
@call "%JSHOMEDIR%\bin\gs.bat" start startLH startGSM

I start the GSC with this command:
start %JSHOMEDIR%\bin\gsc.bat

Where %JSHOMEDIR$ is the install directory for GigaSpaces 6.6.1.

I will try explicitly putting the file in the classpath.

Thanks,
Jackie

2008-11-14 08:06:47 -0500 commented answer How to remove default administrator user gsadmin?

Shay,

Thank you for your response.

The file default-container-schema.xml did get created in the config/schemas directory. The file has these two lines in it with my admin user id: <admin-password>qP9y9qopW9XGq76eYmJ0LA==</admin-password> <admin-name>comfinadmin</admin-name>

How do I verify that this file is used at startup? Is there a property I need to set?

Thanks, Jackie

2008-11-13 09:59:49 -0500 asked a question How to remove default administrator user gsadmin?

I want to setup a new administrator user and remove the gsadmin user from my GigaSpaces installation.

I tried the following steps, but I cannot permanently remove the gsadmin user:

Started up the GSM and two GSC. I started up the GS UI Management Center. On each container and the GSM using the 'Manage Users' dialog, I added a new user 'comfinadmin' and gave that user 'Admin' permission. I ran 'gs.bat admin userAdmin default' to assign 'comfinadmin' as the administrator user. Next using the 'Manage Users' dialog, I deleted the 'gsadmin' user from the list for each container and gsm. I clicked 'Exit' from the Management center. I reopened the Management Center and verified that I must login as 'comfinadmin' to access the container/GSM. I clicked 'Exit' from the Management center again. I closed all the GSC and GSM processes. I restarted the GSM and GSC and the UI Management Center. In the Management Center, I am able to login as 'gsadmin' and access the container. The 'gsadmin' user is listed on the 'Manage Users' dialog again even though I deleted it before.

I must be missing a step. How do I remove the 'gsadmin' user?

Thanks, Jackie

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