I’ve just deployed my compiled version of iDempiere (sources downloaded from https://bitbucket.org/idempiere/idempiere on 15.09.2015) to my Linux
server, but when it comes to logging (SuperUser, System), it throws the following error message: “Table Name Not Found - AD_UserPreference”.
The file “…/myexperiment/org.adempiere.server-feature/feature.xml” tells that my iDempiere version is "3.0.0.qualifier”,
so, based on that and following the official tutorial (http://wiki.idempiere.org/en/Importing_DB_Seed_Manually) I couldn’t find any migration scrips aimed at
iDempiere-3.0 at the following location: “…/myexperiment/migration”, there are only scripts intended for i2.0(z), i1.0(z) BUT iDempiere-Dev-3.0.
Regardless of this, I also executed the automated “syncApplied.sh for PostgreSQL” and it states this: ”Database is up to date, no scripts to apply”.
Furthermore, I also executed all *.sql scripts located at this location: “…/myexperiment/migration/processes_post_migration/postgresql” successfully but it doesn’t change my situation.
Then, I watched the generated logs in the location “/opt/idempiere.gtk.linux.x86_64/idempiere-server/log” and the last one tracked the following:
[
java.lang.IllegalArgumentException: Table Name Not Found - AD_UserPreference
at org.compiere.model.Query.<init>(Query.java:126)
at org.compiere.model.MUserPreference.getUserPreference(MUserPreference.java:68)
at org.compiere.util.Login.loadUserPreferences(Login.java:1012)
at org.compiere.util.Login.loadPreferences(Login.java:843)
at org.adempiere.webui.panel.RolePanel.validateRoles(RolePanel.java:613)
at org.adempiere.webui.panel.RolePanel.onEvent(RolePanel.java:528)
at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2752)
…
]
It seems that I followed all required and proper steps, could you please give me some advices on this matters, I’m really interested in learning and get involved with such project.
My configurations:
Server OS: Centos 7 (3.10.0-229.11.1.el7.x86_64)
Postgres: psql (PostgreSQL) 9.4.4
Database: idempiere_dev
Java: java version "1.7.0_85"
Url: http://192.168.188.100:8080/webui/
Development Environment:
OS: Mac OS X 10.9.3
Java: Oracle jdk1.7.0_75.jdk/
Eclipse: Eclipse Java EE Luna SR1 (4.4..1)
Thank you in advance for your support!
Regards,
Enrique Molina.
# cd /root/iDempiere_Dev/migration/i2.1z/postgresql
# cat *.sql | psql -d idempiere_dev -U adempiere
# password [******]
All done successfully.
Then, I tried the application and it works like a charm, so far.
Thank you so much Dirk Niemeyer!
Regards
Enrique M.