More package advice...

Hi there,
I'm having a bit of a conceptual problem with packages. At the moment, I am using a bunch of common classes that will be used throughout my desktop swing applications. As I see it right now, if I compile my application and distribute it to users, I also have to re-create the directory structure to the packages on their local machine or point to it via the CLASSPATH over the network.
Now, I don't know whether to just include all common classes in the current program directory, thus losing the explicit dependancy via the "import" keyword, but minimising the links to outside resources for the application or stick with the packages and have to set the CLASSPATH to somewhere public where all users can get at the common packages.
Advice, alternatives and suggestions?

If it helps here is the class that I want to use to call a couple of the classes in the commonfiles package...
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import commonfiles.*;
public class OracleDataConnection {
    private Connection conn;
    private boolean bConnectionActive = false;
    public OracleDataConnection(String Host, int Port, String SID, String Username, String Password) {
        if (((Host.length() < 1) || (Host == null)) || ((SID.length() < 1) || (SID == null)) || ((Username.length() < 1) || (Username == null)) || ((Password.length() < 1) || (Password == null)) || ((Port < 1))) {
            return;
        } else {
            try {
                Class.forName("oracle.jdbc.driver.OracleDriver");
                conn = DriverManager.getConnection("jdbc:oracle:thin:@PIMSDS20:1525:TEST", "jbaker", "nipples8");
                conn = DriverManager.getConnection("jdbc:oracle:thin:@" + Host + ":" + Port + ":" + SID, Username, Password);
                if (conn != null) {
                    bConnectionActive = true;
            } catch (Exception e) {
                bConnectionActive = false;
                return;
    public ResultSet returnRecords(String sQuery) {
        if ((sQuery.length() < 1) || (sQuery == null)) {
            ErrorList.addError(new Error(ErrorList.DATABASE_QUERY_FAILED, ErrorList.INTERNAL_GUI_NONE, "OracleDataConnection::returnRecords()", "SQL query string is blank"));
            return null;
}....and here are the ErrorList and Error classes in the "H:\Java\commonfiles" directory.
// Error class.
package commonfiles;
public class Error {
    private String sErrorCode;
    private int iErrorScreen;
    private String sErrorLocation;
    private String sUserMessage;
    // Constructor.
    public Error(String sErrorCode, int iErrorScreen, String sErrorLocation, String sUserMessage) {
        this.sErrorCode = sErrorCode;
        this.iErrorScreen = iErrorScreen;
        this.sErrorLocation = sErrorLocation;
        this.sUserMessage = sUserMessage;
    public String toString() {
        return ("Error: " + sErrorCode + " on screen: " + Integer.toString(iErrorScreen) + " at code location: " + sErrorLocation + " with user message: " + sUserMessage);
    public String getErrorCode() {
        return sErrorCode;
    public String getErrorScreen() {
        return Integer.toString(iErrorScreen);
    public String getErrorLocation() {
        return sErrorLocation;
    public String getUserMessage() {
        return sUserMessage;
// ErrorList static class.
package commonfiles;
import java.util.Vector;
public class ErrorList {
    private static Vector vErrorList = new Vector(20,10);
    public static final int INTERNAL_GUI_NONE = 40001;
    public static final int DATABASE_CONNECTION_FAILED = 50001;
    public static final int DATABASE_QUERY_FAILED = 50002;
    public static void addError(Error newError) {
        vErrorList.add(newError);
    public static Error[] getAllErrors(boolean clearErrors) {
        Error[] objErrorList = (Error[]) vErrorList.toArray(new Error[vErrorList.size()]);
        if (clearErrors) {
            vErrorList.clear();
        return objErrorList;
    public static boolean hasErrors() {
        if (vErrorList.isEmpty()) {
            return false;
        } else {
            return true;
}

Similar Messages

  • [svn:fx-trunk] 15350: * More package and class level javadoc.

    Revision: 15350
    Revision: 15350
    Author:   [email protected]
    Date:     2010-04-12 13:22:21 -0700 (Mon, 12 Apr 2010)
    Log Message:
    More package and class level javadoc.  A small amount of commented
      out and dead code removal, too.
    QE notes:
    Doc notes:
    Bugs: N/A
    Reviewer: Corey
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Configuration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/BytecodeEmitter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/CodeFragmentLogAdapter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/CodeFragmentsInputBuffer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/InheritanceEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/OffsetInputBuffer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SkinPartEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SkinPartExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/StyleExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/ArrayElementWatcher.j ava
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableExtension.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableSecondPassEva luator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/ChangeEvent.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/ClassInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/EvaluationWatcher.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/FunctionReturnWatcher .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/Info.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/InterfaceInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/PrefixedPrettyPrinter .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/PropertyWatcher.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/RepeaterComponentWatc her.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/RepeaterItemWatcher.j ava
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/Watcher.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/XMLWatcher.java
    Added Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/package.html

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • Unable to Download One or More Packages

    Hello,
    The following patches are giving me the "Unable to Download One or More Packages" error:
    MS 2709630 Update for Windows 7 and Windows Server 2008 R2 (All Languages)
    MS 2699779 Update for Windows 7 and Windows Server 2008 R2 (All Languages)
    Oracle Java JRE 1.6.0_33 for Windows (Update) (All Languages) (See Notes) (Rev 2)
    I've seen it mentioned that I should check the log files to determine the cause, but I'm fairly new to this and I'm not sure where they may be located. Can anyone give me the file path?
    Thanks.
    -Corey Hansen

    coreyhansen,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • I made some more packages :)

    Hi everybody, I made a few more packages for some of the software that I use and didn't find packages for.  You can check it out, download, look at the source/build logs, etc. at http://singleton.homeunix.org/arch/
    I currently have packages for dosemu, fdutils, gpass, supertux & tuxtype2.
    You should be able to add my server to your pacman.conf with:
    [skeeterbug]
    Server = http://singleton.homeunix.org/arch
    Don't forget to 'pacman -Sy' if you do.
    Please let me know what bugs there are and any other problems you might have.  It's hosted in my computer room here and it's kind of slow, just so you know.  Special thanks to phrakture, I copied some of how he has his repository set up.
    Thanks, G.S.

    skeeterbug wrote:Heck yeah, and I use it almost every day to run WordPerfect 5.1+.  Yes indeedy, I am an old fart :-P.
    Ok... reply to an old message... do you still use WP5.1 under dosemu?
    I am trying right now and can't seem to use the arrows on the keyboard to work so I can move around...

  • Yaourt and packer always telling me "one or more packages did not pass

    Ive been using Arch for a few years now. Yaourt nor Packer have ever really failed me to this extent. most EVERY package I try to install lately with yaourt or packer fails. I constantly get the below error. Even when I download the package, get the md5sum manually and place it into the proper spot in the pkgbuild I STILL get the error. Im extremely confused and need some help. Thanks in advance for any help you can give.
    -> Downloading postfixadmin-2.3.5.tar.gz...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    100 29628  100 29628    0     0  39423      0 --:--:-- --:--:-- --:--:-- 39423
    ==> Validating source files with md5sums...
        postfixadmin-2.3.5.tar.gz ... FAILED
    ==> ERROR: One or more files did not pass the validity check!
    ==> ERROR: Makepkg was unable to build postfixadmin.

    stayupthetree wrote:If the md5sum of the package I download matches the md5sum of the one inside the pkgbuild should I still receive the error?
    It shouldn't happen then.
    Do you get the same error when you build a pacakge by hand with makepkg ?

  • Need more newbie advice.

    I've been an MSSQL DBA for 5 years now, and want to broaden my horizons. Please be gentle and keep in mind that I wont be appyling for the senior level Oracle DBA slots any time soon, I just want to be able to apply to those SQL DBA openings that say "some Oracle experience a plus". My questions for you gurus:
    1; Will obtain an OCA help me out at all? Will the knowledge that I will get from it do me any good? I dont think the heavens will open and employers will be banging down my door, but will I at least know some good basics?
    2; Im not dying to learn Linux, is there a value to learning Oracle on Windows?
    3; Can anyone recommend material for test passing purposes? I know I need to learn the material and have every intention of doing so, but I need this as well.
    Thanks to all that can assist.

    1 - The OCA might help get you past some HR flunkies, but it won't help with many technical people. However, the knowledge you learn from the process will most certainly help.
    2 - Absolutely! Don't use the Oracle Express version, download the full version and play with it.
    3 - Read the Oracle Concepts, Administration, Backup and Recovery and SQL documentaiton. Also read books by Tom Kyte (any and all) and Oracle SQL and SQL*Plus by Lex de Haan.
    And...
    Stay active on these kinds of boards. Don't worry about answering questions, but pay attention to some of the issues raised.
    Look for a local Oracle User Group and start attending their meetings. It is a great place to learn and network.
    Regards,
    Daniel Fink

  • Re: Patch status "Failed to download one or more packages"

    I installed the patch yesterday. Today if I run the SQL from TID 7009993 it
    shows 11 patches listed. Will these clear up themselves? I did select the
    listed them and ran a recache in patch management but they did not go away
    in the query. Readme for patch does not really tell you what to do once the
    patch is installed. Mainly does it clear this problem up or do I need to go
    in and do the workaround also?
    I have had this problem and my system is set to store in the ZPM directory
    so it is affecting systems set to the default also.
    Jim Koerner
    Server - ZCM 11.2.3 and Internal Database on Win2008R2x64
    Clients - ZCM 11.2.2 MU1 on Win7SP1x64 and WinXPx32
    "Shaun Pond" wrote in message
    news:[email protected]..
    Niels,
    and I think that the reason it wasn't spotted earlier, is that it only
    affects you if you have configured ZPM to store its patches in the
    content-repo (which is not the default)
    Shaun Pond

    Jim,
    my bad then, recaching should fix it...
    Shaun Pond

  • How to get controls of a vi to send signals more than once

    Hi,
    Recently I designed a rather neat VI that allows the user to quickly switch wiring and ID number characteristics on a certain device.  The inside of the VI is an orchestration of sequences and loops that allows user full control through one control loop that cycles through until the user selects a desired function, for which the loop terminates and performs the function.  After the function is complete, if the user has not pressed "stop", another loop brings the program back to the control loop.
    So the VI works great, but as someone who's been interested in automation, I want to try to take this to the next level.
    My next attempt was to put the finished VI as a sub-VI in a new VI that is meant to automate the user control process on the front panel.  I've attempted to use both a flat sequence and the state machine template to do this, and they work great for automatically pressing buttons when working with property nodes or local variable.  The problem, I've found, is that I don't know how to send signals to the Sub-VI from the connected controls at a constant rate without throwing it into a loop itself, which doesn't work because, of course, the sub-vi runs on it's own set of loops and there will be no iteration increment until the program inside the sub-vi terminates.
    Or, if the VI and it's inputs are left on it's own and I try to write values to the controls of the inputs, I can definitely change button positions, but, looking at the signal flows, no signal will be sent from the connected controls to the sub-vi.
    A second problem is that, due to my use of a program button that latches when pressed, I'm having a tough time trying to manipulate it will local variables or property nodes.  Because of the way it functions, the "value" property nodes shows up as purple and I'm not sure how to make it tap itself to operate how it did in the Sub-VI.
    Thanks in advance,
    Matt

    TeknoAXE wrote:
    ...The inside of the VI is an orchestration of sequences and loops that allows user full control through one control loop that cycles through until the user selects a desired function, for which the loop terminates and performs the function.  After the function is complete, if the user has not pressed "stop", another loop brings the program back to the control loop.
    Well, a tight polling loop is typically not a good design. have you tried the event structure instead?
    TeknoAXE wrote:
    The problem, I've found, is that I don't know how to send signals to the Sub-VI from the connected controls at a constant rate without throwing it into a loop itself, which doesn't work because, of course, the sub-vi runs on it's own set of loops and there will be no iteration increment until the program inside the sub-vi terminates.
    You can wire control references to the subVI and then poll the state of the controls on the toplevel VI via value properties.
    TeknoAXE wrote:
    Or, if the VI and it's inputs are left on it's own and I try to write values to the controls of the inputs, I can definitely change button positions, but, looking at the signal flows, no signal will be sent from the connected controls to the sub-vi.
    Of course you need to call the subVI from a parallel loop (for example) so other parts of the code don't get blocked.
    TeknoAXE wrote:
    A second problem is that, due to my use of a program button that latches when pressed, I'm having a tough time trying to manipulate it will local variables or property nodes.  Because of the way it functions, the "value" property nodes shows up as purple and I'm not sure how to make it tap itself to operate how it did in the Sub-VI.
    Latch booleans are not compatible with locals and value properties. A latch action boolean turns true until it is read by the code. If you were allowed to read (and reset it) it from multiple locations and via multiple mechanisms, you would get completely unpredictable code. You can always use switch action booleans and simulate latch action as needed using e.g. local variables.
    It is difficult to give more specific comments without seeing the code. What are the subVIs doing? Are they interactive too?
    If you don't mind attach your code and we will give more specific advice.
    LabVIEW Champion . Do more with less code and in less time .

  • What are the benefits to having more than 1GB RAM?

    I notice the repeated advice in this forum over the question of "Should I get a Matched pair of 2 x 512MB or total 1.5GB RAM in my iMac G5 Rev. A/B?", and the answer always seems to be "more RAM will always perform faster."
    Oh yeah, why? Someone point me to an informed link on subject somewhere else on the web. I mean no offense, but I wonder if, in this case, one bit of misinformtion became Gospel truth that keeps getting repeated over and over.
    I'm fairly knowledgeable when it comes to Macs, but I don't understand this response that more RAM will always perform faster. Yes, yes, I know that barefeats.com found very little real-world performance gains in their testing of matched pairs vs. unmatched, or 128-bit vs. 64-bit, in the iMac G5. The same would be true of using CL2.5 vs. CL3.0 RAM -- you just ain't gonna see that much difference. But we are not talking processor speeds or hard drive RPM, which WILL affect all users. More memory is just more memory. If you are not using it, what good does it do? How will more unused memory "speed things up?"
    I use a neat little program called "Menumeters." It puts my CPU/Disk/Memory/Network activity all in my menu bar. For the memory, it lists USED and FREE memory. Right now on my 1GB Mac Mini it is using 192MB RAM with 832MB FREE with 3 applications open, one of them being Safari.
    I recently DOWNGRADED the memory in my iMac G5 2.0GHz from 2GB to 1GB. Why? Because menumeters showed that even in my 2GB iMac, my memory usage never went above about 800MB. Mind you I do video editing in Final Cut Express, I create DVD's in iDVD, I do photo editing in Photoshop, I manage my 8K digital photo library in iPhoto, and I could have all these and other applications open and running and my memory usage never went above 800MB. Every time I have checked my pageouts have been 0, meaning I never had to write the memory contents to my hard drive.
    Which begs the question, how is having 1.5 or 2.0GB of RAM going to be a benefit over 1GB of RAM, when I have never needed more than 1GB of RAM in my Mac? I ask because I can either go with 1.0 or 1.5GB of memory in my iMac G5 right now, as I will sell either the 1GB or 512MB memory on ebay. But I'd like to know if someone can give me a compelling reason to put the 1.5GB in my iMac. Otherwise, it just seems like wasted $ to me, as I'll make over double selling the 1GB vs. the 512MB module.
    Home: 20" iMac G5 2.0GHz rev.B/1GB/300GB   Mac OS X (10.4.4)   Work: Mac Mini 1.5GHz/1GB/64MB video/80GB

    "you are telling me what my needs are based on your needs."
    Eric, I have never told you what your needs are or should be. Did I once tell you you were wrong to have 2GB of RAM in your system? No. Did I say it is foolish for anyone to run 2GB of RAM in their iMac? No. Did I say 2GB of RAM in everyone's system would be an unnecessary excess? Certainly. Have you advised people to go for 1.5 or 2.0GB of memory instead of 1GB of memory without doing a needs anaylsis? You most certainly have, here and here and here, even after the original poster states they only want to buy a 512MB module, and in the last example, after someone else in that thread encouraged the novice Mac user to do a needs assessment. I'll let each reader determine for themself which they feel is the irresponsible advise.
    Also, I never said "the average user, 'just isn’t going to need more than 1GB of RAM, now, or in the life of his iMac G5'" as you claim I did. I said a person running Safari, Mail, and iPhoto will not need more than 1GB. I consider that a light user. To clarify, to me a light user and an average user are not synonymous. And yes, a light user could get by with 512MB with virtual memory on occassion with an approximate 5% system slowdown, a slowdown which will probably not even be noticable.
    What is need? To me if someone experiences an occassionaly pageout does not mean they need to go out and buy more memory. As a comparison, imagine you have a china setting for 12 people you received as a wedding gift. Every Sunday your wife fixes a nice dinner and uses the china. Typically you have 4-8 people at dinner every week, depending on if your brother's family joins you or not. But because of a special occassion -- a graduation that weekend -- you have 14 people at your house for lunch. Do you go out and buy enough china for 18 or 24 people, or do you and your wife use your everyday tableware for yourselves and give the other 12 guests the china that one day and save the expense?
    See where I am going? 1.0GB of memory vs. 1.5 or 2.0 compares to 12 china settings vs. 18 or 24. And, no, I am NOT saying you, Eric, should only have 1.0GB of memory, but just if a person's needs dictate that.
    Someone might stock the cabinet with 24 china settings when 29 meals out of 30 they have only 4-8 people eating on their china. But someone like myself, and other people that are budget conscious, probably will not want to do that. And I know you can change the illustration to support going for a higher amount of RAM, but my point is that for most iMac users, I do not believe that is something they really need.
    Regarding your remark about data manipulation, I am sorry if the facts do not support highway's claims. The point of highway's whole remark was based on the premise that Apple shipped 64MB of RAM as the base amount for an iMac of 4 years ago. I showed where that was not a true statement. How is that data manipulation? And the main point of what I wrote was to show how someone writes an erroneous bit of information, then someone else picks up on that and repeats it, and soon more and more come to believe that misinformation. You can see that going on in these posts here and here with Barbara and here with CanadaRAM, either from misinformation from barefeats, or from others users on this board. Notice no one asking about the poster's needs, but just advice to get a higher amount of RAM.
    Again, anyone reading this should do a needs assessment. I noticed, Eric, in your last post you acquiesce about the validity of doing a needs assessment. That's not one small detail. THAT'S THE WHOLE POINT of this discussion. I hope to see less cookie-cutter responses in this forum in regards to memory purchasing and see more responsible advice to determine one's need, especially for the novice users who are asking the questions and won't do any more fact-finding than the advice given them on this board.
    I appreciate the advice of those in past threads who have asked a poster to determine their needs in their RAM buying decisions. In my opinion, that is the best advice they can receive. And I am more than done with this topic, as look at how much I repeated information in this last post that I wrote previously.

  • When fonts are packaged, do these fonts only link up to the one InDesign file that was packaged?

    I often work with InDesign client files that are different "versions" of the same file (the only change between these InDesign files maybe be a location name, but the rest of the file is the same (fonts, links, etc). So I'll have an InDesign file named as A version, one as B version, etc. When I open the A version of the file and package it for the printer, are those fonts (Document fonts) available to that specific InDesign file only? If I copy the other versions of InDesign files into that folder for the printer (rather than package each individual InDesign file, will those other InDesign files link to the collected Document folder? Or will I have to package each file separately?

    Thanks for replying Steve. A man who worked at a press, told me that InDesign files always pulled fonts from the same folder first. My coworker thinks it's only the InDesign file that fonts were packaged for. Now I don't know for sure what he meant and I don't have a way to contact him again.
    More experimentation on my part will be required and more packaging of files. Our Creative dept has 3 designers and when we work on each others files, there's always font issues unless the fonts have been packaged for each file. And don't get me started on Helveticas! Between system fonts, fonts used over the years, clients providing fonts... it's been a problem we've yet to solve... everyone using the same Helvetica font family.
    Again, thanks Steve.

  • [Success] Dual Booting Arch and Windows 7 [Advice / Confirmation]

    So I have been trying to get Starcraft II to work with wine and no luck.
    I have decided to install windows back on my computer, besides it might come in handy since I'm heading back to school soon.
    Anyways I have tried dual booting arch and windows in the past, and my results have never been stable.
    Today I will try using the program gparted.
    Let me give you my thoughts on how I plan to go through this and please give me some advice so I don't loose everything I have worked for on my linux box
    1.Currently I have two hard drives, one for all my main programs and one for my media files (mounting usb, dvd, etc, and it actually has no files in it xD).
       I plan to use gparted to re-size my second harddrive (media drive), create an extended partition, and a logical ntfs partition within it.
    2.I pop in my windows cd that I recieved with my laptop and install it on the space I have partitioned for windows.
    3. If my grub gets wiped out my windows (which I hope it doesn't not sure how the MBR stuff works) I insert a Ubuntu live cd and do
    sudo grub
    > root (hd0,0)
    > setup (hd0)
    > exit
    4.Configure grub to boot windows 7.
    5.Be happy with no headache.
    SO....
    If someone with past experience with dual booting windows and arch could please give me some advice, as I do not want to lose all my data, start over, and have another headache.
    I know I must learn to backup arch, which I will before september.
    But if anyone has any protips, or sees a flaw in my plan please point it out!!!
    Thank you very much for taking the time to read this and even more if advice has been given to boost my confidence!
    For now I will wait
    Thank you fellow archies.
    Last edited by Jabrick (2011-07-03 01:29:36)

    satanselbow wrote:
    1) Windows must be installed to a primary partition - attempting to install it to an logical partition will result in an epic fail
    2) Physically disconnect the harddrive you do not want windows on as windows typically installs the bootloader on the 1st hardisk (ie /sda) regardless of installation drive (ie /sdb)
    3 / 4) Complete the windows installation then reattached your Arch drive and edit /boot/grub/menu.lst (as root) pointing the W7 entry to (hd1,0) - no need to reinstall grub
    5) Hey it's windows - anything could happen
    If you create an NTFS partition right at the beginning of the the drive before you start the W7 install you can prevent it greedily using up 2 of you 4 primary partitions - I would also completely update you new W7 installation past SP1 before reattaching the other drive to further prevent W7 going mental
    satanselbow thank you so much!
    Everything works great I had no stumbles, and I hope no problems in the future!!
    I will post exactly what I did in case someone has the same issue.
    1. Partition you're secondary harddrive as primary ntfs with gparted
    2. Reboot, and if you get a file system check error, check you're udev rules. (For my case in particular I had to change the udev rules I got for auto mounting usb, ext harddrive, etc.
    3.Power off your computer and physically remove the harddrive that contains all your linux goodies
    4. Plug in your windows cd and install in the partition you created
    5. Update your windows OS
    6. Plug in Ubuntu live CD and reboot
    7. Use commands to get grub to overwrite the windows boot loader (In my case I put grub everyone hd0,0 hd0,1 just to be sure, but you might want to do things cleaner)
    8. Reboot and see if grub loads up
    9. Use Ubuntu live CD again and launch Gparted, select the boot to your extra linux space (if you had one, not sure if this is needed)
    10. Plug in your linux harddrive and reconfigure /boot/grub/menu.lst and your good to go
    Once again shout outs to satanselbow!!! For without him I might've failed brutally!
    Cheers!

  • Run Multiple SSIS Packages in parallel using SQL job

    Hi ,
    We have a File Watcher process to determine the load of some files in a particular location. If files are arrived then another package has to be kick-started.
    There are around 10 such File Watcher Processes to look for 10 different categories of files. All 10 File Watcher have to be started at the same time.
    Now these can be automated by creating 10 different SQL jobs which is a safer option. But if a different category file arrives then another job has to be created. Somehow I feel this is not the right approach.
    Another option is to create one more package and execute all the 10 file watcher packages as 10 different execute packages in parallel.
    But incase if they don’t execute in parallel, i.e., if any of the package waits for some resources, then it does not satisfy our functional requirement . I have to be 100% sure that all 10 are getting executed in parallel.
    NOTE: There are 8 logical processors in this server.
    (SELECT cpu_count FROM sys.dm_os_sys_info
    i.e., 10 tasks can run in parallel, but somehow I got a doubt that only 2 are running exactly in parallel and other tasks are waiting. So I just don’t want to try this  option.
    Can someone please help me in giving the better way to automate these 10 file watcher process in a single job.
    Thanks in advance,
    Raksha
    Raksha

    Hi Jim,
    For Each File Type there are separate packages which needs to be run.
    For example package-A, processes FileType-A and package-B processes FileType-B. All these are independent processes which run in parrallel as of now. 
    The current requirement is to have File Watcher process for each of these packages. So now FileWatcher-A polls for FileType-A and if any of the filetype-A is found it will kick start package-A. In the same way there is FileWatcher-B, which looks for FileType-B
    and starts Package-B when any of FileType-B is found. There are 10 such File Watcher processes.
    These File Watcher Processes are independent and needs to start daily at 7 AM and run for 3 hrs. 
    Please let me know if is possible to run multiple packages in parallel using SQL job.
    NOTE: Some how I find it as a risk, to run these packages in parallel using execute package task and call that master package in job. I feel only 2 packages are running in parallel and other packages are waiting for resources.
    Thanks,
    Raksha
    Raksha

  • Distribution Manager failed to process package triggers an update of the packages

    Hi all,
    we have randomly following issue:
    SCCM 2012 Sp1 CAS, takes a snapshot of a Windows update package in the morning (not sure how the frequency of this check is done). If for any reason it fails, SCCM automatically redistributes the package to all sites. This happened this morning again for 5
    Windows updates packages. You understand that this means GB sent to all Secondary sites (66) with an useles amount of data sent out.
    From the Status messages I see
    Information Milestone RC0 06.11.2014 07:12:11 SCHVSGGSC600.rccad.net SMS_DISTRIBUTION_MANAGER 2300 Distribution Manager is beginning to process package "SUP-2014.09" (package ID = RC00017B).
    Then lot of updates lists with comment taking a snapshot and finally
    Error Milestone RC0 06.11.2014 07:12:29 SCHVSGGSC600.rccad.net SMS_DISTRIBUTION_MANAGER 2302 Distribution Manager failed to process package "SUP-2014.09" (package ID = RC00017B).    Possible cause: Distribution manager does not have access to either the package source directory or the distribution point.  Solution: Verify that distribution manager can access the package source directory/distribution point.    Possible cause: The package source directory contains files with long file names and the total length of the path exceeds the maximum length supported by the operating system.  Solution: Reduce the number of folders defined for the package, shorten the filename, or consider bundling the files using a compression utility.    Possible cause: There is not enough disk space available on the site server computer or the distribution point.  Solution: Verify that there is enough free disk space available on the site server computer and on the distribution point.    Possible cause: The package source directory contains files that might be in use by an active process.  Solution: Close any processes that maybe using files in the source directory.  If this failure persists, create an alternate copy of the source directory and update the package source to point to it.
    This triggers immediately an update of all DPs
    Information Milestone RC0 06.11.2014 07:43:52 SCHVSGGSC600.rccad.net SMS_DISTRIBUTION_MANAGER 2304 Distribution Manager is retrying to distribute package "RC00017B".    Wait to see if the package is successfully distributed on the retry.
    Any idea
    How this can be avoided, since nobody changed the package and we suppose it was a temp connection issue between the CAS and the package repository server
    If this check can be set up to once a week for instance or even less?
    Thanks,
    Marco

    Hi Daniel,
    thanks for the prompt answer. Actually I saw it yesterday at least for 1 package (the last one). The error is generate by SQL killing a task 
    Adding these contents to the package RC00010D version 347.
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:23
    7796 (0x1E74)
    Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER
    06.11.2014 07:12:23 3652 (0x0E44)
    *** [40001][1205][Microsoft][SQL Server Native Client 11.0][SQL Server]Transaction (Process ID 152) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:25
    5460 (0x1554)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCHVSGGSC600.rccad.net SITE=RC0 PID=2144 TID=5460 GMTDATE=jeu. nov. 06 06:12:25.422 2014 ISTR0="SUP-2012.Q4" ISTR1="RC000068" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="RC000068"
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:25
    5460 (0x1554)
    Failed to process package RC000068 after 0 retries, will retry 100 more times
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:25
    5460 (0x1554)
    Exiting package processing thread. SMS_DISTRIBUTION_MANAGER
    06.11.2014 07:12:25 5460 (0x1554)
    Used 4 out of 5 allowed processing threads.
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:26
    3300 (0x0CE4)
    Starting package processing thread, thread ID = 0x894 (2196)
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    3300 (0x0CE4)
    Used all 5 allowed processing threads, won't process any more packages.
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    3300 (0x0CE4)
    Sleep 1828 seconds... SMS_DISTRIBUTION_MANAGER
    06.11.2014 07:12:27 3300 (0x0CE4)
    STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCHVSGGSC600.rccad.net SITE=RC0 PID=2144 TID=2196 GMTDATE=jeu. nov. 06 06:12:27.716 2014 ISTR0="SUP-2014.M05" ISTR1="RC00011D" ISTR2=""
    ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="RC00011D"
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    2196 (0x0894)
    Start updating the package RC00011D... SMS_DISTRIBUTION_MANAGER
    06.11.2014 07:12:27 2196 (0x0894)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=RC00011D, Version=14, Status=2300
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    2196 (0x0894)
    *** [40001][1205][Microsoft][SQL Server Native Client 11.0][SQL Server]Transaction (Process ID 154) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    1424 (0x0590)
    Taking package snapshot for package RC00011D
    SMS_DISTRIBUTION_MANAGER 06.11.2014 07:12:27
    2196 (0x0894)
    Now as I mentioned it was probably an SQL (more likely) or networ issue, however the question was more about how to avoid that. Finally the packages were not changed and if possible I would avoid any automatic SCCM action on packages unless an operator manually
    triggers them.
    I didn't see any error today, so it should not be a configuration issue.
    Is this possible?

  • 1st crack of the whip - back for more later

    well, that was harder than i had expected!
    i've not come here to flame so don't flame me - i just wanted to share my first arch experience.  The install was easy – i still use Vector Linux – and the install is very similar.  I chose the 2.6 kernel and just the base packages and i think this was my initial downfall!
    The 2.6 kernel has ppp as a module, ppp_generic, which stumped me for a bit (i didn't get ppp to work either as it is very hard to get support when you have to boot into another distro every 2 seconds to look something up and i guess i have been spoiled for ppp config in the past).  I also found the wvdial package didn't create a default wvdial.conf, which i thought was a bit weird.
    The other thing i had probs with was pacman and local packages.  I was adding them with pacman -U till i figured out i could add the cd pkg dir to pacman.conf and use pacman -S, which saved a lot of hassle.  If you only have a modem i recommend you install more packages during the system install to avoid this situation – you are prolly going to install more packages off the cd if you don't have broadband anyway!
    One thing which i was expecting but shouldn't have been (and i know i shouldn't cos i did read the docs but it just never hit home) was arch to set up a simple X based wm and app suite – it nevers says it will but i just thought it would.  Not that i really need it to – it's just nice to get you started.
    I have given up for now – it seems likely that 0.7 is about to appear so it may be best to wait for that now rather than spend time downloading packages that are all about to be included on the CD

    dibblethewrecker wrote:The 2.6 kernel has ppp as a module, ppp_generic
    A bit of a trick to get 2.6 working with ppp.  There are some docs in the wiki describing how to do this.  One thing about installing Arch the first time is to try to guess which of the docs you really ought to have printed out but forgot to. :-D
    The other thing i had probs with was pacman and local packages.  I was adding them with pacman -U till i figured out i could add the cd pkg dir to pacman.conf and use pacman -S, which saved a lot of hassle.
    This is documented in the man page, but wasn't mentioned in the install doc, IIRC. I'll add it to my todo list, thanks for bringing it up. 
    One thing which i was expecting but shouldn't have been (and i know i shouldn't cos i did read the docs but it just never hit home) was arch to set up a simple X based wm and app suite – it nevers says it will but i just thought it would.
    In a few years, they're planning on making an Arch that will read your mind for which packages to install. However, until that time, the installer just doesn't know what window manager (or even what X package) you would want installed.
    The basic Arch philosophy is 'keep it simple'. Nothing is done for you because it's hard to know what needs to be done to undo something that was done automatically, but much easier to figure out how to do something or how to undo something you did yourself.
    I have given up for now – it seems likely that 0.7 is about to appear so it may be best to wait for that now rather than spend time downloading packages that are all about to be included on the CD
    It's a good plan, but remember that most of the big packages aren't on the CD because they are in the extra repository, not current.  xorg is on the cd for 0.7, but stuff like Gnome KDE, OpenOffice, etc still have to be downloaded.
    It's not as bad to download stuff on dialup as you would think. OpenOffice took me over a week, but I just ran it for an hour or so a day... pacman recovers broken connections and stuff.
    See you again soon, when 0.7 arrives.
    Duty

  • Sources for package oracle.toplink.internal.expressions in version 10.1.3.5

    Hi there,
    I just downloaded file toplink_101350.zip from Oracle and in folder \toplink\jlib it has a file called toplink-src.zip. When I look at jar file toplink.jar it contains much more packages like oracle.toplink.internal.expressions that in the source file.
    Now where can I get the full oracle toplink source?
    Thanks.
    Regards,
    Joao

    Hi,
    the web appears to be full of such error messages and some point to the use of named native query vs. named query. So here are some options for you to try
    1. Create a test project in 11g using the same tables and compare the generated code with yours to see a difference
    2. Get a 10.1.3.5 project that you haven't migrated and pass it on to customer support for them to have a try on this.
    +"If this is not resolved, we can not chose Jdeveloper as a future IDE at the company..."+ Actually it doesn't appear to be a JDeveloper issue but a TopLink / EclipseLink issue. Abandoning JDeveloper is like shooting the messenger. Just so you know.
    Frank

Maybe you are looking for

  • MC93 menu exit or user exit

    Hello am wrking for MC93 tcode i need to button or from menu exit i need to call one report when entering values.....i found one menu exit MCP20003 IN tht i added menuexit function code at run time it is not highlighed.if any one plz help me out.

  • Auto update in J2ME !!!

    Dear all, Is it possible to do auto update in j2me. For example, when the user run the application, it connects to server to see if there is new version available. If yes, than first step is to inform the user with popup or alarm. The first step is n

  • One VM Cluster Resources Regularly Failing

    Hi All, We run hundreds of Windows and Linux VMs in clustered and non-clustered environments. However, we're having issues with one particular VM that regularly restarts itself. The environment the problem VM is running in is a Windows 2012 R2 cluste

  • Old Conversations and Contacts Missing

    OK so I downloaded the new Skype for windows desktop but there is a issue. I went to go to message my friend but he wasn't in my contacts. I know I had him. So it made me re-send contact request and I don't know when he will aceept it. Also with anot

  • No audio when burning a DVD from iMovie to iDVD

    Hope someone can help me here, I'm not getting any audio on the DVD I've burnt even though it's working fine in the preview screen on my desktop. Even the audio from the theme I've chosen isn't coming through. I'm using iMovie HD 5.0.2 and iDVD 5.0.1