ayman elgharabawy

Greenhorn
+ Follow
since Sep 12, 2002
Merit badge: grant badges
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 ayman elgharabawy

Dear All,

I am looking for a J2ee project from 3 to 6 months in any place around the world
i have 4 yeears experiance in j2se and j2ee
and i am SCJP , SCWCD , SCBCD

i am egyptian and this is my email if any one want my cv

aaaeg@hotmail.com

Thanks.
17 years ago
i have no exception at all and i close the database connection and all the resultsets and statements

i think it is a java thread problem as i have vb programs doing the same tasks
and works fine even if the cpu is 100% usage
my server is win2000 and i couldnt change to linux

even if any body try to make any simple thread program and put it in this case
he will get the same result on windows..
and this is not robust at all!!!
i have also to mention that the program doesnt use much cpu time
plus he cpu doesnt increase but i have already loaded cpu even befor my program run!!!
ok guys, the cpu usage is 100% but the memory usage is not
and i tried java.util.Timer and timerTask and i got the same results
if any body wants me to send him the code or try my program i have no problem
i want to know how to make the schadual task robust enough even if the server is too loaded or guarantee the thread never dies

here is part of my code after some summary


public class easythread extends Thread{

public static void main(String [] args)
{
for(int i=0;i<5;i++){
easythread et= new easythread ();
}

public void run() {
while(true){
Process();
this.sleep(this.period);

}

}

}
No Body has a advice for my problem

i will explain again i have multi threading applicatin and i have to put it in a very loaded server and this server some times the cpu reaches 100%usages and this makes my program stop all threads and die
i have application to run threads and each thread connecting to diffrent database and make some process in a schadual task .

the problem is all the theads hangs when the cpu is 100 % utilies and this happend not imedatly but just after certine time like 3 -4 hours or may be 10 hours
and this is my run method
public void run() {



while(true){
try{
Thread thread = Thread.currentThread();


synchronized(thread)
{

Process();
this.sleep(this.period);
}catch(Exception eee){
eee.printStackTrace();
return;
}

}
}



my code is here but it is not working as i want to include a page with frame sets inside a table but it load in the whole page
<%@ include file="contact_main_frame.jsp" %>
<html>
<body>
<table border=1><tr><td>
<!--
<%@ include file="contact_main_frame.jsp" %>
doesn't work here!!! -->
</td>
</tr>
</table>
</body>
</html>
THANKS EVERYBODY..many thanks..
21 years ago
i want to make action using right click or press.how can in mousePressed() recognize the right mouse button?
waiting fo reply ..
21 years ago
i made a swing applet and it works fine on appletviewer but when i use IE 6 i have error
"java.security.AccessControlException: access denied (java.io.FilePermission c1.gif read)
"
where c1.gif is a gif file of a ImageIcon
21 years ago
i have an image and all i just to know is how to make a filter on a specific part of image with x,y,w,h,int []pixels
i have this filter and i couldn't establishe the filter i want
this is the filter..
------------------------------

-------------------------------
this is a part of my application.....

i have aruntime error withfilterRGBPixels..pls help..thanks
21 years ago
after i compile my rmi application and server
when i use rmic to get the stub file i get error
file not found!!! pls help me
thanks
21 years ago
after i compile my rmi application and server
when i use rmic to get the stub file i get error
file not found!!! pls help me
thanks
after i compiled the files and i use rmic to get the stub file i have error file not found.!!
pls help me ..thankx
21 years ago
i'm scjp1.4
i have 1 year experiance with applets,jdbc and
Rmi,Servlets,Jsp.
i design and implements a Chat server.using ServerSockets and multithreading I/O and Rmi
and applets send logos and ringtones to Nokia Mobile (see www.55sms.com)and register and u will see my applets..
if u want to buy it just mail me ayman_gh@mysun.com
21 years ago