Running two xlets in Eclipse

I am trying to run two xlets with xletRunner in Eclipse IDE with arguments as follows
-name SimpleXletDemo -path D:/workspace/xlet -name SimpleXletDemo -path D:/workspace/xlet
I am getting the first xlet displayed after that it's showing the following runtime error
java.security.AccessControlException: access denied (java.io.FilePermission D:\workspace\xlet read)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkRead(Unknown Source)
     at java.io.File.exists(Unknown Source)
     at com.sun.xlet.XletManager$4.run(XletManager.java:488)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.xlet.XletManager.createXlet(XletManager.java:485)
     at com.sun.xlet.XletRunner.main(XletRunner.java:118)
Error while loading xlet: java.security.AccessControlException: access denied (java.io.FilePermission D:\workspace\xlet read)
can anybody tell where i am going wrong in running two xlets.
thanks in advance.

HI charlotte meunier-despins,
Thaks for the information. i will try using dynpage. if possible Can you please send me one ".par" file which you have created using JSP pages. i can cross check how i am creating.
once again Thanks for the information.
Regards
Sumanth

Similar Messages

  • Running concurrent xlets on IRT RI

    I am trying to make two xlets run concurrently on IRT's RI and make them communicate using the inter-xlet communication API. However, when I enter navigator after starting the first one, the navigator destroys the first xlet. How do I get it to run several xlets concurrently?
    And another matter is that I want my xlet to stay available over switching services , so my guess is that I need to configure it to be an external application. How do I configure this in IRT RI?
    I only know how to configure the basic stuff (org id, app id, ...) in the configurations file. The docs seems quite weak or maybe im just blind.

    The xlet shouldn't be killed when switching from service A to service B if there is an AIT in service B with similar orgid and appid entries than those used in service A. Another way of ensuring the xlet will continue to run is to add EAAD entries for it (eternal application authorisation descriptor table).
    Could you tell us where the IRT RI can be found?
    Bernard

  • Can a mac mini be set up to run two separate users at the same time?

    I work for a middle school and we need to purchase 20 computers that will just be used to run internet apps. Though we have all Macs, we don't have a big budget and for this one use only, we are condsidering purchasing inexpensive HP all-in-ones for about $450 each. However, I was wondering if a Mac Mini can be first set up with 2 partitions, install the OS on both partitions, then run two different users, with two separate monitors and keyboards, at the same time? This way, instead of purchasing 20 Windows computers, we could purchase 10 Mac Mini's (and displays) and save money, and still be supporting just one OS throughout the campus.

    If you setup a server, as in the Mac OS X Server Installation, pages 23ff show configurations, you can have multiple users, but they must all have computers.  Some installations can be done with dumb terminals but that is not what you seem to want.  Unix machines do have a multiple simultaneous user capability but you still have to have a computer for each user, again, not what you seem to want to do.  Right now there are two other users logged in on my Sun workstation on the desk behind me...they are logged in because I permit them to do so.
    And last night for an experiment I connected my iMac and MBP by ethernet wire, logged in on the iMac, then logged in on the MBP and from there on the iMac...but I set up the network to permit that and then disabled it again.  You can create security holes doing things like this.
    As dwb points out switching from Apple to PC equipment is a false economy that lures in administrators.  In our county school system we had a superintendent who hired a good friend...who had PC-industry ties.  Decided to remove all Apple equipment from the elementary schools and switch to PCs.  It wasn't long before they ended up going on a 4-year cycle of "refreshing" the equipment, i.e., completely replacing all hardware in every school on a four year cycle.  Since my wife was a Media Specialist, aka librarian, and responsible for technology in her school, every four years she had to develop a complete school map of where each teacher wanted the computers in their classrooms, complicated by where the technicians predetermined the locations of the network wire drops, of course.  then teachers get shuffled over the summer and all the plans are for naught.
    Anyway, there really isn't a solution to your problem except to buy a large number of computers and let each student use one and have them networked to a server, print server, printers, etc.  This is not inexpensive and cutting corners will only cause headaches for you.

  • How can I run two different versions of Firefox, the latest does not work with an important site I need to use?

    With the latest version of Firefox I cannot send "Quick Mails" to my students using the college's ANGEL system. I had to uninstall it and go to an earlier version. I prefer the newest rev.
    Any way to run two different versions. It does not have to be simultaniously. Seems to be a problem on both my Mac and XP systems.
    Thanks,
    Kim

    Currently I don't think there is a way to run two version of firefox at the same time. But you can install Firefox Beta or Aurora instead (which is build for future release for firefox) and help test it! Here's the link:
    http://www.mozilla.org/en-US/firefox/channel/

  • Running two copies of iTunes on one MAC

    I have a couple of different user sign-ons on my MAC, I need to be able to access iTunes on both, but I want them both to share the same library. Is this possible?
    I tried setting up iTunes for the second user and it had no songs, so I tried to reroute the access back to the original users library. Well after changing the access to the original user, I was able to get the songs in the second iTunes.
    However, now the iTunes from the original user ID can't find most of the songs even though I did not change their locations!
    So I have 2 questions.
    1) Can you even run two iTunes under different User IDs that can access the same iTunes library? If so, how?
    2) If you can't, how do I get my original iTunes to see all my songs again without having to go through them one at a time? I have over 17,000 songs!
    Thanks!

    This should help:
    iTunes: How to share music between different accounts on a single computer
    Note that when it says "publicly accessible location", it needs to be a place where everyone has read and write access. The most common such place is the Shared folder in the Users folder, but you can place the music elsewhere if you change the access permissions manually (don't start tinkering with permissions unless you're confident you know what you're doing and can reverse things if they get messed up).

  • Can I run two separate versions of the LabVIEW Run-Time Engine on one PC?

    Hello, I am curious if anyone knew if it is possibly to install and use two separate versions of the LabVIEW Run-Time Engine on one PC?  I currently have the 2009 Run-Time Engine installed on one machine and wanted to install the 2011 Run-Time Engine as well. I know that you can run two separate versions of the LabVIEW program on one machine, but what about the Run-Time Engine?
    Thanks!
    Solved!
    Go to Solution.

    I'm guessing this is a bug that NI needs to fix.  I see no reason you shouldn't be able to install the run-time engine of an older version.  I'd be interesed in if it allows you to install the older development environment, which also includes the older run-time engine.  There are some command line switches for NI installers as mentioned here:
    http://digital.ni.com/public.nsf/allkb/C361087EE9F20810862577850073128E
    I wonder if there is a force install option.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to run two icalenders on the same computer?

    How can i run two separate icalenders on the same computer? I have my own icalender with work, home, etc, and it's totally full. I am now running an artists collective and will publish the collectives icalender on the web. I don't, however, want to mix what will be a pretty busy calender with my own already too full one. Is it possible to run two totally separate calenders on the same computer?
    macbook   Mac OS X (10.4.8)  

    trsv,
    Welcome to Apple Discussions.
    Create two Groups...
    Calendar 1:
    Work
    Home
    etc
    Calendar 2:
    Collective Calendar
    You can then switch which groups you wish to display by activating/deactivating the check mark in the Calendar source window.
    That will also allow you to selectively publish the Collective Calendar.
    ;~)

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • Will the ATI Radeon 700 AGP card run two Studio 21 Displays?

    I just bought a G4 MDD 1.4 GHZ Mac that has what I assume was the stock video card, which appears to be for LCD displays, since the cables from my Apple 21" Studio displays (CRTs) don't match up to it (those are called VGA monitors, right?).
    On my present Mac (G4 Quicksilver) I am running both of these 21" Studio Displays, one plugged into the stock AGP card and the other connected to a PCI video card. As I prepare to switch over to my "new" MDD Mac now, I need to figure out how best to run the two monitors with this G4. (I will leave the video cards in the old Quicksilver and give it to a relative who also wants to run two monitors with it).
    I notice a new Radeon 7000 AGP card being offered on Ebay which has one VGA port, and they provide an adapter so that the second (DVI) port can also run a VGA monitor. If that card would run both my 21" Studio Displays independently as claimed, it would be the ideal solution, if the performance is adequate.
    I do lots of Photoshop(CS2)adjustment of digital camera images and also make video movies with Final Cut Express, iDVD, etc., with both monitors set to 1152 X 870 at 75 Hertz. Would such a card as this one be up to the task with both monitors?
    Every time I try to post the link to the Ebay auction for this card, everything in this text box disappears. So I'll just copy and paste the description of the card from the auction: "ATI Radeon 7000 64MB DDR Dual Monitor capable AGP Video Card with VGA, DVI-I, and S-Video Out and a DVI to VGA adapter. The video card has ATI's latest firmware (v226) with the latest ATI Displays support. It does not have any sleep issues. The card is capable of dual true independent/simultaneous monitor support with extended desktop. The adapter allows for dual VGA operation. This model has been tested in a G4 Tower, G4 Cube, and G5 with several versions of OS X including OS 10.4/Tiger. This card is guaranteed to work in any Macintosh G4 Tower, G4 Cube, or G5 Tower with OS 9.2.2 or later that has an available AGP slot."
    Sounds good---maybe too good to be true. Any drawbacks to such a setup as this?
    Any advice most appreciated.
    Tom

    Thanks for the info Malcolm. I checked out those links you provided, and it appears that buying two adapters for the presently-inistalled video card which would allow it to run two VGA monitors looks like a workable solution, all right. But it would be more expensive than just buying that Radeon AGP card to run both monitors, if the latter would work (that's what I'm still wondering).
    Also, I notice that the DVI to VGA adapter sold by Apple has some poor reviews and seems to have glitches. It is reported by several people to be unreliable and seems to turn a lot of displays magenta, and in other cases requires a lot of wiggling or careful positioning to make it work right. Sounds like Apple needs to work on the design.
    I appreciate the info, but I'm still favoring the Radeon 700 AGP card if someone can tell me it might work.
    As to which card my Mac has in it right now, I can't tell just by looking at it (why don't they put an identifying sticker or something on the things?) and I can't connect any of my VGA displays to it yet to let the Mac report what it has in it, so it's still a mystery.
    Thanks again,
    Tom

  • Running two displays from one DVI port...time to put my ADC down

    Hi Guys,
    I have a G5 dual with a GeForce FX 5200 which has 1 each of DVI+ADC ports. Until recently the 17" Apple display has been my only monitor. As I have a recording/mix studio I need to move the G5 base unit far away from any recording as it makes quite a lot of noise. I have been unable to do this as I have been having trouble finding either a Dr Bott or Griffin ADC extension. I have been searching off and on for over a year with no success.
    Recently I purchased a cheap reconditioned NEC monitor which I am running from the DVI port and am thinking perhaps now is the time to get rid of my apple display due to the ADC connection troubles.
    Is it possible to run two monitors from the one DVI port? I need to run a mirrored image so that I have one monitor to my side so that I can do close editing work and then one further away behind my analogue mixing desk, they need to show exactly the same thing.
    Will splitting the DVI port degrade signal or is there a way around this. I also want to get some long cables 6m+ so that I can place the base unit outside of the control room, will this be a problem?
    I would really appreciate some help on this matter.
    Thanks,
    Iwan

    Thanks BSteely, Would you happen to know of a box to recommend? I guess something like this would be more suitable:
    http://www.amazon.co.uk/StarTech-com-Port-DVI-Video-Splitter/dp/B000MPL5ZC/ref=s r129?ie=UTF8&s=electronics&qid=1272121514&sr=1-29
    Than this:
    http://www.amazon.co.uk/Ex-Pro-Premium-Female-splitter-connections/dp/B003HE91CE /ref=sr140?ie=UTF8&s=electronics&qid=1272121514&sr=1-40
    Thanks,
    Iwan

  • Error while running jms program in eclipse

    Hi,
    Friends.I am new to forum.This is the first question I am posting.I am new to Java Messaging service.While running the program in eclipse I am getting the following error...
    javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'scsstasdap03:QSEIBEL'
         at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:569)
         at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2328)
         at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1749)
         at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:144)
         at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:54)
         at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)
         at com.bofa.pbes.cedapi.cmwmq.JMSManager.<init>(JMSManager.java:87)
         at com.bofa.pbes.cedapi.cmwmq.JMSManager.<clinit>(JMSManager.java:40)
         at com.bofa.pbes.cedapi.cmwmq.JMSCEDAgent.<init>(JMSCEDAgent.java:24)
         at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<init>(MessageProcessingController.java:34)
         at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<clinit>(MessageProcessingController.java:38)
    java.lang.ExceptionInInitializerError
    Caused by: java.lang.NullPointerException
         at com.bofa.pbes.cedapi.cmwmq.JMSManager.addMessageListener(JMSManager.java:173)
         at com.bofa.pbes.cedapi.cmwmq.JMSCEDAgent.<init>(JMSCEDAgent.java:25)
         at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<init>(MessageProcessingController.java:34)
         at com.bofa.pbes.cedapi.cmwmq.MessageProcessingController.<clinit>(MessageProcessingController.java:38)
    Exception in thread "main"
    Please help me.....

    Have a look in eclipse in the menu under window -> preferences -> java -> installed jre's which one is selected there.
    Than you have to check you project settings: right click on the project and select properterties. Check "Java Build Path" and "Java Compiler" settings.
    If you run your program, the console also shows the version you are running. If it is an 1.6 version everything should work.

  • Can I run two PIDs from the same vi?

    Hi
    I want to control speed of the rotating shaft and force applied by the pneumatic cylinder using two different PIDs from the same program.
    I managed to get two PIDs to work separatly using PID control loop VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is no overshoot). When I try to run both PIDs within my vi they don`t work. I again tried various gains and managed to get one PID to work but not the other. Then through trial and error I managed to get a second PID to work but I had to change refresh time of the FOR loop from 100msec to 1msec.
    Does anyone have experience with running two PIDs in the same program? Does the timing of the FOR loop influence PID contorller? Does equiring of other data while run
    ning PID has effect on the PID?
    I would really appreciate any comments/help. I am pretty thrustrated at this time
    Thanks"

    The timing of the FOR loop will influence your PID control, which is a fundamental part of PID control. Acquiring data doesn't affect the PID although it could affect the timing of the loops. For instance if you only have one DAQ card you would want to have it all in one loop because you can not have two AI sessions open to the same card.
    For more detailed information on PID I would recommend reading the "PID Control Toolset
    User Manual" which should have been installed to your machine but can also be found at : PID Control Toolset User Manual"
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Can i run two PIDs at the same time?

    Hi
    I want to control speed of the rotating shaft and force applied by the pneumatic cylinder using two different PIDs from the same program.
    I managed to get two PIDs to work separatly using PID control loop VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is no overshoot). When I try to run both PIDs within my vi they don`t work. I again tried various gains and managed to get one PID to work but not the other. Then through trial and error I managed to get a second PID to work but I had to change refresh time of the FOR loop from 100msec to 1msec.
    Does anyone have experience with running two PIDs in the same program? Does the timing of the FOR loop influence PID contorller? Does equiring of other data while
    running PID has effect on the PID?
    I would really appreciate any comments/help. I am pretty thrustrated at this time
    Thanks

    I don't know whcih PID vi's you are using but I had similar problems. I
    solved it by going to the VI properties of the PID subvi, select category
    execution and make sure that reentrant execution is selected. Only then two
    instances of the PID vi can run without interfering each other.
    Martien
    solved by setting the execution mode
    "smartlander" wrote in message
    news:[email protected]..
    > Hi
    >
    > I want to control speed of the rotating shaft and force applied by the
    > pneumatic cylinder using two different PIDs from the same program.
    > I managed to get two PIDs to work separatly using PID control loop
    > VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is
    > no overshoot). When I try to run
    both PIDs within my vi they don`t
    > work. I again tried various gains and managed to get one PID to work
    > but not the other. Then through trial and error I managed to get a
    > second PID to work but I had to change refresh time of the FOR loop
    > from 100msec to 1msec.
    > Does anyone have experience with running two PIDs in the same program?
    > Does the timing of the FOR loop influence PID contorller? Does
    > equiring of other data while running PID has effect on the PID?
    > I would really appreciate any comments/help. I am pretty thrustrated
    > at this time
    > Thanks

  • Can I run two big external monitors on my 2012 MacBook Pro?

    I understand that my NON-retina 2012 MBP can be set up to drive two Apple Thunderbolt Displays, but am I out of luck on driving two generic 27" DVI or HDMI external monitors?
    Boring details: I've just bought a mid-2012 MBP, with a quad-core i7 and 16 Gb of RAM plus the high-end GPU w/ 1GB of video RAM, but non-retina. I'd like to run two external 1080p or DVI HD-equivalent monitors (I have several new Samsung 27-inchers). I can live without the laptop 15-inch screen while I'm doing it!
    I know that the retina MBP has two Thunderbolt ports, plus a DVI port, which would have easily given me what I need. However, I didn't get the retina MBP because it's totally non-upgradable by a user. There were a couple of other potential additional issues, including some reported problems installing Windows into Parallels via external DVD player. There's also the $mid-3000's price for retina, tricked out the way I'd like... Tradeoffs! At least I still have Firewire.
    The two big externals help a lot with video editing. Even with my old G5 PowerMac, you could immediately drive two 1080p-equivalent displays. I expect that someone will release a much-more powerful solution than the Matrox USB 2 screen driver dongle, etc., sometime soon, using "superfast" USB 3, but I'll lose one of my two USB 3 ports; I'll want to have 'em both free for other externals, I'm sure.
    Thoughts and/or solutions?

    For those following this thread...
    There is a posting elsewhere here in Discussions that describes how to get two large external monitors running on a recent Macbook Pro by using only ONE Apple Thunderbolt Display, then daisychaining a LaCie Thunderbolt drive after the T-Bolt display, and this allows adding another large DVI display in the chain after the LaCie.
    Still pricey, since it does involve buying one Apple Thunderbolt Display, plus a LaCie drive, and cables, plus the DVI display, but it's around half a thousand dollars cheaper than two Apple T-Bolt displays, plus you have a very fast LaCie external drive.
    Still not what I'm looking for, but if you're interested, here's a link...
        https://discussions.apple.com/message/18391941#18391941

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

Maybe you are looking for