Using JBoss to distribute Java App

Hello...
How can I distribute my JAVA application which has been developed using EJB in JBoss ?
What CLASSES should I attached with the JAVA application ?
I believe in Weblogic we should do the same thing, right ?
Please Help.
Thank you.

Greetings,
i think you missed what the question was askingIt wouldn't be the first time... :)
i think they were asking if it's possible to deploy a
client application in an .ear file from JBoss.I've yet to find evidence of the same in JBoss. However,...
similar to Sun's RI server, you can distribute a
client application by packaging it into the .ear fileThis isn't so much for client distribution as it is for client integration and in the RI it primarily serves as the means to provide authentication support to your client, though it can also be used to provide lookup bindings to referenced beans. JBoss uses a different means of authenticating the client by passing relevant authentication credentials through the InitialContext (similar to WebLogic) - so it isn't necessary to integrate the client with the application. Additionally, JBoss provides client proxies so it isn't necessary to distribute the stub classes (just the relevant proxy jars ':-p - though these can be deployed to a network share or through JBoss' class server), as with the RI. As for lookup binding (ala <ejb-link>), the "jury is still out" on whether this is a truly useful "feature". The EJB ideal, as with other component models, aims toward "shrink-wrapped" distributable "assemble-and-go" components. In such a world :), client developers work to write use(r)ful interfaces to the deployed business logic and so, presumably, have knowledge of the actual binding names... Okay, okay, so the world isn't ideal and the industry has yet to embody "shrink-wrapped" component portability and distribution (even Sun sells platform - iPlanet - specific components ':-/ ). However, how often have you coded clients without knowing the component binding names? For myself, it's been practically never ("practically", only because I've played with this 'feature'). Having said that, it's possible we'll see a paradigm shift with the advent of 2.0 and Local interfaces where a fully integrated (read "tightly coupled") client can also make use of them...
i've read about other servers that you can connect to
that client application by using java-jar jarName.jar
ormi://serverName user password but i haven't gotIf I'm not mistaken here as well, this is Orion's method of implementing client authentication...
this to work with jboss. also, to connect to a clientIt's emulateable if your beans have a security login module configured (see chapter 9 of the JBoss documentation), and your client accepts the necessary command-line arguments...
app using Sun's RI server, they have they're own tool,
runclient.Which brings up the login dialog before starting the client.
any insight?I hope this helps.
Regards,
Tony "Vee Schade" Cook

Similar Messages

  • Incoporate a map using swing in my java app

    Hello,
    I want to incoporate a map into my java application (NOT a web application).
    I know you can do something using Googlemaps but i want far more functionality as
    I am using GPS NMEA data. so for one example:
    my system already gets GPS data and parses it into lat/long coords. Using the map then, it should use these
    coords and plot a route and also animate the route. at this stage my app only parses the data but because i do not have a map/tutorial i cannot create the route on the map.
    so my question is: can someone please direct me to a tutorial that does this or gives an example of using lat/long on maps(google,etc) preferebly in Java. i have already tried googling it but cannot find what i am looking for.
    i found a website that actually does what i want: http://www.gonmad.co.uk/nmea.php - try it out with sample GPS NMEA data...
    thanks for reading

    anyone

  • Is there a way to define 2 different areas using boundaries in a Java app?

    Hi,
    Im tryig to create a game for kids were they can learn how to write! In one of the games there will be a template of a letter, for example A, the A wii be hollow inside so that the kids can folow the outline! But if they go over a line i want the program to display a message telling them this and having to restart drawing from the mouse!
    I know how to draw the lines fron the mouse i just dont kno if it is possible to define different areas according to the shape of a letter??
    Hope you can help
    RSH

    This code will get you a java.awt.Shape representing the outline of any String.
    import java.awt.Shape;
    import java.awt.Graphics2D;
    import java.awt.Font;
    import java.awt.font.FontRenderContext;
    //Whatever other code you need
    //Getting shape of text, put somewhere you can get a Graphics from
    FontRenderContext context = g2d.getFontRenderContext();        //where g2d is a Graphics2D
    Font anyFont = new Font("Arial", Font.BOLD, 20);
    String myText  = "ABCDEFG";
    TextLayout textShaper = new TextLayout(myText, anyFont, context);
    Shape outline = textShaper.getOutline(null);           
    //you can pass a AffineTransform to getOutline( ) if you want some kind of transformation, probably be best
    //if you used it to move (translate) the text outline so you can check to see if it contains the mouse pointer.With the Shape representing the outline of the text, you can call contains( ) on it, passing it a Point2D or the x and y locations of the mouse in double precision which returns true if the Shape contains the mouse.
    I'm pretty sure that it should work.

  • Best practice/howto create extendable, modular, client-distributed java app

    Hi!
    I was adviced to re-post here, following advice from this post http://forums.sun.com/thread.jspa?messageID=10611662
    I'll try to be consise, here's what I wonder about:
    The application:
    I am writing an application which I plan to offer for download and easy installation to end-users. The application will offer a set of services to the user. It is designed to run in the background on the desktop with a tray icon for easy administration.
    What I need help with:
    I am trying to make this application modular. E.g so that I can offer new services/extensions to the application for download at a later time. The user should then only need to download the new "plug-in" or module, install it on his computer with minimum effort and it should be plugged into the already installed application.
    The question:
    What is the "best / easiest" way of doing this?
    I have been looking into the OSGi frameworks out there e.g. Knopflerfish and Equinox and have started reading about JPF the "Java Plug-in Framework"
    I also just came across Platonos Plugin Engine
    What I want is a solution which does not create a huge code overhead or is difficult to use, I want to keep it simple, both for me as developer and especially the user, is this possible?
    - Looking forward to some input!

    genernic wrote:
    What I want is a solution which does not create a huge code overhead or is difficult to use, I want to keep it simple, both for me as developer and especially the user, is this possible?For the user? Certainly. For you, the developer? Not so much. Writing software is difficult, that's all there is to it. Frameworks like Equinox (Actually, Eclipse RCP might well be right up your street) do indeed relieve you of some of the burden of, say, writing a plugin mechanism, but they come with their own learning curve. They won't just do it for you, with a couple of easy clicks of a button. Generally, the easier you make things on your user, the more pain it is for you as a developer.
    Eclipse RCP gives you some good wizards for getting started, but you'll still need to get an understanding of what's going on, or you'll be stuck when you hit a problem.

  • Deploying Java apps: Jars within a jar

    Dear Java gurus,
    Imagine I have a Java application. I wish to bundle it all within a jar file. The problem is, I also wish to add some dependencies, in the shape of a couple of other jars. This means that the user could run the app using the straight-forward "java -jar myapp.jar" command.
    So, I jar it all up. This Jar contains a MANIFEST.MF that specifies the main class, and also the classpath. ("Class-Path: lib/other.jar") as the extra jars were in a dir called lib within the jar.
    But, this doesn't work run as java complains about not being able to resolve classes that exist within other.jar.
    I have yet to find anything on the net beyond really basic examples of using jar. Anyone had more experience with it and can share some tips?

    Its a horrible thing. Basically, you can't include jars in jars.  I asked this question on the Java.sun.com forums a while ago if you want to search there. Its a common question and pisses people off.
    You have some other options:
    1: extract all dependency jars and include the classes in a single jar file.
    2: distribute multiple jars and set the Class-Path in the Manifest to point to them. Since you're pointing at lib/other.jar, you gotta use:
    myjar.jar
    lib/other.jar
    You won't find another way around this. I recall somebody suggesting that packaging jars with jars should be available in mustang, but as of yet, it is not so.
    Also, I would strongly recommend starting to use Java Webstart /JNLP for distributing java apps. I've never done it, but it takes all this hassle out for you by automatically maintaining dependencies. I'm intending to try to get Ensmer going using JNLP sometime.
    Dusty

  • Using configurator with previously free apps

    I am new to apple configurator. I work in an elementary school setting and just recently purchased a mac book to help manage the growing number of school ipads. There are several apps that were downloaded while they were free but now for new purchasers they are paid.  In my itunes account those apps are shown as purchased/downloaded.  HOwever, when I add them to apple configurator it is asking for a VPP which of course we don't have because we downloaded the app when it was free.  Is there a way around this?  I really don't want to have to pay for apps we obtained legally for free. Any help would be appreciated. Thanks!

    Hi Locust626,
    Unfortunately... because the app is now a paid app VPP codes would need to be purchased in order to use Apple Configurator to distribute that app to your fleet of iPads.
    As far as other options (depending on your deployment) you might be able to use iTunes to distribute the app. You might also be able to go to each iPad one-by-one and download the app from the App Store. Not the fastest, but might get you the results that you want.
    I know this is not the answer you wanted to hear, but I hope it answers your question.
    ~Joe

  • Java Apps Files Not Working - N 500

     I Have N 500 Symbyan Belle Refresh--Now Its Not Working Any f .Jar or jad Files Also .Sis Files Working Corect Plz Help Me..

    Also have this problem.    We also used to point our java app shortcuts to the system32 or syswow64, but with Java 8 this is no longer an option.  Updating shortcuts every time there is a new java version is unrealistic.  Similar to Jeff, the symlinks in the ProgramData folder don't seem to work.

  • Uninstalling java apps.

    Hello...
    I'm having a bad experience over here cause I cant use or Uninstall ANY java app on My nokia 5530.
    "Internal Errorending stop app request to JavaCaptain Failed"
    I have been trying all to solve this but I cant.
    Please help me!
    Thanks.
    Solved!
    Go to Solution.

    I am presuming you have installed this software on a memory card - this error is mainly caused to removing the memory card when apps etc are on there
    first try a soft reset (only resets settings no data deleted) *#7780#
    however if that doesn't work you may have to format your memory card
    CJSS IT & Multimedia Solutions
    http://cjss.eu.org
    Was I Helpful? Please Kudos (To Kudos press the green star on the left, thanks.)

  • OT: Good version control/synchronization program for my Java apps

    Hi,
    I use one of my Java apps on a number of computers in my home, as well as on my work computer. The program is over a meg, but I make changes to it (almost daily) that affect only a few small files. I'd like to find a (preferably free) program that can do something like the following:
    I make a change, then click "update on server." The program sends any modified files (and only modified files) to my web server (whose ftp or ssh information i will have configured in the program).
    Now, when I am on any of computers (which would also have the program I'm looking for installed), I just click "sync to latest version" and it downloads the new files from my server.
    I know Tortoise SVN is supposed to be good for version control, but I can't tell if it can do something like I described above.
    Thanks in advance for any ideas,
    John

    Both Subversion and CVS provide this kind of support. They both have Windows clients that integrate with the Windows file system. For Subversion the commonly used Windows client is Tortoise, for CVS its WinCVS, there are others.
    Subversion is newer and easier to use, but is not supported by as many IDE's as CVS. Eg. JSE8 doesn't support SVN directly, although there is a profile you can install.

  • Registering a Java App to run with Windows NT

    I couldn't find a solution to this in searching, perhaps because it's something obvious I'm just missing.
    I've created a Java app which monitors ASP pages every hour to see whether or not the engine is running. That works fine. I want NT to launch this application every time the server boots, but am clueless as to how to do that. It's easy enough for me to reference the app in a .bat file, but I still don't know how to get that to launch, let alone have NT simply run the main method.
    In this instance, I'm using IIS. Is there something that it uses to launch a Java app automatically?
    Thanks in advance.

    I would try just inserting the call in the
    autoexec.bat file a la:
    javaw myApp
    Mark (aka Ekmel)Except, o Evil Adobe, NT doesn't use an Autoexec.Bat.
    I tried popping it into the Startup folder, but it
    doesn't seem to do anything. Thanks, though.My autoexec.bat file is in the startup folder and it
    seems to be setting the path and classpath
    correctly. I'm going to refund your Duke unless/until I'm
    able to help you out.
    Mark

  • How do I run multiple java apps in one JVM to reduce memory use?

    Hi all,
    I saw an article either on the web or in a magazine not too long ago about how to "detect" if the app is already running, and if so, it hands off the new instance to the already running JVM, which then creates a thread to run the Java app in. As it turns out, my app will be used in an ASP environment, through Citrix. We may have as many as 50 to 100 users running the same app, each with their own unique user ID, but all using the same one server to run it on. Each instance eats up 25MB of memory right now. So the question is if anybody knows of a URL or an app like this that can handle the process of running the same (or even different Java) apps in one JVM as separate threads, instead of requring several instances of the JVM to run? I know this article presented a fully working example, and I believe I know enough to do it but I wanted ot use the article as a reference to make sure it is done right. I know that each app basically would use the same one "launcher" program that would on first launch "listen" to a port, as well as send a message through the port to see if an existing launcher was running. If it does, it hands off the Java app to be run to the existing luancher application and shuts down the 2nd launching app. By using this method, the JVM eats up its normal memory, but each Java app only consumes its necessary memory as well and doesn't use up more JVM instance memory.
    Thanks.

    <pre>
    import java.util.Properties;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.lang.reflect.InvocationTargetException;
    import java.util.Enumeration;
    import java.util.NoSuchElementException;
    public class RunProg implements Runnable, Cloneable
    private String iProg;
    private String iArgs[];
    public static void main(String args[])
    new RunProg().main();
    // first step is to start main program itself
    private void main()
    Properties properties = System.getProperties();
    try
    properties.load(new FileInputStream("RunProg.properties"));
    catch(IOException e)
    System.setProperties(properties);
    int i = 0;
    System.out.println("enter main, activeCount=" + Thread.activeCount());
    while(true)
    String program = properties.getProperty("Prog" + i);
    if(program == null)
    break;
    StringTokenizer st = new StringTokenizer(program);
    String[] args = new String[st.countTokens() - 1];
    try
    RunProg rp = (RunProg)this.clone();
    rp.iProg = st.nextToken();
    for(int j = 0; st.hasMoreTokens(); j++)
         args[j] = st.nextToken();
    rp.iArgs = args;
    Thread th = new Thread(rp);
    th.setName("prog" + i + "=" + program);
    th.start();
    System.out.println("prog" + i + "=" + program + ", started");
    catch(CloneNotSupportedException e)
    System.out.println("prog" + i + "=" + program + ", can't start");
    i++;
         System.out.println("end of main, activeCount=" + Thread.activeCount());
    // next step is to start all others one by one
    public void run()
    try
    Class c = Class.forName(iProg);
    Class p[] = new Class[1];
    p[0] = String[].class;
    Method m = c.getMethod("main", p);
    Object o[] = new Object[1];
    o[0] = iArgs;
    m.invoke(null, o);
    catch(ClassNotFoundException e)
    System.out.println(iProg + "ClassNotFoundException");
    catch(NoSuchMethodException e)
    System.out.println(iProg + "NoSuchMethodException");
    catch(InvocationTargetException e)
    System.out.println(iProg + "NoSuchMethodException");
    catch(IllegalAccessException e)
    System.out.println(iProg + "NoSuchMethodException");
    System.out.println(Thread.currentThread().getName() + ", ended");
    System.out.println("exit run, activeCount=" + Thread.activeCount());
    // setup SecurityManager to disable method System.exit()
    public RunProg()
         SecurityManager sm = new mySecurityManager();
         System.setSecurityManager(sm);
    // inner-class to disable method System.exit()
    protected class mySecurityManager extends SecurityManager
         public void checkExit(int status)
              super.checkExit(status);
              Thread.currentThread().stop();
              throw new SecurityException();
    * inner-class to analyze StringTokenizer. This class is enhanced to check double Quotation marks
    protected class StringTokenizer implements Enumeration
    private int currentPosition;
    private int maxPosition;
    private String str;
    private String delimiters;
    private boolean retTokens;
    * Constructs a string tokenizer for the specified string. All
    * characters in the <code>delim</code> argument are the delimiters
    * for separating tokens.
    * <p>
    * If the <code>returnTokens</code> flag is <code>true</code>, then
    * the delimiter characters are also returned as tokens. Each
    * delimiter is returned as a string of length one. If the flag is
    * <code>false</code>, the delimiter characters are skipped and only
    * serve as separators between tokens.
    * @param str a string to be parsed.
    * @param delim the delimiters.
    * @param returnTokens flag indicating whether to return the delimiters
    * as tokens.
    public StringTokenizer(String str, String delim, boolean returnTokens)
    currentPosition = 0;
    this.str = str;
    maxPosition = str.length();
    delimiters = delim;
    retTokens = returnTokens;
    * Constructs a string tokenizer for the specified string. The
    * characters in the <code>delim</code> argument are the delimiters
    * for separating tokens. Delimiter characters themselves will not
    * be treated as tokens.
    * @param str a string to be parsed.
    * @param delim the delimiters.
    public StringTokenizer(String str, String delim)
    this(str, delim, false);
    * Constructs a string tokenizer for the specified string. The
    * tokenizer uses the default delimiter set, which is
    * <code>"&#92;t&#92;n&#92;r&#92;f"</code>: the space character, the tab
    * character, the newline character, the carriage-return character,
    * and the form-feed character. Delimiter characters themselves will
    * not be treated as tokens.
    * @param str a string to be parsed.
    public StringTokenizer(String str)
    this(str, " \t\n\r\f", false);
    * Skips delimiters.
    protected void skipDelimiters()
    while(!retTokens &&
    (currentPosition < maxPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) >= 0))
    currentPosition++;
    * Tests if there are more tokens available from this tokenizer's string.
    * If this method returns <tt>true</tt>, then a subsequent call to
    * <tt>nextToken</tt> with no argument will successfully return a token.
    * @return <code>true</code> if and only if there is at least one token
    * in the string after the current position; <code>false</code>
    * otherwise.
    public boolean hasMoreTokens()
    skipDelimiters();
    return(currentPosition < maxPosition);
    * Returns the next token from this string tokenizer.
    * @return the next token from this string tokenizer.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    public String nextToken()
    skipDelimiters();
    if(currentPosition >= maxPosition)
    throw new NoSuchElementException();
    int start = currentPosition;
    boolean inQuotation = false;
    while((currentPosition < maxPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) < 0 || inQuotation))
    if(str.charAt(currentPosition) == '"')
    inQuotation = !inQuotation;
    currentPosition++;
    if(retTokens && (start == currentPosition) &&
    (delimiters.indexOf(str.charAt(currentPosition)) >= 0))
    currentPosition++;
    String s = str.substring(start, currentPosition);
    if(s.charAt(0) == '"')
    s = s.substring(1);
    if(s.charAt(s.length() - 1) == '"')
    s = s.substring(0, s.length() - 1);
    return s;
    * Returns the next token in this string tokenizer's string. First,
    * the set of characters considered to be delimiters by this
    * <tt>StringTokenizer</tt> object is changed to be the characters in
    * the string <tt>delim</tt>. Then the next token in the string
    * after the current position is returned. The current position is
    * advanced beyond the recognized token. The new delimiter set
    * remains the default after this call.
    * @param delim the new delimiters.
    * @return the next token, after switching to the new delimiter set.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    public String nextToken(String delim)
    delimiters = delim;
    return nextToken();
    * Returns the same value as the <code>hasMoreTokens</code>
    * method. It exists so that this class can implement the
    * <code>Enumeration</code> interface.
    * @return <code>true</code> if there are more tokens;
    * <code>false</code> otherwise.
    * @see java.util.Enumeration
    * @see java.util.StringTokenizer#hasMoreTokens()
    public boolean hasMoreElements()
    return hasMoreTokens();
    * Returns the same value as the <code>nextToken</code> method,
    * except that its declared return value is <code>Object</code> rather than
    * <code>String</code>. It exists so that this class can implement the
    * <code>Enumeration</code> interface.
    * @return the next token in the string.
    * @exception NoSuchElementException if there are no more tokens in this
    * tokenizer's string.
    * @see java.util.Enumeration
    * @see java.util.StringTokenizer#nextToken()
    public Object nextElement()
    return nextToken();
    * Calculates the number of times that this tokenizer's
    * <code>nextToken</code> method can be called before it generates an
    * exception. The current position is not advanced.
    * @return the number of tokens remaining in the string using the current
    * delimiter set.
    * @see java.util.StringTokenizer#nextToken()
    public int countTokens()
    int count = 0;
    int currpos = currentPosition;
    while(currpos < maxPosition)
    * This is just skipDelimiters(); but it does not affect
    * currentPosition.
    while(!retTokens &&
    (currpos < maxPosition) &&
    (delimiters.indexOf(str.charAt(currpos)) >= 0))
    currpos++;
    if(currpos >= maxPosition)
    break;
    int start = currpos;
    boolean inQuotation = false;
    while((currpos < maxPosition) &&
    (delimiters.indexOf(str.charAt(currpos)) < 0 || inQuotation))
    if(str.charAt(currpos) == '"')
    inQuotation = !inQuotation;
    currpos++;
    if(retTokens && (start == currpos) &&
    (delimiters.indexOf(str.charAt(currpos)) >= 0))
    currpos++;
    count++;
    return count;
    </pre>
    RunProg.properties like this:
    Prog1=GetEnv 47838 837489 892374 839274
    Prog0=GetEnv "djkfds dfkljsd" dsklfj

  • What path to use to access network files from Java app running on Mac

    I have a Java app running on a Mac with OS X that I'm using to check for files that exists on Windows servers within our network.
    Using a path like /Volumes/<Share>/ works because I've already connected to the drive using Finder. If I try to use a fully qualify the path with "smb://<Server>/<Share>" then my app doesn't see anything. Is there any way that I can get Java to connect to a directory without first having mapped or made the connection via some external tool like Finder?
    Here's the code I'm testing with:
    package FileImports;
    import java.io.File;
    import java.util.Arrays;
    public class Dir {
    static int indentLevel = -1;
    static void listPath(File path) {
    File files[];
    indentLevel++;
    files = path.listFiles();
    if (!(files == null)){
    Arrays.sort(files);
    for (int i = 0, n = files.length; i < n; i++) {
    for (int indent = 0; indent < indentLevel; indent++) {
    System.out.print(" ");
    System.out.println(files.toString());
    if (files[i].isDirectory()) {
    listPath(files[i]);
    indentLevel--;
    } else System.out.println("Directory not accessible!");
    public static void main(String args[]) {
    // this path works where <share> = the directory where my files exist.
    listPath(new File("/Volumes/<share>"));
    // this path returns a null result in files
    // listPath(new File("smb://<Server>/<Share>/"));
    Thanks,
    Alex
    Edited by: agates on Sep 25, 2008 11:14 AM

    agates wrote:
    Thanks for the response. I'll have to dig a little deeper into JCIFS. It looks like it would work great windows to windows. I haven't been able to find in the documentation where it would work on OS X without having to mount the targeted file system first. Has anyone had success creating a connection to a windows file system from OS X with JCIFS?Since jCIFS is written in pure Java and implements the entire SMB/CIFS protocoll on it's own it doesn't require any support from the OS (apart from a normal JVM runnig). Thus it should work exactly the same in OS X and Windows (and Linux and Solaris and ...).

  • Java Errors when using my Java App via Remote Desktop

    I have a Java App that runs fine if I invoke it and run it on a windows xp machine "x".
    If I remote desktop connect to machine "x" from another windows machine "y"
    I get the errors and the Java App is not displayed correctly. It becomes unusable.
    While remotely connected if I terminate the Java App and restart it the App
    will run just fine and not generate any errors.
    Specifically the steps are:
    Open a cygwin shell.
    invoke the app...java -jar xxx.jar
    use the app on the machine, works fine without any exceptions.
    Leave the app running and go home...eat dinner...then
    VPN into the office
    Startup Windows Remote Desktop to the pc running the app.
    Start to use the app. Now the exception occur as I click on buttons/enter data into fields.
    Then I terminate the App.
    Then I restart the app... java -jar xxx.jar
    It works fine without exceptions.
    This app was developed using NetBeans 6.5
    The errors are:
    in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsIconFactory$CheckBoxIcon.getIc
    onWidth(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
    at javax.swing.plaf.basic.BasicRadioButtonUI.getPreferredSize(Unknown So
    urce)
    at com.sun.java.swing.plaf.windows.WindowsRadioButtonUI.getPreferredSize
    (Unknown Source)
    at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.prepare(Unknown Source)
    at javax.swing.GroupLayout.minimumLayoutSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSi
    ze(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.minimumLayo
    utSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$SequentialGroup.setValidSize(Unknown Source)
    at javax.swing.GroupLayout$Group.setSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)

    Crossposted
    [http://forums.sun.com/thread.jspa?threadID=5421349&messageID=10892967#10892967]

  • Sql_trace does not work for Java app using Oracle JDBC thin driver

    Hi,
    I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
    Thanks in advance!

    Hi,
    I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
    Thanks in advance!

  • Nokia c7 - how to use keypad in games or java apps...

    Hi,
    In some jars (java apps) I downloaded would be useful to use keypad buttons. I wonder if nokia c7 have a function that show a keypad that emulates keys. I have seen with other mobiles but I can't find a way to do with this mobile. Thank you for help.

    OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    Connection conn = (Connection)oapagecontext.getApplicationModule(oawebbean).getOADBTransaction().getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(conn);http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html
    Thanks
    --Anil
    http://oracleanil.blogspot.com

Maybe you are looking for

  • How to unload a DLL?

    Hi All, I load a library using System.loadLibrary(), then I want to unload it. How can I do this? Thanks!

  • HP Z210 and compatibility

    Hello, I've been trying to install Solaris 11 on my HP Z210 x64 workstation but it is not officially supported, and it seems like the SATA on-board controller is the culprit as it's not recognized by the OS when it boots the live CD, can't get past t

  • Will there be siri on iPad 2?

    As if many people wonder and probaly have asked yet down here..  Im wondering aswell if siri will be available somewhen on ipad2/iphone 4..  Some people say that its a marketing strategy from apple for supporting the sales of the new iphone4s as it i

  • Error when attempting to connect

    hello there. whenever i try to connect to our new airport extreme 802.11n i get a strange error that consists of an 8 digit number that's different every time, and "PIN for "`¬Ä†å"" it fails to connect but keeps trying and completely freezes the airp

  • X60s will not sleep in windows 7

    After installing Win7 Pro and running all the windows updates etc I have an issue that I instruct the laptop to sleep it shuts the screen off but never enters sleep mode also I am never able to revivie it except for power switch action Help please