Only the needed classes from spring are included. You need to include spring-jms in your SU (or put it in the classpath). The main problem is that if spring.jar is included in the classpath, all referenced classes (hibernate, jdo, jpa, etc, quartz ...) must be included in the container classpath (including them in the SU does not work). As they are not included anymore, you at least know that you have to include them yourself.
On 1/18/07, Alper Sogukpinar (Garanti Teknoloji) <[EMAIL PROTECTED]> wrote:
I am using apache-servicemix-3.1-incubating-20070118.083008-58.zip and spring 2.0 jar files are included in it but org.springframework.jms.listener.* package is missing. In ServiceMix 3.0 Release, spring-2.0-rc3.jar was included in the zip file and org.springframework.jms.listener.* package was too. I can add these classes to my own project but I think it should be included in servicemix 3.1 binary download. -----Original Message----- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 4:00 PM To: [email protected] Subject: Re: I could not find org.springframework.jms.listener.* classes in spring jar files. This package is a new one from spring 2.0. You just need to upgrade your spring version. On 1/18/07, Alper Sogukpinar (Garanti Teknoloji) <[EMAIL PROTECTED]> wrote: > > > Most of the jms related classes of the spring framework are included > in components\lib\spring-1.2.6.jar file. > But I could not find org.springframework.jms.listener.* in > spring-1.2.6.jar file or in any other place. > Is it available in any othe jat file or it is not included on purpose? > > It might have been thought that there were jms components in > servicemix too. > But Some of servicemix users may still need to use > org.springframework.jms.listener.* classes. > For example I need to use > org.springframework.jms.listener.DefaultMessageListenerContainer, > because of the reason which is written in issue SM-719. > > > ###################################################################### > ## > ###########3 > > Lightweight JmsReceiverComponent and other servicemix-jms components > gets "javax.jms.IllegalStateException: Method setMessageListener not > permitted error" in WAS 6.1 > > When I searched the error and I found that "javax.jms.MessageConsumer > method setMessageListener()" (which is used in JmsReceiverComponent) > and some other methods may only be used by an application running in a > client container - in other words, they may never be called in the Web > or EJB container: > As far as I know > DefaultMessageListenerContainer of Spring performs the MessageListener > invocation itself so I guess it may work on web container and also at > ejb container, similar servicemix component may be an option. > > > > > This message and attachments are confidential and intended solely for > the individual(s) stated in this message. If you received this message > although you are not the addressee, you are responsible to keep the > message confidential. The sender has no responsibility for the > accuracy or correctness of the information in the message and its > attachments. Our company shall have no liability for any changes or late receiving, loss of integrity and confidentiality, viruses and any damages caused in anyway to your computer system. > > > Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere > ozeldir ve gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza > ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik > yukumlulugune uyulmasi zorunlulugu tarafiniz icin de soz konusudur. > Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve guncelligi > konusunda gonderenin ya da sirketimizin herhangi bir sorumlulugu > bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan sorumlu tutulamaz. > -- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/ This message and attachments are confidential and intended solely for the individual(s) stated in this message. If you received this message although you are not the addressee, you are responsible to keep the message confidential. The sender has no responsibility for the accuracy or correctness of the information in the message and its attachments. Our company shall have no liability for any changes or late receiving, loss of integrity and confidentiality, viruses and any damages caused in anyway to your computer system. Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere ozeldir ve gizlidir. Bu mesajin muhatabi olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin gizliligi ve bu gizlilik yukumlulugune uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve eklerinde yer alan bilgilerin dogrulugu ve guncelligi konusunda gonderenin ya da sirketimizin herhangi bir sorumlulugu bulunmamaktadir. Sirketimiz mesajin ve bilgilerinin size degisiklige ugrayarak veya gec ulasmasindan, butunlugunun ve gizliliginin korunamamasindan, virus icermesinden ve bilgisayar sisteminize verebilecegi herhangi bir zarardan sorumlu tutulamaz.
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
