Package distribution frequently failing with Failed to get object class and CSendFileAction::AddFile failed; 0x800706ba

Dear Experts,
Frequently I see packages that are being transferred over WAN links failing with the below posted error.
We're running SCCM 2012 SP1, the DP's are rate limited and firewalled.
Some applications end up on the DP's fine (even OS images), some don't. When they don't, the issue is non-recoverable, even if I retry it 100 times the error will remain the same while other applications do distribute properly. This seems like there can't
be a firewall issue at play. Logs on the DP's do not show any errors.
Here is the PkgXferMgr.log
Attempt to write 750652 bytes to \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 at position 394372096 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:42 AM 7476 (0x1D34)
Wrote 750652 bytes to \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 at position 394372096 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:44 AM 7476 (0x1D34)
Sending completed [E:\SCCMContentLib\FileLib\F6BC\F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337] SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:53:44 AM 7476 (0x1D34)
Failed to get object class SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
ExecStaticMethod failed (800706ba) SMS_DistributionPoint, AddFile SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
CSendFileAction::AddFile failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:05 AM 7476 (0x1D34)
Deleting remote file \\SERVER\SMS_DP$\Content_0a017ff5-3a9b-4794-ab57-e4e50ba2db79.1-F6BCF13B583E95DC14FBA81B712675EAD0A2A8D25D1C5127B3E79519897D1337 SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
CSendFileAction::SendFiles failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
CSendFileAction::SendFiles failed; 0x800706ba SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)
Notifying pkgXferJobMgr SMS_PACKAGE_TRANSFER_MANAGER 6/4/2014 11:54:06 AM 7476 (0x1D34)

0x800706ba = "The RPC server is unavailable."
This is often associated with some sort of network connectivity issue but is very hard to track down without watching the traffic because there is no way to know why traffic didn't make it.
Generally, it is also associated with WMI communication so it's possible that WMI is having issues or is being blocked on the destination system.
If this is happening sporadically on the same DP for the same content but works for other content, that would indicate to me that some type of network filter or security mechanism is in place that has for some reason decided that that content should not
be allowed. This is pure speculation though.
Do you happen to have a WAN accelerator in place or something else that is supposed to help, scan, or filter traffic? If so, this is where you should concentrate your investigation and exclude ConfigMgr traffic from interference.
Jason | http://blog.configmgrftw.com

