Search:

Type: Posts; User: carfield; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Fix this issue by unzipping the jar...

    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...
  2. Thanks, [code] added, so you think it is the bug...

    Thanks, [code] added, so you think it is the bug in common-logging.properties?
  3. org.springframework.util.ClassUtils logger loading issue

    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:...
  4. Hi all... any problem of this message? Is it no...

    Hi all... any problem of this message? Is it no understandable?? Or is that just cannot be done???
  5. Can I create single JMS session for whole application life-cycle using JMSTemplate?

    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...
  6. Replies
    3
    Views
    1,447

    Actually if there any connection pool...

    Actually if there any connection pool implementation is probably suitable for most case?
  7. Replies
    3
    Views
    1,447

    Thanks a lot, look like SingleConnectionFactory...

    Thanks a lot, look like SingleConnectionFactory really help :-)
  8. Replies
    3
    Views
    1,447

    Will jmstemplate reuse the conenction?

    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
    {...
  9. Replies
    7
    Views
    3,202

    It doesn't work for me either. However, at...

    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?
  10. In fact I already PM him as I don't know if I can...

    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...
  11. In fact it is working, just there is some problem...

    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?
  12. I am asking my colleague to see if it is better...

    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...
  13. Sound like using MQHRF2 is a better choice, would...

    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?
  14. The code send the message is very simple, will...

    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...
  15. Invalid message received in remote MQ, what will be the possible cause?

    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...
  16. It still fail, it is probably not allow user to...

    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...
  17. Yes, I spell the exception wrong, in fact it is ...

    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...
  18. I actually try

    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...
  19. It is ok, even

    It is ok, even

    <bean id="beanA" class="${bar}" >
    </bean>

    is ok, but

    <!-- CQM logger definition -->
    <bean id="beanA" class="com.xxx.ImplA" >
    </bean>
  20. I already using that, and it work well for other...

    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...
  21. Tried, but spring throw classnotfound exception:...

    Tried, but spring throw classnotfound exception: ${beanA_or_beanB_defined_in_prop}
  22. Can I have a bean refer to either of other bean defined according to properties file?

    Some thing like

    <!-- CQM logger definition -->
    <bean id="beanA" class="com.xxx.ImplA" >
    </bean>

    <bean id="beanB" class="com.xxx.ImplB" >
    </bean>
  23. Yes, new version fix this, thanks a lot! I...

    Yes, new version fix this, thanks a lot!

    I should search for " Class name substitution " first
  24. The config properties we use put in classpath,...

    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 =...
  25. Can I config bean class rather than bean property

    For example, I can have following bean defination:

    <bean id="dataSource"
    class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
    <property name="driverClassName"...
Results 1 to 25 of 26
Page 1 of 2 1 2