Hi,
- i have installed alfresco-communauty with msi and it works fine.
- i added my project-platform-jar-1.0-SNAPSHOT.amp file in amps repository and my project-share-jar-1.0-SNAPSHOT.amp file in amps_share directory :
- i have executed apply_amps in bin directoty and started tomcat :
But when i type my user and password it doesn't work:
org.apache.ibatis.builder.BuilderException: Failed to get resource: alfresco/ibatis/#resource.dialect#/activities-insert-SqlMap.xml
see complete log in file.
I use sdk 3
Thank's
Solved! Go to Solution.
You should put your alfresco-global.properties, that one you are using to test your project on Maven, inside the following folder:
project-platform-jar/src/test/properties/local
In this way the properties file will not be included in the AMP artifact when you build the project.
You probably have included a new alfresco-global.properties that overrides the current one.
Please try to be sure to build an AMP without any alfresco-global.properties inside.
From the log file is clear that Alfresco is trying to use a wrong properties file because it does't find the correct DBMS dialect as mentioned here:
Caused by: org.apache.ibatis.builder.BuilderException: Failed to get resource: alfresco/ibatis/#resource.dialect#/activities-insert-SqlMap.xml
Hope this helps.
Hi, thank you !
exact i use an alfresco-global-properties file because i develop on an embedded tomcat so i need one
how can i generate amp without it ?
mine is located in project-platform-jar /src/main/resources/alfresco/module/project-platform-jar repository
You should put your alfresco-global.properties, that one you are using to test your project on Maven, inside the following folder:
project-platform-jar/src/test/properties/local
In this way the properties file will not be included in the AMP artifact when you build the project.
Yes it works ! I have changed, i use JAR, it's easier to manage for deployment.
But now when i us my embedded tomcat it doesn' work. I even if i move it in project/src/test/properties/local folder.
The most important was the deployment ! Thank's
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.