Propagate application exceptions that are in other jar.

Hello:
I am trying to deploy an application (call APP-ONE)which has an "applicacion exception" (call App-exp), this extends from another "cross application exception" (call cross-app-exp), and it is on CROSS-APP-EXP.jar.
The example is:
APP-ONE.jar
delegate.java
class delegate throws App-exp {
ejb.clase();
ejb.java
interface ejb extends remote {
public void clase() throws App-exp, RemoteException
CROSS-APP-EXP.jar
Cross-app-exp.java
class cross-app-exp extends RemoteException
Then, my APP-ONE has APP-INF/lib/CROSS-APP-EXP.jar
When I execute ANT it generates APP-ONE.ear with APP-INF/lib/CROSS-APP-EXP.jar (and other things). When I deployed this, the server launch me the following exception:
<04-03-2005 01:17:33 PM VET> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application newMakeAnt.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for APP-ONE.jar
Module: APP-ONE.jar Error: Exception
preparing module:
EJBModule(APP-ONE.jar,status=NEW)
Unable to deploy EJB: APP-ONE.jar from APP-ONE.jar:
Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
¿Where must I put the CROSS-APP-EXP.jar for weblogic server reads that in deploy time?
Please I need some help.
Thanks a lot.

Hello Hussein:
I can not use the second option, because one requeriment was that anything must be on startServer.config.
Here is the trace:
<04-03-2005 01:17:33 PM VET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating Deploy task for application APP-ONE.>
<04-03-2005 01:17:33 PM VET> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application APP-ONE.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for APP-ONE.jar
Module: APP-ONE.jar Error: Exception preparing module: EJBModule(APP-ONE.jar,status=NEW)
Unable to deploy EJB: APP-ONE.jar from APP-ONE.jar:
Compiler failed executable.exec
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2588)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for APP-ONE.jar
Module: APP-ONE.jar Error: Exception preparing module: EJBModule(APP-ONE.jar,status=NEW)
Unable to deploy EJB: APP-ONE.jar from APP-ONE.jar:
Compiler failed executable.exec
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2523)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
I appreciate your help. Thank you.

