No beans in the droplist in packager

No matter what I try, using the Packager to create an OLE object, when I pick the jar file that I want to create the object from, I can never get my bean to display on the second screen, it's just blank.
Help!!

I just started playing around with the Bridge yesturday but I ran into the same problem. Double check your Meta-inf\Manifest.mf file to see if it has the line:
Java-Bean: True
in it. For some reason, "jar -cfm Beans.jar my_manifest bean.class" would not add my_manifest to the jar but would instead add a generated Manifest.mf file that did not have the line "Java-Bean: True" in it (which I had put in the my_manifest file). I ended up editing the manifest manually through winzip. I also learned that the packager doesn't care if the manifest.mf file is in the Meta-inf directory, it will read it if it is in the root of the jar as well.
I modified the meta-inf\manifest.mf file but I still don't get anything.
My steps were:
-Modifiying the manifest file:
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems Inc.)
Name: RetrieveData.class
Java-Bean: True
-Then made the jar file by typing :
jar -cvfm RetrieveData.jar retrievedata_manifest RetrieveData.class
-Then I run the packager from the program files\javasoft\jre\1.3.1 directory by typing
java.exe -cp lib\rt.jar;lib\swingall.jar;lib\jaws.jar sun.beans.ole.Packager
What am I doing wrong?

