[Beginner's Corner] - Re: JBoss AS6: get rid off HornetQ and reuse JBossMQ
by jaikiran pai
jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion
"Re: JBoss AS6: get rid off HornetQ and reuse JBossMQ"
To view the discussion, visit: http://community.jboss.org/message/588236#588236
--------------------------------------------------------------
> Thomas Nagel wrote:
>
> Hello,
> thanks for your answer...
> JBossMQ or JBoss Messaging - thats a good question. These names have been used interchangeably in the documentation, at least for a mere user of the system.
JBoss MQ is a very old messaging implementation which was used in JBoss AS 4.0.x days (I think till JBoss AS 4.2.2). Then came JBoss Messaging which was a new implementation and was used in JBoss AS 5.x. And recently, JBoss Messaging has been replaced by HornetQ in JBoss AS6.
> Thomas Nagel wrote:
>
> Well, technically there is surely a way to use HornetQ with MDBs, but the docu doesn't tell what to do to replace the JBoss 4 config, so upto now we don't know how to configure HornetQ. The two documents that were supplied couldn't help us to get a working configuration. So we can't use it and so we thought of downgrading to the predecessor.
>
I'm not sure which part of the configurations are you having problems with. The MDB configurations are going to remain the same irrespective of whether it's a HornetQ or JBoss Messaging. The configurations that'll change are the queue/topic setup ones. Is that what you are having problems with?
> Thomas Nagel wrote:
>
> We use the message beans internally and SQL-based, and there is no hint as to how to configure such a situation. Maybe HornetQ wasn't designed for such "trivial" messages.
>
>
>
HornetQ (unlike JBoss MQ and JBoss Messaging) doesn't use database to store the messages. It has its own custom "journal" for persistence. What exactly were the SQLs that you were using with JBoss Messaging?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588236#588236]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - Re: Send notifications for unassigned tasks in jBPM 4
by Rohit Wadke
Rohit Wadke [http://community.jboss.org/people/rohya] created the discussion
"Re: Send notifications for unassigned tasks in jBPM 4"
To view the discussion, visit: http://community.jboss.org/message/588229#588229
--------------------------------------------------------------
hello Sir,
Please send me setting which i have to do for sending mail.
I am getting following error
org.jbpm.api.JbpmException: could not send email: javax.mail.internet.MimeMessage@2f60ce
at org.jbpm.pvm.internal.email.impl.MailSessionImpl.send(MailSessionImpl.java:60)
at org.jbpm.jpdl.internal.activity.MailActivity.perform(MailActivity.java:44)
at org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity.execute(JpdlAutomaticActivity.java:15)
at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:616)
at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:217)
at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:65)
at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:38)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
at myPack.myController.startProcess1(myController.java:94)
at myPack.myController.doAfterCompose(myController.java:40)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:712)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:658)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:602)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:569)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:369)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:291)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:243)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for mailto:rohit.wadke@productivityparadigms.com rohit.wadke(a)productivityparadigms.com
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588229#588229]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[Beginner's Corner] - cant hit jboss pages externally
by george hoffman
george hoffman [http://community.jboss.org/people/hoffm263] created the discussion
"cant hit jboss pages externally"
To view the discussion, visit: http://community.jboss.org/message/588204#588204
--------------------------------------------------------------
I have jboss 6.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address from another computer (I found my ip address using http://www.whatismyip.com/ http://www.whatismyip.com/). I have port forwarding correctly set up to port 8080 and port 80 on my router. I have tested with apache tomcat 7.0 and quickweb webserver and I am able to deploy pages to those servers and hit them from another computer with my external IP address in a matter of minutes with no additional setup.
I was under the impression that jboss 6.0 has a built in tomcat web server. Not sure if there is some configuration I need to do to make my site visible externally. I dont have registered domain name yet but I should be able to hit with my IP addy.
Ive come here after a few frustrating hours of searching google web so please no "search google" answers or I might cry.
If there is no built in web server what server / configuration is recommended? I need something free and fast to configure for a low traffic site with a j2ee jboss backend.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588204#588204]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - Human Task Problem
by candy_633
candy_633 [http://community.jboss.org/people/candy_633] created the document:
"Human Task Problem"
To view the document, visit: http://community.jboss.org/docs/DOC-16508
--------------------------------------------------------------
I meet some problem when implement Human Task:
1) At first, I meet the following errors when I run Human Task: (then, according to the error message, I *update slf4j-api-1.6.0.jar to slf4j-log4j12-1.6.1.jar*
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
at com.sample.ProcessTest.main(ProcessTest.java:57)
Caused by: org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:89)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
... 4 more
Caused by: java.lang.ClassNotFoundException: org.h2.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:123)
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:84)
2) *After I update to slf4j-log4j12-1.6.1.jar, another error still shows:*
"java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:151)
at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:107)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
at com.sample.ProcessTest.main(ProcessTest.java:57)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
http://community.jboss.org/message/581435#581435 http://community.jboss.org/message/581435#581435? "
The problem is with this line:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task");
Is there anything wrong with the path of this jar?
3) where to update your eclipse to the latest Drools snapshot plugin?
I appreciate your help so much!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16508]
Create a new document in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 9 months