1. Jochen Peters
  2. Valentina Reports ADK
  3. Donnerstag, Juli 07 2016, 05:01 PM
  4.  Abonnieren via E-Mail
And what's the difference?

This is for my apps deployed to web server.

Thanks

Rich
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Hi Richard,

DEB and RPM is just different formats of linux installer. You can find easy description of DEB/RPM on google.

Both are the same V4RB x64.

I think you was going to ask about difference between 32 and 64 bit archives of V4RB for linux,.
when which to install.

May be specify
1) which linux you are using
2) which Xojo IDE
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Richard,

Right, these packages are for different Linux package managers - dpkg or rpm.

Each Linux distribution has one or more package managers.

DEB format is usually used on Ubuntu and Debian.
RPM - on Red Hat, Fedora, CentOS, OpenSUSE
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
I'm using Xojo Mac to create Web apps, It's been a while but how do you deploy the report adk with a web app?

Thanks
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
The easiest way is to copy your compiled application and install V4RB ADK on Linux.

Which package to install - depends on Linux distribution.
So what Linux are you using?
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
aha, exists only V4RB x64 archives currently.
There is no any 32-bit archives.
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
I don't remember having our hosting company install anything. Can't I just include something in the application directory? I just looked in the Directory of the only app that is using it and there is a file named: v4rb.so? Is that not the Valentina Report adk?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
v4rb.so is not enough, it is necessary to have also vcomponents folder.
It should be copied to the application folder.

vcomponents for linux are distributed in the DEB and RPM packages, so usually it is necessary to have linux to get it.
However, there is an option to do it on OS X.
Don't you have linux to extract vcomponents?
Kommentar
There are no comments made yet.
Rene Landscheidt Akzeptierte Antwort
Hello,

like the others say. RPM or DEB ar the same just target Different Linux Distributions.

you could deploy the vcomponents and vresources folder a a sub folder in your web app.

The Question remains if the WebApp would even run. Most (Shared) Hosting Companies dont have all the required librarys on the Servers witch would have to be installed on the server to run the Xojo WebApp.
Most People use a Dedicated Server for this - in witch case you can install all the librarys you need.
You could try Asking your Hosting Company if they would install the required librarys - in witch case they should also be able too install the Valentina ADK/RDK.

Best Regrads,

René Landscheidt
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
We have our own VPS so I can do anything.

If I put the necessay files in the app's directory, then I would not have to worry if a new version of the adk came out as what ever version I deploy the app with is the one that will run.

Also do I use 32 or 64 bit?

I will defer to you guys as to what would be the best course to take.

Thanks
Kommentar
There are no comments made yet.
Rene Landscheidt Akzeptierte Antwort
Hello,

OK. That's what wasn't clear.

You could create yourself a Linux VM on your MAC (Install the RDK and copy the Files from there). The ADK/RDK "Installer" is 64Bit only - you would hav to install to a 64Bit OS. It has both File Parts for 64Bit and 32Bit (vcomponents).

Most VPS are 64Bits. So a 64Bit WebApp would make installing the required dependencys easier. Because intslling the 32Bit dependencys on a 64Bit OS can be a pain in the a.. ;) (for Xojo Apps). You should check out Xojo System Requirements. PS: Point is: if Youre Server-OS is CentO7 (and Up) or Ubuntu 14.04 (and UP) you should Create a 64Bit Application else for Example for CentOS 6 or Ubuntu 12.04 you can only Create 32Bit Apps (because they don't have the required Library VERSIONS for Xojo Apps (librarys are there but the wrong Version)

And for the Deployment of Apps with Valentina you should checkout: The Reference Link

Best Regards,

René Landscheidt
Referenzen
  1. http://www.valentina-db.com/docs/dokuwiki/v6/doku.php?id=valentina:products:adk:v4rb:manual:deployment:linux
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi All,

It seems there is a missing step about copying vresources in the deployment docs.

For running on linux the application folder should have the following structure:

MyApplication
-- MyApplication
-- MyApplication Libs
-- MyApplication Resources
-- vcomponents
-- vresources
...

Attached a screenshot of this structure for 64-bit complete application.
Anhänge
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
Question, If I just install it on our VPS. Then install an app then a year later install an update, will the app run even though it uses the older version?

Thanks
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
Just did a test, Installed the new ADK on web server Ubuntu 14.04 and ran program that was built with the old ADK. It was built as a 32 bit program.

So that being said, what do I need to include with my app now that the adk has been installed on server?

Thanks
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Application should be always compiled and used with exactly the same version of the ADK.

If you need (at the same time) to keep one application, which is linked to X version, and the second, which is linked to Z version - you're right, it is necessary to include vcomponents into them.

As I've written before, you'll have the following structure

MyApplication
-- MyApplication
-- MyApplication Libs
-- MyApplication Resources
-- vcomponents
-- vresources
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories