Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

connecting to socket on port 3938 - Error while running a job

Hello guys, I am trying to run the demo routines that comes with the java project. I get the following error. I also get the same error when attempting to run any job - complex or simple. I am not sure why. i searched google and also the talendforge but could not find a similar problem. Any help is much appreciated.
connecting to socket on port 3938
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at routines.system.RunStat.startThreadStat(RunStat.java:195)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1557)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)
Exception in component tAggregateRow_1_AGGOUT
java.lang.NullPointerException
at routines.system.RunStat.sendMessages(RunStat.java:286)
at routines.system.RunStat.updateStatOnConnection(RunStat.java:343)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.tRowGenerator_1Process(tAggregateRow.java:770)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1577)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)
Exception in thread "main" java.lang.NullPointerException
at routines.system.RunStat.sendMessages(RunStat.java:286)
at routines.system.RunStat.updateStatOnJob(RunStat.java:412)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.runJobInTOS(tAggregateRow.java:1605)
at talenddemosjava.taggregaterow_0_1.tAggregateRow.main(tAggregateRow.java:1445)

\|/
Labels (3)
14 Replies
Anonymous
Not applicable
Author

Hi
Which version of TOS do you use? Which OS?
Could you upload the screen shot of your job?
I don't think this is simple caused by routine. It indicates a NPE exception regarding to tAggregaterow.
Regards,
Pedro
Anonymous
Not applicable
Author

Thanks for responding Pedro.
I am facing the issue in Talend Version: 4.1.2 Build id: r53616-20110106-0635
as well as on
Talend Version: 5.1.0 Build id: r82787-20120504-1225
How do i upload an image here? Please help Thanks
Anonymous
Not applicable
Author

Hi
To upload an image, please click on "Edit" of your comment.
Then you would see "Image Upload" section.
Tip: 20 images per post, each image must be less then 1024x768 pixels and 200 KB.
Regards,
Pedro
Anonymous
Not applicable
Author

Thanks pedro
as per your information i uploaded image .but image file not shown in my comment .Are you able to see?
Anonymous
Not applicable
Author

Hi
No. I can't find it. I guess the image is beyond 1024x768 pixels and 200 KB.
Please recheck it.
Regards,
Pedro
Anonymous
Not applicable
Author

Sorry 0683p000009MACn.png
Find the image attached. Thanks for all your help
Anonymous
Not applicable
Author

hi,
it's a problem about connection for log's message. You haven't rant permission to write in database i think.
regards
laurent
Anonymous
Not applicable
Author

Thanks kzone.
It is a fresh install. I am not even sure that there is a database by default with talend. This happens for all the jobs
Anonymous
Not applicable
Author

for sure ...
but as far as I know into DEMOJAVA , stat & logs are written into a Mysql database (by default) ...
laurent