Jar File Generation session is hanging after allication migration

Hi
we migrated oracle11i(11.5.10.2) windows 2000 to windows 2003 server
after migration
Generation of jar file session is hanging
adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @e:\oracle\prodappl\admin\PROD\out\genjars.cmd
what could be the reason
Thanks
With Regards
A-Z

Hi,
Refer MOS tech note:
*Adjava Hangs During Adpatch or Adadmin On Windows NT/2000 [ID 180199.1]*
If it doesn't helps, then i suggest you to log a S.R.
thanks,
X A H E E R
http://appsdbaworkshop.blogspot.com

Similar Messages

  • EJB 3.0: deployment/jar file generation issue

    We have a web application project (ADF Faces) which depends on a model project (EJB 3.0 session/entity beans) that implements both business and persistence layers. This EJB project points to a utility jar file containing some classes we have built. When we run the web project from inside JDev, everything works perfectly, with no error. However, when generating EAR file (deploying web project to WAR) we experience an issue.
    As expected, JDev generated the war file for the web app, the jar file for the EJB and finally the EAR file containing both war and jar files. After that, we managed to deploy the ear file to our OAS 10.1.3 test instance (not standalone OC4J) and an error occured. The error is due to the fact JDev did not create the /lib subdirectory inside ejb project jar file /META-INF directory with our utility jar file inside.
    We tried to generate a separated jar file for the ejb project alone with the same results.
    Is this an IDE bug which does not pack the application as it should? What could we be doing wrong? If yes, is there a work-around? Like I said, the application runs fine on embedded server. Also, when the EJB application does not depend on external libraries, the deployment to OAS 10.1.3 works perfectly. We have tested it!
    Could anyone help us?
    Thanks in advance.
    Best Regards,
    Gustavo
    PS: Sorry for my English. :)

    Hi Shay! I follow what you said and it worked. However, we had to manually edit MANIFEST file for the EJB jar in order to add classpath clause to map our util jar. IMHO, JDev should do it for us. Anyway, we were able to deploy the app successfully.
    Best Regards,
    Gustavo

  • Jar file generation failed ...

    Hi,
    ERROR: The following jars failed to get generated properly.
    fndaol.jar
    fndlist.jar
    Thanks,
    Sai

    Hi;
    What is your EBS version?How you get this error? What is your steps?
    Please check:
    Fail to generate the jar files when executing command 'jarsigner -keystore' [ID 961421.1]
    Regard
    Helios

  • Signed applet : problem signing jar files that are in build path

    Hello,
    I have a problem while trying to create an ftp applet.
    I use org.apache.commons.net.ftp and i build path for commons-net-1.1.4.jar and then i build my classes.
    When i create a jar file with my classes and after signing it, it works under eclipse but not on a web page.
    I had signed commons-net-1.1.4.jar before to build the path in eclipse but commons-net-1.1.4.jar is not in my jar file.
    What is the way to sign applet correctly even if some jar ressources are in eclipse build path.
    Thank you

    You were right!!!
    I'm not sure what to write down in the formsweb.cfg (configuration file) , following the instructions on the on-line help of Developer Forms 10g , in step 9..
    The step 9 says...
    Because in this release the JACOB code is in an external Jar file and not incorporated into frmwebutil.jar, it needs to be downloaded. To do this, change the WebUtilArchive setting to read: webUtilArchive=/forms/webutil/frmwebutil.jar,/forms/webutil/jacob.jar
    The doudt is pointed to the fact that the frmwebutil.jar isn't in the ORACLE_HOME\forms\webutil path but it is ORACLE_HOME\forms\java path.
    Also , these paths referenced in webUtilArchive are physical paths in a Unix system or they are logical paths in a url?
    Simon

  • Updating to a directory in a jar file

    I'm completely lost...
    I need to know how to do this can someone direct mke to a tutorial or something...
    that would be most appreciated...
    thx

    Do you mean that you want a running program to alter the jar file that it's deployed in?
    I'd strongly advise against this. It's a huge pain in terms of ongoing maintenance if the jar file you deploy isn't the same jar file that the user has after a month of using the program. Plus it means that the user is implicitly installing software (kind of) while running the program...it's kind of a muddle.
    What are you trying to accomplish?

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Signing webutil jar files

    We are making a install package for our developers here for 10.1.2 forms. We would like to add the final signing of the jar files to the script so after the install is done the developers dont have to do anything to get going. Can we just sign the frmwebutil.jar and jacob.jar once and make them part of the install package for everyone or do those jar files have to be signed on each individual pc? The key is set in sign_webutil.bat and everybody is using the same default key anyway when they do a manual install.

    What Im doing is making and an enterprise wide install package for Developer Suite which allows the Developers to click a button and oracle Forms Developer suite will get installed on their pc with the latest patch 10.1.2.2. Someone asked me if we could incorporate the final step of signing the jar files iin the install package so the developers dont have to do that after the install is done. So, I can either write the script so that the two jar files are signed on each pc after the install done or I can just sign them now on my pc, put them in the install package and deploy them to each developer already signed. It would be simpler to just sign them once and give them to each develolper. Will that work or do the jar files have to be signed on each pc after they are deployed. Like I said, when the developers do a manual install of developer suite everybody uses the default key in the sign_webutil.bat file anyway.

  • Adobe Premiere Elements 7.0 hangs while exporting and during peak file generation.

    I have Adobe Premiere Elements 7.0 (PRE7). I have a project which is using a single clip from a Mini-DV that was captured with Nero 8. Nero 8 was used because it was captured prior to installing PRE7. The file is 12GB and is on a USB disk drive because I don't have the space on my main hard drive (I have about 11GB free). My project doesn't do too much that's fancy. It merely uses about 20 minutes of the 60 minute Mini-DV captured AVI, and it uses simple transitions between each scene. I also have very simple titles at start and end. No themes or anything else.
    I've seen two problems. 1) While editing the project, seemingly (but I'm not positive it's related) while the peek file was being generated, PRE7 would get into a state of using about 40% to 50% CPU, and it would not let me do anything else. The other problem, 2) While using "Share" to export the video to WMA for playback on PC (about 180MB estimated file size according to Adobe), the file is exported to about the last remaining 5 seconds, but then PRE7 goes into that mode of hanging with 40% to 50% CPU usage.
    One time when it had this 50% CPU issue, I let it sit overnight, and the export was finished in the morning. The export that time was to a 90MB FLV for posting to the "web" according to the Share wizard. But when I was doing the above (issue #2), it went into the 50% CPU usage but didn't finish after waiting around 2 hours. Even if I were to let it sit that time, and it were to finish, it seems like something's wrong and that this is unacceptable.
    When this happens, and PRE7 goes into 50% CPU utilization, there is no pacifier or percentage bar advancing. It usually happens near 100% finished. Only one time did it complete successfully after leaving it unattended at 90% complete for an extraordinary amount of time.
    To recap:
    C:\ hard drive ---> PRE7, my project.
    E:\ USB drive ---> 12GB source AVI file and destination for export.
    I saw elsewhere on this forum that someone imported a mini-dv captured AVI into Window Movie Maker and then exported it to Mini-DV from that app. This solved that person's problem with hanging during peak file creation. I had the 50% hang issue during peak file generation but I'm not sure it was related to peak file generation. A peak file was generated in a project which, when exported with share as mentioned above, still did the hang 50% CPU issue. Regardless, I will try the import/export/movemaker thing and report back but I've been trying enough things that I wanted to take a second to ask for assistance.
    Does anyone have this issue, and is there a patch or fix?
    I might be able to provide a user mode dump of the 50% CPU adobe process. There is some call stack information and I'm wondering if developers would want this info if they don't already have a solution/fix to this bug.
    Thanks for any help.

    I have some more info on the hang which I've been experiencing during export/share of a project which uses an AVI as its one main clip. Adobe Premiere Elements 7 (PRE7) appears to be hanging because it's looping endlessly in ImporterAVI.prm. I'm wondering if this info can be passed onto Adobe developers and/or if I can submit this information elsewhere for such processing. I also have a process dump file which might be helpful, not to mention the original project files.
    I used Process Monitor to help analyze this situation, and prior to PRE7 getting into the endless loop, it appears to be reading from the AVI file little by little, and WMEncodingHelper.exe is writing out little by little to the destination file, both of which I would expect. When PRE7 gets to the end of the import/export, Process Monitor appears to show all the aforementioned disk activity ceasing. I see neither process reading or writing. This would be normal if the share/export procedure had completed. But PRE7 is not complete. It is hung and is operating at 50% CPU utilization.
    Far below in this post are technical details which may be helpful to an Adobe developer determine why the importer could get into this endless loop. In those details, there is a jump instruction, "jb ImporterAVI!xImportEntry+0xf32", which will always jump if a particular compare always turns out a certain way. But in my review of the counters being compared, it never will get to a point of exiting. When I modify a flag (the carry flag) to be 0, the loop exits. When I did this, my export/share of my project completed successfully. So it was done, but for some reason, PRE7 was looping and looping in its AVI importor instead of completing the export (aka "Share").
    I cannot say that this certainly indicates a bug with PRE7, but it seems to me that there's enough data for Adobe to be at least investigating this particular issue. I'm not the only person who has seen this as there was at least one other message describing the same problem which the user resolved by effectively re-creating the AVI file via a no-op import/export into and out of MovieMaker. My AVI also goes through MovieMaker, import/export, without a hitch.
    In a sense, I view PRE7's "share" as essentially an import, processing of imported information (i.e., effects and transitions), and an export. It's an import of all clips into the project at the right times, a processing of all effects, and finally an export to a destination. I realize this is simplistic, but the point I'm making is I have a simple project with a single AVI, and it appears that the "import" portion of PRE7's Share option is choking on the only clip used by this project. I also don't have much but simple transitions and a beginning/ending title on the project, so I'm not thinking this use of PRE7 is much more than what I'm doing with MovieMaker when importing/exporting this AVI.
    I fully agree that optimum hardware can be either required or critical for certain types of video editing, but PRE7 is a consumer program and I'm not using anything extensive about it and the symptoms are that PRE7 is looping on its import of a file other programs don't have a problem with. I already tried purchasing a 1TB external, which I'm glad I did, but I really think Adobe developers should look at this issue. There may be a problem with handling certain AVI clips used in a project when those clips come from certain sources. If there is an issue, perhaps it could warrant a fix that would make PRE7 more compatible with these other clips.
    Does Adobe have a procedure for people to upload (or mail) projects and files to it so that they can troubleshoot why the importer gets into this state? I also mentioned earlier that I have a full user-mode dump of the process which may be of value to a dev. Can I submit this information anywhere?
    Here are textual technical details:
    Plug-in which loops: C:\Program Files\Adobe\Adobe Premiere Elements 7.0\Plug-ins\en_US\ImporterAVI.prm
    The following are the instructions at the "bottom" of the loop which never ends. Below, I put "***" at the jump instruction I mentioned earler. If I force the carry flag to be 0 at that point, and the jump is skipped, the export completed successfully. Additionally, notice that [esp-0x1c] is 0x2000, and that both eax and edi are 0. When I see it loop, eax stays at 0 and never reaches 0x2000. I wonder if something about the AVI is causing values used by this importer to be such that it causes this endless loop, and if that's the case, and if such values are valid/good, I'm wondering if the importer can be fixed by being able to detect such values so as to not choke (if in fact it's an importer issue).
    1239dda2 50 push eax
    1239dda3 ffd1 call ecx
    1239dda5 8b442424 mov eax,dword ptr [esp+24h]
    1239dda9 015c2428 add dword ptr [esp+28h],ebx
    1239ddad 03c7 add eax,edi
    1239ddaf 83c410 add esp,10h
    1239ddb2 3b44241c cmp eax,dword ptr [esp+1Ch]
    1239ddb6 89442414 mov dword ptr [esp+14h],eax
    ; *** This is where it loops around and around.
    1239ddba 0f82f2feffff jb ImporterAVI!xImportEntry+0xf32 (1239dcb2)
    ImporterAVI!xImportEntry+0x1040:
    1239ddc0 8b542420 mov edx,dword ptr [esp+20h]
    1239ddc4 52 push edx
    1239ddc5 e810d40000 call ImporterAVI!xImportEntry+0xe45a (123ab1da)
    1239ddca 83c404 add esp,4
    ImporterAVI!xImportEntry+0x104d:
    1239ddcd 5f pop edi
    1239ddce 5e pop esi
    1239ddcf 5d pop ebp
    1239ddd0 33c0 xor eax,eax
    1239ddd2 5b pop ebx
    1239ddd3 83c428 add esp,28h
    1239ddd6 c3 ret
    ChildEBP RetAddr Args to Child
    WARNING: Stack unwind information not available. Following frames may be wrong.
    3195d9b8 12387545 10590f9c 27c53e00 06b35ff6 ImporterAVI!xImportEntry+0x103a
    3195d9ec 1239ea10 06b35ff6 00000000 27ad8a60 ImporterAVI+0x7545
    3195da1c 1238aa31 06b3554b 00000000 7fdf0000 ImporterAVI!xImportEntry+0x1c90
    00000000 00000000 00000000 00000000 00000000 ImporterAVI+0xaa31
    [esp-1Ch]: 3195d9a0 00002000
    eax=00000000 ebx=00000000 ecx=3195dbcc edx=00000000 esi=27ad8a60 edi=00000000
    eip=1239ddba esp=3195d984 ebp=3c7ba50b iopl=0 nv up ei ng nz na pe cy
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000287
    ImporterAVI!xImportEntry+0x103a:
    1239ddba 0f82f2feffff jb ImporterAVI!xImportEntry+0xf32 (1239dcb2) [br=1]

  • Adjava hangs while signing jar files in the middle of patching

    Hi,
    While applying patch 8815204 (11g/11i interoperability patch) "adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @c:\oracle\testappl\admin\TEST\out\genjars.cmd" hangs for hours.
    Even I tried with "adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @c:\oracle\testappl\admin\TEST\out\genjars.cmd" command manually on console. This also behaves the same way. (hangs for more than 2 hours. Since this does not produce detailed log, I'm not sure what's going behind the process.).
    This is a Cloned environment.
    My DB is 10.2.0.4 for x86_64 bit windows Running on MSwindows 2k3 R2 64 bit server. The application tier is on MSWin 2k3 R2 32bit server. Installed with cygwin, MSVC++ 6, gnumake 3.81, jdk1.6.0_24 mixed mode. Perl is 5.005_03
    The patches '7429271', '9535311', '3453499', '9171650', '9874305', '8977646' are applied on my environment.
    The PATH variable's value is :
    C:\MVS\Common\msdev98\BIN;C:\MVS\VC98\BIN;C:\MVS\Common\TOOLS\WINNT;C:\MVS\Common\TOOLS;c:\oracle\testappl\au\11.5.0\bin
    ;c:\oracle\testappl\fnd\11.5.0\bin;c:\oracle\testappl\ad\11.5.0\bin;c:\jdk16\jre\bin;c:\Oracle\testora\iAS_10\Apache\per
    l\5.00503\bin\MSWin32-x86\;c:\oracle\testcomn\util\unzip\unzip;c:\oracle\testora\8.0.6_10\bin;c:\jdk16\bin;c:\cygwin\bin
    ;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;c:\windows;c:\windows\system32;c:\mvs\MSDev
    98\Bin;c:\mvs\Tools\WinNT;c:\mvs\Tools\WinNT;c:\mvs\MSDev98\Bin;C:\mvs\Tools;
    The include, lib,MSDevDir Env Variables are also set to correct value.
    Relinking works perfectly. Even I tried the adjava command after relinking all the AD executables. Nothing seems working fine.
    The adjava command hangs when it tries to sign the JAR files. When using "-verbose " parameter, the adjava produces more output and it stops while signing the JAR files.
    Given below the Final page of the log file, which shows the jar signing process is hung
    Done Generating fndnetcharts.jar : Thu Apr 04 2013 18:31:58
    * About to Sign fndnetcharts.jar : Thu Apr 04 2013 18:31:58 *
    [Loaded oracle.apps.ad.latest.util.JarSignUtilsI from file:/C:/Oracle/testappl/ad/11.5.0/java/adjri.zip]
    [Loaded java.lang.InterruptedException from shared objects file]
    [Loaded oracle.apps.ad.latest.util.JarSignerOptionsI from file:/C:/Oracle/testappl/ad/11.5.0/java/adjri.zip]
    [Loaded java.lang.ProcessBuilder from shared objects file]
    [Loaded java.lang.Process from shared objects file]
    [Loaded java.lang.ProcessImpl from shared objects file]
    [Loaded java.lang.ProcessEnvironment from shared objects file]
    [Loaded java.lang.ProcessEnvironment$NameComparator from shared objects file]
    [Loaded java.lang.ProcessEnvironment$EntryComparator from shared objects file]
    [Loaded java.util.Collections$UnmodifiableMap from shared objects file]
    [Loaded java.lang.ProcessEnvironment$CheckedEntrySet from shared objects file]
    [Loaded java.lang.ProcessEnvironment$CheckedEntrySet$1 from shared objects file]
    [Loaded java.util.HashMap$HashIterator from shared objects file]
    [Loaded java.util.HashMap$EntryIterator from shared objects file]
    [Loaded java.lang.ProcessEnvironment$CheckedEntry from shared objects file]
    [Loaded java.lang.ProcessImpl$1 from shared objects file]
    Executing: c:\jdk16\jre\bin\java.exe sun.security.tools.JarSigner -keystore ******** -storepass ******** -keypass ******** -sigfile CUST -signedjar c:\oracle\testcomn\java\oracle\apps\fnd\jar\fndnetcharts.jar.sig c:\oracle\testcomn\java\oracle\apps\fnd\jar\fndnetcharts.jar.uns URC
    And I'm sure there's not much memory and cpu usage on my server. The resources are not utilized more than 40%.
    The problem in my instance is similar to the one descirbed in *Patch 9239090 R12.1.3 Upgrade Driver Hangs At Genjars.cmd [ID 1521006.1]*
    But, my instance is 11i where as the above doc tell about the same in R12. Moreover, the fix given by this doc is to replace the jarsigner.exe under JAVA_HOME/bin directory, with the one from $IAS_ORACLE_HOME/Appsutil/jdk/bin. I'm sure 11i EBS dont have jarsigner under $IAS_ORACLE_HOME/Appsutil/jdk/bin .
    Does anyone knows any fix for this problem ?
    Thank You in Advance.
    Sundar K

    Please log a SR for this issue.
    Thanks,
    Hussein

  • PE Hangs during peak file generation

    I have experienced numerous hangs when PE8 trys to generate peak files for AVI files captured with WMM and Corel Video Studio X2 Pro.
    I have seen the problem occur on various size AVI files from 1M to 9G. In all cases the audio is erratic ( soft and loud sounds usually at the end of the clip when the camera recording is terminated ) when playing it in WMP.
    I took took the problematic AVI's and then used WMM or dvdate to "Save as AVI" file and then imported back into PE8 and the peak files were then genrated without issue.
    Seems to me that this problem has existed in several PE releases. I wonder why the peak file generation routine does not either timeout after sometime or give the user the ability to cancel the operation and return control back to PE when these problematic files are encounter. It is annoying to have to kill PE from task manager when this occurs. Has anyone found a way to kill the peak file generation when this problem occurs without having to kill PE ?
    Thanks
    Mike

    Hi Bill,
    I have attached screen captures of gspot with AVI's captured with WMM and corel, look like they both import as type I avi's.
    I have not had a chance to recreate the problem I originally saw, it will probably have to wait till the weekend when I have time to re-import the footage from the camera.
    Thanks for your help.
    Mike

  • How to delete a jar file after loading image files from it

    Hi,
    How can I delete a jar file after some image files have been loaded? For example, say, I have "a.jar" which contains an image "a.gif" in the root directory of the c drive. I would like to get the image size and then delete the jar file. Here is the code snippet:
        URL url = new URL("jar:file:/C:\\a.jar!/a.gif");
        Icon icon = new ImageIcon(url);
        System.out.println("icon size ? " + icon.getIconHeight());
        File file = new File("c:\\a.jar");
        while(file.exists())
            file.delete();
            try
                Thread.sleep(100);
            catch (InterruptedException ignored)
        System.out.println("file deleted.");I get the image size correctly but just can not delete the jar file. Apparently the file handle is not released, but how to close it? Any hint will be appreciated.
    Justin Jan

    I am sure the URLConnection.defaultUseCaches is set before it is connected otherwise I should catch an IllegalStateException on conn.setUseCaches(false).
            try
                URL url = new URL("jar:file:/C:\\a.jar!/a.gif");           
             URLConnection conn = url.openConnection();
               conn.setDefaultUseCaches(false);
             conn.setUseCaches(false);
                Icon icon = new ImageIcon(url);
                System.out.println("icon size ? " + icon.getIconHeight());
                url.openConnection().getInputStream().close();
                System.gc();
             System.runFinalization();
                File file = new File("c:\\a.jar");
                while (file.exists())
                    file.delete();
                    try
                        Thread.sleep(10);
                    catch (InterruptedException ignored)
                System.out.println("file deleted.");
            catch (Throwable t)
                t.printStackTrace();

  • Jar file is not working after deleting all packages from the same directory

    hello
    i have created a jar file named as server.jar in the same directory in which i have all the packages(for which i have created this jar file).This jar file was working correctly when i had all the packages in the same directory.But after deleting all the packages from the same working directory, this jar file is neither working nor giving any error message..
    Please tell me what may be the reason???
    thanks in advanced

    hello
    i have created a jar file named as server.jar in the same directory in which i have all the packages(for which i have created this jar file).This jar file was working correctly when i had all the packages in the same directory.But after deleting all the packages from the same working directory, this jar file is neither working nor giving any error message..
    Please tell me what may be the reason???
    thanks in advanced

  • "Java-Bean: True" missing after being packed in jar file

    Hi All
    X86, Windows XP Professional, J2SDK 1.4.2
    I complied a section of code ", which is from << Thinking In Java>>(3rd).
    Created a manifest file "BangBean.tmp"
    <<
    Name: bangbean/BangBean.class
    Java-Bean: True
    >>
    And then packed class files into "BangBean.jar" with command
    "jar cfm BangBean.jar Bang BangBean.tmp bangbean".
    It's puzzling that "Java-Bean: Ture" was missing in the "BangBean.jar/META-INF/MENIFEST.MF" .
    <<
    Manifest-Version: 1.0
    Created-By: 1.4.2 (Sun Microsystems Inc.)
    Name: bangbean/BangBean.class
    >>
    What's more, after altering the"BangBean.tmp" into this
    <<
    Java-Bean: True
    Name: bangbean/BangBean.class
    >>
    and had a another try.
    I got a jar file with such MENIFEST.MF.
    <<
    Manifest-Version: 1.0
    Created-By: 1.4.2 (Sun Microsystems Inc.)
    Java-Bean: True
    Name: bangbean/BangBean.class
    >>
    This jar file worked well in BDK's beanbox.
    I've test it with JSDK 1.5.0, the same thing happened.
    And I didn't encounter such problem in other bean programs.
    I've searched " 'Java-Bean: True' missing " with google, but didn't get proper answers.
    Is there anybody who can give a prompt about why this happend?
    Thanks a lot for your help!
    code
    //: bangbean:BangBean.java
    // A graphical Bean.
    package bangbean;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import com.bruceeckel.swing.*;
    public class
    BangBean extends JPanel implements Serializable {
    private int xm, ym;
    private int cSize = 20; // Circle size
    private String text = "Bang!";
    private int fontSize = 48;
    private Color tColor = Color.RED;
    private ActionListener actionListener;
    public BangBean() {
    addMouseListener(new ML());
    addMouseMotionListener(new MML());
    public int getCircleSize() { return cSize; }
    public void setCircleSize(int newSize) {
    cSize = newSize;
    public String getBangText() { return text; }
    public void setBangText(String newText) {
    text = newText;
    public int getFontSize() { return fontSize; }
    public void setFontSize(int newSize) {
    fontSize = newSize;
    public Color getTextColor() { return tColor; }
    public void setTextColor(Color newColor) {
    tColor = newColor;
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    g.setColor(Color.BLACK);
    g.drawOval(xm - cSize/2, ym - cSize/2, cSize, cSize);
    // This is a unicast listener, which is
    // the simplest form of listener management:
    public void addActionListener(ActionListener l)
    throws TooManyListenersException {
    if(actionListener != null)
    throw new TooManyListenersException();
    actionListener = l;
    public void removeActionListener(ActionListener l) {
    actionListener = null;
    class ML extends MouseAdapter {
    public void mousePressed(MouseEvent e) {
    Graphics g = getGraphics();
    g.setColor(tColor);
    g.setFont(
    new Font("TimesRoman", Font.BOLD, fontSize));
    int width = g.getFontMetrics().stringWidth(text);
    g.drawString(text, (getSize().width - width) /2,
    getSize().height/2);
    g.dispose();
    // Call the listener's method:
    if(actionListener != null)
    actionListener.actionPerformed(
    new ActionEvent(BangBean.this,
    ActionEvent.ACTION_PERFORMED, null));
    class MML extends MouseMotionAdapter {
    public void mouseMoved(MouseEvent e) {
    xm = e.getX();
    ym = e.getY();
    repaint();
    public Dimension getPreferredSize() {
    return new Dimension(200, 200);
    } ///:~
    ************************************************

    Since you didn't use code-formatting tags ([ code ] and [ /code ] without the spaces) it's kinda hard to look at it. But I'm sure it DID execute much more than just the return statement - maybe you're not closing a file or db connection, or maybe you're seeing a cached page, so it actually isn't executing ANYTHING on the server (is your browser set to never check for newer pages so it (almost) always returns from cache, for example?)

  • Is it Possible to Change the Jar File Names After Downloading at Client

    Hi. All
    Here I am tring to Rename Jar file Names once after JWS Downloads at Client Place. But I don't know how to do this. I Searched in so many Blogs and Forums, but i failed to get Solution for this. As when JWS downloads Jars from server, its changes file names (prefixes with "RM" and "RT"). So same way i want to change once after it downloads files. Can any body tels how to dot this. Really ... Help is appriciated
    Thnx a lot for reading the above
    Sreedhar P

    Note from other posts:
    The content and format of the cache will and do change from version to version of javaws. It is highly unadvisable to build into you application relying on the location or format.
    That being said, for 1.4.2 or 1.5.0, the location was as given: "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\javaws", and in long path below that depending on the URL of the resource.
    For version 6, the cache is in : "C:\Documents and Settings\<UserID>\Application Data\Sun\Java\Deployment\cache\6.0" and then in a directory below that named "0" thry "63", depending on the hash of the URL of the resource. The name will be completely obscure, there will be one binary index file with "idx" extension, and then the actual resource will be the file of the same name w/o any extension.
    /Andy

  • How to set the classpath for external .jar files after importing?

    Hi techs,
    How to set the classpath in WSAD5.1.2 after importing the .jar file to the WEB-INF/lib folder.
    urgent

    I got it.
    after importing the jar file to the perspective,we need to right click on project name, go to proprties,
    goto java build path,
    there we need to include the external jar files.

Maybe you are looking for

  • Scanned PDF Images show up black in ScreenSaver Mode

    In the past I've scanned random images, converting them to PDF files and adding them to a folder of photos to be used as a screensaver on my Mac, but the latest batch (on a new iMac, operating Mac OS X, v. 10.5.4 w/a 2.66 GHz Intel Core 2 Duo process

  • Acrobat not displaying correctly in Win7 1920x1080 screen

    Been puzzling over why Acrobat 9.4.1 doesn't display correctly on my new Dell laptop (D6550), i7 cpu, 1920x1080 display, WIN7 64 bit.  Strange part is that it appears that the window overflows the top and right side of the screen a little, and that t

  • Active failed.  Communication error when performing integrations.

    I actived an activity but the request failed. In the request log,the last rows indicated the reason,but I can't understand and don't know how to solve it. Below show the last rows of the log: Change request state from SUCCEEDED to FAILED     Error! T

  • FlashPlayer problem

    Please help.  I cannot get the latest version of flash player to work. I am using IE8 -- windows 7 -- it is 64bit. I have uninstalled flash player and reinstalled it.  I can see it under the control panel -- under programs, but it still won't work. 

  • Daily invoicing batch-job

    A daily invoicing batch-job is needed which collects all the orders or deliveries due to bill. This job must include third party business (vendors invoice is the delivery confirmation). Printout of the invoices is also started by this job.