One more thing I forgot to add if we are actually looking for a remote JBOSS MQ
as a naming provider, from 3rd party Application servers, the
org.jnp.interfaces.NamingContext.java would call discoverServer(Hashtable
serverEnv) method, as commented rightly this would do the following
anonymous
Yes It works. All you have to do is to configure JBOSS MQ as external JNDI
Provider in the other Application Server. If you are using a session Bean you
can lookup for the external JNDI and if you have to configure the MDB for that
in case of Weblogic it gives a provision like
|
have you looked at here?
http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869362#3869362
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3
If any body has previously tried and integreated JBOSS MQ with other
application servers (WebLogic / Web Sphere / Sun One) Kindly provide the steps.
Thanks in advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867733#3867733
Reply to the post :
http://
I think the probable solution lies here in the deployed rar getting the
context and looking up for the JBoss JMS provider. In case of the Jboss App
server this is done by JNDI Provider Adapter given as in the ds.xml
|
|
| DefaultJMSProvider
|
| org.jboss.jms.jndi.
|
| java.util.Hashtable env = new java.util.Hashtable();
|
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
|
env.put(javax.naming.Context.PROVIDER_URL,"jnp://localhost:1099");
|
env.put(javax.naming.
I am trying to integrate JBossMQ with a SunOne application server.
I could have the JBoss classes in my class path and could lookup send and
recieve the messages the following way.
|
| java.util.Hashtable env = new java.util.Hashtable();
|
env.put(javax.naming.Context.INI
the following code should run:
java.util.Hashtable env = new java.util.Hashtable();
|
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
|
env.put(javax.naming.Context.PROVIDER_URL,"jnp://localhost:1099");
|
I have deploying the rar inside an ear file(Jboss4.0.0) it did deploy by
placing the -ds.xml in the deploy directory. But while looking up the rar from
session bean it gave NameNotFoundException
the -ds.xml is as follows:
|
|
|
|
|
|
| jcdFiletoFile1_File2
|
I also tried with deploying the rar inside an ear file it did deploy by placing
the -ds.xml in the deploy directory, but gave a different problem.
the -ds.xml is as follows:
|
|
|
|
|
|
|
| jcdFiletoFile1_File2
|
FiletoFile_PROJECTDeployment1_jcdFiletoF
I am trying to integrate our proprietory JMS to JBOSS 4.0.0. I have a JCA 1.5
compliant rar, which has got deployed and worked fine on Sun One Appserver and
WebSphere also.(I have not done any configuration except deploying the rar file
for talking to Proprietory JMS in both the cases)
In
I have exactly the same problem. did this worked for you?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858926#3858926
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858926
Sorry If I have posted it incorrectly Though I have my file-ds.xml, which
earlier I have told that I have packaged with my rar, While depoying the ear I
am getting the same problem.
"Could not dereference object [Root exception is
javax.naming.NameNotFoundExcepti
on: FiletoFile_PROJECTDepl
This is my file-ds.xml
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF
jcdFiletoFile1_File2.rar
com.stc.connector.framework.jca.system.STCManagedConnectionFactory
I have packaged this along with the rar and I have a session bean in form of
a jar in t
I have gone thro' this but I am still not clear as to where to add this tag
...
myapplication.ear#jms-ra.rar
org.jboss.resource.adapter.jms.JmsConnectionFactory
...
in the ra.xml? does not jboss have some thing like jboss-ra.xml?
and how should I then give the resource-refe
Incase of Weblogic also there is a way of referencing / binding the rar in the
JNDI the weblogic specific dd in the rar file is : weblogic-ra.xml
http://www.bea.com/servers/wls810/dtd/weblogic810-ra.dtd'>
com.stc.connector.fileadapter.FileManagedConnectionFactoryImplExt
If the current class loader cannot find the class in that path it throws this
error.
Where from are you executing this piece of code? Put that class file in the
class path and then try. or you might have to package this class also in the
same jar
View the original post :
http://www.jb
If you are packaging in an ear in 4.0.0 try with
false
in the ear-deployer.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858856#3858856
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858856
---
can you paste the piece of code which is returning null?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858855#3858855
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858855
Thanks Adrian, it did work.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858853#3858853
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858853
---
SF email is
have a look at this
http://docs.codehaus.org/display/ACTIVEMQ/JBoss+Integration
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858852#3858852
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858852
--
I have a File Adapter, I have to refer it from a session bean.
In case of Sun One it has a provision in the rar file which can give its JNDI
name (sun-ra.xml), which can give the JNDI name reference of the rar deployed,
with the tag
http://java.sun.com/xml/ns/j2ee";>
This can be ref
Yes, you can replace JBOSS MQ with any proprietory Messaging system.
You can find in Soniq MQ and WebSphere MQ integrations on search or
Sourceforge.net
As far as I understand you need to have a rar which connects to your MQ (if
confirming to JCA spec) and need to have a jms-ds.xml as is the
I am having problem while reading from a Queue from JBOSS mq. Can some body
suggest me where did I go wrong? I think I have all the required configuration
properties required in the ejb-jar.xml
I got the following error
Caused by: MBeanException: Error in create activation spec
jboss.jca:na
I think you have a package name. try that from C:\projects\jboss-tutorial level
instead of the lowest folder level
java com.mastertech.sample.HelloWorldClient
Since the jave executable looks for the directory structure in the path.
View the original post :
http://www.jboss.org/index.html?mo
25 matches
Mail list logo