[Snowdrop] - Re: Deployment Order With Spring
by mrjb
mrjb [https://community.jboss.org/people/mrjb] created the discussion
"Re: Deployment Order With Spring"
To view the discussion, visit: https://community.jboss.org/message/741081#741081
--------------------------------------------------------------
*bump*
I am also interested in how to solve this. I would suspect I have a pretty basic use case, using JBoss 7.1.1, Snowdrop 2.0.2 and Spring 3.1.1. My application in it's simplest form looks like this:
myapp.ear
|
+- META-INF
| |
| +- MANIFEST.MF
| +- application.xml
|
+- lib
| |
| +- spring-3.1.1-jars.jar
| +- other-jars.jar
|
+- myapp.spring
+- myapp.war
My .war has a beanRefContext.xml that is trying to lookup the JNDI name that the SpringDeployer should have registered, which fails because the JNDI name is not found. There is also some randomness attached to this because for a while it did actually work, the JNDI name was found and deployment continued. I then copied some .jars on the JBoss servers, which I suspect might have modified their timestamps or something similar, in case that's one of the factors for deciding deployment order, and after that it has stopped working.
My application.xml file looks like this:
<application>
(...)
<initialize-in-order>true</initialize-in-order>
<module>
<java>./myapp.spring</java>
</module>
<module>
<web>
<web-uri>myapp.war</web-uri>
<context-root>myapp</context-root>
</web>
</module>
</...>
I can't managed to get this working... My company is using JBoss 4.2 and there it is working fine, but we are figuring it's time to upgrade. I don't really need to keep the same deployment structure either it's just that I want a main Spring context to be deployed that other WAR's (and also MDB's) can access.
Any ideas? :)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/741081#741081]
Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months
[jBPM] - In jbpm5.2+designer2.2, This is nothing wrong with it?
by leaf-xue
leaf-xue [https://community.jboss.org/people/leaf-xue] created the discussion
"In jbpm5.2+designer2.2, This is nothing wrong with it?"
To view the discussion, visit: https://community.jboss.org/message/750346#750346
--------------------------------------------------------------
2012-07-26 09:24:52,410 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:01,381 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:02,552 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
java.lang.ClassCastException: org.eclipse.bpmn2.impl.Bpmn2FactoryImpl cannot be cast to org.omg.spec.bpmn._20100524.model.ModelFactory
at org.omg.spec.bpmn._20100524.model.impl.ModelFactoryImpl.init(ModelFactoryImpl.java:34)
at org.omg.spec.bpmn._20100524.model.ModelFactory.<clinit>(ModelFactory.java:26)
at org.omg.spec.bpmn._20100524.model.impl.ModelPackageImpl.<init>(ModelPackageImpl.java:56)
at org.omg.spec.bpmn._20100524.model.impl.ModelPackageImpl.init(ModelPackageImpl.java:82)
at org.omg.spec.bpmn._20100524.model.ModelPackage.<clinit>(ModelPackage.java:60)
at org.jboss.drools.impl.DroolsPackageImpl.init(DroolsPackageImpl.java:163)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonUnmarshaller.<init>(Bpmn2JsonUnmarshaller.java:182)
at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$1.getDefinitions(JbpmProfileImpl.java:221)
at org.jbpm.designer.bpmn2.validation.BPMN2SyntaxChecker.checkSyntax(BPMN2SyntaxChecker.java:73)
at org.jbpm.designer.web.server.SyntaxCheckerServlet.doPost(SyntaxCheckerServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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.jbpm.designer.baison.filter.CharacterEncodingfilter.doFilter(CharacterEncodingfilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:722)
2012-07-26 09:25:11,539 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:12,694 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:21,681 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:22,836 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:31,823 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
2012-07-26 09:25:32,978 INFO [org.apache.mina.filter.logging.LoggingFilter] - <IDLE>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750346#750346]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months
[jBPM] - [Receive|Send]Task HowTo ?
by Franck cdsosi
Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion
"[Receive|Send]Task HowTo ?"
To view the discussion, visit: https://community.jboss.org/message/750502#750502
--------------------------------------------------------------
Hi
I am trying to use drools-guvnor web designer to design a sample process.
I want to use both ReceiveTask and SendTask but I do not understand how does it work. Can anyone give me a little help or point me to a link that allows me to deal with this.
I don't see how to use the messageRef field, to which object reference is it supposed to be linked with.
I had a look at the samples in the jbpm-bpmn2 as explained in the User Guide and especially BPMN2-SendTask.bpmn2 & BPMN2-ReceiveTask.bpmn2 => the messageRef is pointing to a <message> object but I do not see in the designer how I can display such kind of message object.
Any help would be appreciated.
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750502#750502]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months
[Performance Tuning] - Regarding Https Compression (on Chrome Browser)
by rupesh kumar
rupesh kumar [https://community.jboss.org/people/er_rupeshmca] created the discussion
"Regarding Https Compression (on Chrome Browser)"
To view the discussion, visit: https://community.jboss.org/message/750467#750467
--------------------------------------------------------------
Dear all,
I tried to configure Http compression in /jbossweb.sar/server.xml
<Connector port="8080" address="${jboss.bind.address}" maxThreads="250"
maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" compression="on"></Connector>
But After starting jboss Chrome still show the red cross on https and show
Your connection to 192.168.2.204 is encrypted with 128-bit encryption.
The connection uses TLS 1.0.
The connection is encrypted using AES_128_CBC, with SHA1 for message authentication and DHE_RSA as the key exchange mechanism.
The connection is not compressed.
The server does not support the TLS renegotiation extension.
Also find the screen of chrome browser
Thanks in advance
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750467#750467]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 8 months