wishmaster7 [
https://community.jboss.org/people/wishmaster7] created the discussion
"Re: PostgreSQL - empty database - install.demo.db does not exist"
To view the discussion, visit:
https://community.jboss.org/message/792279#792279
--------------------------------------------------------------
The problem above is with jBPM 5.4 . I also tried with jBPM 5.3 and with this version I
can connect to PostgreSQL database, starting jBoss creates the schema. But then I have the
following error in the jbpm-console :
Caused by: java.lang.NullPointerException
at
org.jbpm.integration.console.StatefulKnowledgeSessionUtil.checkPackagesFromGuvnor(StatefulKnowledgeSessionUtil.java:447)
[jbpm-gwt-core-5.3.0.Final.jar:]
at org.jbpm.integration.console.CommandDelegate.getProcesses(CommandDelegate.java:67)
[jbpm-gwt-core-5.3.0.Final.jar:]
at
org.jbpm.integration.console.ProcessManagement.getProcessDefinitions(ProcessManagement.java:42)
[jbpm-gwt-core-5.3.0.Final.jar:]
at
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:125)
[classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_10]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[:1.7.0_10]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.7.0_10]
at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_10]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
[resteasy-jaxrs-2.2.1.GA.jar:]
... 24 more
With jBPM 5.4, the error was when starting jBoss :
08:19:31,030 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC
service thread 1-1) HHH000388: Unsuccessful: create table Attachment (id bigint generated
by default as identity, accessType integer, attachedAt timestamp, attachmentContentId
bigint not null, contentType varchar(255), name varchar(255), attachment_size integer,
attachedBy_id varchar(255), TaskData_Attachments_Id bigint, primary key (id))
08:19:31,046 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-1)
ERREUR: erreur de syntaxe sur ou près de « generated »
and this is why I tried to create the schema with a sql script.
I will try a new installation from scratch with jBPM 5.4, and if it still doesn't work
I will try MySQL.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/792279#792279]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]