Similar Messages

  • Unable to map/get Attributes with import of LDIF Object Class

    Hi All,
    We are trying to take import of Customized Object Class and Attributes into OID through LDIF.
    LDIF import command is:
    ./ldapadd -p 3060 -h myhost -D "cn=orcladmin" -w Ac123456 -f xyzObjClass.ldif
    LDIF contents are:
    dn: cn=subSchemaSubentry
    changetype: modify
    add: objectclasses
    objectclasses: ( 1.3.6.1.4.1.1436.2.46 NAME 'ProviderObjClass' SUP ( organizationalPerson $ person $ top ) STRUCTURAL MAY ( attr1 $ attr2 ) )
    Note: attr1 and attr2 are already imported into OID.
    Result: We are able to create Object Class and also able to inherit Super Class. But we are not able to map the attributes to our Object Class.
    Can anybody help me in importing ?
    Thanks & Regards,
    Newbie

    Again, I don't work with Java and you should ask Java-related question in Flex (or Java) forum.
    Java or not - you need to package your server side language specific object into something that AS understands (text, XML, AMF object) and load this data into AS via, perhaps, URLLoader. Or you can open socket. Then you parse this data with AS3 code in SWF.

  • Will not share Imovie with Idvd. Gets so far and then a box saying Unable  to prepare project for publishing because an error occured (-41)

    Cannot SHARE project from IMovie to Idvd. Gets so far and then a box with a message saying Unable to prepare project for publishing because an error occured (-41).

    Bengt is as always entirely correct, but another meaning of error -41 is that you have chosen the wrong encoding setting for the length of video you have:
    iDVD encoding settings:
    http://support.apple.com/kb/HT1502?viewlocale=en_US
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    That was for single-layer DVDs. Double these numbers for dual-layer DVDs.
    Professional Quality: The Professional Quality option uses advanced two-pass technology to encode your video (The first pass determines which parts of the movie can be given greater compresson without quality loss and which parts can’t.  The second pass then encodes those different parts accordingly) , resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned about the time taken.
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • Get runtime class and cast object to it?

    Hi,
    public interface Msg
    Msg msg=msgLib.get(msgType);
    Msg msg2=msg.clone(); //problem! cannot find clone in  x.y.Msg!
    ...Shouldn't msg be resolved to the implementing class (MsgReply for example) and use the "clone()" method, that i have declared in that class -which overrides the one of Object class?
    If no, is there a way to find the runtime class -probably use "getClass"- and cast to it? How?
    Thanks

    There are many implementing classes; i want to get the runtime class. Something like:
    (msg.getClass())msg.clone();
    Message was edited by:
    uig

  • When installing iTunes and extracting the files with Winrar I get corrupted files and cannot complete the download why is this?

    When I dont extract the files and go straight to the installer it says that the download was inturrupted and to try again and it wont work any of the times I try.

    Try clearing your browser's cache before downloading again, or try a different browser, or download the installer on a different machine, check it with Winrar or 7-Zip, then put it on a memory stick to take back to your own computer.
    You may find the direct download links and other information in Troubleshooting issues with iTunes for Windows updates useful.
    tt2

  • MDX query with DMV to get all cubes and aggregation row count on SSAS engine

    Hi All,
    How can I get all cube names  on a SSAS engine server and count of number of aggregation rows in each cube ?
    I got a DMV where it shows all catalogs names and description but where can I found aggregation row count of each cube.
    Please let me know, thanks in advance.
    Maruthi...

    Hi Maruthi,
    Please check below link, hope this will help you.
    SSAS 2008 CTP6 – new DMV $SYSTEM. DISCOVER_ OBJECT_ ACTIVITY
    lists the memory usage and CPU time for each object i.e. cube, dimension, cache, measure, partition, etc. They also show which aggregations were hit or missed, how many times these objects were read, and how many rows were returned by them:
    Discover_object_memory_usage and discover_object_activity
    select * from $system.discover_object_memory_usage
    select * from $system.discover_object_activity
    Thanks
    Suhas
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • Issue with close() method of BufferedReader class and FileInputStream class

    I have written the following code to a text file, called hello,txt from Windows. Everything works fine but I am trying to figure out whether calling of close() method of aforemetioned class is appropriate or necessary thing to do.
    Here are the questions:
    1. Is it necessary to call close method in this senario? And why? [it seems to me that everything gets cleaned up automatically anyways at the end of each call to the method when called from main()]
    2. If the answer for No.1 is yes, then in which order each close method should be called? Or, does the order of calling close method matter anyways?
    3. Is the reason for why in No.1 is that because calling close method on each object is a necessary step to do when dealing with mutli-thread?
    Thanks for your help in advance!
          * Below is an example to clarify my questions
         void readWinFile() {
              File objFile = new File("hello.txt");
              FileInputStream fileStream = null;
              BufferedReader bfReader = null;
              try {
                   fileStream = new FileInputStream(objFile);
                   bfReader = new BufferedReader(
                                      new InputStreamReader(fileStream, "MS932"));
                   int tmp;
                   while ((tmp = bfReader.read()) != -1) {
                        System.out.print((char)tmpLine);
              } catch (FileNotFoundException e) {
                   System.err.printf("File: %s Not Found @ DIR = %s",
                                       objFile.getName(), objFile.getParent());
              } catch (UnsupportedEncodingException e) {
                   System.err.printf("Internal failure: %s", e);
              } catch (IOException e) {
                   System.err.printf("File: %s close failure", objFile.getName());
    *          } finally {*
    *               if (bfReader != null) {*
    *                    try {*
    *                         bfReader.close();*
    *                    } catch (IOException e) {*
    *                         e.printStackTrace();*
    *               if (fileStream != null) {*
    *                    try {*
    *                         fileStream.close();*
    *                    } catch (IOException e) {*
    *                         e.printStackTrace();*
    }Edited by: Jay-K on Feb 14, 2010 8:50 PM
    Edited by: Jay-K on Feb 14, 2010 8:52 PM

    Hello CeciNEstPasUnProgrammeur,
    Thank you for taking your time and doing all these write-up for me.
    CeciNEstPasUnProgrammeur wrote:
    Pretty much every native resource, most notably DB connections because those even remain open after the client process terminates. But ports or file handlers are similar; note that a JVM does not necessarily terminate just because you close your program in "extreme cases" (shared use of JVM). In an app server this is certainly never the way. And even if it does, as long as your app is running, the stuff is certainly never released.What you meant is that if my app runs on an app server, which shared the use of JVM with multiple apps, without properly closing ports or file handlers could cause JVM to keep retaining the native resource allocated for my app. In case of that, the resource leaks would occur.
    On the other hand, if my app runs on an app server, which do not share the use of JVM, the leaks would be less likely to happen even if the ports or file handlers are not manually closed. (It could be a very poor design but technically I could reply on their finalizers to clean up the mess)
    >
    Another misconception seems to be that objects are automatically GCed the moment they run out of scope. This is not true.Is there any documentation somewhere that you could refer me to? I would like to figure out why objects are not auto-GCed when they run out of their scope.
    >
    And lastly, objects should not rely on their finalizers to release native resources, and should rather provide close/release methods. This is a common paradigm, and that's also why releasing the file handle won't work by simply letting the reader instance run out of scope. Nobody notifies the underlying OS.I see, so the JVM here interacts with the underlying OS to acquire sufficient native resource for its apps to run. Without explicit closing, which would make JVM not to notify underlying OS to release acquired resource. Am I on the ball here?
    Thanks,
    Jay

  • Flex with any ORM - Writing Model classes and action scripts redundant?

    Hi,
    I am using Hibernate with Flex. I have all my model classes
    as POJOs. Now if i have to access these POJOs directly from flex, I
    need to write action script reference classes for all my POJO model
    classes. Since mapping POJOs with action script reference classes
    is so mechanical, i am wondering if there is any tool to read all
    the properties from the POJO's and convert them to action script
    reference classes automatically. Is there any way that this can be
    automated?
    Thanks in advance.
    Chandu.

    If you use Granite Data Services, there's something called
    "gas3" (I think is the name). You may be able to use it even if you
    don't use Granite.
    I didn't care for learning how to use it (plus it uses
    Groovy, more needless stuff to learn I guess), so I can't say how
    well it works. I just wanted a simple custom ant task that
    generates ActionScript classes for my Java classes. So I ended up
    making my own. It's definitely not trivial but it's not that hard
    if you're very good with Java and reflection.

  • How to get object type and object key of bapi_acc_gl_posting_post

    Hi,
       I want to upload data from flat file to FB01 transaction using BAPI. For this i found bapi_acc_gl_posting_post. How should i get the obj type and object key for this bapi.
    Please let me know wether this is correct bapi for fb01 transaction.
    Thanks in advance,
    Regards,
    Sun.

    Hi,
       I want to upload data from flat file to FB01 transaction using BAPI. For this i found bapi_acc_gl_posting_post. How should i get the obj type and object key for this bapi.
    Please let me know wether this is correct bapi for fb01 transaction.
    Thanks in advance,
    Regards,
    Sun.

  • How to get object type and object key from Bapi_acc_gl_posting_post

    Hi,
      Currently iam implementing FB01 transaction thru Bapi_acc_gl_posting_post.
    I got object key by including document no, fiscal year and Document data
    I got object type from TTYP table. But iam not sure it is correct.
    After implemeting the BAPI return code is giving successfull and i commited the process.
    But at last data is not updating in BKPF table. There is no document number displayed at BKPF...Please go thru and do the needful its urgent.
    Thanks in advance....
    Regards,
    Ganga

    Hi Max,
            I have executed it and it is working only for GL posting but i need to make this for different accounting types like vendors, customers, material customers etc.
    I found BAPI_ACC_DOCUMENT_POST. when i executed it is giving error as 'Line entered several Times'.
    I following is my code. If time permits please go thru my code and do the need ful..
    Thanks in advance.
    REPORT  zk_fi_fb01                     .
    Data: v_objkey(20) type c.
    Data: Docheader type BAPIACHE09.
    Data: ACCOUNTGL LIKE BAPIACGL09 occurs 0 with header line,
         ACCOUNTRECEIVABLE like BAPIACAR09,
          ACCOUNTPAYABLE like BAPIACAP09 occurs 0 with header line,
          CURRENCYAMOUNT like BAPIACCR09 occurs 0 with header line,
          RETURN like BAPIRET2 occurs 0.
    Data: obj_typ like BAPIACHE09-OBJ_TYPE,
          OBJ_KEY like BAPIACHE09-OBJ_KEY,
          OBJ_SYS like BAPIACHE09-OBJ_SYS.
    *Data: gv_belnr type belnr_d.
    *Data:file_Na type String.
    Data: lsys like TBDLS-LOGSYS.
    *START OF SELECTION
    START-OF-SELECTION.
    *CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
       nr_range_nr                  = '19'
       object                       = 'RF_BELEG' "'FIAA-BELNR'
      QUANTITY                      = '1'
      SUBOBJECT                     = '7777'
      TOYEAR                        = '2007'
      IGNORE_BUFFER                = ' '
    IMPORTING
      NUMBER                        = gv_belnr
    QUANTITY                      =
    RETURNCODE                    =
    *CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
      OWN_LOGICAL_SYSTEM                   = lsys
    EXCEPTIONS
      OWN_LOGICAL_SYSTEM_NOT_DEFINED       = 1
      OTHERS                               = 2
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *concatenate gv_belnr '7777' '2007' into v_objkey.
    *Filling Document Header Details
    *Docheader-OBJ_TYPE = 'BEBD'.
    *Docheader-OBJ_key = V_objkey.
    *Docheader-OBJ_SYS = lsys.
    docheader-BUS_ACT = 'RFBU'.
    Docheader-USERNAME = sy-uname.
    Docheader-COMP_CODE = '7777'.
    Docheader-DOC_DATE   = '20070724'.
    Docheader-PSTNG_DATE = '20070725'.
    Docheader-FISC_YEAR = '2007'.
    Docheader-DOC_TYPE = 'KZ'.
    *Item data for ACCOUNTGL
    ACCOUNTGL-ITEMNO_ACC = '0000000001'.
    ACCOUNTGL-GL_ACCOUNT = '0000000501'.
    ACCOUNTGL-DOC_TYPE   =  'KZ'.
    ACCOUNTGL-COMP_CODE  = '7777'.
    ACCOUNTGL-FISC_YEAR  = '2007'.
    ACCOUNTGL-PSTNG_DATE = '20070725'.
    *ACCOUNTGL-DE_CRE_IND = 'S'.
    append ACCOUNTGL.
    ACCOUNTGL-ITEMNO_ACC = '0000000002'.
    ACCOUNTGL-GL_ACCOUNT = '0000400002'.
    ACCOUNTGL-DOC_TYPE   = 'KR'.
    ACCOUNTGL-COMP_CODE  = '7777'.
    ACCOUNTGL-FISC_YEAR  = '2007'.
    ACCOUNTGL-PSTNG_DATE = '20070725'.
    *ACCOUNTGL-DE_CRE_IND = 'H'.
    append ACCOUNTGL.
    *Account payable
    ACCOUNTPAYABLE-ITEMNO_ACC = '0000000001'.
    ACCOUNTPAYABLE-GL_ACCOUNT = '0000000102'.
    ACCOUNTPAYABLE-COMP_CODE  = '7777'.
    append ACCOUNTPAYABLE.
    ACCOUNTPAYABLE-ITEMNO_ACC = '0000000002'.
    ACCOUNTPAYABLE-GL_ACCOUNT = '0000400002'.
    ACCOUNTPAYABLE-COMP_CODE  = '7777'.
    append ACCOUNTPAYABLE.
    *Currency Amount
    CURRENCYAMOUNT-ITEMNO_ACC = '0000000001'.
    CURRENCYAMOUNT-CURRENCY_ISO = 'INR'.
    MOVE 1000 TO CURRENCYAMOUNT-AMT_DOCCUR.
    Append CURRENCYAMOUNT.
    CURRENCYAMOUNT-ITEMNO_ACC = '0000000002'.
    CURRENCYAMOUNT-CURRENCY_ISO = 'INR'.
    MOVE '1000-' to CURRENCYAMOUNT-AMT_DOCCUR.
    Append CURRENCYAMOUNT.
    clear CURRENCYAMOUNT.
    clear ACCOUNTGL.
    clear ACCOUNTPAYABLE.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader          = Docheader
      CUSTOMERCPD             =
      CONTRACTHEADER          =
    IMPORTING
       OBJ_TYPE                =  obj_typ
       OBJ_KEY                 =  obj_key
       OBJ_SYS                 =  obj_sys
      tables
       ACCOUNTGL               = ACCOUNTGL[]
      ACCOUNTRECEIVABLE       =
       ACCOUNTPAYABLE          = ACCOUNTPAYABLE
      ACCOUNTTAX              =
        currencyamount          = CURRENCYAMOUNT
      CRITERIA                =
      VALUEFIELD              =
      EXTENSION1              =
        return                  = return.
    if sy-subrc = 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = ' '.
    endif.
    if sy-subrc = 0.
    WRITE: / OBJ_KEY,
             OBJ_TYP,
             OBJ_SYS.

  • SCCM 2012: Package distribution fails.

    Hi,
    We have a package distribution that fails.
    What I did: redeploy, fails again and again. So I went to distribution point properties, tab content, then removed the package.
    I waited for some time but if fails again (note it is only 2 MB in size but takes like 20 minutes)!
    Below the logging of what went wrong. It seems as if it has issues cleaning up the package.
    My question: what is causing this/how to avoid?
    J.
    Failed to delete package file(s) from \\ourserver\ourapplication . Error = 145    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    3436 (0x0D6C)
    Error occurred. Performing error cleanup prior to returning.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    3436 (0x0D6C)
    DP thread with array index 0 ended.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    DP thread with thread handle 00000000000015B0 and thread ID 3436 ended.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    Only retrying local DP update for package packagecode, no need to replicate package to child sites.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    StoredPkgVersion (5) of package packagecode. StoredPkgVersion in database is 5.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    SourceVersion (5) of package packagecode. SourceVersion in database is 5.    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=oursccmserver SITE=PRD PID=3944 TID=7772 GMTDATE=Wed Feb 25 17:49:08.982 2015 ISTR0="Fixes" ISTR1="packagecode" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="packagecode"    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08  
     7772 (0x1E5C)
    Failed to process package packagecode after 4 retries, will retry 96 more times    SMS_DISTRIBUTION_MANAGER    25/02/2015 18:49:08    7772 (0x1E5C)
    Jan Hoedt

    Excluded the packagesource from antivirus, 
    Is that "\\ourserver\ourapplication?"
    Torsten Meringer | http://www.mssccmfaq.de

  • Can I create a class and package for my inframe AS and access it global

    Ls,
    I made an app using only inframe actionscript in a .fla;
    transfrerring variables from frame 1 to frame 2 is unreliable.
    Some sources say the persist over frames but i found that not to be reliable.
    Arrays seem to be filled with the right values. Normal int vars declared in frame 1 fail some time.
    You should have used classes i hear you say,  and right you are.
    But I didnt.
    Now im using either reloading, re-initing and/or the sharedobject.
    Anyhoe..
    Question:
    If I declare a class for my main .fla file.,
    then declare, instantiate and load the globals i want in this main class,
    will I be able to acces these variables in my main .fla timeline script?
    If so, I could slowely reconstruct my .fla into smaller objects/classes and make it a real app.
    Just starting from scratch is. welll..i dont even want to think about that.
    Highest regards,
    Mac

    Yes! I got it to run as Mobile project.
    Now, how to test on my mobile thru USB.
    I'm more/only used to working from FLASH CS5.5
    Although I like the builder, it feels really flexible, it also seems more work(yeah still lazy).
    Is there an advantage to using the builder over Flash CS?
    Thank you.. again...again
    Mac

  • Why do I get multiple class files from 1 java file?

    I wrote a dialog box using gridBagConstraints and another program RunPanel to run it as a java application. For the first time since playing with java, I get multiple class files from a single java file.
    This seems very strange to me and wonder if anyone else has come across this and what could possibly be the reason for it. I did a clean (in Eclipse) just to make sure it wasn't garbage and sure enough they come back again.
    I have ReconPanel.java from which I get ReconPanel.class with the addition of ReconPanel$N.class where N goes from 1 to 5.
    The same thing in RunPanel but here there is only 1 extra file, RunPanel$1.class.
    I'll include the code for RunPanel since it is relatively small:
    package ilan;
    import javax.swing.JFrame;
    public class RunPanel extends JFrame {
         private static final long serialVersionUID = 1L;
         private ReconPanel m_reconPanel = null;
         public RunPanel() {
              super();
              initialize();
          * This method initializes this
         private void initialize() {
            this.setTitle("tester");
            this.setSize(new java.awt.Dimension(138,396));
            this.addWindowListener(new java.awt.event.WindowAdapter() {
                 public void windowClosing(java.awt.event.WindowEvent e) {
                      m_reconPanel.exitPanel();
                      System.exit(0);
              m_reconPanel = new ReconPanel();
              this.getContentPane().add(m_reconPanel);
          * @param args
         public static void main(String[] args) {
              JFrame frame1 = new RunPanel();
              frame1.setVisible(true);
    }  //  @jve:decl-index=0:visual-constraint="10,10"The only thing "unusual" I do is to put a listener on the WindowClosing so that I can go back to ReconPanel and write results to the registry.
    Can anyone tell me what is going on?
    Thanks,
    Ilan

    He IIan,
    Yes, you get number of extra class files based on your number of anomyous class es used. Like in your RunPanel, you get only 1 ..$1.class file, b'coz u have used only 1 annomyous class & i.e WindowAdapter. Take a look at this code :-
    this.addWindowListener(new java.awt.event.WindowAdapter() {
                 public void windowClosing(java.awt.event.WindowEvent e) {
                      m_reconPanel.exitPanel();
                      System.exit(0);
            });Similarly, in your ReconPanel, you must have used such kind of classes 5 times, & hence u get such 5 extra classes. To avoiod such extra classes, if you can directly implement that interface or extend the class, if possible will be best. For example, for each button, u write
    button1.addActionListener(new ActionListener() {
    // Code
    });Instead, of this, its better to implement ActionListener & write
    button1.addActionListener(this);
    public void actionPerformed(ActionEvent ae) {
       if (ae.getSource() == button1) {
       // CODE
       }Likethis, you can get rid of such numerous extra class files. In IDE, if you ask to add actionEvent, it will do the first method. To get rid of it, don't add event in the properties, instead, apply the second method. The same thing applies for anyother event. The first option is worthful, if by implementing, u got to write 5 functions from which u r gonna use just 1 method.
    Hope this clears your question.
    Trupti

  • Computer gets very hot and fan stays on

    I have a HP with i7 it gets very hot and the an stays on. I think somthing must be running in the back ground but I can"t find it. I have all the cooling tables etc. any ideas any one?

    What is your laptop model?
    Probably the heatsink clogged with dust and has to be cleaned up.
    ****Click the White Kudos star to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

  • In wich jar can i get this class org.apache.batik.dom.util.DOMUtilities

    please let me know in which jar file can i get this class and tell me the location for downloading
    org.apache.batik.dom.util.DOMUtilities;
    import org.w3c.dom.Document;

    Hai,
    I think you have to use the xml-apis.jar file from the batik project, which has the class org.apache.batik.dom.util.DOMUtilities.
    Yogesh.

Maybe you are looking for

  • Zen touch froze, now i'm stuck in recovery m

    my zen touch froze, after idle shutdown i turned it back on and it froze again. the next day, i turned it on, and it showed my libary as being empty. i tried to reload some music onto it, but one of two error messages kept coming up; one saying that

  • Message processing error

    Hi I am doing an Idoc to File. The same Idoc is triggered to two receiving interfaces, which are both File.  I copied the message from the Test tab of Message Mapping in IR and pasted in Runtime work Bench , Integratioon Engine test message tab. I ge

  • Audio works in audio chat, but not in video chats.

    So, when I start an audio chat with a friend, we can hear each other just fine. I then switch over to a video chat, and she can hear me, but I can't hear her. I already had to do all sorts of port forwarding in the firewall settings and router in ord

  • Setting heap size

    I hope you will all forgive me because this has been exhausted although I followed all the advices. After the following examples, to check my own environment. I have done the following: long heapSize = Runtime.getRuntime().totalMemory();     System.o

  • Normal App Icons Revert to Green Androids When Organized Into Folders and Phone is Restarted!

    I took the time to separate all of my apps in easy to use folders organized by their types on one of my desktop screens. It was very nice until I RESTARTED MY PHONE! After the restart, 75% of the apps' icons changed from their native icons to the gre