[JNDI and Naming] - HAJNDI problem
by Krzysztof Pankowski
Krzysztof Pankowski [http://community.jboss.org/people/apph_] created the discussion
"HAJNDI problem"
To view the discussion, visit: http://community.jboss.org/message/641846#641846
--------------------------------------------------------------
Hello,
First of all I will try to describe goal we would like to achieve plus the configuration we are using.
Application server version is JBoss 5.
There are 4 nodes which form a cluster. All nodes are on the same machine, having the same IP address. Only ports configuration is different.
We have enterprise application which uses JCA adapter to connect to some EIS. ConnectionFactory in JCA adapter is defined under some name in JNDI. This is working perfectly fine. Now, what we would like to do, is to have this JNDI name for ConnectionFactory to be seen on every node (not to have different pools on each node).
The first very basic idea, since it is a JCA adapter, is to deply the RAR file on the other nodes also so that classes used from the adapter are seen, but without the adapterName-ds.xml file, so that JBoss does not create JNDI entry on every node for ConnectionFactory.
Instead we would like to use HAJNDI, so basicaly have the connection pool shared on all nodes.
But there is a problem, because in such configuration the JNDI entry is only found on the Node1 which has both: RAR adapter plus the adapterName-ds.xml configuration for JNDI entry. On all other nodes the JNDI lookup does not return anything.
We have tried http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... and to be more specific configuration described for running clients inside application server using jnp.partitionName.
There are no errors, but JNDI lookup fails.
We have also the hajndi-jboss-beans.xml file on all nodes in the 'cluster' directory as shown in http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j... http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/clustering-j...
What is wrong, or what is missing? Maybe it is not the best configuration for our problem?
Of course I can provide any additional informations...
Thanks and regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641846#641846]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - Some questions about jbpm console
by Jimmy dong
Jimmy dong [http://community.jboss.org/people/jimmy.dongjia] created the discussion
"Some questions about jbpm console"
To view the discussion, visit: http://community.jboss.org/message/641694#641694
--------------------------------------------------------------
Our project now is using JBPM5.1 to develop our worflow system, I want to use jbpm console as client, will make twice development so as to suit our necessary, I have the latest console source code ,but I don't know how to compile and deploy?
And next question , in order to develop customize process, we should add new task forms use freemarker. I think the forms should be a dynamic page,and will be connect with database,read and write data from db. So I want to know whether the .ftl file support JSP or other dynamic language?If support,how to config?
Thanks for your attention,any help will be appreciate!!
jimmy.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641694#641694]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[JBoss Web Services] - issue with wsconsume
by Mikhail Voronin
Mikhail Voronin [http://community.jboss.org/people/minige] created the discussion
"issue with wsconsume"
To view the discussion, visit: http://community.jboss.org/message/641896#641896
--------------------------------------------------------------
Hello,
I have the following problem with consuming *wsdl*, I need to create a web service based on existing *wsdl.*
The problem is the following, *maven* fails on *wsconsume* with error:
+Failed to execute goal org.jboss.ws.plugins:maven-jaxws-tools-plugin:1.0.0.GA:wsconsume (default) on project pweb: Execution default of goal org.jboss.ws.plugins:maven-jaxws-tools-plugin:1.0.0.GA:wsconsume failed: Failed to load: org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl -> [Help 1]+
I suppose the problem is in dependency my pom.xml:
<dependency>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-core</artifactId>
<version>3.2.2.GA</version>
<type>jar</type>
<scope>*provided*</scope>
</dependency>
I'm able to compile only if I change scope to *compile* but result war file is a very large this way and this war can't be deployed because of many errors like:
+javax.management.InstanceAlreadyExistsException: jboss.deployment:id="org.jboss.netty.internal.ResourceFactory",type=Component already registered.+
Could anyone please point me to my error.
I'm using JBoss.5.1.0 with JbossWS-3.2.2
Thanks in advance,
Mikhail
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641896#641896]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months