You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hello,
I get an error with karaf runtime:
Exception in thread "SpringOsgiExtenderThread-8" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventFeature': FactoryBean threw exception on object creation; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
Does anyone solve this problem ?
Offline

Hello,
it's difficult to spot the problem just from an error message. Especially because we have cglib included. Just a wild guess: Which Java version are you using? It seems latest Java update version 1.6.0_u33 causes some problem regarding ASM used underneath by cglib.
Otherwise it would be interesting to know which TESB version you are using, on which OS you are running and of course what exactly you try to deploy on Karaf. From the error message at least I assume you are using Service Activity Monitoring (SAM).
Zsolt
Offline

Now i have error code 500 when i call the REST service (error sent from trestrequest component).
My endpoint is http://ipaddress:8040/services/serviceO2/ (I don't have URI pattern)
I can't modify POST request because not me who send it so how to add a content-type (application/xml) on my trestrequest component (maybe it's the probem) ?
Other idea: the class path and path may be wrong, how to set them correctly ?
I add this to my trun script:
set PATH=/usr/lib/jvm/java-6-openjdk/bin
set JAVA_HOME=/usr/lib/jvm/java-6-openjdk
set CLASSPATH=/usr/lib/jvm/java-6-openjdk/lib/tools.jar
Thanks in advance
Last edited by minchi (2012-06-26 14:01:31)
Offline

I have tried everything without success, Please help ![]()
Just a few precisions:
An external server send me a POST request (datas are similar than an xml) to the URL http://ipaddress:8040/services/serviceO2/
My REST service endpoint is the same: http://ipaddress:8040/services/serviceO2/, URI path is "" (I don't need it)
I succeed in retrieving data through php page via website on port 8040 (http://ipaddress:8040/services/serviceO2/index.php)
But it's simplier to play with XML through a talend service than through php and I get a wrong call error on the tRestRequest component which is error code 500.
Something wrong ?
Regards
Last edited by minchi (2012-06-27 18:56:56)
Offline

minchi wrote:
Java version is 1.6 maybe rev 33 i Will Check it as soon as possible.
Regards
Would really be helpful to know which revision causes the problems, because until now I didn't hear about similar problems, neither on Windows, Linus, nor Mac.
Zsolt
Offline
Pages: 1