[JBoss jBPM] - jbpm-jpdl-3.2.GA - incomplete project creation in eclipse?
by ldimaggi@redhat.com
I'm working with
jbpm-jpdl-3.2.GA
eclipse-SDK-3.2.1-linux
RHEL5
I'm trying to bring up the GPD gui, but in trying to follow the steps shown in demo (http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm) I'm blocked as the project that I created does not include a processes directory - I'm guessing that this project is missing something else too?
pwd
/home/ldimaggi/workspace_JBPM/test1
[ldimaggi@ldimaggi test1]$ tree
.
|-- bin
| |-- com
| | `-- sample
| | |-- SimpleProcessTest.class
| | `-- action
| | `-- MessageActionHandler.class
| |-- hibernate.cfg.xml
| |-- jbpm.cfg.xml
| |-- jbpm.mail.templates.xml
| |-- log4j.properties
| `-- simple
| |-- gpd.xml
| |-- processdefinition.xml
| `-- processimage.jpg
`-- src
|-- main
| |-- config
| | |-- hibernate.cfg.xml
| | |-- jbpm.cfg.xml
| | |-- jbpm.mail.templates.xml
| | `-- log4j.properties
| |-- java
| | `-- com
| | `-- sample
| | `-- action
| | `-- MessageActionHandler.java
| `-- jpdl
| `-- simple
| |-- gpd.xml
| |-- processdefinition.xml
| `-- processimage.jpg
`-- test
`-- java
`-- com
`-- sample
`-- SimpleProcessTest.java
18 directories, 18 files
Thanks!,
Len DiMaggio
ldimaggi(a)redhat.com
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036792#4036792
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036792
19 years
[JBoss jBPM] - jbpm-jpdl-3.2.GA - repeated server DEBUG messages - is there
by ldimaggi@redhat.com
I'm working with jbpm-jpdl-3.2.GA on RHEL5 - and in running the server, I'm seeing a series of DEBUG level messages get repeated every few minutes. Is there a problem here? Thanks!
Len DiMaggio
ldimaggi(a)redhat.com
/opt/jBPM/jbpm-jpdl-3.2.GA/server/bin/run.sh -c jbpm
10:37:22,960 DEBUG [JobExecutorThread] acquiring jobs for execution...
10:37:22,960 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
10:37:22,960 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@1ffb2eb
10:37:22,961 DEBUG [DbPersistenceServiceFactory] creating persistence service
10:37:22,961 DEBUG [DbPersistenceService] creating hibernate session
10:37:22,961 DEBUG [DbPersistenceService] beginning hibernate transaction
10:37:22,961 DEBUG [JobExecutorThread] querying for acquirable job...
10:37:22,962 DEBUG [JobExecutorThread] no acquirable jobs in job table
10:37:22,962 DEBUG [JbpmContext] closing JbpmContext
10:37:22,963 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@eced18
10:37:22,963 DEBUG [DbPersistenceService] committing hibernate transaction
10:37:22,963 DEBUG [DbPersistenceService] closing hibernate session
10:37:22,963 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@c1c428
10:37:22,963 DEBUG [JobExecutorThread] obtained locks on following jobs: []
10:37:22,963 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
10:37:22,964 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@13526b0
10:37:22,964 DEBUG [DbPersistenceServiceFactory] creating persistence service
10:37:22,964 DEBUG [DbPersistenceService] creating hibernate session
10:37:22,964 DEBUG [DbPersistenceService] beginning hibernate transaction
10:37:22,965 DEBUG [JbpmContext] closing JbpmContext
10:37:22,965 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@33a6b8
10:37:22,965 DEBUG [DbPersistenceService] committing hibernate transaction
10:37:22,965 DEBUG [DbPersistenceService] closing hibernate session
10:37:22,966 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@10697e2
10:37:27,971 DEBUG [JobExecutorThread] acquiring jobs for execution...
10:37:27,972 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
10:37:27,972 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@1dd8136
10:37:27,972 DEBUG [DbPersistenceServiceFactory] creating persistence service
10:37:27,972 DEBUG [DbPersistenceService] creating hibernate session
10:37:27,972 DEBUG [DbPersistenceService] beginning hibernate transaction
10:37:27,973 DEBUG [JobExecutorThread] querying for acquirable job...
10:37:27,974 DEBUG [JobExecutorThread] no acquirable jobs in job table
10:37:27,974 DEBUG [JbpmContext] closing JbpmContext
10:37:27,974 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@1615a1f
10:37:27,974 DEBUG [DbPersistenceService] committing hibernate transaction
10:37:27,974 DEBUG [DbPersistenceService] closing hibernate session
10:37:27,974 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@63ae08
10:37:27,975 DEBUG [JobExecutorThread] obtained locks on following jobs: []
10:37:27,975 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
10:37:27,975 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@36bb87
10:37:27,975 DEBUG [DbPersistenceServiceFactory] creating persistence service
10:37:27,975 DEBUG [DbPersistenceService] creating hibernate session
10:37:27,975 DEBUG [DbPersistenceService] beginning hibernate transaction
10:37:27,976 DEBUG [JbpmContext] closing JbpmContext
10:37:27,976 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@1949a87
10:37:27,976 DEBUG [DbPersistenceService] committing hibernate transaction
10:37:27,977 DEBUG [DbPersistenceService] closing hibernate session
10:37:27,977 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@12d34a6
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036788#4036788
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036788
19 years
[Security & JAAS/JBoss] - Re: Negotiate with Kerberos
by gustavotseixas
anonymous wrote : Hi,
|
| i try to use your LoginModule but got some trouble with the
| org.jboss.web.tomcat.security.AdvancedWebCallbackHandler
| within jboss-service.xml
|
| JBoss 4.0.4 start runs into an exception.
| As per description i put all you *jar's into my server lib directory.
|
| I already try to put these into a seperate security-service.xml in my deploy directory but without any success...
|
| Any suggestions?
|
| 20:06:13,671 INFO [ServiceConfigurator] Problem configuring service jboss.security:service=JaasSecurityManager
| org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute at 6a435f on mbean jboss.security:service=JaasSecurityManager; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.web.tomcat.security.AdvancedWebCallbackHandler, msg=org/jboss/web/tomcat/security/WebCallbackHandler)
| at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
| at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
|
Suggestion:
Paste:
\jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\tomcat55-service.jar
into:
\jboss-4.0.5.GA\server\default\lib
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036787#4036787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036787
19 years
[JBoss Seam] - Re: Email and internationalization
by rlhr
So after a little debugging, it seems that the problems lies in the UISubject.encodeChildren method.
| @Override
| public void encodeChildren(FacesContext facesContext) throws IOException
| {
| try
| {
| String subject = encode(facesContext, MailResponseWriter.TEXT_PLAIN_CONTENT_TYPE);
| String charset = findMessage().getCharset();
| if (charset == null)
| {
| findMimeMessage().setSubject(subject);
| }
| else
| {
| findMimeMessage().setSubject(subject, charset);
| }
| }
| catch (MessagingException e)
| {
| throw new FacesException(e.getMessage(), e);
| }
| }
|
I think the problem lies in line 21. The encode method returns "Caf& #233;" instead of "Café"
In line 29, findMimeMessage().setSubject(subject, charset) get the charset properly.
I didn't debug further into the MailComponent.encode method.
I will set a small example and file an issue.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036782#4036782
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036782
19 years