Similar Messages

  • HT2515 Does iChat work with other users that are on other types of smartphones?  or only Mac phones and Mac mail, contacts, etc?

    Does iChat work with other users that are on other types of smartphones?  or only Mac iPhones and iMac Mail, Contacts, etc?

    Hi,
    The Messages Beta will Send iMessage to iPhones (Messages replaces iChat)
    iChat can SMS to phones
    It needs the computer to be listed as if it in the United States and contacting a Phone that is on a Carrier in the United States that is accepting SMS forwarding from AIM
    You list the Buddy as AIM and then +plus their number as in +123456789
    The computer can be made to "think" it is in the United States in System Preferences > International (or Text a Language in Lion) then Formats tab.
    The Phone has to be a US phone with all the trimmings about AIM's SMS forwarding.
    11:14 PM      Monday; February 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Creating a JAR File for a program that depends on other JAR files

    Hi, I'm pretty new to this so it shouldn't be terribly hard to answer:
    I have a program which uses JGoodies. There are 2 JGoodies .jar files in the same directory as my program. So I compile it by doing:
    javac -extdirs . NameOfMyProgram.java
    First off, is this the best way to do it? Is there any way of 'calling' these JAR files from within NameOfMyProgram.java?
    Secondly, if I then try to run it by doing java NameOfMyProgram, it doesn't work; can't find the JGoodies stuff. I end up having to add the classpaths of the unzipped JGoodies directories.
    So I have 2 questions:
    1. How can I execute my file so that it reads from the JAR files, not the big expanded folders that I unzipped?
    2. How can I create a JAR file that reads the JGoodies files properly? Right now, I have a Manifest.txt file that looks like:
    Main-Class: NameOfMyProgram
    Class-Path: forms-1.0.5.jar
    Class-Path: looks-1.3.1.jar
    Thanks a lot for your help!

    - learn how to use mysql JDBC
    - pack JDBC driver only
    - remotely access your DB
    - set proper security level for your app

  • Could you (in the next verions of firefox), include a Warning Box, for people deleting "recently bookmarked". It does not tell you that your systematicallly deleting bookmarks that are in other folders.

    You should change firefox, or at least have a warning box when deleting "recently bookmarked". I decided to clear that folder out, and then when I went to use a bookmark.. I didn't have any bookmarks in ANY FOLDER at all. I did manage to restore the booksmarks, but easier to just warm people, or just let them clear out the recently bookmarked. It had bookmarks from over a year ago that I had deleted in other folders, but still manage to hang out in the "recently bookmarked" folder. Oh, and if I delete a bookmark in a folder, please have it delete the bookmark in the "recently bookmarked" also.
    == This happened ==
    Just once or twice
    == Cleaning up my bookmarks

    "Recently Bookmarked" is a so called [[Smart Bookmarks folders|Smart Bookmark]] that shows the result of a place query in a list.
    "Most Visited" and "Recently Bookmarked" are examples of the so called [[Smart Bookmarks folders]] and are not real existing folders.
    Such smart folders show a list created by a query of the places.sqlite database that stores the bookmarks and the history in Firefox 3.
    The bookmarks that show up in such smart folder listing are stored elsewhere in another folder and any changes made are applied to the real bookmark or history item.
    Such lists show a maximum of 10 entries by default and you add a new bookmark or visit a website then a new item is added at the top and the entry at the bottom disappears from that list.
    The items that are removed from the list are not gone, but merely do not show up anymore in that list.
    Any actions like copy & paste or delete that you perform on bookmarks in such a list are done on the original bookmark.
    If you do not want a specific list then remove that query (right-click: Delete), but do not delete the content that is displayed in such a list.

  • JSC can't seem to find classes that are in my jar files.

    Yet when I manually insert the imports and do a build, it all works.
    So JSC isn't seeing something that ant is seeing.
    This has happened before, and it's frustrating. What can I do?
    I've removed and re-added the jar file that the referenced classes are in.
    I am getting this in the JSC log file:
    [org.netbeans.javacore] Rebooting storage for jar:file:/home/tc/sun/misc/Creator2/rave2.0/modules/ext/webui.jar!/ because of a fatal error during storage mount.
    [org.netbeans.javacore] INFORMATIONAL *********** Exception occurred ************ at 9:56 AM on Feb 21, 2006
    java.lang.IllegalStateException
            at org.netbeans.modules.javacore.jmiimpl.javamodel.JavaPackageImpl.addRealPackage(JavaPackageImpl.java:124)
            at org.netbeans.modules.javacore.jmiimpl.javamodel.JavaPackageClassImpl.addRealPackage(JavaPackageClassImpl.java:161)
            at org.netbeans.modules.javacore.jmiimpl.javamodel.JavaPackageClassImpl.addRealPackage(JavaPackageClassImpl.java:156)
            at org.netbeans.modules.javacore.jmiimpl.javamodel.JavaPackageClassImpl.addAllRealPackages(JavaPackageClassImpl.java:166)
    [catch] at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:941)
            at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:794)
            at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:748)
            at org.openide.util.Task.run(Task.java:189)
            at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
            at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)

    Ok, now it seems like it can't find anything in any of the jar files that I've added to the
    project.

  • Can I read/write global variables that are in other PC?

    I attach the vis and the executables.
    My problem is that when I run( continuosly, because in other way, I read the default value of the variable) getvalue.vi and setvalue.vi, I don´t have any problem, I can read/write the global variables, the two vis is running in the same PC.
    But when I do the exe and I run them continuosly , it doesn´t work.
    Any solution?
    Thanks in advanced!
    Graci
    Attachments:
    Get_Value.vi ‏30 KB
    Set_Value.vi ‏30 KB
    Exe.zip ‏272 KB

    Hello Bichillo,
    By running the vis continuously you are running into race conditions. If you cannot control when you are writing to or reading from a global variable, you cannot know whether the value writen/read is the right one or not.
    In your case the global variable value that is read is sometimes the last value writen and sometimes an empty string.
    To make the global variable behave as desired, that is, keeping its last value, the global variable must be in memory when you access it using VI Server. If it is not in memory, the returned value is an empty string. That´s why you sometimes get a non-empty string: when you access the global variable to read its value, it happens to be in memory because you´ve just writen to it.
    To ensure that the global
    variable is always in memory and it keeps its last value, you must include the global variable into your block diagram. I am attaching modified vis that implement this.
    Hope it helps.
    César Verdejo
    Training and Certification | National Instruments
    Attachments:
    Get-_Set_Value.llb ‏48 KB

  • Bumper type cases that are available other than Apple's brand...

    Are there anymore out there...i do like the Apple Bumper...also there is the SGP Hybrid Neo Ex case, looks the same but different feature...any one teied this by any chsnce...what other alternatives are there aside from these two?

    I got the free black Apple bumper when they first started shipping them. I can't definitely say if I get better performance with or without a bumper. However, I can definitely say that I'm not getting any scratches under the bumper(s). The reason I made bumper plural is that I bought the "lime green" Apple one after using the black one for about a month.
    The reason I switched is because the IP is SO much easier to see when it's laying around waiting for me to pick it up. The black model just fades into the background and is NOT easy to spot when I'm in a hurry and want to get out the door.
    Also, I've dropped the IP a couple of times since I "bumpered" it and no nicks or other damage occurred. Whether I would have the results without a bumper, I can't say.
    My previous IP's (3G and 3G S) all got scratches on the back using cases. I suspect sand/dirt gets under the cases and acts like sandpaper when the case is rubbed.

  • How to attatchment some files that are in other server to send an email?

    Hi
    I need to send an enmail with sql, but i have to attatchment some files, those files are in anohter server, so I want to know, how attatchment those files? 
    Thanks in advance 

    Yeah, I don't know if you can attach a file on a remote server.  Why not just copy it over to the SQL Server machine, and attach it form there (which would be the local machine when the file is downloaded).
    Please see this for info about using email in SQL Server.
    Create account, permission account, and send Email from SQL Server Express:
    http://www.sqlservercentral.com/blogs/querying-microsoft-sql-server/2013/09/02/sending-mail-using-sql-server-express-edition/
    Check email event log, and remove unsent emails from server
    http://www.dotnet-tricks.com/Tutorial/sqlserver/4761260812-Remove-unsent-database-email-from-SQL-Server.html
    Troubleshoot email error message:
    http://www.mytechmantra.com/LearnSQLServer/Troubleshooting-SQL-Server-blocked-access-to-procedure-sp_send_dbmail.html
    When you get your email processes working fine, download the file using C#.
    http://www.microsoft.com/en-us/download/details.aspx?id=34673
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Net;
    using System.IO;
    namespace ConsoleApplication2
    class Program
    static void Main(string[] args)
    string localPath = @"C:\Downloads\";
    string fileName = "your_file.txt";
    FtpWebRequest requestFileDownload = (FtpWebRequest)WebRequest.Create("ftp://ftp.server.com/" + fileName);
    requestFileDownload.Credentials = new NetworkCredential("your_username", "your_password");
    requestFileDownload.Method = WebRequestMethods.Ftp.DownloadFile;
    FtpWebResponse responseFileDownload = (FtpWebResponse)requestFileDownload.GetResponse();
    Stream responseStream = responseFileDownload.GetResponseStream();
    FileStream writeStream = new FileStream(localPath + fileName, FileMode.Create);
    int Length = 2048;
    Byte[] buffer = new Byte[Length];
    int bytesRead = responseStream.Read(buffer, 0, Length);
    while (bytesRead > 0)
    writeStream.Write(buffer, 0, bytesRead);
    bytesRead = responseStream.Read(buffer, 0, Length);
    responseStream.Close();
    writeStream.Close();
    requestFileDownload = null;
    responseFileDownload = null;
    Sorry if this is a little more complex than what you were looking for, but I think this is the easiest way to do it.  :0
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Serializing Vectors that are in other classes

    If I have...
    public MyPanel extends Jpanel implements serializable
    private vector d;
    public MyPanel()
    d=new Vector();
    public void paint comp(gra g)//etc
    Part f=(part)d.get(i);//etc
    d.draw(g)
    and i OutputStream.write(MyPanel); and InputStream.read(MYpanel) is the vector serialized as well?(Yes the objects "(Part)"within the vector are/is serializable) because when i do:
    MyPanel g=(MyPanel)in.readObject();
    and then MyFrame.setMyPanel(g);
    the vector becomes empty!! and the parts in the vector can no longer be drawn;
    help?
    dev

    I am not sure what the problem is, but,
    - The vector class is Serializable (it isn't the spelling (capital 's') is it??).
    OR
    - Should it be JPanel g=(MyPanel)in.readObject();
    OR
    - How do you actually get the vector as there is no accessor method and the vector is private? Could it be you are just not getting the vector because of this.
    Please ignore this if I am talking rubbish (it is late).

  • I'm trying to write an email and import files that are in other emails I've been sent.  Some are attachments. How can I do this?

    Hello,
    I'm new to the mac world and would like to know how to compose an email including information from emails I've received.  I want to forward the contents of three emails to my a new email I'm composing.   One email has attachments and the others have typed info.  I know I can copy/paste but I'm not sure about the attachments.  Is it best to open them and copy them to the email?

    Save those attachments > Default location is the Downloads Folder.
    Then re-attach to your new email.

  • Is there a way to trap for exceptions that were unhandled anywhere else in a Flex app?

    Hi All,
    Is there a way I can setup my Flex app to trap exceptions (errors) that are thrown, but not caught anywhere else in my app?  What I'm hoping to do is put some code at the "topmost" layer of my application that will trap for any exceptions that are thrown, and then it can log them and notify the server that an unhandled exception happened in the Flex app.  This will notify me that an error happened, and allow me to troubleshoot the issue by giving me the complete stack trace (and whatever other information I want to send along with the error).
    In ASP.NET you can do something like this with ELMAH:
    http://code.google.com/p/elmah/
      -Josh

    Global exceptions handling in Flex 4 along with FlashPlayer 10.1:
    http://www.rialvalue.com/blog/2010/05/13/global-exception-or-error-handling-in-flex/
    Best Regards
    Martin Andersen

  • Need some help archiving and photos that are in multiple collections.

    After creating a new catalog for photos from a collection, I'd want to remove the photos from Lightroom and keep on disk.  In the collection, there are some photos that are in multiple other collections and I'd want to keep those images in their other collections and so not removed them from Lightroom.
    Need some advice on how to easily identlfy those images that are in other collections and thus might not want to remove those images from Lightroom.

    Well, Bob, that works, but agreeing with Geoff, I don't think this is the best solution to the problem; in fact I don't even think this is a good solution to this problem.
    If there isn't a lot of space left, and the user wants to do something about the photos in those collections, then the photos should be moved (in Lightroom, or via this process: http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm) to a different drive. This generates more free space on the SSD drive. The photos remain in the Lightroom catalog, and they remain in the multiple collections that they are in now.
    MrhoniKeith -- your photos probably should not go on the SSD in the first place. Photos ought to be stored on a normal hard drive, not an SSD. You can move them to a regular hard drive en masse, freeing up plenty of space on the SSD via this method: http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm. This is the BEST solution to your problem -- keep everything in a single catalog, with photos on a normal hard disk. The idea of having multiple catalogs to help free up space on one drive works opposite to the best practices of using Lightroom, in which most people recommend using a single catalog for all of your photos, except in special cases where the photo's contents are completely non-overlapping, for example Personal and Business catalogs.
    Removing photos from some collections but not others will NOT free up space. That's not how Lightroom works. Lightroom has not made multiple copies of your photos for each collection. Deleting photos from collections will NOT free up space.

  • Application exception wrapped into RemoteException

    We have weblogic 8.1
    I declared an application exception that does NOT extend from EJBException (it extends from java.lang.Exception). When this exception is thrown from the session bean - it gets wrapped into the remoteexception. According to specification it is not supposed to happen. I saw some messages about this happenning in version 6.1 but not in 8.1. Any ideas on why it could possibly happen ?
    Thank you very much!!

    We have weblogic 8.1
    I declared an application exception that does NOT extend from EJBException (it extends from java.lang.Exception). When this exception is thrown from the session bean - it gets wrapped into the remoteexception. According to specification it is not supposed to happen. I saw some messages about this happenning in version 6.1 but not in 8.1. Any ideas on why it could possibly happen ?
    Thank you very much!!

  • My MacBook Air's storage is full.   When I look at the storage, most of what is taking up the space is "other".  I am not sure what these application or documents are but would like to reduce this so that I can store more pictures to edit.  Any advice?

    When I look at the storage, most of what is taking up the space is "other".  I am not sure what these application or documents are but would like to reduce this so that I can store more pictures to edit.  Any advice on how to find out what takes up this much space so that I can clear some off? 

    Freeing Up Space on The Hard Drive
      1. See Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.
    What is "Other" and What Can I Do About It?- Apple Support Communities

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

Maybe you are looking for