# Logstash-Plug in-JMS Weblogic 12.2.1

**URL:** <https://discuss.elastic.co/t/logstash-plug-in-jms-weblogic-12-2-1/217391>\
**Category:** Logstash\
**Created:** [January 31, 2020, 2:03pm UTC](https://discuss.elastic.co/t/logstash-plug-in-jms-weblogic-12-2-1/217391 "2020-01-31T14:03:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Morfopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_morfopoulos/32/61717_2.png) [@Chris\_Morfopoulos](https://discuss.elastic.co/u/Chris_Morfopoulos)\
**Post date:** [January 31, 2020, 2:03pm UTC](https://discuss.elastic.co/t/logstash-plug-in-jms-weblogic-12-2-1/217391/1 "2020-01-31T14:03:49Z")

</div>

Hi, I have installed Weblogic 12.2.1 and the latest Logstash 7.5.2 version as well as the jms plugin v3.1.2. I am struggling with the jms plug in and I have already set the .conf and .yml, but it doesn't work!  
In the Destination field the documentation and the examples suggest no JNDI name, just the queue or topic name!!!

**Any suggestions would be greatly appreciated!!!**

**The input of the jms.conf :**  
input {  
jms { pub\_sub =\> false  
include\_header =\> false  
include\_properties =\> false  
include\_body =\> true  
use\_jms\_timestamp =\> false  
yaml\_file =\> "/home/chris/Downloads/logstash-7.5.2/config/jms.yml"  
yaml\_section =\> "weblogic"  
destination =\> "DemoQ"  
}  
}

**The yml :**

weblogic:  
:jndi\_name: jms/DemoCF  
:jndi\_context:  
java.naming.factory.initial: weblogic.jndi.WLInitialContextFactory  
java.naming.provider.url: t3://localhost:7001  
java.naming.factory.url.pkgs: javax.naming:javax.jms  
java.naming.security.principal: weblogic  
java.naming.security.credentials: \*\*\*\*\*!  
:require\_jars:  
- /home/chris/Downloads/wlogic/fmw\_12.2.1.0.0\_wls\_quick\_Disk1\_1of1/wls12210/wlserver/server/lib/wlthint3client.jar  
- /home/chris/Downloads/wlogic/fmw\_12.2.1.0.0\_wls\_quick\_Disk1\_1of1/wls12210/wlserver/server/lib/wljmsclient.jar  
- /home/chris/Downloads/wlogic/fmw\_12.2.1.0.0\_wls\_quick\_Disk1\_1of1/wls12210/wlserver/server/lib/wlclient.jar

**and the ouput of the Logstash :**

[2020-01-31T14:50:10,284][WARN][logstash.inputs.jms][main] JMS Consumer Died {:exception=\>"Java::WeblogicJmsCommon::JMSException", :exception\_message=\>"[JMSExceptions:045101]The destination name passed to the createTopic or createQueue "DemoQ" is invalid. If the destination name does not contain a "/" character, then it must be the name of a distributed destination that is available in the cluster to which the client is attached. If it does contain a "/" character, then the string before the "/" must be the name of a JMS server or a ".". The string after the "/" is the name of a the desired destination. If the "./" version of the string is used then any destination with the given name on the local WebLogic Server instance

---

<div class="post-metadata">

**Author:** ![Chris\_Morfopoulos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_morfopoulos/32/61717_2.png) [@Chris\_Morfopoulos](https://discuss.elastic.co/u/Chris_Morfopoulos)\
**Post date:** [February 4, 2020, 9:36am UTC](https://discuss.elastic.co/t/logstash-plug-in-jms-weblogic-12-2-1/217391/2 "2020-02-04T09:36:47Z")

</div>

After days I figured this out! In the field of destination use:  
jmsmodulename!destinationname (from docs of Oracle ) ,  
for a clustered environment!!  
**Neither "/" nor "./"**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 3, 2020, 9:36am UTC](https://discuss.elastic.co/t/logstash-plug-in-jms-weblogic-12-2-1/217391/3 "2020-03-03T09:36:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