Similar Messages

  • The good old packages and beans problem

    I have a JSP which uses a JavaBean whos class file is in the same directory as the JSP. Assuming the bean is called HelloBean, what should I do?
    lets say this is HelloBean.java
    package xxx; //what should xxx be?
    public class HelloBean implements java.io.Serializeable  {
    public String sayIt () {
    return "hello";
    }and for the jsp,
    <jsp:useBean id="hello" scope="session" class= />
    what should the class be to fit in with the above code?

    first, you should not put the bean in the same directory as the JSP.
    I use two source trees.
    /src/...
    /web/...
    The src contains java sources and is compiled to /WEB-INF/classes, the second contains anything associated with HTML and JSP (images, etc) and is COPIED to the root of the webapp directory structure. I do this using ANT. Furthermore I have a etc (for web.xml) and a lib (for jars). ANT makes sure every goes where it needs to go.
    Usually I use the rule that JSPs associated with a servlet or bean are in the same path, so:
    /src/com/sun/myapp/Thing.java
    and
    /web/com/sun/myapp/Thing1.jsp
    This works fine for me.

  • Class used as Bean must is declared in package ?

    I see the sysntas <jsp:useBean id="BeanName class=package.class>
    It mean that my class must belong to a package ?
    Do I have to declare package at the first line of file Counter :
    package myPackage;
    public class public class Counter {----}
    when i remove the first line ( package ), my jsp page cannot be compile.

    Yes, beans need to be in a package.

  • What is the diffrence between package javax.sql and java.sql

    Is javax designed for J2EE?
    And when to use package javax?

    Hi,
    What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
    1.The java.sql package and
    2.The javax.sql package.
    java.sql provides features mostly related to client
    side database functionalities where as the javax.sql
    package, which adds server-side capabilities.
    You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
    For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support/

  • Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Identify the last data package in start routine

    Hi Everyone
    We have a start routine in transformations. We require to do some special processing in the start routine only when the last data package is executing. How can we determine in the start routine that current package is last one or not ? Any pointers in this direction are appreciated.

    Hi,
    You can get packet Id from datapackid in start routine and end routine. But I'm not so sure how to identify the last packet ID, alternatively you can store this packet id in some where else and read the same value in End routine if your logic(processing) permits to do this in End routine instead of Start routine.
    METHODS
          start_routine
            IMPORTING
              request                  type rsrequest
              datapackid               type rsdatapid
            EXPORTING
              monitor                  type rstr_ty_t_monitors
            CHANGING
              SOURCE_PACKAGE              type tyt_SC_1
            RAISING
              cx_rsrout_abort.
    hope it helps...
    regards.
    Raju

  • How to print Photo Info in the Custom Print Package

    I am  using LR CC, latest version on a Windows7 PC.
    I am trying to print Photo Info in the Custom Print package. I have no trouble selecting Photo Info in the Single Image/Contact Sheet Layout Style, but when I switch to the Custom Print Package, the Photo Info check box in the Page panel, disappears. I can't find any reference to this in the manual as to why this would occur, or not be available.
    Appreciate any help with this matter.
    Best Regards
    Steve

    Hi,
    Have a look at: Lightroom Help | Print module layouts and templates
    Only on the Single Image and Contact Sheet layouts can you " ... print information about photos, such as the filename, title, caption, and keywords ..."

  • Weblogic 10.3.0 : Loosing a stateless session bean in the bean pool

    Hi,
    We have a strange situation where we loose a Stateless SessionBean in a Bean Pool in Weblogic 10.3.0 Since we only have one bean in the pool, this effectively hangs all incoming calls. We do not want more than one instance in the pool because of application restrictions.
    In the Weblogic admin console, we can see that there are 1 instance in the bean pool, 0 beans in use and 1 waiting incoming request.
    The question is, what can have caused the system to not send the request to the one obviously free bean instance?
    This happens after several hours and over 100000 incoming requests, and the same scenario worked fine in the old weblogic 8 environment.
    We get the following stacktrace:
    <code>
    "[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@b0d484 TIMED_WAITING
    sun.misc.Unsafe.park(Native Method)
    java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2054)
    weblogic.ejb.container.pool. StatelessSessionPool.waitForBean (StatelessSessionPool.java:269)
    weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:111)
    weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:148)
    weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:227)
    weblogic.ejb.container.internal.StatelessRemoteObject.preInvoke(StatelessRemoteObject.java:52)
    com.mycompany.beans.MessageLogFacace_n73y0z_EOImpl.isMyStuffValid(MessageLogFacace_n73y0z_EOImpl.java:261)
    com.mycompany.beans.MessageLogFacace_n73y0z_EOImpl_WLSkel.invoke(Unknown Source)
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    weblogic.security.service.SecurityManager.runAs(Unknown Source)
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    </code>
    Any help would be very welcome.
    Regards
    Christer

    This is fixed now. Someone had defined a Servlet for the web service in web.xml that was preventing the EJB container to kick in.
    Edited by: user572625 on Aug 25, 2011 11:54 PM

  • ITunes won't upgrade to10.5. Error message "There is a problem with the Windows installer package. Contact the package vendor". I need help.

    iTunes won't upgrade to10.5. I'm on 10.1.17.
    When installing 10.5 it terminates with an error message "There is a problem with the Windows  installer package. Contact the package vendor".
    It does not provide an error code or details/description to further troubleshoot. As a result I can't upgrade my Apple devices to leverage the cloud.
    Any smarts out there who could help?
    Using PC Win-7 w/IE 7 (should that matter)
    Thanks much

    I know there's a million threads like this, but I thought I'd record my experience.  I, too, was having the original poster's error when I tried to update iTunes on Windows XP.  I think I was stuck on 10. 
    I solved it by un-installing iTunes and every other Apple app.  I discovered that Apple Software Update would not un-install as its MSI file could not be found.  I used the "Windows Install Cleanup" tool from Microsoft to remove Apple Software Update from the list of installed programs.  Google "kb290301" for a Microsoft page that includes a download link for it.  After that, I was able to install a fresh copy of iTunes 10.5.2.
    I'm not sure why this app's folder and MSI were missing from my computer.  I had once used Laplink PC Mover to move everything from my old computer to this one, and perhaps it missed a bit.

  • Trying to down load but get error message.... "there is a problem with the Windows Installer Package" Does anyone know how I fix this??

    "there is a problem with the Windows Installer Package" Does anyone know how I fix this??
    My itunes ends up being so out of date becuase I can never upgrade it.
    I have a sports kit and want to make sure I am using the most uptodate version
    I managed to delete the old version, just in case it was the fact it was about 10 versions out of date that was the problem but now I can't reinstall it at all......
    Please help

    Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.

  • Windows 64Bit Itunes Error : "THERE IS A PROBLEM WITH THE WINDOWS INSTALLER PACKAGE. A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR."

    I have a brand new HP laptop windows 64bit that is having issues installing Itunes 10.6.3. Whenever attempting to install, I get the error message : "THERE IS A PROBLEM WITH THE WINDOWS INSTALLER PACKAGE. A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN CONTACT YOUR SUPPORT PERSONNEL OR PACKAGE VENDOR." I thought this was an issue with the new version, and attempted to retrieve/install older versions of Itunes and same issue occurs. I have tried other forums and resolution tips from : https://discussions.apple.com/docs/DOC-3551 and nothing still. It appears that apple installs bonjour and nothing else. I have tried extracting the itunes package and installing the executables seperately, but everytime the error stil arises. I cannot repair the apple software update as it cannot install from the error mentioned above. Looking through the logs, it shows error : 1721, problem with windows installer package.Does anyone have any suggestions on what to try?

    There are so many different error and problems peopl are having.
    This is a link to mine
    https://discussions.apple.com/thread/3467825
    I think it has to be something on Apples end.
    Hopefully they fix it soon. Ive used a few GB redownloading and Im going crazy
    hope this settles you a bit

  • I keep geting this message when trying to udate to Itunes 10.5.1 "There is a problem with the Windows Installer package. A program run as part odf the setup did not finish as expected . Contact your support prersonel or package vender"

    I keep getting this message when trying to upgrade to Itunes 10.5.1
    Driving me nuts trying to upgrade. What can I do to correct this?
    "There is a problem with the Windows Installer package.
    A program run as part odf the setup did not finish as expected .
    Contact your support prersonel or package vender"

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • HT1926 can't install quicktime or itunes on windows 7 get the error message There is a problem with the windows installer package. A program required for this install to complete could not be run

    please help. Can't install quictime player or itunes on windows 7. Get the error message There is a problem with the windows installer package. A program required for this install to complete could not be run. Have followed all the steps suggested and still no luck.

    thank you for trying to help. I do not have apple software update on my computer. I have tried to install several programs so i could install it but every installation will not finish and rolls back and says no changes were made to my computer so i can't install the update. I even tried to force install as administrator but nothing works. Any help would be greatly appreciated. I have windows 7 64 bit.

  • Not able to access the mx.controls package

    hi,
    i found a weird issue. I'm developing my application
    entirely using actionscript 3 by creating "actionscript Project' in
    the flex builder. I need to use the ColorPicker component which is
    under mx.controls package, but to my disappointment i'm not able to
    access that mx.controls package and when i forcefully use it the
    compiler throws me an error, but when i create a new flex project
    and create an asctionscript file, i'm able to access that
    mx.controls package and also the ColorPicker class. Can anyone tell
    me what the problem is?
    Thanks,
    Shajahan

    I am having the same issue. I'm using Flex 3 and I cannot
    access the mx.controls package in any actionscript project.

  • Can the iPhoto Library package file be recreated?

    I recently moved my iPhoto library to a new LaCie solid state external hard drive, because it had reached 130GB in size and was taking up too much space on my hard drive. My iPhoto library has 30,000 photos with lots of events, smart albums and metadata (faces, keywords, etc.). Unfortunately the external hard drive failed and I had to pay for data recovery services. When I got the external hard drive back, the Masters folders were all there with my photos, but the iPhoto Library package file seems to be missing. Is there anyway to recreate the iPhoto Library package to include all the files AND the associated metadata?
    I found instructions on how to start from scratch by importing the Masters...but this method does not retain metadata. Any ideas would be really appreciated. Worst case scenario, I can go back to a Time Machine back-up from June 2014 and use that as a starting point, but I'd much rather not have to take that route.

    but the iPhoto Library package file seems to be missing.
    You cannot recreate the iphoto library package from your Masters folder. It is an intricate web of linked files.  Use your most recent backup as a starting point, and then add the newer files from your recovered Masters folder.

Maybe you are looking for