Driven to Distraction

Hi,
I appreciate that everyone has a problem here, and we're all equally desperate for help, but I'm seriously in need of it!!!! I've read through days worth of posts and nothing seems to fit my problem.
I've spent a lot of time adding my music library into itunes, and then suddenly last week it started playing up on me. I can't determine what I might have done that caused it.
The main itunes window seems to like to send itself to the front of everything. What this means is that as soon as I open a new window within itunes (e.g the box that opens when you "add folder to library") it vanishes behind the main screen. When you click on itunes the box briefly flashes up but dissappears again instantly. Everything else in itunes then becomes redundant as there is already a window/dialogue box open and the only way to close itunes is to ctrl alt delete.
I've also noticed that after this has happened, if I don't shut down itunes and carry on with other programmes, every minute or so itunes forces itself to the front of all the programmes and you have to switch back to other ones via the taskbar.
The most frustrating part of this is that I cannot add any more music to my ipod.
I'm hoping that someone will be able to help my plight, please!!!!
Oh and i've noticed that some ppl have had issues with itunes because of their security software. If it helps I'm using norton.
thanks
  Windows XP Pro  

You may try afew steps to correct this. First make sure your antivirus (Norton I take it) is up to date using Libveupdate and then scan your system for any viruses, trojans, worms ect ect. Then scan your system for any malware with your adware/spyware program. If you do not have one you can search the web for one or download.com
Look on the web site that made your PC (Like Dell or HP) and see if theres any updates for your system or patches that cure conflicts there software may cause with iTunes.
After that if you have no virus and after removing malware your still having problems, look at your Event viewer there may be some helpful info there telling what conflicts iTunes is causing or having with other programs ect ect on your system. to get there goto control panel>Administrative Tools>Event Viewer
Use chkdisk (Error Checking in Win XP) to find and fix errors in the system files. to do this goto "My Computer" Right click your Harddrive (Usualy C Drive) Hit Properties> "Tool" tab under Error checking hit check now, check the box beside "Automaticly Fix System Files" and hit OK. select "Yes" in the following pop up window and reboot. during the boot up you will see a blue screen and it will show you its scaning the system and when its done it will boot back into windows.
Also when uninstalling iTunes uninstall ALL things quicktime in add/remove as well. then when reinstalling iTunes and quicktime make sure norton is turned off or disabled. you may want to download and install the quicktime standalone to at http://www.apple.com/quicktime/download/standalone.html

