Skip to content
Eldelshell edited this page May 7, 2020 · 5 revisions

Does Amforeas support different application servers like Tomcat?

Yes. The only problem is that it won't be able to use the container datasources. To connect to a database you must modify the amforeas.properties file inside the WAR.

Can I deploy Amforeas in any PaaS?

Yes, check out the Dockerfile's here

How can I hide tables from users?

Amforeas provides some access control but it's better to delegate the responsibility of access control to the RDBMS using GRANTs or READ ONLY tables.

Checkout the ACL wiki page to learn how to configure amforeas access control.

Can I run stored procedures?

Yes, and functions.

Can I execute free queries?

No, you can't give Amforeas a query like SELECT * FROM foo, since this would be a major security hole. If you need more complex queries than accessing resources, use the tools provided by your RDBMS: triggers, views, stored procedures, functions, etc.

My RDBMS is not supported, when will it be?

Getting a hold on every database used today is almost impossible so we really need your help. If you're using an unsupported database you can help by developing database configurations which can be later added to the main distribution.

Some common errors and how to fix them

AttributeError: MyModel object has no attribute 'idCol' in Python API

You created a class MyModel which extends from amforeas.AmforeasModel but forgot to call the parent's init method: amforeas.AmforeasModel.__init__(self)

Can I run Amforeas in Windows

Yes, with Cygwin try this:

$ /cygdrive/c/dev/Java/jdk/bin/java -Denvironment=demo -cp `cygpath -wp ./lib/amforeas-jetty-X.X.jar:./lib/*:./etc` amforeas.AmforeasJetty

Also, for Windows cmd, this works:

C:\dev\servers\amforeas-jetty-X.X-demo\amforeas-demo>c:\dev\Java\jdk\bin\
java -cp "lib\*;etc" amforeas.AmforeasJetty