Fix this issue by unzipping the jar
eclipse\plugins\org.eclipse.tptp.monitoring.instrumentation_4.3.1.v200709261752\cbeModel.jar
and change the file commons-logging.properties to not use that...
Type: Posts; User: carfield; Keyword(s):
Fix this issue by unzipping the jar
eclipse\plugins\org.eclipse.tptp.monitoring.instrumentation_4.3.1.v200709261752\cbeModel.jar
and change the file commons-logging.properties to not use that...
Thanks, [code] added, so you think it is the bug in common-logging.properties?
If I develop an application with spring and try to use Eclipse TPTP to profile it, I get the following exception
Caused by: org.apache.commons.logging.LogConfigurationException:...
Hi all... any problem of this message? Is it no understandable?? Or is that just cannot be done???
Can I create single session for whole application life-cycle using JMSTemplate so that I don't need to handcode the JMS detail like the following?
May be I make it more clear...
// only...
Actually if there any connection pool implementation is probably suitable for most case?
Thanks a lot, look like SingleConnectionFactory really help :-)
Hi, I use the following simple code to send message to MQ queue:
jmsTemplate.send(queue, new MessageCreator()
{
public Message createMessage(Session session) throws JMSException
{...
It doesn't work for me either. However, at <beans> tag I define as follow:
<beans default-init-method="initialize">
Will it make the lazy-init attributes being ignored?
In fact I already PM him as I don't know if I can just post that on forum. What I really like to do is that I have 2 implementation of a class, which I like to allow admin of the system choose either...
In fact it is working, just there is some problem at receiving side.
By the way, is that any benefit of using new header instead of RAW header?
I am asking my colleague to see if it is better to support MQHRF2 at consumer side, in the same time I try to send message in raw MQSTR format to see if that work, but I get some problems
The...
Sound like using MQHRF2 is a better choice, would you give us some pointer of how to config Websphere MQ so that it support MQHRF2 also?
The code send the message is very simple, will that contain any error? Or it is config problem?
jmsTemplate.send(queue, new MessageCreator()
{
public Message createMessage(Session...
HI, I write a sample application which will send a XML to MQ queue. It work fine at my local network connection. But when I send to remote queue, there is some funny character insert before the...
It still fail, it is probably not allow user to define tag other than (import|alias|bean) inside <beans> tag
Caused by: org.xml.sax.SAXParseException: The content of element type "beans" must...
Yes, I spell the exception wrong, in fact it is
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'bean_that_code_refer_to' is defined
at...
I actually try
<alias name="bean_that_code_refer_to" alias="${beanA_or_beanB_defined_in_prop}" />
but fail , however, look like this
<property name="someRef" ref="${beanName}"/>
just...
It is ok, even
<bean id="beanA" class="${bar}" >
</bean>
is ok, but
<!-- CQM logger definition -->
<bean id="beanA" class="com.xxx.ImplA" >
</bean>
I already using that, and it work well for other parameters and it is ok for me to move the class name to properties file also... not sure what is the problem...
Tried, but spring throw classnotfound exception: ${beanA_or_beanB_defined_in_prop}
Some thing like
<!-- CQM logger definition -->
<bean id="beanA" class="com.xxx.ImplA" >
</bean>
<bean id="beanB" class="com.xxx.ImplB" >
</bean>
Yes, new version fix this, thanks a lot!
I should search for " Class name substitution " first
The config properties we use put in classpath, then we use the following code to load difference config files
String[] configs = configFiles.split(",");
GenericApplicationContext context =...
For example, I can have following bean defination:
<bean id="dataSource"
class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName"...