• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Java class not found on aix

#1 2009-05-24 06:01:57

velo
Member
Registered: 2009-03-12
Posts: 25

Java class not found on aix

I've exported the talend job to a jar and am executing through an ant script. It works on windows server but when run on AIX server it gives a "java class not found" error. I've already checked that the jar, classpath and these seem to be correct. Has anyone encountered similar problems? Any help or suggestions are very much appreciated. Thanks.

Offline

#2 2009-05-25 17:11:45

velo
Member
Registered: 2009-03-12
Posts: 25

Re: Java class not found on aix

Turns out this was related to the way the java task was setup in Ant. The java task that was used to execute the talend's java class used a custom macro that took in two jvmarg parameters. Since I did not need both I had left one of the jvmarg as null. This worked fine on windows but gave a java class not found error in Aix. Fixing that fixed the issue. Thanks.

Offline

#3 2009-05-25 18:37:07

bboutros
Talend team
Registered: 2006-10-19
Posts: 188
Website

Re: Java class not found on aix

Hi,

Which version of Talend are you using?

versions prior to 3.1.1 still use some sun classes and need a java JVM.

Please try with a 3.1.1 version

regards,

benjamin

Offline

#4 2009-06-22 16:38:46

amaumont
Talend team
Registered: 2006-09-20
Posts: 471

Re: Java class not found on aix

It seems the AIX JVM needs to have absolute paths for all classpath declarations in the script launcher. I didn't find an other solution for the moment.

Please report an issue on this problem.

Last edited by amaumont (2009-06-22 16:39:57)

Offline

#5 2009-06-25 11:50:55

amaumont
Talend team
Registered: 2006-09-20
Posts: 471

Re: Java class not found on aix

I have just uploaded a patch which should allow you to launch exported scripts on AIX with TOS 3.1.1.

Last edited by amaumont (2009-06-25 11:51:53)

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Java class not found on aix

Board footer

Powered by FluxBB