docdoku / docdoku-plm

The project purpose is to develop a comprehensive, robust open source PLM (Product LifeCycle Management) solution.
http://www.docdokuplm.com
GNU Affero General Public License v3.0
237 stars 97 forks source link

Deploy fail with "Exception while preparing the app : Invalid resource : jdbc/docdokuPU__pm." #1208

Closed browncrane closed 5 years ago

browncrane commented 5 years ago

The following result is from the second step of the build process of the wiki

[INFO] importer-attributes-ear ............................ SUCCESS [  0.475 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  28:09 min
[INFO] Finished at: 2019-04-10T16:53:04+08:00

However, when go to the deploy step, it shows

An error has occurred
Error occurred during deployment: Exception while preparing the app : Invalid resource : jdbc/docdokuPUpm. Please see server.log for more details. Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : java.lang.RuntimeException: Invalid resource : jdbc/docdokuPUpm Invalid resource : jdbc/docdokuPUpm Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : java.lang.RuntimeException: Invalid resource : jdbc/docdokuPUpm Invalid resource : jdbc/docdokuPU__pm
 
   

Have no clue how to fix it.

Working on Ubuntu 18.04 x86_64

browncrane commented 5 years ago

sorry, I forget the jdbc resource step. After config the jdbc resource the error not show again.