Security, First User Problem

OK,

I’m just getting back in the game here after quite a few months.

I made a new project, went to security and dutifully followed the instructions to setup my new user with Admin group privs.

However, when I come out and try to go back in, the login never works. I figured out how to reset the users by blowing away the records in Servoy Users table, but even though I’ve tried numerous times, it never accepts my name and password after I create it.

I’m running:
Servoy Developer
Version R2 2.2rc1-build 319
Java version 1.4.2_06-b03 (Windows XP)

Thanks!

Lee Snover

Are you using modules? I had some problems with security and modules awhile back. They problem went away after I got 2.2rc2 though I don’t know if they fixed anything specific to security it is worth a shot:
http://anon.free.anonymizer.com/http:// … 1dd506c65e

bob cart:
Are you using modules? I had some problems with security and modules awhile back. They problem went away after I got 2.2rc2 though I don’t know if they fixed anything specific to security it is worth a shot:
http://anon.free.anonymizer.com/http:// … 1dd506c65e

Bob:

Nope, no modules, this is just a brand new test app. One table, one form.

Thanks,
Lee

are you sure you are creating a user/password let’s say bob/bob and add this one to the admin group?? So is the vink selected for this user in that group?

You have to have an admin user to go back into admin things.
You could make youre uses through the admin pages:
localhost:8080/servoy-admin

My guess is that you didn’t check the checkbox of the newly created user (admin). So it’s not active.

To fix this read this thread

ROCLASI:
My guess is that you didn’t check the checkbox of the newly created user (admin). So it’s not active.

To fix this read this thread

Guys, I’ve done it multiple times, with a very simple name and password. I have the “checkbox” checked on the name before hitting the Apply button.

Thanks,
Lee Snover

and if you try it through the admin pages?

jcompagner:
and if you try it through the admin pages?

Johan:

Not far enough along to know what you mean by the “Admin Pages”.

Thanks,
Lee Snover

leesnover:

jcompagner:
and if you try it through the admin pages?

Johan:

Not far enough along to know what you mean by the “Admin Pages”.

Thanks,
Lee Snover

Point your webbrowser to http://YourServoyServerIP:8080/servoy-admin/

ROCLASI:

leesnover:

jcompagner:
and if you try it through the admin pages?

Johan:

Not far enough along to know what you mean by the “Admin Pages”.

Thanks,
Lee Snover

Point your webbrowser to http://YourServoyServerIP:8080/servoy-admin/

Robert:

I’m only running Developer, not server. I tried to login to this page from my machine, but it is not allowing me to connect.

I had an older demo on this before and had some problems wiht this because I have Oracle 10 installed on the same machine. I don’t recall what I had to do to get it working, as it was over a year ago.

Regards,
Lee Snover

don’t you have the http service enabled? (see preference panel)
A developer is just as a server. Clients can connect to it just as they do to a server.

jcompagner:
don’t you have the http service enabled? (see preference panel)
A developer is just as a server. Clients can connect to it just as they do to a server.

I went to the Preferences, Services Panel, and hit the “TEST” button, and it said the HTML server was not running. What do I need to do to start it?

Thanks,
Lee SNover

Is “Start Data and HTTP service in this developer” also checked?

patrick:
Is “Start Data and HTTP service in this developer” also checked?

Yes, I believe there may a port conflict of some kind with Oracle. One of the folks from Servoy helped me at Devcon, and edited a parameter file to get it working if I recall. Unfortunately, I blew that installation away when I put the latest version on.

Thanks,
Lee

try another port (default is 8080) so set it on 9090 or something like that.

jcompagner:
try another port (default is 8080) so set it on 9090 or something like that.

Johan:

I tried that, 8110 actually, and it did not make a difference. I’m not quite sure how to diagnose and solve the problem.

Thanks,
Lee Snover

don’t you get any error?
I would love to see what kind of error you get when starting

You could also try to alter another port number
it is in the dir: servoy\server\conf
and then in the server.xml

there you see something like:

className=“org.apache.catalina.connector.warp.WarpConnector”
port=“8008”

Maybe that port is 8009 at youre place or something like that.
Also set that port to another one. (add or substract one)

Besides that do you have firewall running on that machine?

jcompagner:
don’t you get any error?
I would love to see what kind of error you get when starting

You could also try to alter another port number
it is in the dir: servoy\server\conf
and then in the server.xml

there you see something like:

className=“org.apache.catalina.connector.warp.WarpConnector”
port=“8008”

Maybe that port is 8009 at youre place or something like that.
Also set that port to another one. (add or substract one)

Besides that do you have firewall running on that machine?

Johan:

I was able to get this running on one machine with Oracle 9 installed by using port 9090. On my machine with Oracle 10g, this did not work. I changed the Server config. file in both places the same way.

I do not get any errors, and when I use the TEST button in the Preferences panel, it just says HTTP Server not running.

Where can I check for these errors?

At least I have it running on one machine, though I would like to get it working on my machine with Oracle 10, as that’s my primary development box.

Thanks for your assistance.

Regards,
Lee Snover