Problem in Accessing Buffer Values by Multiple Threads

J

Jag

Hi All,
i have a parser written in java(multi threaded) that reads a text
file and replaces the variable content in the text file before sending
this as an attachment in mail.but what i find is this text is only
partly filled sometimes and not complete,any idea in this regard will
be highly helpful.
Thanks,
Jag
 
M

Mayeul

Jag a écrit :
Hi All,
i have a parser written in java(multi threaded) that reads a text
file and replaces the variable content in the text file before sending
this as an attachment in mail.but what i find is this text is only
partly filled sometimes and not complete,any idea in this regard will
be highly helpful.
Thanks,
Jag

Hi,

I'd say either the parsing or the adding as mail attachment fails to
complete.

The reason either one might fail is left to our imagination, as long as
you don't provide insights of your methods. You might want to design a
sscce: <http://pscode.org/sscce.html>
Or possibly two, one for each possibly faulty step. That would probably
help you and people wanting to help you.
 
R

RedGrittyBrick

Jag said:
Hi All,
i have a parser written in java(multi threaded) that reads a text
file and replaces the variable content in the text file before sending
this as an attachment in mail.but what i find is this text is only
partly filled sometimes and not complete,any idea in this regard will
be highly helpful.

http://www.yoda.arachsys.com/java/newsgroups.html
Under "Programming" see point 1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top