[resolved] tFileFetch using SMB protocol works on Linux not on OSX

Recently I was required to migrate my development platform from Linux (Unbuntu 12.04) to OSX (10.11.4)
A project that I developed in Talend on Linux runs perfectly.  However, when running on OSX it dumps a 
java stack trace.
This happens in Talend TOS 5.6.3 and 6.1.1
I have narrowed the problem down to a single component, tFileFetch using the SMB protocol.
The stack trace is as follows:
Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at jcifs.UniAddress.lookupServerOrWorkgroup(UniAddress.java:173)
at jcifs.UniAddress.getAllByName(UniAddress.java:279)
at jcifs.UniAddress.getByName(UniAddress.java:245)
at jcifs.smb.Dfs.getTrustedDomains(Dfs.java:62)
at jcifs.smb.Dfs.resolve(Dfs.java:146)
at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:667)
at jcifs.smb.SmbFile.send(SmbFile.java:719)
at jcifs.smb.SmbFileInputStream.readDirect(SmbFileInputStream.java:181)
at jcifs.smb.SmbFileInputStream.read(SmbFileInputStream.java:142)
at jcifs.smb.SmbFileInputStream.read(SmbFileInputStream.java:132)
at build_linux.tfilefetchtest_4_0.tFileFetchTest.tFileFetch_1Process(tFileFetchTest.java:1406)
at build_linux.tfilefetchtest_4_0.tFileFetchTest.tSambaList_1Process(tFileFetchTest.java:1246)
at build_linux.tfilefetchtest_4_0.tFileFetchTest.tJava_6Process(tFileFetchTest.java:942)
at build_linux.tfilefetchtest_4_0.tFileFetchTest.runJobInTOS(tFileFetchTest.java:4099)
disconnected
Thanks
Peter
3 REPLIES
Moderator

Re: [resolved] tFileFetch using SMB protocol works on Linux not on OSX

Hi,
Have you already checked this document about TalendHelpCenter:Compatible Platforms and Java environments to see if you are on a compatible platform?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: [resolved] tFileFetch using SMB protocol works on Linux not on OSX

Sabrina,
I installed VMWare Fusion 8.1.1 and installed OS X 10.10  Yosemite in order to do some testing.
And sure enough the problem is with OS X 10.11 El Capitan.
Thanks for the help.
-Peter
Moderator

Re: [resolved] tFileFetch using SMB protocol works on Linux not on OSX

Hi,
Thanks for your feedback about this issue.
Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.