-
1. Re: Deployments and the Console
aguizar Aug 21, 2010 2:29 PM (in response to obolabs)Karoy, can you start over, running "ant demo.setup.jboss" only (no other target) and attach file jbpm-4.4/jboss-5.1.0.GA/server/default/log/server.log to your post? That would help diagnose the problem.
-
2. Re: Deployments and the Console
obolabs Aug 23, 2010 3:05 PM (in response to aguizar)Ok, so I redid the whole thing, after wiping out the whole jbpm 4.4 environment. Kept the jboss and eclipse download zip to cut down a bit on the setup duration. After all this, the examples.bar is listed in Runtime.Deployments, as well the Processes tab shows all processes. Better.
Next, the deployment of my test process, using JbpmDeployTask, completed successfully as before. The ant output shows the deployer talking to HSQL and doing its thing, but I still can't see it in the jBPM console.
So, again, something happened, but not sure what. What's supposed to happen after/during a deployment? I think something was added to the database, but how does that get listed in the jBPM console?
Thanks again!
karoy
-
3. Re: Deployments and the Console
obolabs Aug 23, 2010 4:54 PM (in response to obolabs)Ok, so I've figured out that the HSQL settings were pointing to an in-memory instance.
After, updating the HSQL URL settings for my deploy script, the JBPM4_DEPLOYMENT tbl now lists my process only {previously, it had the examples.bar}.
However, now I can't log back into the Console using alex/password. Or mike, or the others.
-
4. Re: Deployments and the Console
obolabs Aug 23, 2010 6:26 PM (in response to obolabs)More progress: figured out that the deployer wiped out the schema contents, beginning somewhere with this line "INFO: Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER" from the deploy ant build logs.
Easily fixed by re-running the example.identities.sql from the demo setup.
That done, I can again log in to the Console and see my process.
But only my process. The examples process is gone. Does this mean 1 process per schema/deploy?
Need to learn some more on how this whole deployment works, obviously..
-
5. Re: Deployments and the Console
swiderski.maciej Aug 24, 2010 2:23 AM (in response to obolabs)Please review your hibernate configuration file, it probably uses create-drop strategy so every time your run your deploy process entire schema is wiped out.
Once you modify this, load example identities and all sample processes and you're ready to go.
-
6. Re: Deployments and the Console
obolabs Aug 24, 2010 11:55 AM (in response to swiderski.maciej)Ha! Of course you're right. I copied the Hibernate cfg from the demo without looking at it twice. Thanks!