windows server 2003 64bit and 32bit

hi!

I have installed servoy and bundled postgresql9 in windows server2003 64bit. I am trying to copy the application server folder into a windows server 32 bit and when i run the database manually

postgres_db\bin\pg_ctl start -D database -l postgres_db\postgres_log.txt

it says :

The system cannot execute the specified program.

64bit just won’t run on 32bit.
I suggest you take the proper way and do a normal install on the 32bit.

Note that you can’t even take the PG data folder and copy that.
To move the DB: create a full backup and do a restore on the 32bit machine.

mboegem:
64bit just won’t run on 32bit.
I suggest you take the proper way and do a normal install on the 32bit.

Note that you can’t even take the PG data folder and copy that.
To move the DB: create a full backup and do a restore on the 32bit machine.

Why not? Does servoy install differently in 64 and 32bit?
Does this mean that if you install in 32bit, it will not work with 64bit?

mboegem:
64bit just won’t run on 32bit.
I suggest you take the proper way and do a normal install on the 32bit.

Note that you can’t even take the PG data folder and copy that.
To move the DB: create a full backup and do a restore on the 32bit machine.

Hi Marc,

What we are trying to achieve is create our Servoy application installer and get it running on both 32 and 64 bit architectures.
The installer just extracts Servoy folder will all its contents including the bundled database.

When the installer was compiled in a 64bit environment and then run on a 32bit machine, the installation could not start the repository.
Before we do all sorts of testing, are we missing any configuration settings for the server or database that prevent us from running Servoy on both architectures?

Cheers,
Maria

then take a 32bit as the base, because 32bit will run on 64 bit but not the other way around

i guess you are creating an installer of your own just for windows then?

Also we are generating the database right on that system you install it on, so i don’t think copying the database files of postgresql is a good idea.

jcompagner:
Also we are generating the database right on that system you install it on.

What do you mean? Can you please elaborate? Thanks!

just like i said, we don’t copy the db of postgresql when you do an install
We generate it, we call initdb or something like that.
Its not that the default database files are already in the installer… thats all on the fly generated by the installer.

jcompagner:
just like i said, we don’t copy the db of postgresql when you do an install
We generate it, we call initdb or something like that.
Its not that the default database files are already in the installer… thats all on the fly generated by the installer.

Is it possible to build our own installer(using izpack) that contains the following steps.

  1. automated script of installing the application server. is the servoy-izpack installer open-source? i have izpack installed on my machine.
  2. create database connections. how does servoy encrypt the password to save in servoy.properties? if i choose connect to existing database, the driver available to me is postgresl only. i needed to run developer and connect to existing database to have the entries(driver,url,username,password)
  3. add in plugins and sign them
  4. automate importing the solution. is this possible?

thanks!

rogel:

jcompagner:
just like i said, we don’t copy the db of postgresql when you do an install
We generate it, we call initdb or something like that.
Its not that the default database files are already in the installer… thats all on the fly generated by the installer.

Is it possible to build our own installer(using izpack) that contains the following steps.

  1. automated script of installing the application server. is the servoy-izpack installer open-source? i have izpack installed on my machine.
  2. create database connections. how does servoy encrypt the password to save in servoy.properties? if i choose connect to existing database, the driver available to me is postgresl only. i needed to run developer and connect to existing database to have the entries(driver,url,username,password)
  3. add in plugins and sign them
  4. automate importing the solution. is this possible?

thanks!

The Servoy installer is not intended to be used like this. Servoy installer is not open source at this point. I guess what you say here is possible (one way or another) but not recommended.