[jBPM Users] - Samples for calling BPEL process from Java
by bpel-way
I'm looking for samples/examples for how to call BPEL process from Java. I want to have a webpage in JSP and exchange messages with a BPEL process. I've looked all over the documentation available on this site, and also elsewhere; but, couldn't find anything useful. I must have missed something. Please help.
In case it helps, I'm using: JBossAS 4.2.3GA, JBPM-BPEL1.1.1, JDK 1.5, JWSDP2.0, MySQL5.1, Ant1.7.1.
I'm new to this technology, and so far, I've been in successful in configuring MySQL to work with JBoss (very good documentation available here). I've been successful in creating some of my own processes (beginner level) and successfully deploy and test run them. Now, I've this scenario of calling a BPEL process from webpage.
Thanks in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268740#4268740
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268740
14 years, 7 months
[Installation, Configuration & Deployment] - 4.0.5GA - JMS not working, clustered environment
by byF
Hi!
We are having troubles with JMS in "all" instance of JBoss. We have 2 JBoss server in cluster with Apache&Mod-JK load balancer. Those 2 nodes operates as operational and standby node (so not classical load balancing). The architecture is simple: Web node comunnicates through JMS with another servers behind firewall. Before putting nodes into cluster we were using "default" configuration and JMS worked correctly.
Now the problem, I've moved our app into "all" instance (because of clustering) and JMS has stopped working with such exception:
2009-12-02 17:26:31,378 ERROR [STDERR] java.lang.IllegalArgumentException: object is not an instance of declaring class
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
| at $Proxy69.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
I've done some digging and found that I cannot use "QueueConnectionFactory" as JNDI name when doing the lookup, but "java:/JmsXA". When I tried, I've obtained this:
2009-12-02 17:15:27,897 ERROR [STDERR] javax.naming.NameNotFoundException: JmsXA not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268709#4268709
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268709
14 years, 7 months
[Security] - Using different SSL Connectors
by ernestojpg
Hi all,
I've configured two different SSL Connectors on the same JBoss instance, one of them without client authentication (port 443), and the other with client authentication (mutual certificate exchange, on port 4433).
On the other hand, I have two different Web Applications (two .WAR files) installed on that JBoss instance. I've configured each web.xml file with the CONFIDENTIAL flag, that indicates that a SSL connector is required (on both applications).
The problem is, how could I specify that one applications must work only on port 443 (without client authentication), and the other application must work only on port 4433 (with client authentication) ?
Is running two different JBoss instances the only solution? Does anyone have experience with that?
Thanks!
Ernesto.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268692#4268692
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268692
14 years, 7 months