Kuppusamy Venkatasubramanian

Ranch Hand
+ Follow
since Dec 30, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kuppusamy Venkatasubramanian

I am using Java API to unzip a file. The size of the file is 9mb and i am getting the below error. If i upload file of 4mb size, there is no issue in unzipping. But my requirement is 75mb. Since i started with 75mb and got error, i tried until the unzip process gets success. It was 4mb. Files greater than that size is getting this error. Is this a known issue or need to tune with other arguments? I am already running the program with 2GB of memory allocated using memory args.

A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0a8900e902, pid=5341, tid=139683373995792
#
# JRE version: 6.0_17-b17
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.7.4
# Distribution: Custom build (Thu Jul 29 16:49:18 EDT 2010)
# Problematic frame:
# j com.test.lodgement.LodgeFiles.unZipFile(Ljava/io/File;)Ljava/io/File;+1136
#
# An error report file with more information is saved as:
# /vbox/bin/lodgement/hs_err_pid5341.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla

Thanks in advance for your responses.

Kuppusamy.V.,
12 years ago
Hi,

It does work with this implementation and the JTextArea is updated in real-time. Thanks for you help.

Thanks,
Kuppusamy.V.,
12 years ago
Hi,

Thanks for your response. I will try reverting that the main processing happens in doInBackground and the logging happens in the actionPerformed method and will post the result. Regarding the calling of appendLog, it happens as below inside actionPerformed method which is invoked when submit button is clicked.

PrepareSendBatch _batch = new PrepareSendBatch();
String verifyBatchResult = _batch.verifyBatch();
appendLog(verifyBatchResult);
String zipResult = _batch.zipFile();
appendLog(zipResult);
.
.
.
.

For log.append(log.getText()+"\n"+chunk); , i added for testing and it should be log.append(chunk+"\n");

Thanks
Samy..
12 years ago
Hi,

I am working on a GUI development for back-end processing. In that i have a JPanel and few UI components. The user selects the file to be processed and click Submit. I have a JTextArea (below the JPanel and part of the same JFrame which acts as a console) and on click of the Submit button, the JTextArea should update the log of the processing in real-time. But it is not. It gets updated at the end of the back-end processing. I googled and tried various solutions using SwingWorker. Nothing worked. May be i am missing something.

The code is as below.

I have a main class where i create JPanel add components of JTextFields, Buttons etc. I add the JPanel to the JFrame. I add the actionlistener for the button. Once the submit button is clicked, i start the backend processing and get result in each step. I create a SwingWorker class and push the result to the JTextArea. But it is not getting updated. Please help. Below is the code snippet.

appendLog is called at each step of back-end processing. If there is any alternative way to display the processing log, please, advise. I tried JTextPane also, same issue.



This LogToConsole is an inner class within the main class. log is referring to the JTextArea.



Thanks in advance.
Samy..
12 years ago
Congrats!!!..Don't forget to add you name in the wall of fame here
12 years ago
My pick will be 1. In the past 7 years i have passed 4 certifications and i always see certifications to learn about the technology in-depth. I am of the opinion that the short course will be a starter only and will not give an in-depth knowledge of the technology. Of course, the short course will help to increase Oracle's share price..
Yes..my experience is here
Hi,

I split the sequence diagram and showed in separate diagrams. But i made sure to which functionality of the use case that diagram belongs to is mentioned in the diagram in brackets. I did this way after reading a post in this forum saying the sequence diagram can be split.

Cheers,
Kuppusamy.V.,
Hi,

I used streotype to denote singleton and passed the exam.

Cheers,
Kuppusamy.V.,
Hi,

In my case also, i had to change the BDM a bit as some of the relationships were not correct. I wrote that in the assumption as well as the reasoning for the assumption. In another case, though i maintained the multiplicity, during the class design, i assumed that the navigation is one way so, i didn't have to have a many-to-many bi-directional relationship which further simplied the diagram. Always ensure that whatever assumptions made in coming up with the diagram should be detailed in the assumption list as it will convey the basis of your design to the examiner (and it is the only descriptive way to convey whatever information you want to convey)..

All the best..

Kanpai..
Kuppusamy.V.,
Hi,

It is available for download here . You can always refer to Humphrey Sheil's blog here where there are lots of information for SCEA 5.

Cheers,
Kuppusamy.V.,
Hi,

I myself had the same confusion while preparing for the exam. As we are dicussing Manageability (which is entirely different from Maintainability), a two tier system will be easily manageable than a N-tier system. According to the definition for manageability, "It is the ability to ensure the continuous health of the system". So, in a 2 tier system, only one tier(server) to manager whereas in N-Tier, there are various tiers. But from other perspective, since multi-tier architecture can be clustered, each machine/tier can be individually tuned and managed as other system can support as standby for the machine being maintained. In that sense, N-Tier architecture can be visualized as more maintainable.

At the end, i will stick with the examiner's perspective as like everyone i want to impress the examiner and pass the exam.

Cheers,
Kuppusamy.V.,

They're attached to my cork board and I'm really grateful, that when the SCEA certificate came they didn't waste money on such a childisch item :-)

..Sun(Oracle) should use that money to issue a colorful certificate that is majestic enough for the effort put in passing the exam. For my previous exams i used to receive lapel pins but for SCEA.

Cheers,
Kuppusamy.V.,
Hi Liu,


Thanks for the information. I downloaded the logo.

Cheers,
Kuppusamy.V.,