Similar Messages

  • How to claim refund of account in credit?

    My grandfather pays his BT bill monthly, not by direct debit, and is in the habit of paying more than he needs to each month so that he is never behind.  This has led to him being in credit by some £100.  He wishes to claim a refund of the amount he is in credit, but has been driven to distraction and going round in circles trying to find the right number to call.
    As is often the way with the very elderly, grandfather has distrust of banks and direct debits and cannot be persuaded to pay just the amount that is due on the bill.
    I'm sure in the past it was simple to claim a cheque as refund.
    I have spent some time searching this site but cannot find any advice on how to obtain a cheque as refund for an account that is ongoing and not to cease, but merely overpaid.  Can anyone help?  Would be very grateful for any assistance.  Many thanks.
    Solved!
    Go to Solution.

    If you cannot get any help from BT billing  0800 800 150, (enter your phone number and select billing)
    Then you could try live chat, the link is below.
    http://bt.custhelp.com/app/contact/c/2902/?s_intcid=con_intban_sanda_contact_us_chat_from_forums
    If you cannot get anywhere with this, then one of the BT Care Team moderators should be able to assist.
    They can be contacted via this form.
    http://bt.custhelp.com/app/contact_email/c/4951
    In all of these cases you will need the phone number, postcode, and account number.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Bring back the dead (features) please

    I'm currently working on a large (>10G) studio recording for a cultural restoration, and I'm being driven to distraction by a couple of things that have been mentioned in passing in other forums/user areas. Because it's such an important piece of audio material, I have to work entirely manually, and the one repetitive task that I'm doing (800 so far today, and about 7,000 or so more) is the one feature that's missing from AA2/3.
    These are small glitches in an otherwise great package (I'm not ******** about Adobe, I promise!), and they're so easily fixable even I could do it.
    But just to put in black and white what I miss most from previous versions, and what I'd really like to see offered pr considered in future iterations:
    1) I need to be able to play preroll/selection/to end of file. Since the "Play from selection to EOF" has been taken out from AA2 onwards, I'm spending (wasting!) an enormous amount of time editing tiny transients, then scrolling back 1-3 seconds, then clicking to place the cursor, then pressing play to verify the repair and continue on to the next transient. Since my display window width is typically 1.1 - 3 seconds, and I work mainly in spectral view, this is extremely time-consuming and truly, truly annoying. Do this 500 times on a single recording, for 10-15 recordings per week, and it actually subtracts
    i hours
    from the work week!
    Not everyone will use this, but some of us relied on this time-saving and practical feature and really miss it; and yes, it would probably need to be a configuration option, not just an extra context menu setting to confuse other users.
    2) Please, please, please fix the gui so the Adobe window controls library doesn't keep trashing everyone else's windows. Initially this seemed to be caused by a Microsoft mouse driver problem, but I've now tried a number of alternatives, and none of them work when Audition is running.
    The workaround is to minimise Audition instead of working over the top, but that's not a fix, that's a workaround. I know everyone loves the pretty dimple controls and cute tabs and little x's, but they're non-standard, and they don't even work within Audition without snarfing normal windows controls up. (Try opening a save dialog when the underlying Audition toolbar suddenly paints itself over the dropdown controls. Or worse, when I'm about to drop an object in an unrelated application, Audition suddenly hiccups and paints over the other application's device context!)
    This isn't a mouse driver compatibility issue, it's a bug in the implementation of the window controls library (MSVCL/MSVCR?) used by Adobe -
    i all
    Adobe products suffer from it, and
    i only
    Adobe products suffer from it, although they affect any other application using the same library. This is a bug in the way the Adobe applications use the library, not necessarily in the library itself. Why? Because all other applications that use the same library
    b don't
    paint over one another's contexts. So it should be fixable by Adobe, and if so, please fix it!
    3) Please look at BWF/CART chunk "usability" improvements.
    For example, it would be really useful to be able to instantly clear BWF/CART/RIFF text fields without having to manually clear them all (click, drag/ctrl-A, delete, next field) when preparing an audio file for downsampling and mastering. The RIFF text in some fields is preserved even when "Save non-audio data" is turned OFF during a save, so just saving without extra data isn't a practical workaround. And yes, that did happen in the few days I was able to test AA3, but I can't confirm it because AA3 won't allow me to finish trialing it.
    On the same subject, some other small "usability" fixes to the metadata field tab order and the ability to preset reasonable defaults in some fields (for example, adding the current file length to the start cue to provide an accurate EOD cue instead of 2099-mm-dd would be a nice addition) would be much appreciated.
    Th

    >Since the "Play from selection to EOF" has been taken out from AA2 onwards...
    Well, I don't understand this one at all, because nothing's been removed. There never has been a
    selection to EOF option - it's always been cursor to EOF, and it's still there. All that has happened is that the play options have been expanded, not replaced. In 1.5, there were the first four options on the list, and in 2.0 they were added to.
    As far as I'm concerned, what you want to do exists right now and works fine. Right-click on the play button, select 'play preroll, postroll and selection, and you can play through your edit perfectly - and in the options, set up just as much pre and postroll as you want. So if you use, say, the healing brush, then the extent of this becomes the 'selection', and you hear either side of it, and that's all. Is this what you want to be able to do?
    Unfortunately (perhaps...), Adobe never, ever, discuss future plans for what to include with anybody. No, not even the beta testers. It's hard enough trying to get features altered so that they work sensibly, never mind trying to get new ones added. What happens is that Adobe looks at what is written in features forums (there are two sensible ones, here and at AudioMasters), and picks what they want out of them. And very occasionally David Johnson comes up with something totally amazing, usually a bit left-field, that nobody would have thought of in 1000 years, and that gets added too - probably because he's written all the code for it! And if there's anything in the aforementioned feature lists that coincides with what they want to do - well, that's a bonus, isn't it?
    I don't mind this approach, because Audition does pretty much what I want it to do anyway - especially now that the crossfades have got sorted out - and hey, you get the occasional surprise. But in principle I agree with your plea for not removing existing features, or altering them out of all recognition; somebody somewhere was probably using them, and it will hack them off somewhat. There are three that come to my mind specifically here, but there may well be others as well. If it's any cause for hope I don't know, but
    one of them has been put back; the play list option.

  • Norton anti-virus slows down the start up time in Windows Vista

    Hi,
    please help, i am being driven to distraction by the slow start up time of my laptop.
    I've only had it for a few weeks and don't use it for anything beyond producing word documents etc.
    It has gradually been getting slower on startup and i suspect it has something to do with the Norton anti-virus software on it and the updates for norton that i have downloaded (thinking that this was the right thing to do).
    Looking at the problems and solutions log on the computer the date that it really started to slow down coincides with downloading a norton update, which i have been unable to uninstall to check if this really is the problem.
    Further i have tried doing a System Restore, my laptop was not able to complete.
    I am stuck on the DOS screen for 10 mins with the message:
    PXE-E32 FTFP open timeout
    I have no idea what this means but the Problems and Solutions log says something about a system hang?
    I have looked on the web for other anti-virus software and they all seem to have one problem or another and slow computers down on startup.
    Does anyone know of a solution or do i just have to make a cup of tea when i switch my computer on and lace it with vodka till it has booted up completely!
    I am a novice when it comes to using computers so would welcome any non-technical advice.
    thanks
    laura

    Hi guys
    I would like to add some words about my experience using the Symantec Norton Antivirus software.
    I have used this software 3 year long. It was great because it supports one of the best virus filtering options BUT it really slow downs the operating system.
    I didnt use it on with Vista preinstalled notebook but on Win XP and I have to say that the notebook boot process was halted for about 30sec-1min till the whole parts of Norton Antivirus software has started It was very annoying
    However, I switched to AntiVir. This is software described by marina4000 and Im really happy because the boot performance increased.
    So finally I would also recommend removing this Symantec Norton Antivirus software and to switch to the other free AntiVir software ;)
    Bye

  • Poor Customer Service - BT Call Centres

    I have been having problems with my phone line and broadband for over a month now.  The Call Centre in India (whilst staffed by very nice people) is completely inadequte.  There is no follow through, they do not appear to make notes when there is an ongoing issue (unless of course they are getting me to repeat myself for the fun of it!), conversations get lost in translation, they promise to call back and then don't, and then you have to start fresh with another member of staff.  They work to a scripted conversation, any deviation from this and they can't cope.  
    I am not a complainer, quite the opposite but I have been driven to distraction by the process of contacting a Call Centre in India when you have a technical problem however, when there is a sale to be made you can speak to someone in a Call Centre in the UK. The carving up of BT services has not been done for the benefit of the consumer.  The disjointedness has, in my view, led to a complete inability to provide good customer service.   As a result, I am considering putting in a formal complaint and sending a copy of a letter to OFCOM or the likes.
    Can anyone on the forum help in terms of a name to direct a letter to and whether OFCOM is the appropriate body?  I have tried emailing BT Complaints but no response and don't want to send a letter off without someone to contact to follow through.  Below is a not so brief timeline of events to date!  Many thanks in advance!
    w/c 25 June
    Started contacting BT as problem arose with quality of my land line (e.g. crackling) and broadband loosing connection.
    A number of calls ensued taking me through a scripted conversation and many line tests.  Each time I was told I do not have a problem.  Eventually insisted (after being patched through to a level 2 supervisor) that an engineer visited my property.
    4 July
    An appointment was made with an engineer between 8am – 1pm.  As no one had showed, I contacted the Call Centre and was informed that an engineer was working on a problem with the main junction box.  Engineer arrived at 4pm, did not examine my phone line but said problem is now resolved  It was not.
    5 July onwards
    Many calls to the Call Centre, all operatives assuring me that there is not a problem with a line and they can fix the problem I am having within 24 hours.  After many line tests, rebooting, resetting of broadband etc.  I eventually persuaded them to send another engineer.
    12 July
    Young apprentice visited (lovely young man and we wrote a very nice email to his line manager as we were impressed with his attitude).
    He did not however resolve the issue, he completely renewed all of my broadband equipment and left.
    W/c 16 July
    Started phone calls again to Call Centre.  They kept running line tests and telling me there is no problem.  Had to explain the term intermittent and there was indeed a problem. 
    Eventually got through to a level 2 Technician who ran a special test that only he could do and he could see that there was indeed a problem but that he could fix it within 24 hours.  He could not.
    A few more phone calls, and I eventually got them to agree to send out another engineer.
    31 July
    Wrote a complaint regarding service on BT website.  Incident number 120731-003877.  No reply received however did get an email about how to improve my broadband speed!  I live in a rural area, anything about 1mb would be a miracle.
    Early August
    Received a phone call from a nice young lady based in London working as part of the BT sales team offering me a discount on my broadband package if I agreed to sign a 12 month contract.  She did not know anything about the issues I have been having.  In the hope that the conversation was indeed being recorded I explained everything!
    No follow up.  As a gesture it would have been nice if someone from sales had phoned me back, offered sympathy and perhaps the discounted package with immediate effect (without a contract requirement) seeing as I have effectively had no internet for a month and possibly the lowest connection speed in the country.
    9 August
    Another engineer arrived with 35 years experience and excellent member of staff.  Conducted a full line test and low and behold, problem found with line 83 meters from my property (exact location where we had an issue the previous year and that I had been trying to tell the Call Centre staff about).
    On examination, the engineer confirmed it needed replacing.  Also that the space between the telegraph poles was 75 meters and should actually only be a maximum of 63 meters hence, tension on line which has caused the problem.
    He called for assistance and both he and a colleague were about to replace the line when he was called off the job by his line manager.  Something to do with Health and Safety. hmmmm..... he did have a colleague, a Hiab and all specialist equipment.  I did wonder whether cost was a factor as we are the last house on the line.
    10 August
    Further phone calls to Call Centre, told again that they needed to run a line test and that they could get my phone working in 24 hours.  Informed them that it was very improbable.  
    11 August
    Level 2 supervisor finally returned my call as promised and confirmed that a new line was needed. She gave me the telephone number of the telephone line faults department to phone to enquire when this would be done.
    13 August
    Phoned the telephone faults department to ask for a date when the line would be replaced.  Level 1 technician wanted to run line test and assured me that he will be able to solve my problem with a few simple steps and that it would be fixed within 24 hours.  I informed him that it would be impossible.  I asked to speak to a level 2 supervisor.  He put me on hold for 10 minutes and then informed me that a level 2 supervisor could not help me.  He agreed to book an engineer to come out and repair the fault (he had never done this for any other customer before but as I was a special case he agreed to do so!).  I had to provided him with exact details of the fault.  I requested that he refer to the report given by the last engineer that visited but no, he wanted the details from me, slowly, so he could type it out.
    I have an appointment for Thursday 16 August between 8am and 6pm.  Not hopeful.
    I requested the number of a telephone complaints department or any member of staff I could speak with in the UK.  He could not find a number for me.

    Hi,
    Your line and exchange is maintained by Openreach and not BT Retail (your communication provider). BT Retail do not get priority over other communication provider as Openreach treat all communication providers/ISP's equally.
    If you would like to contact the BT Care Team they will be able to look into your account notes and to help you get it resolved. BT Care Team are a UK Based BT Specialist Team.
    Click here to contact BT Care Team
    They wil contact you by email or phone within 3 working days. You will be given a automated reference number please make note of this.
    cheers
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • Compilation album problems

    please help I am being driven to distraction every time I try to import a compilation album to itunes in finishes up completely dispersed all over every part of my libray single track here single track there no art.its making a terrible mess as a large part of my collection are compilation albulms you can see the problem Im sure its something simple I just cant put my finger on it. I tried looking all through the preferences to no avail.thanks in advance

    When you insert the CD before you import, right click the CD - get info.
    Tick Compilation.

  • Black exclamation mark

    I am being driven to distraction. I am running iPhoto 08. While I can see all my older photos as thumbnails, when I try to open them, or when I try to do anything with them, the photo disappears and is replaced by a blurry, white circle on a black background with a large black exclamation mark in the middle.
    I also run Photoshop CS3 and Bridge CS3, but this happens whether or not I am running these Adobe products.
    What the )(&^&& is going on?

    Nikapika:
    That "!" means that iPhoto has lost the path to the original files and the library's dB file, Library6.iPhoto, has been damaged. If rebuilding the library as suggested in the link that Larry supplied doesn't work, you'll have to start over with a new library and import the Originals folder from the old library as follows;
    Creating a new library while preserving the Events from the original library.
    Move the existing library folder to the desktop.
    Open the library package like this.
    Launch iPhoto and, when asked, select the option to create a new library.
    Drag the Originals folder from the iPhoto Library on the desktop into the open iPhoto window.
    This will create a new library with the same Events as the original library if you have the Finder checkbox unchecked in the Events preference pane.
    If you decide to start over as described you might try following Tutorial #1 first in an attempt to keep the keywords, comments and titles of those photos still visible in the library.
    Happy Holidays
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • N97 cannot use as modem after firmware upgrade

    Hi, sorry if this is a repeat post but driven to distraction.
    I use my N97 as a modem to connect to the internet from my laptop when I'm away from home. Since upgrading the firmware I cannot connect through 1 touch access or direct through dial up.
    When attempting to connect through 1 touch I get as far as connecting device and then I get the message "Failed to connect device".
    I have removed the modem through internet properties and reinstalled PC Suite (after using PC suite cleaner). I am running windows 7 but was connecting through 7 before the firmware upgrade.
    Now I'm at a loss. Anyone got any ideas?

    Saw another post here that said they make a completely new network with a different name and it worked. I decided to give it a try and it actually did work!!! Don't have any clue why but I don't really care since my network is running again.

  • Following a curve

    Evening all,
    I'm designing a tattoo, and I've been driven to distraction trying to get a part of it right. Basically, it's in an elongated circular shape, to go over the top of the shoulder. It's a Tongan design, and part of it requires a line of diamond shapes following the curve of each side of the circle from top to bottom.
    At the moment, I'm just copying a diamond shape and putting it in, and then using Transform>Distort to wedge it in place. However, it's both slow and not too good.
    I then had what I thought was a brainwave - draw the parallel lines straight, add the diamonds, and then curve the whole thing into place. I've tried doing this using Transform>Warp, but the amount of swearing emanating from my office is annoying my girlfriend
    Has everyone got a better way of doing it? I'd really like to be able to almost draw it as a path, just putting anchors in, and then having the pattern follow the path.
    cheers
    Richard

    trebizond79 wrote:
    the obvious answer came to me - type along a path, using Wingdings
    Well I was handicapped because your image is still "queued" as I write.  
    If I'd seen it, your solution might have occured to me too.  
    BTW the camera icon works instantly for posting images.

  • Garageband 10 mega slow on brand new Macbook

    Garageband is driving me crazy. I am getting that rainbow beach ball of death cursor things endlessly, for practically every selection I make. For example, selecting and editing a note in the piano roll takes at least 15 seconds each time, not to mention moving things around/deleting/copying etc.
    I addressed the most obvious solution by increasing my RAM from 4GB to 8GB, but it hasn't helped. When I start up the computer and Garageband, the software works ok for about 30 minutes, but then the beach ball thing starts getting increasingly worse to the point I'm driven to distraction with the slowness. These are not complex tracks (I created much larger ones on my old machine and Garageband 08), and I don't have countless other apps runnning at the same time.
    I don't want to have to keep shutting down after only 30 minutes of work in order to rectify the problem, and I am concerned as to why this is happening on a new computer. It is a 2012 13" model I bought from the Apple store, but it was still a brand new machine and I would have expected it to run Garageband without any problems.
    Any help, greatly appreciated!

    "the beach ball thing starts..."
    I've started to get this lately too.  But I'm new to the app, and was thinking it just chokes when tracks get up to around 15 in number, with a bunch of Safari windows open in the background.  But maybe there is something else going on...like maybe a software bug whereby the application program progressively eats up memory, the longer it stays open?

  • EMAIL SESSION EXPIRES

    I am using my email,either receiving or composing when a Session Expired notice comes up and I have to log in again. This happens very frequently and I lose any emails I am composing?

    My neighbour called me in to help because she was being driven to distraction by this problem, particularly when composing new messages.  If it's meant to be a security feature then it happens far too fast.  And I get the impression only a minority of people suffer because there would be a deluge of complaints if it happened to everybody.
    My neighbour has an XP computer and was using Internet Explorer 8 so a few days ago I installed Firefox as an alternative.  I tried it for about 20 minutes including about 10 minutes when I just left the Window open.  The session was not expired during that time and I'm pretty certain that is better than when she was using IE.  She hasn't come back to me since so I'm hoping this workaround has worked.  But fundamentally the problem lies at the door of BT's new email subcontractors.
    I see there is another thread on the same problem but no solution given: https://community.bt.com/t5/Email/BT-Mail-Sessions/td-p/1277541 .  Customers don't like being messed around with and, judging by the response of my neighbour BT, will lose customers if they don't get this problem fixed.    

  • Error while deploying a message driven bean

    I am deployeing a MDB which is done successfully but the message is not retrieved(No message in teh queue). The following description is given in the log file.
    #1.5#0016E6197593004B0000000B000013040004288DE20D6CD8#1170489754872#com.sap.security.core.policy.PolicyInfoManagerImpl##com.sap.security.core.policy.PolicyInfoManagerImpl.copyApplicationConfiguration#Administrator#523####e5dbec01b35c11db90e70016e6197593#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Security/WS/SecurityProtocol#Java###An error occured while copying configurations for application . Reason: #3#sap.com/MessageEAR#com.sap.engine.frame.core.configuration.NameNotFoundException#A configuration with the path "webservices/services/sap.com/MessageEAR" does not exist.#
    Can you please tell where to look for it and what to do?

    the session bean is ::
    public class SenderBean implements SessionBean {
      public static final boolean DEBUG = false;
      private SessionContext ctx;
      private TopicConnectionFactory factory;
      private TopicConnection connection;
      private Topic topic;
      public SenderBean() {
         log("constructor");
      public void ejbCreateSender() throws CreateException {
         log("ejbCreate");
                try {
                   InitialContext naming = new InitialContext();
                   factory = (TopicConnectionFactory)naming.lookup("jmsfactory/default/ExceptionTopicFactory");
                   topic = (Topic)naming.lookup("jmstopics/default/ExceptionTopic");
                   log("factory: " + factory);
                   allocateResources();
                } catch (Exception exc) {
                   log("exception occured during ejbCreate().");
                   throw new CreateException("Unexpected exception in ejbCreate().");
      public void ejbCreate() throws CreateException {
      public void ejbActivate() {
         log("ejbActivate");
         try {
           allocateResources();
         } catch (Exception exc) {
           exc.printStackTrace();
      public void ejbPassivate() {
         log("ejbPassivate");
         try {
           releaseResources();
         } catch (Exception exc) {
           exc.printStackTrace();
      public void ejbRemove() {
         log("ejbRemove");
      public void setSessionContext(SessionContext _ctx) {
         log("setSessionContext");
         ctx = _ctx;
      public void sendMessage(String text) throws MessageNotSentException {
         log("sendMessage");
         log("text = " + text);
         TopicSession session = null;
         try {
           session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
           log("topic = " + topic);
           TopicPublisher publisher = session.createPublisher(topic);
           TextMessage textMessage = session.createTextMessage();
           textMessage.setText(text);
           publisher.publish(textMessage);
           System.out.println("Message Sent");
           log("message sent");
         } catch (JMSException jmse) {
           jmse.printStackTrace();
           throw new MessageNotSentException(jmse.toString());
         } finally {
           try {
              if (session != null) {
                session.close();
           } catch (Exception exc) {
      private void releaseResources() throws JMSException {
         connection.close();
         connection = null;
      private void allocateResources() throws JMSException {
         connection = factory.createTopicConnection();
         log("connection = " + connection);
         connection.start();
         log("connection started");
      private void log(String message) {
         if (DEBUG) {
           System.out.println("SenderBean: " + message);
    the mdb is::
    public class MessageDisplayBean implements MessageDrivenBean, MessageListener {
           public static final boolean DEBUG = false;
           private MessageDrivenContext ctx;
           private QueueConnectionFactory factory;
           private QueueConnection connection;
           private Queue queue;
           public MessageDisplayBean() {
              System.out.println("In constructor");
              log("constructor");
           public void onMessage(Message message) {
              TextMessage textMessage = (TextMessage)message;
              try {
                String text = textMessage.getText();
                log("message received. Text follows:\n\n  " + text + "\n\n");
                connection = factory.createQueueConnection();
                connection.start();
                QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
                TextMessage confirmation = session.createTextMessage();
                confirmation.setText("Message \""+ textMessage.getText() + "\" received.");
                //queue = session.createQueue("ConfirmationQueue");
                QueueSender sender = session.createSender(queue);
                sender.send(confirmation);
                session.close();
                connection.close();
                System.out.println("Message received");
              } catch (javax.jms.JMSException jmse) {
           public void ejbRemove() {
              log("ejbRemove()");
           public void setMessageDrivenContext(MessageDrivenContext _ctx) {
              log("setMessageDrivenContext()");
              ctx = _ctx;
              System.out.println("In context");
           public void ejbCreate() {
              try {
                   System.out.println("In ejbcreate");
                InitialContext naming = new InitialContext();
                factory = (QueueConnectionFactory)naming.lookup("jmsfactory/default/ExceptionQueueFactory");
                queue = (Queue)naming.lookup("jmsqueues/default/ExceptionQueue");
                log("factory: " + factory);
              } catch (Exception exc) {
                log("exception occured during ejbCreate().");
              log("ejbCreate()");
           private void log(String str) {
              if (DEBUG) {
                System.out.println("MessageDisplayBean: " + str);
    th ejb-j2ee-engine.xml is::
    <ejb-j2ee-engine>
         <enterprise-beans>
              <enterprise-bean>
                   <ejb-name>MessageDisplayBean</ejb-name>
                   <jndi-name>MessageDisplayBean</jndi-name>
                   <message-props>
                        <destination-name>ExceptionTopic</destination-name>
                        <connection-factory-name>ExceptionTopicFactory</connection-factory-name>
                   </message-props>
              </enterprise-bean>
              <enterprise-bean>
                   <ejb-name>MessageSender</ejb-name>
                   <jndi-name>MessageSender</jndi-name>
                   <session-props/>
              </enterprise-bean>
                   </enterprise-beans>
    </ejb-j2ee-engine>
    the ejb-jar.xml is::
                 <ejb-jar>
        <display-name>        Message Driver Bean Example      </display-name>
        <enterprise-beans>
            <session>
                <display-name>            MessageSender          </display-name>
                <ejb-name>MessageSender</ejb-name>
                <home>com.sap.message.sender.SenderHome</home>
                <remote>com.sap.message.sender.Sender</remote>
                <local-home>com.sap.message.sender.SenderLocalHome</local-home>
                <local>com.sap.message.sender.SenderLocal</local>
                <ejb-class>com.sap.message.sender.SenderBean</ejb-class>
                <session-type>Stateful</session-type>
                <transaction-type>Container</transaction-type>
                <ejb-local-ref>
                    <ejb-ref-name>ejb/SenderBean</ejb-ref-name>
                    <ejb-ref-type>Session</ejb-ref-type>
                    <local-home>com.sap.message.sender.SenderLocalHome</local-home>
                    <local>com.sap.message.sender.SenderLocal</local>
                    <ejb-link>MyEJB.jar#MessageSender</ejb-link>
                </ejb-local-ref>
                <resource-ref>
                    <res-ref-name>ExceptionTopicFactory</res-ref-name>
                    <res-type>javax.jms.TopicConnectionFactory</res-type>
                    <res-auth> Container</res-auth>
                </resource-ref>
                <resource-env-ref>
                    <resource-env-ref-name>ExceptionTopic        </resource-env-ref-name>
                    <resource-env-ref-type>   javax.jms.Topic        </resource-env-ref-type>
                </resource-env-ref>
            </session>
            <message-driven>
                <ejb-name>MessageDisplayBean</ejb-name>
                <ejb-class>com.sap.message.mdb.MessageDisplayBean</ejb-class>
                <transaction-type>Container</transaction-type>
                <message-driven-destination>
                    <destination-type>javax.jms.Topic</destination-type>
                </message-driven-destination>
                <resource-ref>
                    <res-ref-name>   ExceptionQueueFactory            </res-ref-name>
                    <res-type>              javax.jms.QueueConnectionFactory            </res-type>
                    <res-auth>              Container            </res-auth>
                </resource-ref>
                <resource-env-ref>
                    <resource-env-ref-name>        ExceptionQueue        </resource-env-ref-name>
                    <resource-env-ref-type>          javax.jms.Queue        </resource-env-ref-type>
                </resource-env-ref>
            </message-driven>
               </enterprise-beans>
        <assembly-descriptor>
            <container-transaction>
                <method>
                    <ejb-name>MessageDisplayBean</ejb-name>
                    <method-name>onMessage</method-name>
                </method>
                          <trans-attribute>           NotSupported         </trans-attribute>
            </container-transaction>
        </assembly-descriptor>
    </ejb-jar>

  • How to transaction in the message driven bean?

              hello
              i write a message driven bean,that monitor the weblogic message queue,when a "Order"
              object is witten to the queue,the mdb get it and write it to a entity bean "Orderinfo".all
              of above logic is within the "onMessage" method of the mdb.
              i want to encapsulate the flow in a transaction,see my code snippet of the onMessage
              method:
              ObjectMessage objMsg = (ObjectMessage) msg;
              OrderVO orderVO = (OrderVO) objMsg.getObject();
              System.out.println(orderVO.booklist);
              OrderinfoHome orderinfoHome = (OrderinfoHome) ctx.lookup(
              "java:/comp/env/orderinfo");
              Orderinfo orderinfo = orderinfoHome.create(orderVO.orderID);
              orderinfo.setAddress(orderVO.address);
              orderinfo.setCustname(orderVO.custName);
              orderinfo.setEmail(orderVO.email);
              orderinfo.setBooklist(orderVO.booklist);
              orderinfo.setPrice(new BigDecimal(orderVO.price));
              and deploy descriptor snippet(ejb-jar.xml):
              <assembly-descriptor>
              <container-transaction>
              <method>
              <ejb-name>orderMDB</ejb-name>
              <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              </assembly-descriptor>
              i think during this transaction,there are two action:geting the object from the
              queue and saving it to entity bean.in order to test the transaction,i modify the
              jndi name of entity bean in the code to a WRONG one.redeploy my program,and send
              a message to the queue,the mdb is activated,then the exception is thrown because
              of the wrong jndi name.after that,i check the message queue,find that it is empty.why?i
              think if the second action of the transaction is fail,the transaction should roll
              back,the message should be send BACK to the queue.
              i also ty to use the "javax.transaction.UserTransaction" in the onMessage method,but
              the follwing exception is thrown:
              javax.transaction.NotSupportedException: Another transaction is associated with
              this thread.................................
              who can help me,if any wrong with me,and how to use the transaction with the message
              driven bean?
              thank you.
              

    The transaction should rollback if the MDB throws an
              exception. Try changing your MDB code to
              call "setRollbackOnly()" on the EJB
              context (instead of throwing an exception) to see
              if that works. If calling "setRollbackOnly()" fixes
              the problem - then please contact customer support
              and report a bug.
              zbcong wrote:
              > hello
              >
              > i write a message driven bean,that monitor the weblogic message queue,when a "Order"
              > object is witten to the queue,the mdb get it and write it to a entity bean "Orderinfo".all
              > of above logic is within the "onMessage" method of the mdb.
              > i want to encapsulate the flow in a transaction,see my code snippet of the onMessage
              > method:
              >
              >
              > ObjectMessage objMsg = (ObjectMessage) msg;
              > OrderVO orderVO = (OrderVO) objMsg.getObject();
              > System.out.println(orderVO.booklist);
              > OrderinfoHome orderinfoHome = (OrderinfoHome) ctx.lookup(
              > "java:/comp/env/orderinfo");
              > Orderinfo orderinfo = orderinfoHome.create(orderVO.orderID);
              > orderinfo.setAddress(orderVO.address);
              > orderinfo.setCustname(orderVO.custName);
              > orderinfo.setEmail(orderVO.email);
              > orderinfo.setBooklist(orderVO.booklist);
              > orderinfo.setPrice(new BigDecimal(orderVO.price));
              >
              >
              > and deploy descriptor snippet(ejb-jar.xml):
              >
              >
              > <assembly-descriptor>
              > ............
              > ...........
              >
              > <container-transaction>
              > <method>
              > <ejb-name>orderMDB</ejb-name>
              > <method-name>*</method-name>
              > </method>
              > <trans-attribute>Required</trans-attribute>
              > </container-transaction>
              > </assembly-descriptor>
              >
              >
              > i think during this transaction,there are two action:geting the object from the
              > queue and saving it to entity bean.in order to test the transaction,i modify the
              > jndi name of entity bean in the code to a WRONG one.redeploy my program,and send
              > a message to the queue,the mdb is activated,then the exception is thrown because
              > of the wrong jndi name.after that,i check the message queue,find that it is empty.why?i
              > think if the second action of the transaction is fail,the transaction should roll
              > back,the message should be send BACK to the queue.
              >
              > i also ty to use the "javax.transaction.UserTransaction" in the onMessage method,but
              > the follwing exception is thrown:
              >
              > javax.transaction.NotSupportedException: Another transaction is associated with
              > this thread.................................
              >
              > who can help me,if any wrong with me,and how to use the transaction with the message
              > driven bean?
              >
              > thank you.
              >
              >
              

  • Restrict the list of values retrieved by a model driven LOV

    hi all
    i'm try to restrict the list of values retrieved by a model driven LOV just like the article in this link
    http://www.oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    and i'm using the jdev11.2 but i always get this error
    java.sql.SQLException: parameter IN or OUT is missing at index 1
    my code is :
    public void SetSchoolLovVar(LaunchPopupEvent launchPopupEvent)
    String var_val=getOt7().getValue().toString();
    System.out.println("++++++++++++++++++++++++++++++++"+var_val);
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DeptCode");
    System.out.print("LOVE "+lov);
    System.out.println("+_+_+_+_+__+_+_+__+_+_+_+_+_+_+_+_+_+_________+++++_+_+_"+lov.getName());
    lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("Rejon_For_Prj_Dept",var_val);
    Rejon_For_Prj_Dept is the bind variable of the Lov Query.
    any good idea

    Hi,
    The error might be due to making the bind variable as required but not using it in the vo query. Edit the bind variable and make it as optional by unchecking the required checkbox.
    Sireesha

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys,
    Using JDev 11.1.1.2.0
    I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf)
    But my bind variable isn't updating. Deleting the bind variable gets me the entire LOV. Activate the code below and insert a bind variable into the where clause like Frank says and I get nothing back. Bind variable is blank. Any ideas? Code wasn't supplied with the article. It seems simple enough but the bind variable isn't updating in the SQL, even though the updated value shows up here...
      public void onLovLaunch(LaunchPopupEvent launchPopupEvent)
        BindingContext bctx = BindingContext.getCurrent();
        BindingContainer bindings = bctx.getCurrentBindingsEntry();
        FacesCtrlLOVBinding lov = (FacesCtrlLOVBinding)bindings.get("DepartmentId");
        lov.getListIterBinding().getViewObject().setNamedWhereClauseParam("deptId","60");
        System.out.println("lov name: " + lov.getName().toString());
        System.out.println("lov Param Attrs: " + lov.getListIterBinding().getViewObject().getNamedWhereClauseParams().getAttribute("deptId").toString());
        System.out.println("lov View Object: " + lov.getListIterBinding().getViewObject().getName().toString());
        System.out.println("lov IterBinding: " + lov.getListIterBinding().getName().toString());
       }Gets me ...
    lov name: DepartmentId
    lov Param Attrs: 60
    lov View Object: _LOCAL_VIEW_USAGE_lov_model_queries_EmployeesView_DepartmentsView
    lov IterBinding: DepartmentIdList_2

    That's a good idea, but it's still not working. Here is how I implemented it. It might be different from your suggestion as I'm still pretty new to this.
    I have a recursive tree table. You select a node. You then click a button which calls the listener below. "findParents" is a method call to the AppModuleImpl class and it finds all parent nodes of your selection. "restrictPartBomLOV", also of the AppModuleImpl class, then modifies the model driven lists' View Object (partBomLOV) to exclude those parent node values.
    The resulting model driven LOV on the popup should be updated, yeah? But it still isn't udpating. If I manually type in the updated Where clause in PartBomLOV.xml query tab, it works, but it doesn't programmatically.
      public void insertPopupFetchListener(PopupFetchEvent popupFetchEvent)
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("findParents");
        parents = (List)operationBinding.execute();
        operationBinding = bindings.getOperationBinding("restrictPartBomLOV");
        operationBinding.execute();
       public void restrictPartBomLOV(List parents)
          ViewObjectImpl vo = getPartBomLOV();
          String wcl = "";
          Object[]   p = parents.toArray();
          for(int i = 0; i < p.length; i++)
             if (i == 0)
                wcl = wcl + "PNUM <> '" + p.toString() + "'";
    else
    wcl = wcl + "AND PNUM <> '" + p[i].toString() + "'";
    vo.setWhereClause(wcl);
    System.out.println(vo.getWhereClause().toString());
    vo.executeQuery();
    Edited by: LovettWB on Nov 11, 2010 11:23 PM

Maybe you are looking for

  • Cannot preview journal entry in AP Invoice

    Dear Experts, Good day! One of the users who create AP Invoice cannot preview the journal entry while adding such document. SAP B1 automatically directs it to the approval process? What would be the possible cause of this? He is a limited financial u

  • 60GB Zen Vision: M- release da

    I saw an ad on the creative website (US) saying that a 60GB version of the Zen Vision: M has been released. Im so keen to get one but can't find anywhere that is selling it. Has anyone seen it for sale anywhere? Also when is the release date for Aust

  • Is it just me or is it too hard to get a Skype rea...

    I have been looking for a couple weeks now and it is pretty ridiculous.  Most of the phones that you would find at Amazon or Best Buy, you know big box retailers that anyone can make it to, don't offer working Skype phones.  Apparently Skype has chan

  • When I hit send my mail quits.

    When I hit send my mail quits.

  • How to make a draft of an incoming payment

    I want to do a draft of an incoming payment, but i don't know how to do it, if is there any special object that o this(like odraft for document object). Anyone knows how to do ti? Thanks!