Apache ActiveMQ JMS
Hi,
XI should be able to communicate with Apache ActiveMQ ver. 5.1.0 instelled on Linux system.
Is there any information on net how to communicate with Apache ActiveMQ, which archives are needed for
deployment,.....any information....
thanks
Have you tried with the standard JDBC Connector in the first instance?
http://activemq.apache.org/resource-adapter.html
http://activemq.apache.org/connection-factory-properties.html
http://activemq.apache.org/resource-adapter-properties.html
Similar Messages
-
PI 7.0.2 support Apache ActiveMQ 5.4.2 ?
Hi,all,
I need to configure a JMS receiver adpter for a RFC-JMS scenario. My PI version is 7.0.2 and the target JMS server is Apache ActiveMQ 5.4.2.
Since I test the scenario I got the following error message;
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: No transition found from state: ERROR, on event: process_commence for DFA: FI_TAX_RECEIVER_CC:fbb5050eb2353a138fc3218171e93394</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
I have searched the problem but without exactly answers. Now I guess whether PI 7.0 with JDK 1.4 support Apache ActiveMQ 5.4.2 or not.
Bythe way,the basis has already deployed the driver for ActiveMQ.Hi,ganesh
Thank you gor your answers.But there is also the same error!
In RWB,I got the following error message:
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394
Exception caught by adapter framework: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394
Delivery of the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394. Setting message to status failed
Now I do want to konw whether the problem is about JMS driver or not ? -
Java.lang.NoSuchMethodError error when ODI sends mesages to Apache activemq
Hi Team,
I am struggling with the configuration of ODI and activemq. I really appreciate if someone could suggest me what is missing in my configuration.
Topology: JMS Queue
Data Server: JMS_QUEUE_TRACKER
JNDI:
JNDI Authentification: Simple
JNDI USER, PASSWORD and JNDI Protocol are all empty
JNDI driver: org.apache.activemq.jndi.ActiveMQInitialContextFactory
JNDI Url: tcp://11.111.1.111:61616
JNDI Resource: ConnectionFactory
Tested connection: PASS
Created physical schema and context and logic schema, saved.
Model: JMS_QUEUE
Code: JMS_QUEUE
Technology: JMS Queue
Logical Schema JMS_QUEUE_TRACKER
Datastore: ODI JMS
Datastore Type: Table
Resource Name: dynamicQueues/example.A
Files tab: File Format: fixed
Record Separator: MS-DOS
Field Separator: Space
Columns tab: Add one column DATA string length 50
Interface: Interface testjms
use IKM: IKM SQL to JMS Append, migrate one column of oracle table to the queue(Datastore: ODI JMS)
Copied activemq-all-5.5.0.jar, geronimo-jms_1.1_spec-1.1.1.jar, slf4j-log4j12-1.5.11.jar and log4j-1.2.14.jar to $ODI/oracledi/agent/drivers, restart the standalone agent.
run interface Interface testjms by standalone agent.
The error message is:
ODI-1217: Session INTERFACE TESTJMS (787001) fails with return code 7000.
ODI-1226: Step INTERFACE TESTJMS fails after 1 attempt(s).
ODI-1240: Flow INTERFACE TESTJMS fails while performing a Integration operation. This flow loads target table ODI JMS.
Caused By: java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;
at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:269)
at com.sunopsis.jdbc.driver.JMSQueueConnection.treatInsertedRow(JMSQueueConnection.java:1102)
at com.sunopsis.jdbc.driver.FileSnpsTableFix.insertRow(FileSnpsTableFix.java:153)
at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.executeUpdate(SnpsDriverPreparedStatement.java:156)
at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.execute(SnpsDriverPreparedStatement.java:116)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:49)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
I seems I have put all necessary libs in the path but I am very confused why I still meet this error.
Thanks so much for your kind help
PeiranHi
Hope below URL may helps your problem, because it has similar kind of error message.
URL: Issue while running a scenario while using TTU in ODI
Regards,
Phanikanth -
Apache ActiveMQ 5.0.0
I require the following information regarding ActiveMQ (5.0.0):-
Jndi URL
JMS Factory
Initial Context Factory
Username
Password
No help till now :(
Edited by: riddhi on Feb 27, 2008 1:29 PMGoogle is your friend.Thats not in the least bit helpful.
To get the ball rolling, I've run SOAP against Active MQ, and here are a couple of the settings:
Initial Context Factory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
Provider URL = tcp://localhost:61616
Active MQ has dynamicQueues and Topics which when you connect to, they are created for you, which is a nice way to start:
dynamicQueues/FOO.BAR
Look at the following page, for the JNDI setup:
[http://activemq.apache.org/jndi-support.html] -
Usage of Apache Beehive JMS control inside Message Driven Bean
Hi,
I am developing a j2ee application using weblogic workshop 10.3. This application contains the following three projects.
- J2EE Utility Project
- Message Driven Bean Project
- Ear Project
In the Utility project I have created one apache beehive jms control. I am using this control inside the message driven bean application. I haven't got any issues during the development and deployment phase with the beehive control. But during runtime the apache beehive jms control is not getting instantiated and the mdb application is throwing the null pointer exception when the EJB container try to execute the methods on the control instance. I have used the declarative programming model to create the control instance inside the mdb application.
I am using the weblogic 10.3 server for testing and I have created the 10.3 weblogic+workshop domain. By default it has the beehive libraries deployed.
Can somebody help me out to resolve this issue?
Regards,
BpYou can get the message directly with getText() method. Following is the snippet of code.
if (aMsg instanceof TextMessage) {
TextMessage msg = (TextMessage) aMsg;
String testMessage = msg.getText());
Kishore. -
Memory leak after upgrading to ColdFusion 10
We recently upgraded from CF8 to CF10 and we're running into some issues. We started off getting a lot of OutOfMemory errors with the default heap settings. Chaning them to 768MB/1280MB which has helped, but we're still running into occasional OOM issues. We took a heapdump as the instance was having problems today with blocked threads and noticed the heap usage was near the max so it was probably going to run out of memory soon too. Below is what the eclipse memory analyzer tool found as a possible leak suspect. Does anyone have any suggestions on where to go from here? Not sure if it's an issue with CF itself or something in the app. Thanks
Description
One instance of "coldfusion.runtime.ClientScopeServiceImpl" loaded by "coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0" occupies 838,847,880 (88.33%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
Keywords
coldfusion.runtime.ClientScopeServiceImpl
java.util.HashMap$Entry[]
coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0
Shortest Paths To the Accumulation Point
Class Name
Shallow Heap
Retained Heap
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
table java.util.HashMap @ 0x1212d2f8
48
838,843,112
sharedClientScopeMap coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x100f16d8 ajp-bio-51010-exec-20 Thread
112
21,624
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x103df100 ajp-bio-51010-exec-36 Thread
112
19,552
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1043f0e0 ajp-bio-51010-exec-72 Thread
112
19,392
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10a8eec0 ajp-bio-51010-exec-83 Thread
112
22,288
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10befce8 ajp-bio-51010-exec-54 Thread
112
18,256
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x11d35e18 ajp-bio-51010-exec-5 Thread
112
23,776
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x121b97e0 ajp-bio-51010-exec-68 Thread
112
18,160
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c4f88 ajp-bio-51010-exec-74 Thread
112
18,816
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c5078 ajp-bio-51010-exec-27 Thread
112
19,784
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12693f30 ajp-bio-51010-exec-75 Thread
112
19,208
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x126e7ff8 ajp-bio-51010-exec-26 Thread
112
19,200
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1297dd60 ajp-bio-51010-exec-78 Thread
112
20,592
<Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12d3a818 ajp-bio-51010-exec-73 Thread
112
21,304
service class coldfusion.runtime.AppHelper @ 0x12fae868 »
112
1,032
clientScope class coldfusion.server.ServiceFactory @ 0x11047060 »
96
55,184
Total: 15 entries
Accumulated Objects
Class Name
Shallow Heap
Retained Heap
Percentage
coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
88
838,847,880
88.33%
java.util.HashMap @ 0x1212d2f8
48
838,843,112
88.33%
java.util.HashMap$Entry[524288] @ 0x3b88e058
2,097,168
838,843,064
88.33%
java.util.HashMap$Entry @ 0x25370040
24
51,409,128
5.41%
java.util.HashMap$Entry @ 0x1b878cf8
24
12,173,192
1.28%
java.util.HashMap$Entry @ 0x15d049c8
24
10,685,760
1.13%
java.util.HashMap$Entry @ 0x41af3d98
24
10,587,208
1.11%
java.util.HashMap$Entry @ 0x3ff95918
24
10,443,664
1.10%
java.util.HashMap$Entry @ 0x43c422b0
24
9,886,280
1.04%
java.util.HashMap$Entry @ 0x3eec68a8
24
9,723,216
1.02%
java.util.HashMap$Entry @ 0x230c3078
24
9,254,288
0.97%
java.util.HashMap$Entry @ 0x2e36cab8
24
6,494,488
0.68%
java.util.HashMap$Entry @ 0x45e499e8
24
6,178,320
0.65%
java.util.HashMap$Entry @ 0x2a91c258
24
4,008,048
0.42%
java.util.HashMap$Entry @ 0x4260ee28
24
3,542,552
0.37%
java.util.HashMap$Entry @ 0x3dfb9e98
24
3,503,072
0.37%
java.util.HashMap$Entry @ 0x43f354a0
24
2,908,120
0.31%
java.util.HashMap$Entry @ 0x1adfb600
24
2,197,056
0.23%
java.util.HashMap$Entry @ 0x4469eee0
24
2,050,528
0.22%
java.util.HashMap$Entry @ 0x4443dea8
24
2,034,224
0.21%
java.util.HashMap$Entry @ 0x41b79ff0
24
1,846,808
0.19%
java.util.HashMap$Entry @ 0x40931b50
24
1,846,784
0.19%
java.util.HashMap$Entry @ 0x40c62310
24
1,846,784
0.19%
Total: 20 entries
480
162,619,520
0.171
Accumulated Objects by Class
Label
Number of Objects
Used Heap Size
Retained Heap Size
java.util.HashMap$Entry
First 10 of 190,465 objects
190,465
4,571,160
836,711,024
java.lang.String
First 10 of 253 objects
253
6,072
26,408
java.lang.reflect.Method
First 10 of 57 objects
57
4,560
4,560
coldfusion.runtime.ClientScope
All 1 objects
1
56
2,632
java.lang.Class[]
First 10 of 73 objects
73
1,248
1,248
coldfusion.runtime.ClientScopeKey
All 1 objects
1
24
24
java.lang.Class
All 2 objects
2
0
0
Total: 7 entries
190,852
4,583,120
836,745,896Hi Sharma,
Here's the settings summary from the console. The OOM issue is now happening about 1-2 times weekly after increasing the heap size. Before that it was almost daily. It seems we can go about 75-85 hours before we restart due to either OOM or blocked threads.
Settings Summary
Server Settings > Settings Summary
Report generated on Sep 25, 2014 12:08 PM
This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
System Information
Server Details
Server Product ColdFusion
Version ColdFusion 10,286680
Edition Enterprise
Operating System Windows 2003
OS Version 5.2
Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.7.0_15
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home D:\ColdFusion10\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name SYSTEM
User Home C:\Documents and Settings\Default User
User Dir D:\ColdFusion10\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 23.7-b01
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
CF Server Java Class Path ;D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar; D:/ColdFusion10/cfusion/lib/ant-launcher.jar; D:/ColdFusion10/cfusion/lib/ant.jar; D:/ColdFusion10/cfusion/lib/antlr-2.7.6.jar; D:/ColdFusion10/cfusion/lib/apache-solr-core.jar; D:/ColdFusion10/cfusion/lib/apache-solr-solrj.jar; D:/ColdFusion10/cfusion/lib/asm-all-3.1.jar; D:/ColdFusion10/cfusion/lib/asn1.jar; D:/ColdFusion10/cfusion/lib/axis.jar; D:/ColdFusion10/cfusion/lib/backport-util-concurrent.jar; D:/ColdFusion10/cfusion/lib/bcel-5.1-jnbridge.jar; D:/ColdFusion10/cfusion/lib/bcel.jar; D:/ColdFusion10/cfusion/lib/bcmail-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/bcprov-jdk14-139.jar; D:/ColdFusion10/cfusion/lib/cdo.jar; D:/ColdFusion10/cfusion/lib/cdohost.jar; D:/ColdFusion10/cfusion/lib/certj.jar; D:/ColdFusion10/cfusion/lib/cf-acrobat.jar; D:/ColdFusion10/cfusion/lib/cf-assembler.jar; D:/ColdFusion10/cfusion/lib/cf-logging.jar; D:/ColdFusion10/cfusion/lib/cf4was.jar; D:/ColdFusion10/cfusion/lib/cf4was_ae.jar; D:/ColdFusion10/cfusion/lib/cfusion-req.jar; D:/ColdFusion10/cfusion/lib/cfusion.jar; D:/ColdFusion10/cfusion/lib/chart.jar; D:/ColdFusion10/cfusion/lib/clibwrapper_jiio.jar; D:/ColdFusion10/cfusion/lib/commons-beanutils-1.8.0.jar; D:/ColdFusion10/cfusion/lib/commons-codec-1.3.jar; D:/ColdFusion10/cfusion/lib/commons-collections-3.2.1.jar; D:/ColdFusion10/cfusion/lib/commons-compress-1.0.jar; D:/ColdFusion10/cfusion/lib/commons-digester-2.0.jar; D:/ColdFusion10/cfusion/lib/commons-discovery-0.4.jar; D:/ColdFusion10/cfusion/lib/commons-httpclient-3.1.jar; D:/ColdFusion10/cfusion/lib/commons-lang-2.4.jar; D:/ColdFusion10/cfusion/lib/commons-logging-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-logging-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/commons-net-3.0.1.jar; D:/ColdFusion10/cfusion/lib/commons-vfs2-2.0.jar; D:/ColdFusion10/cfusion/lib/crystal.jar; D:/ColdFusion10/cfusion/lib/derby.jar; D:/ColdFusion10/cfusion/lib/derbyclient.jar; D:/ColdFusion10/cfusion/lib/derbynet.jar; D:/ColdFusion10/cfusion/lib/derbyrun.jar; D:/ColdFusion10/cfusion/lib/derbytools.jar; D:/ColdFusion10/cfusion/lib/dom4j-1.6.1.jar; D:/ColdFusion10/cfusion/lib/dpHibernate.jar; D:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar; D:/ColdFusion10/cfusion/lib/ehcache-web-2.0.4.jar; D:/ColdFusion10/cfusion/lib/esapi-2.0.1.jar; D:/ColdFusion10/cfusion/lib/EWSAPI-1.1.5.jar; D:/ColdFusion10/cfusion/lib/FCSj.jar; D:/ColdFusion10/cfusion/lib/flashgateway.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-common.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-core.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-opt.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-proxy.jar; D:/ColdFusion10/cfusion/lib/flex-messaging-remoting.jar; D:/ColdFusion10/cfusion/lib/flex-rds-server.jar; D:/ColdFusion10/cfusion/lib/geronimo-stax-api_1.0_spec-1.0.1.jar; D:/ColdFusion10/cfusion/lib/hibernate3.jar; D:/ColdFusion10/cfusion/lib/httpclient-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient-cache-4.1.1.jar; D:/ColdFusion10/cfusion/lib/httpclient.jar; D:/ColdFusion10/cfusion/lib/httpcore_4.1.2.jar; D:/ColdFusion10/cfusion/lib/httpmime-4.1.1.jar; D:/ColdFusion10/cfusion/lib/ib6addonpatch.jar; D:/ColdFusion10/cfusion/lib/ib6core.jar; D:/ColdFusion10/cfusion/lib/ib6http.jar; D:/ColdFusion10/cfusion/lib/ib6swing.jar; D:/ColdFusion10/cfusion/lib/ib6util.jar; D:/ColdFusion10/cfusion/lib/im.jar; D:/ColdFusion10/cfusion/lib/iText.jar; D:/ColdFusion10/cfusion/lib/iTextAsian.jar; D:/ColdFusion10/cfusion/lib/izmado.jar; D:/ColdFusion10/cfusion/lib/jai_codec.jar; D:/ColdFusion10/cfusion/lib/jai_core.jar; D:/ColdFusion10/cfusion/lib/jai_imageio.jar; D:/ColdFusion10/cfusion/lib/jakarta-oro-2.0.6.jar; D:/ColdFusion10/cfusion/lib/jakarta-slide-webdavlib-2.1.jar; D:/ColdFusion10/cfusion/lib/java-xmlbuilder-0.4.jar; D:/ColdFusion10/cfusion/lib/javasysmon-0.3.3.jar; D:/ColdFusion10/cfusion/lib/jax-qname.jar; D:/ColdFusion10/cfusion/lib/jaxb-api.jar; D:/ColdFusion10/cfusion/lib/jaxb-impl.jar; D:/ColdFusion10/cfusion/lib/jaxb-libs.jar; D:/ColdFusion10/cfusion/lib/jaxb-xjc.jar; D:/ColdFusion10/cfusion/lib/jaxrpc.jar; D:/ColdFusion10/cfusion/lib/jcifs-1.3.15.jar; D:/ColdFusion10/cfusion/lib/jdom.jar; D:/ColdFusion10/cfusion/lib/jeb.jar; D:/ColdFusion10/cfusion/lib/jersey-core.jar; D:/ColdFusion10/cfusion/lib/jersey-server.jar; D:/ColdFusion10/cfusion/lib/jersey-servlet.jar; D:/ColdFusion10/cfusion/lib/jets3t-0.8.1.jar; D:/ColdFusion10/cfusion/lib/jetty-continuation-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-http-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-io-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-security-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-server-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlet-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-servlets-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-util-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jetty-xml-7.0.0.v20091005.jar; D:/ColdFusion10/cfusion/lib/jintegra.jar; D:/ColdFusion10/cfusion/lib/jnbcore.jar; D:/ColdFusion10/cfusion/lib/jpedal.jar; D:/ColdFusion10/cfusion/lib/js.jar; D:/ColdFusion10/cfusion/lib/jsch-0.1.44m.jar; D:/ColdFusion10/cfusion/lib/jsr107cache.jar; D:/ColdFusion10/cfusion/lib/jsr311-api-1.1.1.jar; D:/ColdFusion10/cfusion/lib/jta.jar; D:/ColdFusion10/cfusion/lib/jutf7-0.9.0.jar; D:/ColdFusion10/cfusion/lib/ldap.jar; D:/ColdFusion10/cfusion/lib/ldapbp.jar; D:/ColdFusion10/cfusion/lib/log4j-1.2.15.jar; D:/ColdFusion10/cfusion/lib/lucene-analyzers-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-core-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-highlighter-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucene-memory-3.4.0.jar; D:/ColdFusion10/cfusion/lib/lucenedemo.jar; D:/ColdFusion10/cfusion/lib/macromedia_drivers.jar; D:/ColdFusion10/cfusion/lib/mail.jar; D:/ColdFusion10/cfusion/lib/metadata-extractor-2.4.0-beta-1.jar; D:/ColdFusion10/cfusion/lib/mlibwrapper_jai.jar; D:/ColdFusion10/cfusion/lib/msapps.jar; D:/ColdFusion10/cfusion/lib/mysql-connector-java-commercial-5.1.17-bin.jar; D:/ColdFusion10/cfusion/lib/namespace.jar; D:/ColdFusion10/cfusion/lib/nekohtml.jar; D:/ColdFusion10/cfusion/lib/netty-3.2.5.Final.jar; D:/ColdFusion10/cfusion/lib/ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/pdfencryption.jar; D:/ColdFusion10/cfusion/lib/poi-contrib.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml-schemas.jar; D:/ColdFusion10/cfusion/lib/poi-ooxml.jar; D:/ColdFusion10/cfusion/lib/poi-scratchpad.jar; D:/ColdFusion10/cfusion/lib/poi.jar; D:/ColdFusion10/cfusion/lib/portlet_20.jar; D:/ColdFusion10/cfusion/lib/postgresql-8.3-604.jdbc3.jar; D:/ColdFusion10/cfusion/lib/quartz.jar; D:/ColdFusion10/cfusion/lib/relaxngDatatype.jar; D:/ColdFusion10/cfusion/lib/ri_generic.jar; D:/ColdFusion10/cfusion/lib/rome-cf.jar; D:/ColdFusion10/cfusion/lib/saaj.jar; D:/ColdFusion10/cfusion/lib/saxon9he.jar; D:/ColdFusion10/cfusion/lib/serializer.jar; D:/ColdFusion10/cfusion/lib/slf4j-api-1.5.6.jar; D:/ColdFusion10/cfusion/lib/slf4j-log4j12-1.5.6.jar; D:/ColdFusion10/cfusion/lib/smack.jar; D:/ColdFusion10/cfusion/lib/smpp.jar; D:/ColdFusion10/cfusion/lib/STComm.jar; D:/ColdFusion10/cfusion/lib/tagsoup-1.2.jar; D:/ColdFusion10/cfusion/lib/tika-core-0.6.jar; D:/ColdFusion10/cfusion/lib/tika-parsers-0.6.jar; D:/ColdFusion10/cfusion/lib/tools.jar; D:/ColdFusion10/cfusion/lib/tt-bytecode.jar; D:/ColdFusion10/cfusion/lib/wc50.jar; D:/ColdFusion10/cfusion/lib/webchartsJava2D.jar; D:/ColdFusion10/cfusion/lib/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-commons-0.5-SNAPSHOT.jar; D:/ColdFusion10/cfusion/lib/wsrp4j-producer.jar; D:/ColdFusion10/cfusion/lib/xalan.jar; D:/ColdFusion10/cfusion/lib/xercesImpl.jar; D:/ColdFusion10/cfusion/lib/xml-apis.jar; D:/ColdFusion10/cfusion/lib/xmlbeans-2.3.0.jar; D:/ColdFusion10/cfusion/lib/xmpcore.jar; D:/ColdFusion10/cfusion/lib/xsdlib.jar; D:/ColdFusion10/cfusion/lib/; D:/ColdFusion10/cfusion/lib/axis2/axiom-api-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-dom-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axiom-impl-1.2.13.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-codegen-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-jaxws-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-kernel-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-http-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-local-1.7.0.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-fileupload-1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/commons-io-1.4.jar; D:/ColdFusion10/cfusion/lib/axis2/geronimo-ws-metadata_2.0_spec-1.1.2.jar; D:/ColdFusion10/cfusion/lib/axis2/httpcore-4.0.jar; D:/ColdFusion10/cfusion/lib/axis2/neethi-3.0.2.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-api-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-commons-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/woden-impl-dom-1.0.jar; D:/ColdFusion10/cfusion/lib/axis2/wsdl4j-1.6.2.jar; D:/ColdFusion10/cfusion/lib/axis2/wstx-asl-3.2.9.jar; D:/ColdFusion10/cfusion/lib/axis2/XmlSchema-1.4.8.jar; D:/ColdFusion10/cfusion/lib/axis2/; D:/ColdFusion10/cfusion/gateway/lib/examples.jar; D:/ColdFusion10/cfusion/gateway/lib/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-css.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-ext.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-util.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-discovery.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-logging.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/concurrent.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/flex.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jcert.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jnet.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jsse.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/oscache.jar; D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/;
Java Class Path D:\\ColdFusion10\\cfusion\lib\oosdk\lib;
D:\\ColdFusion10\\cfusion\lib\oosdk\classes;
D:\ColdFusion10\cfusion\bin\..\runtime\bin\tomcat-juli.jar;
D:\ColdFusion10\cfusion\bin\cf-bootstrap.jar
Java Ext Dirs D:\ColdFusion10\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
Printer Details
Default Printer
Printers
Server Information
General Settings
Timeout requests Yes
Enable Per App Settings Yes
Request Time Limit 120 seconds
Use UUID for CFToken Yes
Disable Service Factory No
Protect serialized JSON No
Protect Serialized JSON Prefix //
Missing Template Handler /404b.cfm
Site-wide Error Handler /errorCatch.cfm
Enable HTTP status codes Yes
Enable Global Script Protection Yes
ORMSearch Index Directory
Default CFForm ScriptSrc Directory /CFIDE/scripts/
Google Map Key
Maximum size of post data 100 MB
Request Throttle Threshold 4 MB
Request Throttle Memory 200 MB
Request Tuning
Simultaneous request limit 20
Flash Remoting request limit 5
Web Service request limit 20
CFC request limit 20
CFThread Pool Size 10
Maximum number of report threads 8
Request Queue Timeout 120 seconds
Request Queue Timeout Page
Caching
Template cache size 150 templates
Enable trusted cache No
Cached query limit 500
Save Class Files Yes
Client Variable Settings
Default client variable store ecom
Purge Interval 1 hours 7 minutes
Client Stores
Registry
Type REGISTRY
Description System registry.
Purge data after time limit Yes
Time limit 90 days
Disable global updates No
ecom
Type JDBC
Description
Purge data after time limit No
Time limit 2 days
Disable global updates Yes
Cookie
Type COOKIE
Description Client based text file.
Purge data after time limit Yes
Time limit 10 days
Disable global updates No
Memory Variables
J2EE Sessions No
Application Variables
Enable Application Variables Yes
Default Timeout 2,0,0,0
Maximum Timeout 2,0,0,0
Session Variables
Enable session variables Yes
Default Timeout 0,0,20,0
Maximum Timeout 2,0,0,0
ColdFusion Mappings
/gateway D:\ColdFusion10\cfusion\gateway\cfc
/CFIDE D:\ColdFusion10\cfusion\wwwroot\CFIDE
Mail Connection Settings
Default Server Port 25
Connection Timeout 60 seconds
Spool Interval 30 seconds
Mail Delivery Threads 10
Maintain Connection to Mail Server Yes
Spool Messages To disk
Max Messages Spooled to Memory 50000
Default CFMail Charset UTF-8
Use SSL Connection No
Use TLS No
Default Mail Server
smtp.example.com
Server smtp.example.com
Port 25
Username
Password
Backup Mail Servers
smtp-backup.example.com
Server smtp-backup.example.com
Port 25
Username
Password
Mail Logging Settings
Log Severity warning
Log all E-mail messages sent by ColdFusion Yes
Charting
Cache Type disk images
Maximum number of images in cache 50 images
Maximum number of charting threads 4
Disk cache location D:\ColdFusion10\cfusion\charting\cache
Data & Services
Database Data Sources
GES
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStringPar ametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username sa
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfcodeexplorer
CF data source name cfcodeexplorer
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfcodeexplorer;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecom
CF data source name ecom
Description
Driver
JDBC URL jdbc:macromedia:oracle://10.10.120.13:1521;serviceName=ecom;alternateServers=(10.10.120.1 4:1521);loadBalancing=true
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfbookclub
CF data source name cfbookclub
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\bookclub;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
ecomd
CF data source name ecomd
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1521;SID=ecomd;AuthenticationMethod=userIDPassword;sendSt ringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username ges
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
GES_New
CF data source name GES
Description
Driver MSSQLServer
JDBC URL jdbc:macromedia:sqlserver://MSSQL\MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStr ingParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
E1_Oracle
CF data source name E1
Description
Driver Oracle
JDBC URL jdbc:macromedia:oracle://ORACLE:1516;SID=E1;AuthenticationMethod=userIDPassword;sendStrin gParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
Username user
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfdocexamples
CF data source name cfdocexamples
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfdocexamples;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
cfartgallery
CF data source name cfartgallery
Description
Driver Apache Derby Embedded
JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\artgallery;create=false
Username
Login timeout 30 seconds
Long text buffer size 64000
Timeout 1200 seconds
Maintain connections Yes
Interval 420 seconds
Restricted SQL operations
Disable connections No
Web Services
Debugging & Logging
Debugging Settings
Enable debugging No
Enable Robust Exception Information No
Display format classic.cfm
Execution times Yes
Execution time format summary
Execution time highlight threshold 250 ms
Database activity Yes
Exception information Yes
Tracing information Yes
Timer Information No
Variables Yes
Variables
Application Yes
CGI Yes
Client Yes
Cookie Yes
Form Yes
Request Yes
Server No
Session No
URL Yes
Debugging IP Addresses
Debugging IP Address Restrictions
Line Debugger Settings
Allow Line Debugging NO
Debugger Port 5005
Max Simultaneous Debugging Sessions 5
Logging Settings
Log directory D:\ColdFusion10\cfusion\logs
Maximum file size 5000 KB
Maximum number of archives 10
Log slow pages Yes
Slow page time limit 60 seconds
Log CORBA calls No
Log scheduled tasks No
Schedule Tasks & Probes
Scheduled Tasks
Auto Replenish Notify S9 Order Min Levels Reached
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=rfid.SendReplenishEmails
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish Notify Customer Badge Replenishment
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:00:00 AM
URL http://server1.example.com/uri1/act_notifyUserBadge.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Auto Replenish
Start Date 9/2/2014
End Date
Interval Daily
Start Time 2:10:00 AM
URL http://server1.example.com/uri1/uri2/uri3/Replenish2.cfm
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
Contact Updates and Registrations
Start Date 9/2/2014
End Date
Interval 65
Start Time 12:05:00 AM
URL http://server1.example.com/index.cfm?fuseaction=intCRM.sendCRMObjects
Username
Timeout
Proxy Server
Proxy Port 80
Save output to file No
Publish path
Publish filename
Resolve URLs No
System Probes
Extensions
Java Applets
CFX Tags
cfx_xml2cfx
Tag name cfx_xml2cfx
Description
Type CPP
Server library c:\cfusion8\cfx\xml2cfx\cfx_xml2cfx.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_encrypt_aes
Tag name cfx_encrypt_aes
Description DB encryption library
Type CPP
Server library C:\cfusion8\cfx\aes\cfx_encrypt_aes.dll
Keep library loaded true
Procedure ProcessTagRequest
cfx_exec
Tag name cfx_exec
Description
Type CPP
Server library c:\CFusion8\cfx\exec\cfx_exec.dll
Keep library loaded true
Procedure ProcessTagRequest
Custom Tag Paths
D:\web\app1\app2\app3\activedit3
D:\ColdFusion10\cfusion/CustomTags
D:\ColdFusion8\CustomTags
CORBA
Selected connector [ none]
Connectors
Event Gateways
Settings
Enable Event Gateway Yes
Thread Pool Size 10
Max Queue Size 25000
Gateway Types
SMS
Description Handles SMS text messaging
Class coldfusion.eventgateway.sms.SMSGateway
Timeout 30 seconds
Kill On Timeout Yes
XMPP
Description Handles XMPP instant messaging
Class coldfusion.eventgateway.im.XMPPGateway
Timeout 30 seconds
Kill On Timeout Yes
SAMETIME
Description Handles Lotus SAMETIME instant messaging
Class coldfusion.eventgateway.im.SAMETIMEGateway
Timeout 30 seconds
Kill On Timeout Yes
DirectoryWatcher
Description Watches a directory for file changes
Class examples.watcher.DirectoryWatcherGateway
Timeout 30 seconds
Kill On Timeout Yes
Socket
Description Listens on a socket
Class examples.socket.SocketGateway
Timeout 30 seconds
Kill On Timeout Yes
CFML
Description Handles asynchronous events through CFCs
Class coldfusion.eventgateway.cfml.CfmlGateway
Timeout 30 seconds
Kill On Timeout Yes
JMS
Description Handles Java Messaging Service messages
Class examples.JMS.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
ActiveMQ
Description Handles Apache ActiveMQ JMS messages
Class examples.ActiveMQ.JMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataServicesMessaging
Description Handles Data Services Messaging messages
Class coldfusion.eventgateway.flex.FlexMessagingGateway
Timeout 30 seconds
Kill On Timeout No
FMS
Description Handles Flash Media Server shared objects
Class coldfusion.eventgateway.fms.FMSGateway
Timeout 30 seconds
Kill On Timeout Yes
DataManagement
Description Notifies Data Management Services of data changes
Class coldfusion.eventgateway.flex.FlexDataManagementGateway
Timeout 30 seconds
Kill On Timeout Yes
Security
CF Admin Authentication
Enable authentication for the ColdFusion Administrator Yes
Allow access to ColdFusion Administrator with a Single password No
RDS Authentication
Enable authentication for RDS access Yes
Allow access through RDS with Single password Yes
Security Sandboxes
Enable ColdFusion Security No
jvm.config
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=D:\\ColdFusion10\\jre
application.home=D:\\ColdFusion10\\cfusion
# If no java.home is specified a VM is located by looking in these places in this
# order:
# 1) ../runtime/jre
# 2) registry (windows only)
# 3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# 4) java.exe in path
# Arguments to VM
java.args=-server -Xms768m -Xmx1280m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dges.config.serverEnvironment=prod2 -Dges.config.webServerHostName=server1.example.com -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars
# Comma separated list of shared library path
java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes -
Force use of accessors? (getters & setters)
How to prevent/detect the incorrect direct use of properies in cf9 e.g.
aPerson.FirstName = "Rumplestiltskin";
...when a component is rewritten to use accessors e.g.
aPerson.setFirstName("Rumplestiltskin");
e.g. a component is changed from...
Component Person {
property name="FirstName" type="string";
...to...
Component Person accessors="true" {
property name="FirstName" type="string" getter="true" setter="true";
1) Is it possible to prevent the propeties being set directly?
e.g. This should cause an error:
aPerson.FirstName = "Rumplestiltskin";
In practice, properties can still be set directly even though the component has declared that accessors should be used. I want to make this illegal im my app.
2) Is it possible to prevent the use of undeclared properties?
e.g. This should cause an error:
aPerson.ChristianName = "Rumplestiltskin"; // non-existent property
or
aPerson.furstname = "Rumplestiltskin"; // Mis-spelt property
In practice, properties can be set even if they don't exist. I want to make this illegal im my app.
3) Is it possible to intercept the direct use of properties
e.g. when this is executed...
aPerson.FirstName = "Rumplestiltskin";
..the function aPerson.setFirstName() is called
This would make it possible to solve 1), or better still, make the app backwardly compatible.
When an app is rewritten to use accessors, I don't want to have to change every instance of
aPerson.FirstName = "Rumplestiltskin";
...to...
aPerson.setFirstName("Rumplestiltskin");
...or at least, I want to be told if I've missed one.
Thanks,
JulianSystem Information
Server Details
Server Product
ColdFusion
Version
9,0,0,251028
Edition
Developer
Operating System
Windows 7
OS Version
6.1
Adobe Driver Version
4.0 (Build 0005)
JVM Details
Java Version
1.6.0_14
Java Vendor
Sun Microsystems Inc.
Java Vendor URL
http://java.sun.com/
Java Home
C:\ColdFusion9\runtime\jre
Java File Encoding
Cp1252
Java Default Locale
en_GB
File Separator
Path Separator
Line Separator
Chr(13)
User Name
XXXX
User Home
C:\
User Dir
C:\ColdFusion9\runtime\bin
Java VM Specification Version
1.0
Java VM Specification Vendor
Sun Microsystems Inc.
Java VM Specification Name
Java Virtual Machine Specification
Java VM Version
14.0-b16
Java VM Vendor
Sun Microsystems Inc.
Java VM Name
Java HotSpot(TM) Server VM
Java Specification Version
1.6
Java Specification Vendor
Sun Microsystems Inc.
Java Specification Name
Java Platform API Specification
Java Class Version
50.0
CF Server Java Class Path
;C:/ColdFusion9/runtime/../lib/activation.jar; C:/ColdFusion9/runtime/../lib/ant-launcher.jar; C:/ColdFusion9/runtime/../lib/ant.jar; C:/ColdFusion9/runtime/../lib/antlr-2.7.6.jar; C:/ColdFusion9/runtime/../lib/apache-solr-core.jar; C:/ColdFusion9/runtime/../lib/apache-solr-solrj.jar; C:/ColdFusion9/runtime/../lib/asn1.jar; C:/ColdFusion9/runtime/../lib/axis.jar; C:/ColdFusion9/runtime/../lib/backport-util-concurrent.jar; C:/ColdFusion9/runtime/../lib/bcel.jar; C:/ColdFusion9/runtime/../lib/bcmail-jdk14-139.jar; C:/ColdFusion9/runtime/../lib/bcprov-jdk14-139.jar; C:/ColdFusion9/runtime/../lib/cdo.jar; C:/ColdFusion9/runtime/../lib/cdohost.jar; C:/ColdFusion9/runtime/../lib/certj.jar; C:/ColdFusion9/runtime/../lib/cf-acrobat.jar; C:/ColdFusion9/runtime/../lib/cf-assembler.jar; C:/ColdFusion9/runtime/../lib/cf-logging.jar; C:/ColdFusion9/runtime/../lib/cf4was.jar; C:/ColdFusion9/runtime/../lib/cf4was_ae.jar; C:/ColdFusion9/runtime/../lib/cfusion-req.jar; C:/ColdFusion9/runtime/../lib/cfusion.jar; C:/ColdFusion9/runtime/../lib/clibwrapper_jiio.jar; C:/ColdFusion9/runtime/../lib/commons-beanutils-1.8.0.jar; C:/ColdFusion9/runtime/../lib/commons-codec-1.3.jar; C:/ColdFusion9/runtime/../lib/commons-collections-3.2.1.jar; C:/ColdFusion9/runtime/../lib/commons-digester-2.0.jar; C:/ColdFusion9/runtime/../lib/commons-discovery-0.4.jar; C:/ColdFusion9/runtime/../lib/commons-httpclient-3.1.jar; C:/ColdFusion9/runtime/../lib/commons-lang-2.4.jar; C:/ColdFusion9/runtime/../lib/commons-logging-1.1.1.jar; C:/ColdFusion9/runtime/../lib/commons-logging-api-1.1.1.jar; C:/ColdFusion9/runtime/../lib/commons-net-2.0.jar; C:/ColdFusion9/runtime/../lib/commons-vfs-1.0.jar; C:/ColdFusion9/runtime/../lib/crystal.jar; C:/ColdFusion9/runtime/../lib/derby.jar; C:/ColdFusion9/runtime/../lib/derbyclient.jar; C:/ColdFusion9/runtime/../lib/derbynet.jar; C:/ColdFusion9/runtime/../lib/derbyrun.jar; C:/ColdFusion9/runtime/../lib/derbytools.jar; C:/ColdFusion9/runtime/../lib/dom4j-1.6.1.jar; C:/ColdFusion9/runtime/../lib/ehcache-web.jar; C:/ColdFusion9/runtime/../lib/ehcache.jar; C:/ColdFusion9/runtime/../lib/FCSj.jar; C:/ColdFusion9/runtime/../lib/flashgateway.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-common.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-core.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-opt.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-proxy.jar; C:/ColdFusion9/runtime/../lib/flex-messaging-remoting.jar; C:/ColdFusion9/runtime/../lib/geronimo-stax-api_1.0_spec-1.0.jar; C:/ColdFusion9/runtime/../lib/hibernate3.jar; C:/ColdFusion9/runtime/../lib/httpclient.jar; C:/ColdFusion9/runtime/../lib/ib6addonpatch.jar; C:/ColdFusion9/runtime/../lib/ib6core.jar; C:/ColdFusion9/runtime/../lib/ib6http.jar; C:/ColdFusion9/runtime/../lib/ib6swing.jar; C:/ColdFusion9/runtime/../lib/ib6util.jar; C:/ColdFusion9/runtime/../lib/im.jar; C:/ColdFusion9/runtime/../lib/iText.jar; C:/ColdFusion9/runtime/../lib/iTextAsian.jar; C:/ColdFusion9/runtime/../lib/izmado.jar; C:/ColdFusion9/runtime/../lib/jai_codec.jar; C:/ColdFusion9/runtime/../lib/jai_core.jar; C:/ColdFusion9/runtime/../lib/jai_imageio.jar; C:/ColdFusion9/runtime/../lib/jakarta-oro-2.0.6.jar; C:/ColdFusion9/runtime/../lib/jakarta-slide-webdavlib-2.1.jar; C:/ColdFusion9/runtime/../lib/java2wsdl.jar; C:/ColdFusion9/runtime/../lib/jax-qname.jar; C:/ColdFusion9/runtime/../lib/jaxb-api.jar; C:/ColdFusion9/runtime/../lib/jaxb-impl.jar; C:/ColdFusion9/runtime/../lib/jaxb-libs.jar; C:/ColdFusion9/runtime/../lib/jaxb-xjc.jar; C:/ColdFusion9/runtime/../lib/jaxrpc.jar; C:/ColdFusion9/runtime/../lib/jdom-1.0.jar; C:/ColdFusion9/runtime/../lib/jeb.jar; C:/ColdFusion9/runtime/../lib/jintegra.jar; C:/ColdFusion9/runtime/../lib/jnbcore.jar; C:/ColdFusion9/runtime/../lib/jpedal.jar; C:/ColdFusion9/runtime/../lib/js.jar; C:/ColdFusion9/runtime/../lib/jsch-0.1.41m.jar; C:/ColdFusion9/runtime/../lib/jsr107cache.jar; C:/ColdFusion9/runtime/../lib/jutf7-0.9.0.jar; C:/ColdFusion9/runtime/../lib/ldap.jar; C:/ColdFusion9/runtime/../lib/ldapbp.jar; C:/ColdFusion9/runtime/../lib/log4j-1.2.15.jar; C:/ColdFusion9/runtime/../lib/lucene-analyzers.jar; C:/ColdFusion9/runtime/../lib/lucene.jar; C:/ColdFusion9/runtime/../lib/lucenedemo.jar; C:/ColdFusion9/runtime/../lib/macromedia_drivers.jar; C:/ColdFusion9/runtime/../lib/mail.jar; C:/ColdFusion9/runtime/../lib/metadata-extractor-2.4.0-beta-1.jar; C:/ColdFusion9/runtime/../lib/mlibwrapper_jai.jar; C:/ColdFusion9/runtime/../lib/msapps.jar; C:/ColdFusion9/runtime/../lib/mysql-connector-java-commercial-5.1.7-bin.jar; C:/ColdFusion9/runtime/../lib/namespace.jar; C:/ColdFusion9/runtime/../lib/nekohtml.jar; C:/ColdFusion9/runtime/../lib/ooxml-schemas.jar; C:/ColdFusion9/runtime/../lib/pdfencryption.jar; C:/ColdFusion9/runtime/../lib/poi-contrib.jar; C:/ColdFusion9/runtime/../lib/poi-ooxml.jar; C:/ColdFusion9/runtime/../lib/poi-scratchpad.jar; C:/ColdFusion9/runtime/../lib/poi.jar; C:/ColdFusion9/runtime/../lib/portlet_20.jar; C:/ColdFusion9/runtime/../lib/postgresql-8.3-604.jdbc3.jar; C:/ColdFusion9/runtime/../lib/relaxngDatatype.jar; C:/ColdFusion9/runtime/../lib/ri_generic.jar; C:/ColdFusion9/runtime/../lib/rome-cf.jar; C:/ColdFusion9/runtime/../lib/saaj.jar; C:/ColdFusion9/runtime/../lib/slf4j-api-1.5.6.jar; C:/ColdFusion9/runtime/../lib/slf4j-log4j12-1.5.6.jar; C:/ColdFusion9/runtime/../lib/smack.jar; C:/ColdFusion9/runtime/../lib/smpp.jar; C:/ColdFusion9/runtime/../lib/STComm.jar; C:/ColdFusion9/runtime/../lib/tools.jar; C:/ColdFusion9/runtime/../lib/tt-bytecode.jar; C:/ColdFusion9/runtime/../lib/vadmin.jar; C:/ColdFusion9/runtime/../lib/verity.jar; C:/ColdFusion9/runtime/../lib/vparametric.jar; C:/ColdFusion9/runtime/../lib/vsearch.jar; C:/ColdFusion9/runtime/../lib/wc50.jar; C:/ColdFusion9/runtime/../lib/webchartsJava2D.jar; C:/ColdFusion9/runtime/../lib/wsdl2java.jar; C:/ColdFusion9/runtime/../lib/wsdl4j-1.5.1.jar; C:/ColdFusion9/runtime/../lib/wsrp4j-commons-0.5-SNAPSHOT.jar; C:/ColdFusion9/runtime/../lib/wsrp4j-producer.jar; C:/ColdFusion9/runtime/../lib/xalan.jar; C:/ColdFusion9/runtime/../lib/xercesImpl.jar; C:/ColdFusion9/runtime/../lib/xml-apis.jar; C:/ColdFusion9/runtime/../lib/xmlbeans-2.3.0.jar; C:/ColdFusion9/runtime/../lib/xmpcore.jar; C:/ColdFusion9/runtime/../lib/xsdlib.jar; C:/ColdFusion9/runtime/../lib/; C:/ColdFusion9/runtime/../gateway/lib/examples.jar; C:/ColdFusion9/runtime/../gateway/lib/; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-css.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-ext.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/batik-util.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/commons-discovery.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/commons-logging.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/concurrent.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/flex.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jcert.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jnet.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/jsse.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/oscache.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/cfform/jars/; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/concurrent.jar; C:/ColdFusion9/runtime/../wwwroot/WEB-INF/flex/jars/;
Java Class Path
C:\ColdFusion9\runtime\servers\lib;
C:\ColdFusion9\runtime\servers\lib\jrun-patch.jar;
C:\ColdFusion9\runtime\..\lib\macromedia_drivers.jar;
C:\ColdFusion9\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\classes;
C:\ColdFusion9\runtime\..\lib\oosdk\lib;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\juh.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\jurt.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\ridl.jar;
C:\ColdFusion9\runtime\..\lib\oosdk\lib\unoil.jar;
C:\ColdFusion9\runtime\lib;
C:\ColdFusion9\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion9\runtime\lib\instutil.jar;
C:\ColdFusion9\runtime\lib\java2wsdl.jar;
C:\ColdFusion9\runtime\lib\jrun-ant-tasks.jar;
C:\ColdFusion9\runtime\lib\jrun-xdoclet.jar;
C:\ColdFusion9\runtime\lib\jrun.jar;
C:\ColdFusion9\runtime\lib\jspc.jar;
C:\ColdFusion9\runtime\lib\migrate.jar;
C:\ColdFusion9\runtime\lib\oem-xdoclet.jar;
C:\ColdFusion9\runtime\lib\sniffer.jar;
C:\ColdFusion9\runtime\lib\webservices.jar;
C:\ColdFusion9\runtime\lib\wsconfig.jar;
C:\ColdFusion9\runtime\lib\wsdl2java.jar;
C:\ColdFusion9\runtime\lib\xmlscript.jar;
C:\ColdFusion9\runtime\lib\jrun.jar
Java Ext Dirs
C:\ColdFusion9\runtime\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
Printer Details
Default Printer
Printers
Microsoft XPS Document Writer
Fax
Server Information
General Settings
Timeout requests
Yes
Enable Per App Settings
Yes
Request Time Limit
3600 seconds
Use UUID for CFToken
No
Enable Whitespace Management
Yes
Disable Service Factory
No
Protect serialized JSON
No
Protect Serialized JSON Prefix
Missing Template Handler
Site-wide Error Handler
Enable HTTP status codes
Yes
Enable Global Script Protection
Yes
Default CFForm ScriptSrc Directory
/CFIDE/scripts/
Google Map Key
Maximum size of post data
100 MB
Request Throttle Threshold
4 MB
Request Throttle Memory
200 MB
Request Tuning
Simultaneous request limit
10
Flash Remoting request limit
5
Web Service request limit
5
CFC request limit
10
CFThread Pool Size
10
Maximum number of report threads
8
Request Queue Timeout
60 seconds
Request Queue Timeout Page
Maximum number of running JRun threads
50
Maximum number of queued JRun threads
1000
Caching
Template cache size
1024 templates
Enable trusted cache
No
Cached query limit
100
Save Class Files
Yes
Cache web server paths
No
Client Variable Settings
Default client variable store
Registry
Client Stores
Registry
Type
REGISTRY
Description
System registry.
Purge data after time limit
Yes
Time limit
90 days
Disable global updates
No
Cookie
Type
COOKIE
Description
Client based text file.
Purge data after time limit
Yes
Time limit
10 days
Disable global updates
No
Memory Variables
J2EE Sessions
No
Application Variables
Enable Application Variables
Yes
Default Timeout
2,0,0,0
Maximum Timeout
2,0,0,0
Session Variables
Enable session variables
Yes
Default Timeout
0,0,20,0
Maximum Timeout
2,0,0,0
ColdFusion Mappings
/gateway
C:\ColdFusion9\gateway\cfc
/CFIDE
C:\inetpub\wwwroot\CFIDE
Mail Connection Settings
Default Server Port
587
Connection Timeout
60 seconds
Spool Interval
15 seconds
Mail Delivery Threads
10
Maintain Connection to Mail Server
No
Spool Messages To
disk
Max Messages Spooled to Memory
50000
Default CFMail Charset
UTF-8
Use SSL Connection
No
Use TLS
Yes
Default Mail Server
smtp.gmail.com
Server
smtp.gmail.com
Port
587
Username
XXXX
Password
not shown
Mail Logging Settings
Log Severity
warning
Log all E-mail messages sent by ColdFusion
No
Charting
Cache Type
disk images
Maximum number of images in cache
50 images
Maximum number of charting threads
4
Disk cache location
C:\ColdFusion9\charting\cache
Java and JVM
Java virtual machine path
C:/ColdFusion9/runtime/jre
Initial memory size
MB
Maximum memory size
512 MB
Class path
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/cfform/jars,{applicatio n.home}/../wwwroot/WEB-INF/flex/jars
JVM arguments
-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib
Debugging & Logging
Debugging Settings
Enable debugging
Yes
Enable Robust Exception Information
Yes
Display format
classic.cfm
Execution times
Yes
Execution time format
summary
Execution time highlight threshold
250 ms
Database activity
Yes
Exception information
Yes
Tracing information
Yes
Timer Information
Yes
Variables
Yes
Variables
Application
Yes
CGI
Yes
Client
Yes
Cookie
Yes
Form
Yes
Request
Yes
Server
Yes
Session
Yes
URL
Yes
Debugging IP Addresses
Debugging IP Address Restrictions
127.0.0.1
0:0:0:0:0:0:0:1
Line Debugger Settings
Allow Line Debugging
NO
Debugger Port
5005
Max Simultaneous Debugging Sessions
5
Logging Settings
Log directory
C:\ColdFusion9\logs
Maximum file size
5000 KB
Maximum number of archives
10
Log slow pages
No
Slow page time limit
30 seconds
Log CORBA calls
No
Log scheduled tasks
No
Schedule Tasks & Probes
Scheduled Tasks
System Probes
Extensions
Java Applets
CFX Tags
Custom Tag Paths
C:\ColdFusion9/CustomTags
CORBA
Selected connector
[ none]
Connectors
Event Gateways
Settings
Enable Event Gateway
Yes
Thread Pool Size
1
Max Queue Size
10
Gateway Types
SMS
Description
Handles SMS text messaging
Class
coldfusion.eventgateway.sms.SMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
XMPP
Description
Handles XMPP instant messaging
Class
coldfusion.eventgateway.im.XMPPGateway
Timeout
30 seconds
Kill On Timeout
Yes
SAMETIME
Description
Handles Lotus SAMETIME instant messaging
Class
coldfusion.eventgateway.im.SAMETIMEGateway
Timeout
30 seconds
Kill On Timeout
Yes
DirectoryWatcher
Description
Watches a directory for file changes
Class
examples.watcher.DirectoryWatcherGateway
Timeout
30 seconds
Kill On Timeout
Yes
Socket
Description
Listens on a socket
Class
examples.socket.SocketGateway
Timeout
30 seconds
Kill On Timeout
Yes
CFML
Description
Handles asynchronous events through CFCs
Class
coldfusion.eventgateway.cfml.CfmlGateway
Timeout
30 seconds
Kill On Timeout
Yes
JMS
Description
Handles Java Messaging Service messages
Class
examples.JMS.JMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
ActiveMQ
Description
Handles Apache ActiveMQ JMS messages
Class
examples.ActiveMQ.JMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
DataServicesMessaging
Description
Handles Data Services Messaging messages
Class
coldfusion.eventgateway.flex.FlexMessagingGateway
Timeout
30 seconds
Kill On Timeout
No
FMS
Description
Handles Flash Media Server shared objects
Class
coldfusion.eventgateway.fms.FMSGateway
Timeout
30 seconds
Kill On Timeout
Yes
DataManagement
Description
Notifies Data Management Services of data changes
Class
coldfusion.eventgateway.flex.FlexDataManagementGateway
Timeout
30 seconds -
How to configure an jms adapter to use ActiveMQ?
Does anyone have an example of how to configure an jms adapter of oracle esb
for third party JMS provider to use ActiveMQ?
I had done something as follow:
1、add activemq shared-library in $SOA_INSTANCE/config/service.xml
2、config a jms adapter fro third party use paramter:
java.naming.factory.initial org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url tcp://10.20.30.26:61615
but I got a error:ERRJMS_CONN_FAC_NOT_FOUND.
Caused by: javax.naming.NameNotFoundException: org.apache.activemq.ActiveMQConnectionFactory
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:225)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.jms.JMS.JMSFactory.jndiLookup(JMSFactory.java:237)
at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:138)
... 51 more
what should I do? can someone give me a detail resolvent?I also had done as follows:
1、add activemq shared-library to shared-library named "oracle.esb" in server.xml :
<shared-library name="oracle.esb" version="10.1.3">
<import-shared-library name="apache.activemq"/>
</shared-library>
2、add in $SOA_INSTANCE\j2ee\soa\application-deployments\default\JmsAdapter\oc4j-ra.xml
<imported-shared-libraries>
<import-shared-library name="apache.activemq"/>
</imported-shared-libraries> -
Hi,
I'm getting following warning when I try to connect two JMS Bridge Destinations (source WebLogic and destination ActiveMQ) through a Bridge.
<Warning> <Connector> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: Failed to start the connection ">
But when I test it by sending message WL does not forward that message to destination queue (ActiveMQ).
When I try to send message individually in WL Queue and MQ Queue from POJO class to test it it works fine.
Please find the setting details
JMS Bridge Destination for ActiveMQ
Adapter JNDI Name: eis.jms.WLSConnectionFactoryJNDINoTX
Classpath: path of activemq-core-5.4.2.jar
Connection URL: tcp://***.***.***.***:****
Initial Context Factory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
Connection Factory JNDI Name: QueueConnectionFactory
Destination JNDI Name: destination queue
Destination Type: Queue
JMS Bridge Destination for WebLogic
Adapter JNDI Name: eis.jms.WLSConnectionFactoryJNDINoTX
Classpath:
Connection URL: t3://***.***.***.***:****
Initial Context Factory: weblogic.jndi.WLInitialContextFactory
Connection Factory JNDI Name: JNDI name of Connection Factory which is created in JMS module
Destination JNDI Name: JNDI name of Queue which is created in JMS Module
Destination Type: Queue
User Name: given
Password: given
Thanks in advance
Regards
Amlendu
Edited by: user7468329 on May 1, 2011 10:01 PMHi,
There's troubleshooting information in the bridge documentation.
google: FAQs: WebLogic Messaging Bridge site:oracle.com
Hope this helps.
Tom -
Does JMS support reliable messaging (store-and-forward) for app clients?
I need to write an enterprise application client (launched with Java web start or packaged with a tool like Sun's package-appclient) that can send messages reliably from Linux to Windows. JMS seems like the obvious solution, so I deployed an EAR file with an MDB and an application client on a Windows machine (running SJSAS 9). I was able to download the client jar file onto Linux and send JMS messages successfully. However, if the Windows machine is not available, the Linux client immediately throws exceptions and fails. Are there any JMS providers that provide a store-and-forward mechanism for enterprise clients, so that if the remote server is not available immediately, messages are delivered later? (Note that the client can't be a servlet or other server-managed component.)
I'd prefer an open-source solution, but this requirement has an extremely high priority for my customer, so I'll use a commercial product if necessary. And if there's something other than JMS that works, that would be fine. (In my case, the messages on the remote side ultimately go to a .NET service, so WS-ReliableMessaging would be ideal, but it looks WS-RM won't be integrated into .NET until Vista, and the current WS-RM implementation is a beta, etc., etc.)
Thanks,
MikeYou could use Apache ActiveMQ
http://incubator.apache.org/activemq/
which supports embedded brokers inside each JVM which can be networked together in a store-forward mechanism so that each application keeps working and store-forwarding messages.
http://incubator.apache.org/activemq/networks-of-brokers.html
or you can use failover transport to handle automatic reconnection...
http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html
If you need to communicate with some .Net you can use the NMS - the .Net Messaging API which has a client for ActiveMQ as well...
http://incubator.apache.org/activemq/nms.html
James
http://logicblaze.com/
Open Source SOA -
How to configure JMS listener in separate jvm
Hi Guys,
I am new to this forums so please let me know if iam making any mistake.
I have 2 instances of tomcat running on different port numbers. I am using apache ActiveMq as my message broker for sending the jms message using queue. Code for sending the message is present in a servlet. So when I run that servlet message gets sent.
In my other tomcat i retrieve this jms message. But for me issue is this messsage gets retrieved only if i write this code in a servlet and I run that servlet.
Is there any way where i can configure a listener for my class present in tomcat 2. So that when message gets sent that piece of code gets triggered automatically and I can read that message.Sounds like you want basic JMS message consumer functionality.
http://docs.oracle.com/javaee/1.4/tutorial/doc/JMS4.html#wp79145 -
How toremove messages from JMS Queue?how to configure queue in spring?
Hi
I have Confiured a JMS configaration in spring applicationConfiguaration.xml file
<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:61616"/>
<property name="useAsyncSend" value="true"/>
</bean>
<bean id="queue" class="org.apache.activemq.command.ActiveMQQueue">
<constructor-arg value="foo"/>
</bean>
<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
<property name="config" value="classpath:activemq.xml" />
<property name="start" value="true" />
<!-- <property name="messageListener" ref="auditInterface"/> -->
</bean>
<bean id="auditInterface"
class="org.springframework.jms.remoting.JmsInvokerProxyFactoryBean">
<property name="serviceInterface" value="com.infiniti.gpn.auditing.AuditInterface"/>
<property name="connectionFactory" ref="connectionFactory"/>
<property name="queue" ref="queue"/>
</bean>
<bean id="listenerContainer" class="org.springframework.jms.listener.SimpleMessageListenerContainer">
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="queue"/>
<property name="messageListener" ref="auditMessageListener"/>
</bean>
Sender is sedning messages continusly messages that messages r storing in queue , these r acupying more memory in RAM , due to that jboss is restarting for each request, is there any way to clean up messages in Queue ? if it is there then how will configure that queue in apllicationConfiguaration.xml file?
Thanks in advance
NaraI suggest posting your question on the [Spring Remoting and JMX forum|http://forum.springframework.org/forumdisplay.php?f=30].
-
How to remove messages from JMS Queue?how to configure queue in spring?
Hi
I have Confiured a JMS configaration in spring applicationConfiguaration.xml file
<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://localhost:61616"/>
<property name="useAsyncSend" value="true"/>
</bean>
<bean id="queue" class="org.apache.activemq.command.ActiveMQQueue">
<constructor-arg value="foo"/>
</bean>
<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
<property name="config" value="classpath:activemq.xml" />
<property name="start" value="true" />
<!-- <property name="messageListener" ref="auditInterface"/> -->
</bean>
<bean id="auditInterface"
class="org.springframework.jms.remoting.JmsInvokerProxyFactoryBean">
<property name="serviceInterface" value="com.infiniti.gpn.auditing.AuditInterface"/>
<property name="connectionFactory" ref="connectionFactory"/>
<property name="queue" ref="queue"/>
</bean>
<bean id="listenerContainer" class="org.springframework.jms.listener.SimpleMessageListenerContainer">
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="queue"/>
<property name="messageListener" ref="auditMessageListener"/>
</bean>
Sender is sedning messages continusly messages that messages r storing in queue , these r acupying more memory in RAM , due to that jboss is restarting for each request, is there any way to clean up messages in Queue ? if it is there then how will configure that queue in apllicationConfiguaration.xml file?
Thanks in advance
NaraHi,
Even i have a similar kind of requirement where in, i want to clear the JMS Queue Message programmatically, on certain condition.
i am using Spring JMS. The JMS Queue has a listener. In the listener we want to clear the Queue contents based upon the condition.
If anybody has any idea about this, please reply back.
Thanks in Advance.
Manjunath. -
I am currently trying to connect to an activeMQ using a Bridge.
I have the activemq-all-5.6.0.jar in my class path on the start-up of weblogic.
CLASSPATH=/weblogic/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/weblogic/JDK/jdk1.6.0_29/lib/tools.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/ActiveMQ/activemq-all-5.6.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
This is the definition of my Bridge from the server log
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's source configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = tcp://localhost:61616
DestinationType = Queue
DestinationJNDIName = CITOUTBOUND
InitialContextFactory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
ConnectionFactoryJNDIName = QueueConnectionFactory
>
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's target configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=
ConnectionURL = t3://localhost:7001
DestinationType = Queue
DestinationJNDIName = INCIDENT_IN_Q_AT_GSD
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = BridgeCF
>
But my connection fails to find the activeMQ name CITOUTBOUND
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeRuntimeVerbose> <vsl000i031.vspref.adidom.com> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblog
ic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1355482229710> <BEA-000000> <Exception:
javax.naming.NameNotFoundException: CITOUTBOUND
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at weblogic.jms.adapter.JMSBaseConnection$3.run(JMSBaseConnection.java:299)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:297)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249)
I think this has something to do with the activemq jndi properties
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
# use the following property to configure the default connector
java.naming.provider.url = tcp://localhost:61616
# use the following property to specify the JNDI name the connection factory
# should appear as.
connectionFactoryNames = connectionFactory, QueueConnectionFactory, topicConnectionFactry
# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.CITOUTBOUND = CIT.OUTBOUND
queue.EMINBOUND = EM.INBOUND
queue.EMOUTBOUND = EM.OUTBOUND
This file has been places in
[root@vsl000i031 /]# find . -name jndi.properties -print
./weblogic/Oracle/Middleware/user_projects/domains/base_domain/jndi.properties
./weblogic/Oracle/Middleware/wlserver_10.3/server/jndi.properties
If I write java code to establish the connection is successfully connects using the above jndi properties.
I have tried placing the above file into a jar and including it on the weblogic class path, but when I do that the server fails to start.
Hopefully someone can help me with my problem.
Thanks.I am currently trying to connect to an activeMQ using a Bridge.
I have the activemq-all-5.6.0.jar in my class path on the start-up of weblogic.
CLASSPATH=/weblogic/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/weblogic/JDK/jdk1.6.0_29/lib/tools.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/ActiveMQ/activemq-all-5.6.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
This is the definition of my Bridge from the server log
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's source configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = tcp://localhost:61616
DestinationType = Queue
DestinationJNDIName = CITOUTBOUND
InitialContextFactory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
ConnectionFactoryJNDIName = QueueConnectionFactory
>
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's target configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=
ConnectionURL = t3://localhost:7001
DestinationType = Queue
DestinationJNDIName = INCIDENT_IN_Q_AT_GSD
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = BridgeCF
>
But my connection fails to find the activeMQ name CITOUTBOUND
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeRuntimeVerbose> <vsl000i031.vspref.adidom.com> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblog
ic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1355482229710> <BEA-000000> <Exception:
javax.naming.NameNotFoundException: CITOUTBOUND
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at weblogic.jms.adapter.JMSBaseConnection$3.run(JMSBaseConnection.java:299)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:297)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249)
I think this has something to do with the activemq jndi properties
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
# use the following property to configure the default connector
java.naming.provider.url = tcp://localhost:61616
# use the following property to specify the JNDI name the connection factory
# should appear as.
connectionFactoryNames = connectionFactory, QueueConnectionFactory, topicConnectionFactry
# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.CITOUTBOUND = CIT.OUTBOUND
queue.EMINBOUND = EM.INBOUND
queue.EMOUTBOUND = EM.OUTBOUND
This file has been places in
[root@vsl000i031 /]# find . -name jndi.properties -print
./weblogic/Oracle/Middleware/user_projects/domains/base_domain/jndi.properties
./weblogic/Oracle/Middleware/wlserver_10.3/server/jndi.properties
If I write java code to establish the connection is successfully connects using the above jndi properties.
I have tried placing the above file into a jar and including it on the weblogic class path, but when I do that the server fails to start.
Hopefully someone can help me with my problem.
Thanks. -
I'm trying to call a SOAP over JMS Service form the BPEL process manager. For a simple example I use the Apache CXF example with Active MQ. The service has the following WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:jms="http://cxf.apache.org/transports/jms" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cxf.apache.org/jms_greeter" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:x1="http://cxf.apache.org/jms_greeter/types" name="JMSGreeterService" targetNamespace="http://cxf.apache.org/jms_greeter">
<wsdl:types>
<schema targetNamespace="http://cxf.apache.org/jms_greeter/types" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<element name="sayHi">
<complexType/>
</element>
<element name="sayHiResponse">
<complexType>
<sequence>
<element name="responseType" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="greetMe">
<complexType>
<sequence>
<element name="requestType" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="greetMeResponse">
<complexType>
<sequence>
<element name="responseType" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="greetMeOneWay">
<complexType>
<sequence>
<element name="requestType" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="sayHiRequest">
<wsdl:part name="in" element="x1:sayHi"/>
</wsdl:message>
<wsdl:message name="sayHiResponse">
<wsdl:part name="out" element="x1:sayHiResponse"/>
</wsdl:message>
<wsdl:message name="greetMeRequest">
<wsdl:part name="in" element="x1:greetMe"/>
</wsdl:message>
<wsdl:message name="greetMeResponse">
<wsdl:part name="out" element="x1:greetMeResponse"/>
</wsdl:message>
<wsdl:message name="greetMeOneWayRequest">
<wsdl:part name="in" element="x1:greetMeOneWay"/>
</wsdl:message>
<wsdl:portType name="JMSGreeterPortType">
<wsdl:operation name="sayHi">
<wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
<wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
</wsdl:operation>
<wsdl:operation name="greetMe">
<wsdl:input name="greetMeRequest" message="tns:greetMeRequest"/>
<wsdl:output name="greetMeResponse" message="tns:greetMeResponse"/>
</wsdl:operation>
<wsdl:operation name="greetMeOneWay">
<wsdl:input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="JMSGreeterPortBinding" type="tns:JMSGreeterPortType">
<soap:binding style="document" transport="http://cxf.apache.org/transports/jms"/>
<wsdl:operation name="greetMe">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="greetMeRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="greetMeResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sayHi">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sayHiRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sayHiResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="greetMeOneWay">
<soap:operation style="document" soapaction=""/>
<wsdl:input name="greetMeOneWayRequest">
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="JMSGreeterService">
<wsdl:port name="GreeterPort" binding="tns:JMSGreeterPortBinding">
<jms:address destinationStyle="queue" jndiConnectionFactoryName="ConnectionFactory" jndiDestinationName="dynamicQueues/test.cxf.jmstransport.queue">
<jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
<jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/>
</jms:address>
<jms:clientConfig useConduitIdSelector="false"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
When trying to call the service i get the follwing errror:
<messages>
<input>
<Invoke_2_greetMeOneWay_InputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in">
<greetMeOneWay xmlns="http://cxf.apache.org/jms_greeter/types">
<requestType>
sdfsdf!
</requestType>
</greetMeOneWay>
</part>
</Invoke_2_greetMeOneWay_InputVariable>
</input>
<fault>
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="summary">
<summary>
Unable to find an available port
</summary>
</part>
</bindingFault>
</fault>
</messages>
When using a JMS Adapter Service i can access the queue without any problems.
Any ideas? Thanks!Above all, really thank you for your precious help.
I thought about resolving the problem with JMS because it was studied to resolve asynchronous message delivery, which is what I'm trying to achieve.
So, I think I'll try the second solution you indicated. Let's see if I understood:
1- my customer decides to send some messages he wants to send [to better understand, I'll call them SMS] through the interface I developed
2- a new JMS Message is created
3- a MDB wake up and performs the initial steps to connect throught native calls
4- new MDB wake up and, using the connection, send created SMS
5- another process use the connection to read the StatusInd and create a new JMS Message to describe the message status
My implementation doubt is that I must send a lot of SMS (around 4000 SMS in one action), so, in pass 4, should I create 4000 MDB instances? It should be a clean implementation, maybe this way I could use also correlation id/replyto headers in passage 5, but I would it waste many resources?
And, also, how can I implement the "native calls"? Is there a way to create a class that support this proprietary protocol?
And what about creating the connections with the server? Should I use java.net.socket?
Really thank you,
Andrea
P.S.
I'll look for implementing it using Arjuna+JBoss ;)
Maybe you are looking for
-
Ability to view icloud data/Reprocussions of deleting icloud account?
I have been an icloud user since the beta was released and I have only been uploading my contacts, calenders, reminders, bookmarks, and documents and data to the icloud. I don't have that much content within any of those catagories to use up a lot of
-
Dear All, I am have the following requirement to satisfy customer needs but I am not sure how to proceed. 1. Data is extracted using Delta update to target A. 2. Again, target A the data is uploaded to target B using Full. (This is fine so far) 3. No
-
How to know active user in Ad ? & how many days from not use user id ?
How to know active user in Ad ? & how many days from not use user id ? Thanks & Regards, Amol . Amol Dhaygude
-
Hi All, My problem is, in which tables I can find Organization unit, Position of user in the organization unit, Level of a particular user. Please help me in mapping the tables. Useful answers will be rewarded immediately. Thanks, Venkat
-
Migration Assistant Issues w/New OS Install
I put 2 SSD drives in a MacPro and installed the OS on the new drive (RAIDed). Problem is that it's only 60GBs and I have a lot of apps. The /Library folder is ~60GBs so it will not migrate the apps. There must be a way to tell apps to use a differen