I am using jboss 4.2, java5.0 and Fedora Linux Enterprise Version 4.0 with

Hi,
I am using jboss 4.2, java5.0 and Fedora Linux Enterprise Version 4.0 with kernel 2.6 and NPTL 2.3.4
I am using open source network chart generation API provided by geosoft ( http://geosoft.no/graphics/). This API generates chart into swing window.
I wrote the code to change this swing window into web browser compatible jpeg image. I used thread to generate the image. It is working fine, for one user and no other processes running on the application.
ISSUE:- When more than 5 users hit the application at the same time, some images get generated, some donot, there is no fixed trend to this image generation process.
I analyzed CPU timing, it is using 100% CPU and after the images are generated / not generated, the CU usage goes down to zero.
When I used the same code with Linux 9.0 (kernel 2.4, NPTL � 0.6), rest remain the same, it is working perfectly fine with more than 10 users, with all images being generated within 30 secs
Can somebody help me out to figure out whether it is a kernel issue / NPTL issue? Does it have something to do with thread processing?
Code for network chart generation :-
NetworkGenerator ntw=new NetworkGenerator();
BufferedImage img;
ntw.setVectRootNodes(vectRootNodes);
ntw.setHashChildNodeNames(hashNodeData);
ntw.setHashNodeRelation(hashNodeRelation);
ntw.setHashNodesCreated(hashNodesCreated);
ntw.setSupplyChainBean(supplyChainBean);
Thread t=new Thread(ntw);
t.setPriority(Thread.MAX_PRIORITY);
t.start();
try{
t.join();
catch(Exception e)
DebugManager.doDebug(className.toString(),e);
if(t!=null)
System.out.println(t.getState().name());
System.out.println(t.isAlive());
public class NetworkGenerator extends JFrame implements Runnable{
public void run()
//call the garbage collector
System.gc();
// Create the graphic canvas
window = new no.geosoft.cc.graphics.GWindow();
window.getCanvas().setSize(screenWidth,screenHt );
// Create the GUI
JPanel topLevel = new JPanel();
topLevel.setBackground(new Color(255,255,255)) ;
topLevel.setLayout (new BorderLayout());
getContentPane().add (topLevel);
topLevel.add (window.getCanvas(), BorderLayout.CENTER);
topLevel.setVisible(true);
// Create scene with default viewport
scene = new no.geosoft.cc.graphics.GScene(window, "My Scene"+ (new Date().getTime()));
no.geosoft.cc.graphics.GStyle style = new no.geosoft.cc.graphics.GStyle();
style.setForegroundColor (new Color (0, 0, 0));
style.setBackgroundColor (new Color (255, 255, 255));
style.setFont (new Font ("Arial", Font.BOLD, 10));
scene.setStyle (style);
int xPos=minY ;
int yPos=0;
int noofChild=vectRootNodes.size();
int dev=(screenHt -minY )/(noofChild+1);
int newDev=Math.round(dev-(dev/5));
//log.debug("---------noofChild-----------------------------------"+noofChild);
if(!hashNodesCreated.isEmpty())
for(int i=0;i<noofChild;i++)
yPos=minY +(dev*(i+1));
String nodeName = vectRootNodes.get(i).toString();
log.debug("root nodename===="+nodeName+" with ypos :"+yPos);
//log.debug("nodeName=="+nodeName);
//create root nodes
Node rootNode = createChildNode( nodeName,minY,screenHt,xPos, yPos ,newDev,1);
scene.add(rootNode);
log.debug("screenWidth ===="+screenWidth );
// if(screenWidth>minExtXval)
// minExtXval = screenWidth;
// w2 o
// * |
// * |
// * |
// * w0 o-------o w1
double w0[] = {0.0,screenHt ,0.0};
double w1[] = {screenWidth,screenHt,0.0};
double w2[] = {0.0,0.0,0.0};
scene.setWorldExtent (w0, w1, w2);
this.pack();
Thanks in advance.

How do I do that as I checked for it in utilities and is not there? Thanks in advance

Similar Messages

  • I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    This helped, I restored them, but when I go to iTunes they are not there.    Is there another step?

  • I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can create my own ringtones as I had done in the past? Thank you.

    I am using itunes version11.1.3.8 and an iphone 4s version 7.0.4. Is there any way that I can make my own ringtones? I have always done so in the past (Android). I much prefer to hear my songs when someone calls. Thank you.   

    I have tried to follow all the steps correctly. I presently have on itunes 2 entries:
    1. song.m4r with this highlighted on info screen but song location.m4a on summary screen. I have enetered "OK" several times.
    2. song no suffix on info screen but song location .m4r.mp3 on summary screen
      After syncing I then go a contact and edit it. Trying to change ringtone does not give me an option for the ringtone that I created only those that were preloaded. Is there something that I need to do here? The ringtone (at least one of them) does appear in my song  list and I can play it. I don't know how to check for its properties on the iphone.
    I do not have an itunes created entry on the sidebar for ringtones (I did create a playlist myself).

  • How to get accurate photo printouts using calibrated FlexScan S1932 , Photoshop CS3 and Canon MX925 ? ALL ARE calibrated with i1Pro . WHO SHOULD GOVERN THE PRINTOUT , THE CS3 OR THE PRINTER ?

    How to get accurate photo printouts using  FlexScan S1932 screen, Photoshop CS3 and Canon MX925 ? ALL ARE calibrated with i1Pro . WHO SHOULD GOVERN THE PRINTOUT , THE CS3 OR THE PRINTER ?

    You need to work with the calibration parameters to get a good match from screen to print. There are no fixed values - basically whatever settings produce a match are the right ones.
    First, set the white point - luminance and color - so that screen white is a visual equivalent to paper white. You can be very specific about this, with a viewing booth right next to the display and a particular paper as target. Or you can take a more generalistic approach. That too will usually work well, as long as you keep the aim in sight: screen white = paper white.
    Don't trust the white point presets. You will usually have to adjust to compensate for your working environment. Make sure you can adjust both along the blue/yellow Kelvin scale and the green/magenta axis. Any given Kelvin value may well be wrong on the green/magenta axis.
    Next set a realistic black point. This is important. Monitor manufacturers throw about completely unrealistic contrast ranges that you will never see on paper. A good glossy inkjet paper will be in the vicinity of 250-300:1, or a black point around 0.4 - 0.5 cd/m² if your white point is at 120. If you have a monitor that goes down to, say, 0.2, which most monitors today will, you're in for an unpleasant surprise.
    Leave gamma at 2.2. Gamma is remapped from profile to profile and is "invisible" - the net result is always linear. You just want to stay close to native so that the monitor behaves at its best.
    If you have a wide gamut monitor soft proofing in Photoshop can be useful. With a standard gamut monitor it's mostly a waste of time since monitor gamut is the limiting one.
    Oh, and let Photoshop manage color. Make sure you have the right paper/ink profile and also make sure you have the right paper selected in the printer driver. This controls the total amount of ink.

  • Using ?import:file? command in a linux Enterprise server

    Hello.
    I'm with a problem with a template. I never had a client that use linux as OS in enterprise server.
    I work with embedded bi publisher in JDEDWARDS and usually i use this command to call dinamic footers and never had a problem. For example
    <?import:file:///\\10.153.2.86\BIP\R5543501\footerlastpage.rtf?>. This customer is in linux and dont know nothing about linux but i think that the problem is in this command because linux dont use " \\ " to perform this command \\10.153.2.86\BIP\R5543501\footerlastpage.rtf.
    Someone know how i can solve this problem? i tried something like this ( <?import:file://///10.153.2.86\BIP\R5543501\footerlastpage.rtf?>) but still not working and cant find much information in internet about this.
    Any help is appreciated
    Tks in Adavance
    Paulo Duarte

    Hi Paulo,
    You can import subtemplates this way:
    <?import:http://myservername/subtemplates.rtf?> (access over HTTP)
    or
    <?import:file:///mydirectory/subtemplates.rtf?> (access over File System)
    (Notice: http uses two forward slashes // and file uses three /// )
    So in your case try this: <?import:file:///10.153.2.86/BIP/R5543501/footerlastpage.rtf?>
    Another thing to make sure is set is this:
    1) http://www.oracle.com/webfolder/technetwork/de/community/bip/tipps/Subtemplates/image01.png
    2) http://www.oracle.com/webfolder/technetwork/de/community/bip/tipps/Subtemplates/image02.png
    References:
    BI Publisher Subtemplates:
    http://www.oracle.com/technetwork/middleware/bi-publisher/overview/bip-subtemplate-1-132933.pdf
    Cheers
    Jorge
    ps. If this answers your question then please grant the points and close the thread

  • I am using PageRage for my facebook theams and firfox does not want to work with it, it has in the past. And I cheack other browsers and it still works for them so I dont know if it is on your end or PageRage's.

    The app that PageRage uses "Yontoo Layers(TM) Runetime" so nay Help or info would be appreciated.

    Hi tekaryace, we can assist you, no problem! Do you know which version of Firefox you currently have? Did you recently upgrade to version 8? We suggest going within your browsers app settings to make sure that "Yontoo Layers" is enabled for PageRage. To get there, follow these steps: Open up your Firefox browser, click on the orange "Firefox" tab in the left hand corner > click add-ons > make sure that "Yontoo 1.20.00" is listed and enabled. If it is not, please let us know so that we can take this conversation offline to better assist you. Thank you for your patience!

  • When i use aol a box comes out and says that i have a problem with the comand to the program

    this first started when i down loaded yahoo i also have the same problem when i try to use any other site that i try to get on with b t junkie

    Is this while running Software Update from the Apple menu?  If so, can you tell which update causes this error message?

  • Hi.. I received my Iphone today. It has tiny scratches at the corners. ALSO, i cannot hear anything, have to use headphone. Siri works slow and does not speaks!!

    Hi.. I received my Iphone today. It has tiny scratches at the corners. ALSO, i cannot hear anything, have to use headphone. Siri works slow and does not speaks!! Anyone with same problems? What can i do now?

    What if they say i scratched it by dropping or something (which i obviously dint)? will they still replace it?
    It even has the plastic on it yet..!!

  • Problem logging on to the managed RAS using JBoss Seam

    <p>The app I am currently working on is using JBoss Seam.  The sample jsp files you guys created were excellent.  As a simple test I first tried to logon and export a report thru a different app using JSP and Tomcat and had no problems.   I then copied the same code to my Seam application.  I placed the logon and export report code into an Action class.  I had to place the crystal jars into the seam/lib directory in order for seam to compile without errors.  I now have seam running successfully,  but get a runtime exception  every time I try to logon to the RAS server.</p><p>This code</p><p><strong>enterpriseSession = sm.logon(username, password, cms, auth);</strong></p><p>causes this exception</p><p>2006-11-20 12:00:49,551 ERROR [com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr] (getPlugins:292): unexpected exception<br /><strong>java.lang.ClassCastException</strong>: com.crystaldecisions.sdk.plugin.desktop.pdf.internal.PDFFactory</p><p>Any ideas on how to correct this?</p><p>Thanks in advance,</p><p>Dave</p>

    <p>Hi Dave</p><p>I wasn&#39;t familiar with JBoss Seam before you mentioned it in your post.  Looks like yet another application framework like Struts or JSF.  The logon error shouldn&#39;t cause any kind of ClassCastException with a PDF factory.  </p><p>Have you tried commenting out all code except for the login.  My only guess is that Seam changes the way that the code is executed so it appears that the error has to do with the login call.  I really don&#39;t think this is possible.</p><p>Start off real simple and uncomment the code as you go to see where the error is coming from. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Unable to create database connection using jboss

    hi masters,
    i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
    i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
    what might be the issue?????
    posting my exact error here, hope someone will post some suggestion.
    MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
    ObjectName: jboss.mq:service=PersistenceManager
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: jboss.mq:service=DestinationManager
    java.lang.SecurityException: Invalid authentication attempt, principal=null
    ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
    state: FAILED
    I Depend On: jboss:service=TransactionManager
    jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
    ObjectName: jboss.mq:service=StateManager
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: jboss.mq:service=DestinationManager
    org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
    lang.SecurityException: Invalid authentication attempt, principal=null)
    ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
    any suggestion will be appreciated..
    thanks and regards
    VD
    Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्न

    hello all,
    do anyone have any suggestion????
    thanks and regards
    VD

  • Configuration of JMS receiver  Using Jboss JMS provider

    Hi all..
    I am configuring JMS adapter as receiver.
    I am using JMS provider JBOSS .
    I hav done configuration as
    Transport protocol :Acess JMS provider with JNDI
    JNDI lookUp Name of q connection factory: org.jboss.naming.LinkRefPairService
    Name of JNDI initial Context factory :org.jnp.interfaces.NamingContextFactory
    in sxmb_moni I am getting blak&white flag
    IN Run time work bench In adapter monitoring I am getting
    Receiver channel. Details: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory.
    Can anybody plz tell me why this haapend?

    Did you deploy the JMS client jars to the J2EE Engine?
    Cannot instantiate class: org.jnp.interfaces.NamingContextFactory  sounds like the Framework can't find the class.
    Take a look here:
    Re: Using JBOSS JMS provider with XI
    Greetz
          Sebastian
    Message was edited by: Sebastian Simon

  • Can i use jboss seam in jdeveloper

    Hi,
    I am new to jdeveloper.
    I am developing and application using jboss seam.
    I am using jdeveloper as my ide.
    can anybody tell me if i can use jboss seam with jdeveloper.
    or are there any plugin available for jboss seam.
    nagesh

    Hi Babak
    It's a common requirement on posting to this forum that you describe which version of JDeveloper you're using and what technologies (obviously ADF BC in this case).
    For making the static value dynamic within your View Object, are you familiar with the View Object bind variables/bind parameters? This will allow you to define a named variable in your VO that you can set programmatically or even let the user set. Play around with those first and see if they solve one part of your problem, then come back to the forum for the second part.
    Regards,
    CM.

  • How to Struts and Spring in NetBeans using Jboss

    Hi Every One,
    I have a some basic Knowledge in Struts Spring and Hibernate. I already worked in it with Eclipse IDE in WebSphere Server...
    But Now i want to How to Use Struts Spring and Hibernate in NetBeans using JBoss i need that Folder Structure like that Stuffs
    Can Anybody Help Me for this

    Google

  • Using JBOSS JMS provider with XI

    Hi,
    I am connecting XI to a custom Java application developed on JBOSS app server.  The custom application is developed with connectivity using JMS.  I was told that JBOSS has a JMS provider used by the custom app.  Has anyone done this before?  Is it possible for XI to use JBOSS JMS provider?  How difficult is this going to be for synchronous interface?  Any information is greatly appreciated.
    thanks.
    James Chang

    hi,
    first deploy jboss-j2ee.jar,jms.jar,dom4j-full.jar..for deploying these jars into the xi follow this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/e6fb40f17af66fe10000000a1550b0/frameset.htm
    then to make use of the JMS adapter follow this link,
    http://help.sap.com/saphelp_nw04s/helpdata/en/4d/a3bc97ff55c742af7faed661635baf/frameset.htm
    hope this will be useful.....
    regards,
    Sundararamaprasad

  • How create JMS using jboss server

    Hi
    I am new to JMS, as i need to know how to create a JMS client in JBoss, i need complete details about jms topic/queue, complete details including the configuration in jboss to create a sample jms client.
    Thanks in advance.
    regards
    Javith

    Hi Javith
    The top three links provided in a Google search 'jboss jms tutorial' look like they'd cover this pretty well -- depending on if you're using JMS inside the JavaEE environment, or your using JMS directly. We might be able to help you more if you were trying to use GlassFish Message Queue and/or GlassFish Enterprise Server.
    Good Luck
    -- Ed

Maybe you are looking for

  • HELP! Synced iphone and now apps won't open

    I just finished syncing my iphone and I also downloaded and update (4.something...) and now when I try to click on one of my apps it will open for a half a second and then the screen shuts down and goes back to the home screen.  PLEASE HELP!!  I've t

  • Windows on oracle Virtual Machine

    Hi We have a server x86-64.We have installed Oracle Virtual server on this server. Now we have a requirement of installing Windows Operating system on  oracle virtual machine. is this possible? I checked available virtual templates on oracle edeliver

  • Ipod Classic 80gb: screen problem

    hello, today I turned on my ipod, and that's what I saw: (the white background is a whole white photo uploaded to my ipod, everything is working fine) Does anybody know, what could have happened to my ipod? I suppose, that there is no any solution fo

  • Free download for bad quality?

    I recieved an email today from Apple, telling me that one of the albums I purchased had apparently been complained about the poor sound quality and as such I was being allowed to redownload the whole album. (Presumably of a different quality, otherwi

  • This is ridiculous. Delete my free revel account. I dont care about the backup.

    This is ridiculous. Delete my free revel account. I dont care about the backup.