Confused newbie with queue problems

I real new to java programming and I am trying to write a program which will queue objects. It needs to be FIFO and resize itself automatically. I can find a Queue class in C# but seeing as I'm writing in Java it's not very useful.
I'm sure it's just me not looking in the right place but I would be really grateful if anyone could push me in the right direction.

Hi,
You can use a list to emulate a queue. Just items to the end of the list, and take items from the beginning of the list. There are several different list implementations.
I would use a LinkedList in this case:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedList.html
There is also a queue implementation in jdk 1.5. What java version do you use?
/Kaj

Similar Messages

  • Newbie with Distortion Problem, Audigy 2

    Hello all you helpful people,?Seams common problem having spent the last 3 hours reading through the many posts on this subject, have to say the most helpful (easy to follow) was Jeremy's "read this before you post". Good man but unfortunatly it didnt help me. Just bought Aud2 ZS, fitted, run the disk that come with it. All working and i have sound, just that its distorted as though the pre-amp of the card has to higher level going into it. my PC is a P4 3Ghz, 52MB mem,?running XP SP2, and has only just been built so can be trusted as a clean install. I have disbled the on board sound in the bios. (thanks to Jeremy's post mentioned)?Calibration noise is dificult to tell if its distorted, the welcome menu "play?dvd-audio sample (24bit)"?demo thing sounds great, loud, clean and crisp, (I'm listening through?monitor audio cable and some?nice HI-Fi, my nakamichi?amp and Mordant Short floorstanders) so i know it can do it!?playing a audio cd is worse than listening to ripped WMA lossless through either creative's mediasource or windows?media player , but both un-listenable. So what's wrong? gain of the pre-amp after the DAC's? but the demo works? therfore it would appear?related to source, what controls gain with different sources? Drivers??Any help or suggesions greatly recieved. Thankyou in anticipation.

    blackadder,
    Could you decribe the distortion a little more? Is it crackling and popping? If so, search the Forums for "snap crackle pop," and you'll see it's a common symptom with perhaps more than one cause. I haven't had this problem with my A2ZS, so I'm no expert on the various solutions. However, because you haven't gotten a reply yet, I'll offer some initial, simple steps you can try. Muting any playback sources you aren't using will eliminate/reduce crosstalk/bus-noise. Moving the soundcard to a PCI slot far away from the video card has worked for some. Turn your volume sliders down to ~90% rather than 00%. In Speaker Setup, when you run the channel test, are "Front right, front left" etc clear or distorted? Do you get the same distortion using headphones or other speakers?Message Edited by Katman on 0-30-20070:59 AM

  • Newbie with compilation problem

    Hi, I am trying to compile my program, and I have a problem importing a class. When I try to compile, it says:
    package org.apache.axis.encoding does not exist
    encodedImage = org.apache.axis.encoding.Base64.encode(
    I think it is quite likely something to do with the Class Path, but I do not fully understand what the class path is or does exactly? Could some one please explain the Class Path? And do I need to put another line into it?
    Any responses will be very much appreciated.
    Thank you.
    Tim.

    Basically, the classpath allows Java to locate a given class. The class path usually specifies one of two items:
    Start of compiled class directory. So, names will be resolved relative to this classpath entry. If you have a class called com.foo.testing, then whatever directory contains com/foo/testing as a directory structure in the filesystem should be a classpath entry
    External or deployed JAR files. JAR files take the compiled class directory structure (above) and places it in an archive file, like a ZIP file. (Note that a lot of other things will be in the JAR file when you deploy as a web-app, but for now, this is simple enough). Rather than specifying a directory, you have to explicitly locate the JAR file itself. So, if you have a directory of JAR files, you need to specify each one.Your classpath issue seems to me related to the JAR issue. The Apache JAR that you need has to be specified on the classpath. You normally do this by:
    java -cp [classpath entries] [fully-qualified Java class name]
    Note that classpath entries can have multiple classpath items. These are separated by a colon (in Unix/Linux) or a semi-colon (Windows).
    Hope that helps.
    - Saish
    "My karma ran over your dogma." - Anon

  • Newbie with cdrom problems

    After installing the OS from cdrom, I cannot access the cdrom. The /usr/sbin/vold process is running. I cannot find the cdrom drivers in my dev directories. Where do I go to figure out what to do next?

    <pre><h5>
    ** not sure if this would help... </br>
    I've been nashing a problem with VOLD all day today..
    unfortunately, I'm not a guru with Solaris.. ;) Yet...
    </br>
    stop vold
    try manually mounting the cdrom
    </br>
    mount -f hsfs /dev/dsk/c0t2d0 /cdrom
    </br>
    you may have to use a different /dev/dsk combo and I've not figured
    out the c0t2d0 stuff completely yet or how to predict what it would
    be on different systems, or even if it would be different.
    </br>
    In anycase, I would definately like to know if you're able to mount
    manually after vold is stopped (that's what has solved my problem on
    four sun's from sparc's to e250 & e450)
    </br>
    try
    /etc/init.d/volmgt stop
    to stop vold.
    </br>
    if helps drop me a quick note...
    [email protected]
    TTFN !!
    </br>
    -Trebor
    </h5></pre>

  • Newbie with 2 problems

    Hi,
    I'm a newbie on DVDSP 3 trying to use stills for a project. There's one issue regarding this that I can't solve:
    I am trying to make the menu (background) go from black (a black image or DVDSP's option for black frames) via a slow dissolve transition into a still image. I have tried previously making a clip of this in FCP, iMovie, PhotoToMovie and Still Life, but the outcome has been really low quality in all cases. Doing it with still directly in DVDSP seems to be best.
    I have the options for transition set in the menu palette, starting with black and ending in the still, but no go.
    I have also made a slideshow of this and turned it into a track, but don't know how to bring that into the menu - if it's even possible.
    If someone can help regardless of the lousy description above, I would be very grateful.
    The second issue is that the button I placed in the menu doesn't get solid colors (I've used the Apple Panes_Navy50p). When simulating, half of the button is "miscolored". I am probably doing something stupid, but what?
    TIA for help.
    Dan

    We'll probably need more info. When you say...
    I am trying to make the menu (background) go from black
    (a black image or DVDSP's option for black frames)
    via a slow dissolve transition into a still image
    Do you mean "I want a menu that starts black, then gradually fades in the background menu image, and then my button options appear once the background has completely appeared"?
    If so, then you're better off doing it as you first described. You'd create the entire sequence in Final Cut or something else, export it as a QuickTime movie, then encode it to MPEG2, then import it as your background image for your menu. You'd set the menu's Loop point to where your background image has completely faded in: that's the point where your buttons will appear.
    You said you'd gotten "low quality" results when you tried doing this. Describe the issues with your results; also, describe how (or if) you converted your FCP clip to MPEG2. To get the best quality for this type of thing, you would NOT use a DV codec for your FCP sequence. You'd use one of the Apple Uncompressed codecs or the Animation codec... that way you get no compression of the image until you convert to MPEG2.
    Also, you'd be better off using FCP's Export->Using Compressor option to encode your fade-in into MPEG2.
    Can't help with the button as I rarely use the provided Apple Shapes. I'd recommend going with a different shape, or creating your own highlight with a black-on-white overlay graphic.

  • Newbie with software problem

    hi guys
    im new to this site and b/berry phones.
    after finally getting all my settings set up, i have a problem with desktop software...my phone backed up ok, but i cant use any media services...i keep getting this message:
    "media services are not available - media storage is not available - please check that a media card is installed correctly in your blacberry device and that mass storage mode is turned on"
    my settings are all correct, and ive even uninstalled the software and installed it again...still no joy.
    can anybody help please
    thanks in advance
    Solved!
    Go to Solution.

    well, media storage not available is pointing you to an external memory... which means a media card... have you inserted any...??
    .RoCkInG dUdE.
    Trust Your Technolust | Do not PM for any support
    If a solution received, please hit on to show your support.

  • Newbie with application problem and question on cam chats!!

    Hi, ive just got my macbook yesterday and I bought the student edition of adobe creative suite master edition for uni. After buying this and installing it, i wanted to save the main applications in a stack for easy access rather than going to the HDD then apps then clicking on the individual. As there are approx 14 application in this package, it is too many to have in the dock so a stack out be great.
    However when i dragged them into the a new stack it carried along all the other files with each program which was messy. So i went back and did it again but by using the app itself. When i went to open them it said it had been moved and needed repairing. So i reinstalled the lot and i now have them in the application folder again.
    Please can you help me to create a stack with all the applications, i think these would need to be short cuts but i dont know how to create them. Thanks for your time.
    Oh. Leopard is amazing. I hooked up ichat with an aim account and its wicked, only have one contact though. What other instant messenger can i use that works with the cam rather than loading up windows and msn. I currently have ichat which works and adium.

    Hi shorty,
    Welcome to the bright side of the computing universe. Here's your first lesson in Mac terminology. The Mac equivalent of the Windows 'shortcut' is called an 'alias'.
    Here are ways to create and use aliases:
    To create an alias, click the item to select it, and choose File > Make Alias (or Command - L). You can create as many aliases as you need for a single item, and you can move the aliases to folders or to the desktop.
    To create an alias for an item and relocate it in one step, hold down the Command and Option keys while you drag the item’s icon to another folder or to the desktop. Release the mouse button before releasing the Command and Option keys.
    To find the original item of an alias, select the alias and choose File > Show Original.
    Enjoy your new MacBook… =)

  • Problem with queue timing out?

    Hi all,
    I am using a queue to send a cluster between parallel while loops (producer-consumer); however sometimes, but not on all occasions, the enqueue in the producer seems to "freeze" or maybe timesout for no reason (no timeout value is wired to the enqueue or any other element related to that queue process; so I assume it never timesout)...
    I have checked this and there is data in the cluster that is being enqueued, but the dequeue in the consumer loop is empty... This does not happen on every execution, just occassionally... If I stop and save the vi, it works fine again but the next occurence of this problem.... If I wire 0ms to the enqueue timeout it also works properly again...
    Any suggestions?
    Thanks,
    Jack

    Hi Yamaeda,
    Thanks for the input... Please see code attached (a number of subvis are a missing, but these only help with reading the data file and doing basic analysis on the data after the dequeue).... In a nutshell, there are 3 parallel while loops;  Loop 1: User Interface; Loop2 : Read, Convert, Plot; and Loop 3: Analyse and Write to File.
    The enqueue with the problem is in loop 2 (inside the "Plot" state, then inside the "False" case)... The loop is a rough state machine.
    There are no timeouts on the enqueue in loop 2 or corresponding dequeue in loop 3.... The dequeue does not timeout based on a constant "false" from an indicator when the problem occurs.
    When the dequeue does not work, memory usuage keep increasing until a "Memory Full Error" and the vi aborts.... This does not happen when it runs properly.
    The data being queued can be quite large (upto 1M rows x 7 columns of data and does occur quickly (basically, data in the top graph is min-max decimated based on graph pixel width as I read on the NI white paper for displatying large data sets; the data between the start and stop cursors is then sent as a subarray to the enqueue for a fully display on the bottom graph for closer analysis)... Perhaps the queue is filling? I did not know this was possible (I am using a100ms wait for loop timing).
    Any suggestions greatly appreciated.
    Thanks,
    Jack
    Attachments:
    Neuro Analysis 2.vi ‏461 KB

  • Newbie with Sockets. Speed problem

    Hi. I am newbie with Sockets. I have read java socket tutorials and wrote these two classes. The client tries to transfer file of 13MB to the server. This is done in internal network. Client and Server use 100Mb network cards. The problem I have is speed of transfer. It takes 4-5 sec to transfer this file.
    13MB * 8 / 5sec = 20Mb/s
    It seems slow to me considering that network cards are 100Mbit. I would expect to get at least 50-70Mb/s. It is my home network and noone else is using it.
    So, what I am doing wrong?
    public class Client {
    public Client() {
    public static void main(String[] args) {
    try {
    FileInputStream in1 = new FileInputStream("c:\\Documents and Settings\\Pavel\\jbproject\\untitled1\\src\\tryw\\test.txt");
    InetAddress addr = InetAddress.getByName("server");
    Socket s = new Socket(addr, 5000);
    OutputStream out = s.getOutputStream();
    BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream()));
    System.out.println((new Date(System.currentTimeMillis())).toString());
    byte[] buffer1 = new byte[1024];
    int g;
    while ((g=in1.read(buffer1))!=-1 ) {
    out.write(buffer1);
    System.out.println((new Date(System.currentTimeMillis())).toString());
    s.close();
    System.out.println((new Date(System.currentTimeMillis())).toString());
    }catch(Exception e){System.out.println(e.getMessage()); }}}
    public class Server {
    public Server() {
    public static void main(String[] args) {
    ServerSocket s = null;
    try {
    s = new ServerSocket(5000);
    while (true) {
    StringBuffer buffer = new StringBuffer();
    // Wait for a connection request from a client
    System.out.println("Waiting");
    Socket clientConn = s.accept();
    InputStream in = clientConn.getInputStream();
    OutputStream out = clientConn.getOutputStream();
    PrintWriter outp = new PrintWriter(out, true);
    BufferedReader inp = new BufferedReader(new InputStreamReader(in));
    String inputLine = null;
    Date date = new Date(System.currentTimeMillis());
    System.out.print(date.toString());
    while ((inputLine = inp.readLine()) != null) {
    buffer.append(inputLine);
    if (inputLine.equals("Bye."))
    break;
    Date date1 = new Date(System.currentTimeMillis());
    System.out.println(date1.toString());
    System.out.println(buffer.length());
    }catch(Exception e){System.out.println(e.toString());try {s.close();}catch(Exception he) {}}}}

    you probably want the buffering to occur under the PrintWriter, not the other way around, ie the buffering should be closest to the raw socket.
    You can bump up the size of the Buffering in the ctor, that might help.
    You can also gulp bigger blocks on the read.

  • Newbie with Problems with E1500

    I have had an E1500 for 5 months with no problems-have Comcast internet.
    After doing firmware upgrade yesterday now my download speed is only .90 mpbs and upload is 5.50 .
    Speedtest with Comcast shows download speed at 35.5 - so they aren't the problem.
    I did change channel from 11 to 1 and that did not help.
    Just did the recycle and repowered with no help.
    I did add a blu-ray player and set up Samsung hub-would that affect the router?
    Thanks for any help you can give me. 

    StevieD49 wrote:
    I have had an E1500 for 5 months with no problems-have Comcast internet.
    After doing firmware upgrade yesterday now my download speed is only .90 mpbs and upload is 5.50 .
    Speedtest with Comcast shows download speed at 35.5 - so they aren't the problem.
    I did change channel from 11 to 1 and that did not help.
    Just did the recycle and repowered with no help.
    I did add a blu-ray player and set up Samsung hub-would that affect the router?
    Thanks for any help you can give me. 
    Just make sure firmware is updated if you still have the issue after following the steps provided by sabretooth. Reset and reconfigure after the update.

  • Am I the ONLY one in the world with this problem!??

    before I downloaded twhirl, i upgraded to most current
    version of Adobe Air (1.5.1) from (1.5.0). It actually occcurred to
    me that i had never used adobe air before, eventhough i´ve had
    it installed for ages.
    i cannot run twhirl-0.9.air because the extension is not
    registered. being no newbie, i tried to manually register the
    extension but i cannot find an adobe air executable in Program
    Files>Adobe Air. So i started to search on how to fix the
    problem, and took at two approaches. I spent 5 minutes trying to
    find the location of the adobe air executable, and i spend ONE
    FREAKING HOUR trying to find a solution using queries similar to
    ["adobe air" extension association .air] on google. NO relevant
    results come up AT ALL. Am I the only one with this problem? how
    about a solution? Which file do I associate the extension .air
    with???????
    as a bonus WTF, i dare someone to show me a query on google
    that points to a solution to this problem within the first 20
    results, and if you find this solution WITHIN adobe.com support i
    will paypal you USD$5.
    thanks in advance
    windows vista ultimate on x32

    The Adobe AIR Application Installer is in Program
    Files/Common Files/Adobe AIR/Versions/1.0/.
    If you right click on an AIR file and choose the above file
    to open it, that should fix the problem.
    -ted

  • Help a newbie with Keyboard events

    Right so I'm just getting started with ActionScript (and Flash) and I'm getting a bit confused. I've got quite a bit of experience programming in other languages but I've never touched either actionscript or flash before.
    I've got various books and have tried searching around the internet but I can't find anything to help me with this problem... it looks to me like it SHOULD work (but obviously I'm wrong because it doesn't!) I'm just trying to get the base for a game set up, and want to be able to take in user input via the keyboard (I will want mouse control as well, but let's focus on this problem first).
    My code is:
    package {
        import flash.display.MovieClip;
        import flash.events.*;
        import flash.ui.Keyboard;
        public class Main extends MovieClip
            var isRunning:Boolean = true;
            public function Main()
                trace("Flash Project!");
                Initialize();
                //Game Loop
                while(isRunning)
                    Update();
                trace("Exiting...");
            public function Initialize():void
                trace("Initializing!");
                stage.addEventListener(KeyboardEvent.KEY_DOWN, OnKeyPressed);
            public function Update():void
                trace("Updating...");
            public function OnKeyPressed(evt:KeyboardEvent):void
                switch (evt.keyCode)
                    case Keyboard.ENTER:
                        trace("Enter!");
                        break;
                    case Keyboard.ESCAPE:
                        isRunning = false;
                        break;
                    case default:
                        trace("keyCode: ", event.keyCode);
                        break;
    The errors it is generating refer to the OnKeyPressed function, and say that I have tried to access the undefined properties Keyboard, escape and default. I thought I imported all the keyboard stuff at the top? Help would be much appreciated here, I'll be fine once I'm up and running but at the moment I'm feeling somewhat lost.

    Right, well at least part of my problem was that I had
    trace("keyCode: " event.keyCode);
    instead of
    trace("keyCode: " evt.keyCode);
    but it still doesn't like the word "default"? This is strange as it's coming up in blue so it's obviosly recognising it as a keyword...
    If I comment out the 'default' section of te switch case statement it get's stuck in an infinite loop, even if I press escape... which should set 'isRunning' false therefore exiting the loop...
    Help!

  • Help with systemd problems/reply to closed thread

    @Everyone; as the previopus topic was closed, I am opening a new one here, partly to reply to some things that was said to me in the previous thread/topic (and I do not like to leave people hanging), but mainly to try and get some help with my systemd config (that I was not able to find help with in the wiki or manpages).
    @czubek; eww, that sounds rather similiar to some other operating systems I've heard of (not just, but obviously including, windows)... For me, subjectively, that is not very attractive, as being able to have a single application do a single thing, and then mixing and matching as I personally see fit is a great thing.
    @tomegun: I can indeed see your point, but if I made direct quotes on all the things I reply too, my posts would reach biblical proportions.
    Mmm-hmm, I do indeed know of "the Arch Way"; however, the system that you expose can be of varying complexity as well, and I found that the system that was presented to me by way of Sysvinit/initscripts was a way simpler system than that presented to me by systemd.
    Indeed, and I do like that; I enjoy knowing how my system works and learning more about it; however, the truth is that reading manpages and the wiki isn't always enough. And I use the numbers instead of letters in certain places as a jest, please, do not get offended by that; if you have to, get offended by my opinions.
    Ah, I have now scanned the wiki, the manpages, and have already faced problems. While part of me is saddened by this fact (as I was hoping for a smooth transition to systemd), part of me is glad that I can at least prove that everything isn't quite as simple as some people would make it out to be. More on this later in this post, as I do need help with the problems I have faced.
    And I wouldn't say that the new and old way are equally trivial, as I immediatley faced problems with "the new way". More on this later.
    Ok, I find that if the debate is polarized, then there is nothing wrong with describing it as such. I spell what I see.
    Oh my... Ignored as a matter of principle? I would say that that is an excellent way to stagnate; by that logic, moviemakers, gamemakers etcetera should ignore any and all criticism they recieve, as the critics are not contributing.... Wouldn't that lead to a complete halt in development? Isn't criticism (so long as it is constructive, obviously) a key component of (media/software) evolution?
    Ah, I see, then I  misunderstood the current state of the install media
    "Some adjustements"... Well, I guess we'll have to see how that goes, then. Hopefully it'll be smooth.
    @Everyone; Awebb possesses stunning accuracy as far as his observations go.
    @zb3; My point exactly.
    @tomegun; I believe you to be wrong; complaining (but not whining) is the first step towards improvement, as I think that I and zb3 has shown.
    Further, your last point (where you talk about "deep understanding of Y" and whatnot) is basically saying that only devs and programmers can contribute, so zb3's observation would be correct.
    Also, making suggestions is part of constructive criticism; you can do that even if you can't code, e.g. by saying "X works badly because it makes Y crash; couldn't we replace X with something akin to Z?". This is a valid point even if you have no intricate understanding of X, Y or Z, and if it is impossible to replace X for one reason or the other, it's not hard to reply with "Replacing X is impossible because of reason Q", and then see if someone can solve reason Q etcetera.
    zb3's example is obviously helping; for one, it would allow people to know taht they can't boot with systemd in certain cases, or that installing/runing systemd can break their system. I would consider that rather important information.
    @Everyone; Now then, to see if I can (or rather, if I can get help to) shed some light on some problems I've been having.
    My transition to systemd went pretty smooth (besides the fact that I couldn't use 'systemctl' to set anything, and neither duckduckgo nor any posts in the forums could help me (the error I continously got was "Failed to issue method call: Launch helper exited with unknown return code 1") and that there are no manpages/tips on how to configure the files for "localtime" and "adjtime", which would've been good considering some syntax have changed) to about halfway through, to the point where I was supposed to start using systemd for my daemons.
    Now then, to the main problem; first, I tried running
    "systemctl enable syslog-ng.service"
    and got the following message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    Since it doesn't exclusively say that something went wrong (at least as far as I can understand), I pondered the message a bit, but moved on to try and start dbus by issuing
    "systemctl enable dbus.service",
    to which I got the reply
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl."
    This I can only assume is an error message of some sort, especially seeing as it says "not meant to be enabled using systemctl", but the wiki rather explicitly states that that is what I am supposed to do.
    I dare not move on (or attempt to start other daemons) without further advice, as I fear I might break my system. Any ideas as to how to solve this would be greatly appreciated.

    tcmdvm wrote:
    The message;
    "ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/syslog.service'
    ln -s '/usr/lib/systemd/system/syslog-ng.service' '/etc/systemd/system/multi-user.target.wants/syslog-ng.service'"
    indicates that running "systemctl enable syslog.service" is now enabled.
    If you try running sytemtctl enable <whatever>.service and get
    "The unit files have no [Install] section. They are not meant to be enabled using systemctl." means there is no <whatever>.service file available to enable.
    The dbus.service as far as I know is already enabled when installing systemd and doesn't require any action.
    Ah, right, systemd is chatty (I'm of the old skool; if nothing is/goes wrong, a program should keep quiet).
    Oh ok, then I should dare more on.
    ZekeSulastin wrote:To be a bit more precise, it means the service is there but it's only used as a dependency for something else; the [Install] section of the file is what tells systemctl where to link it and such.  Also, where exactly in the wiki were you told explicitly to 'systemctl enable dbus.service'?  I can easily point you to the sections in both installation guides that tell you how to set things like /etc/localtime et. al (also `man 7 archlinux`), but not the one that said to manually enable dbus.
    Ah, I see; and well, I was told right here, going from the top, to "Enable Daemons formerly listed in rc.conf [...] For a translation of the daemons from /etc/rc.conf to systemd services, see: List of Daemons and Services.", and, using the list, dbus is mentioned there, as you can see. Since I started from the top, I did not know that you didn't need to enable that service. Perhaps it could be added to the descriptions of the relevant services in the Wiki which ones are autostarted?
    ZekeSulastin wrote:Lastly, I don't think trying to continue conversations from a closed thread is a very good idea, let alone doing it in a giant undivided wall of text that makes it quite difficult to pick out much any single topic.
    Meh, I directly refer to the relevant people, they can easily see their own old posts in the previous thread, etcetera... I think te ones who have something to say will be able to find my replies to their previous statements (or so I hope). For now, as everyone can see, I quote stuff (but man might I make some huge posts if I ever post again in the future, if I quote what I reply to).
    fsckd wrote:This is not really a technical support subforum. Moving from Arch Discussion to Newbie Corner.
    Ah ok, thanks (or perhaps a cautious thanks? Moving it to "newbie corner" might, after all, be a subtle insult...).
    tomegun wrote:It is not really possible to follow your message as you don't quote what you are replying to. Moreover, as the thread was closed I think that means we should stop the discussion ;-)
    Hmm, I think it means cop-out for lack or proper arguments/responses... But ok, I'll let it slide, for now (mainly as I can't do much else).
    tomegun wrote:You are not meant to enable dbus.service as it is enabled unconditionally. To check the enabled/disabled state of your services try "systemctl list-unit-files". "static" means that you are not supposed to enabled/disable it.
    Ah ok, thank you. Now, having abandoned all hope, I'll start configuring again and see how it goes... May the void protect me. If I die, grieve not for me, but remember me in the fight against hard-to-configure applications.
    (edit/addon)
    Actually, what am I supposed to do with "hwclock"? the List of Daemons only says that I shouldn't run that in tandem with ntpd, but I'm not running ntpd, so... How do I get hwclock with systemd?
    Edited for additional question.
    Last edited by incassum (2012-11-07 08:44:42)

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Issue with queues

    Hi,
    We have an issue with queues in our PROD server. We are having about 35000 IDOCs stuck in 'smq2' with the IDOC on the top of the list in SYSFAIL status, with the message <b>'Problems found during the EXPORT to specified keyin table'</b>.
    The short dump on ST22 says 'EXPORT_TABLE_UPDATE_CONFLICT'.
    Please advise.
    cheers,
    Prashanth

    Prashanth,
    I think this is the issue with the database. Can you check whether the database is having enough space or not. If not kinldy increase the space.
    This thread is having the same issue. Check this it may help you:
    Process Integration (PI) & SOA Middleware
    ---Satish

Maybe you are looking for

  • I can't receive emails in Thunderbird. Settings look correct. Not sure what the problem is.

    My internet provider (TWC) said I should contact you about this. I have two email accounts assigned to Thunderbird, but I'm receiving incoming email to just the one account. I can send emails on mine, but can't receive any. The second email account s

  • Can't install Oracle 8i or 9i but DB2 installs fine on SUSE 7.3

    I have tried installing Oracle 8.1.6 & 8.1.7 on SUSE 7.3 and each time the install program crashes. I've tried installing 9i on SUSE 7.3 and when it finally installs and I try to create a database I get OUT of Memory errors and that fails. When I tri

  • Creating BA using DB link

    Hi I am on Discoverer 10g on Oracle DB 10g. I have a EUL created in a schema 'EUL1'. I have the data in a different schema in a different database instance 'WB1' . I am trying to create a Business Area connected as EUL1 in disco admin. I have a publi

  • Unable to see idoc in WE02 in ECC or GTS

    Hello - When I send an idoc to GTS for a material master change via program RBDMIDOC in SE38, I do not see the idoc display in WE02 in ECC or GTS. I see that some, but not all of the data which I changed in the ECC material master has been updated in

  • A simple script that removes older packages from cache dir

    Hello all, I wrote a small bash script that removes packages (from cachedir /var/cache/pacman/pkg), older than the ones available in repositories (eg. if the current version of pacman is 2.6.3, it will remove pacman-2.6.2 from cachedir). It implement