-
15. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
wjm Apr 2, 2007 6:48 AM (in response to ygiriyap)"kukeltje" wrote:
... but still one issue remains. populating the identity tables....
The solution using hibernate which I proposed above does populate the identity tables with the sesame street users using an included identity.xml called (sesamestreet.xml).
Shameless link whoring:
http://wiki.jboss.org/wiki/Wiki.jsp?page=UseHibernateToCreateJbpmDB
----
Bill -
16. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
kukeltje Apr 2, 2007 7:38 AM (in response to ygiriyap)then, thanks again :-) (and sorry for not reading it first, shame on me)
-
17. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
wjm Apr 2, 2007 8:09 AM (in response to ygiriyap)"kukeltje" wrote:
(and sorry for not reading it first, shame on me)
Trust me, it's not the first time. If anyone can find a better (less verbose) way to present the solution on the wiki page, I would welcome edits.
----
Bill -
18. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hipchic Apr 2, 2007 1:12 PM (in response to ygiriyap)Please remove in the hibernate.cfg.xml the line
And you could create another method for generate the database not in the setup...
these file doesn't exist and generate some errors !
thks, but it's work great also -
19. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
wjm Apr 2, 2007 2:09 PM (in response to ygiriyap)"hipchic" wrote:
Please remove in the hibernate.cfg.xml the line
mapping resource="org/jbpm/taskinstance/CustomTaskInstance.hbm.xml
[...]
thks, but it's work great also
Thanks for the feedback, I've fixed the error in the hibernate config file, and will look again at the implementation to see how it can be improved when I get a bit more time.
Glad it works for you.
----
Bill -
20. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 17, 2007 8:42 PM (in response to ygiriyap)I have done all steps described in get jBPM 3.2 working with Tomcat and MySQL.
But I still can not view the jsp page, it shows the error messages as follows when I try http://localhost:8080/jbpm-console/index.jsp:
org.apache.catalina.authenticator.FormAuthenticator forwardToLoginPage
WARNING: Unexpected error forwarding to login page
javax.servlet.ServletException: Servlet.init() for servlet FacesServlet threw exception ...
Can anyone help me with it? -
21. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
kukeltje Apr 18, 2007 10:34 AM (in response to ygiriyap)it's a warning not an error, so there must be something else wrong or more in the logging
-
22. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 18, 2007 8:47 PM (in response to ygiriyap)Actually the error is:
Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory...
Do you know what might be wrong? -
23. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 18, 2007 8:51 PM (in response to ygiriyap)
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
I added this line in the web.xml file, and it works now...sigh -
24. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 18, 2007 9:22 PM (in response to ygiriyap)I have setup JDBC Realm in Tomcat, but still can not login... :(
-
25. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
kukeltje Apr 19, 2007 4:23 PM (in response to ygiriyap)I assume you do not get a detailed error somewhere since you did not post it. Correct?
-
26. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 19, 2007 4:58 PM (in response to ygiriyap)Yes, there is no errors at all... so I confused...
-
27. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 30, 2007 9:08 AM (in response to ygiriyap)Everytime I startup Tomcat, it will automatically re-create the database, and the database becomes empty. anybody knows how to avoid this?
-
28. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
wjm Apr 30, 2007 10:31 AM (in response to ygiriyap)"HLQ" wrote:
Everytime I startup Tomcat, it will automatically re-create the database, and the database becomes empty. anybody knows how to avoid this?
Sounds like you're executing the createSchema() call every time you start up? -
29. Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
hlq Apr 30, 2007 6:04 PM (in response to ygiriyap)Yes, it does execute createSchema(), how can I get rid of that?