Thank you for explanation.
I set these settings : export CATALINA_OPTS="-XX:MaxPermSize=512M -Xmx1024M"
admin.war was deployed, mycompany.war was deployed as well.
This exception occurs while deploying mycompany.war:
Code: Select all
org.hibernate.tool.hbm2ddl.ImportScriptException: Error during statement execution (file: '/sql/load_catalog_data.sql'): INSERT INTO BLC_FIELD (FIELD_ID, ENTITY_TYPE, PROPERTY_NAME, ABBREVIATION, SEARCHABLE, FACET_FIELD_TYPE) VALUES (1, 'PRODUCT', 'manufacturer', 'mfg', 1, 's')
at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:451)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:378)
.....
Caused by: org.postgresql.util.PSQLException: ERROR: column "searchable" is of type boolean but expression is of type integer
You will need to rewrite or cast the expression.
Position 151
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
The link
http://localhost:8080/mycompany/ works
But if I trying to click "Register" link
https://localhost:8443/mycompany/regist ... 2738788F76 doesn't work.
The link
http://localhost:8080/admin/ works, shows the form for login and password.
I enter admin-admin. The admin dashboard opens.
I click Add Category, fill fields, click Save. An error occurred message appears.
I see this exception in Tomcat console:
Code: Select all
[ERROR] 11:56:37 BasicPersistenceModule - Error getting primary key
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:375)
at java.lang.Long.valueOf(Long.java:525)
at org.broadleafcommerce.openadmin.server.service.persistence.module.BasicPersistenceModule.getPrimaryKey(BasicPersistenceModule.java:605)
at org.broadleafcommerce.openadmin.server.service.persistence.module.BasicPersistenceModule.add(BasicPersistenceModule.java:784)
at org.broadleafcommerce.openadmin.server.service.persistence.module.BasicPersistenceModule.add(BasicPersistenceModule.java:742)
I click the "An error occurred" message.
Tomcat console shows:
Code: Select all
A soft-locked cache entry was expired by the underlying Ehcache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limits
[ERROR] 11:56:37 TemplateEngine - [THYMELEAF][3] Exception processing template "utility/blcRedirect": Error resolving template "utility/blcRedirect", template might not exist or might not be accessible by any of the configured Template Resolvers
[ERROR] 11:58:17 TemplateEngine - [THYMELEAF][7] Exception processing template "modules/modalContainer": Exception evaluating SpringEL expression: "fields['defaultSku.skuMedia---primary'].media.url" (fields/media:5)
[ERROR] 11:59:17 TemplateEngine - [THYMELEAF][9] Exception processing template "modules/modalContainer": Exception evaluating SpringEL expression: "fields['defaultSku.skuMedia---primary'].media.url" (fields/media:5)
Can you help?
The demosite was obtained from this link:
http://www.broadleafcommerce.org/worksp ... ersion=dev