Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

zbe
2012-06-28 13:12:10

minchi wrote:

up

Does this mean the problem is solved. If yes what was the cause?

Zsolt

zbe
2012-06-28 13:11:01

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

minchi
2012-06-27 19:00:48

up

minchi
2012-06-27 10:46:53

I have tried everything without success, Please help sad

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

minchi
2012-06-26 12:40:27

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

minchi
2012-06-26 10:04:09

I have installed open-jdk (1.6 rev 18) instead of sun jdk and it works: JAVA was the problem

minchi

minchi
2012-06-26 08:33:53

Hello,

I'm using talend esb se rutime on debian 64bit and I'm trying to deploy a trest service. Java version is 1.6 maybe rev 33 i Will Check it as soon as possible.

Regards

zbe
2012-06-26 07:35:55

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

peterm
2012-06-25 16:51:10

Interesting as I am getting a similar message. I also can not install a route onto the system and it has a spring refrence for activemq.

minchi
2012-06-25 16:32:06

Hello,

I get an error with karaf runtime:


Code:

 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 ?

Board footer

Powered by FluxBB