A few problems using beans.....

Where to start...
Well, I have got a servlet that creates a new instance of a bean ('generalBean'), then the 'generalBean' runs a query within the DB it connects to. Then 'while(resultSet.next)' it creates an instance of another bean called 'detailedBean' and sets all the variables it has ('v1', 'v2', 'v3').
Now I want the 'generalBean' to return control back to the origional servlet. I know I need a 'return()' command in, but im not really sure what I am supposed to be returning. And it gives an error when I just type 'return()'
End of problem 1
Now once that is done, I need to be able to have the origional servlet (that control has just been passed back to) to check if the 'generalBean' has found any results (and therefore created some instances of 'detailedBean').
If it has, then go to a jsp page, where (somehow) the jsp page will 'include' something, that will walk through each 'detailedBean' and retrieve all the results.
End.
I have been struggling with this for hours now and haven't got a clue where to go on this one. Im not an expert at this yet, so please exlain anything in as much detail as possible.
Thanx
CKS

I may be wrong but I think you cannot have a return statement in your beans. Methods will be void.
Secondly, how are you creating an instance of your bean class ? Did you check how to intantiate a bean class in a JSP page?
I have done it the other way, not like yours in my application.
like :
<jsp:useBean class = "formjavabean.application" id = "applicationId" scope = "session" />and then you can call the bean method like this :
<% String userEmail = applicationId.getUserEmail()  ; %>I hope this might help,
good luck

Similar Messages

  • Few problems using iTunes

    Hi
    Im doing the first steps with iTunes and got a few questions.
    I have a lot of MP3s on my NAS which are stored in the following structure of folders.
    //shared/MP3-Files/<artist>/<album>/<title>
    Inside the artist-folder I got a m3u-playlist which has relative links to the titles e.g.
    .\<album>\title1.mp3
    .\<album>\title2.mp3
    .\<album>\title3.mp3 (a.s.o)
    And now my problems. I created a new intelligent playlist in iTunes, added all the m3u's I got for one artist and iTunes is adding all the entries it gets. (fine, with all metadata it gets. Very nice) But if I want to play a single entry iTunes says it can't find the title and if I want to search for it.
    Why can't find iTunes my titles? If I search for a single item it gets a path and could be played, but why isn't iTunes not able to convert the path directly at the first time?
    Now I tried to do it the other way and wanted to add not the m3u but the mp3-files. I deleted the intelligent playlist, but every time I create a new playlist in iTunes with the same name as the deleted I have all the old entries inside the playlist. If I try to delete the entries it is not possible. (No action on pressing DEL or Backspace, no menus available)
    So, what am I doing wrong?
    Thanx for your help

    m3u files are NOT iTunes compatible...drag your actual Mp3 files from the folders directly into iTunes library, then click and play them to make sure they work before you start moving them to playlists...see if they work, first...

  • Does anyone have problems using Dragon NaturallySpeaking with Firefox

    I have just started using Dragon NaturallySpeaking version 13 premium and I am encountering a few problems using it with Firefox. Completing text fields to login to various websites seems to be a major problem. With the cursor in the actual text field Dragon seems to not recognise the username or password that I dictate. I have made sure that the Dragon add-on within Firefox is activated and most of the other commands within the browser seem to work perfectly well.
    Any help would be greatly appreciated.

    This is most likely more of a Dragon problem than Firefox. I would suggest also opening a ticket on their end to. Most likely it just is not familiar with new versions of Firefox and has yet to be updated.

  • Problems using WatchService

    Hello everyone,
    I've got a few problems using WatchService.class:
    public void watch() throws IOException, InterruptedException{
         WatchService watchService = FileSystems.getDefault().newWatchService();
         Paths.get(desktopDirPath).register(watchService,
                   StandardWatchEventKinds.ENTRY_CREATE,
                   StandardWatchEventKinds.ENTRY_DELETE,
                   StandardWatchEventKinds.ENTRY_MODIFY);
         while(true){
              WatchKey key = watchService.take();
              for(WatchEvent<?> event : key.pollEvents()){
                   WatchEvent.Kind<?> kind = event.kind();
                   switch(kind.name()){
                        case KIND_ENTRY_CREATE:
                             // ... do something
                             break;
                             // ... more cases ...
                        default:
                             break;
              key.reset();
    So, there is my code snippet. First things first:
    1.) Is a new thread started automatically when calling watchService's call method? I've been wondering because the method throws an InterruptedException.
    2.) I've got problems dealing with the watch events. For example let's imagine we want to move or delete one or more files when created in a specified directory. It seems to work for one file or even a few more. But it fails to handle new files which are created rapidly for example by a service in the watched directory. It seems that the occurring events aren't recognized fast enough, but that's just my theory. I've tried logging the paths to the files in a hashtable and deleting them asynchronous in another thread but it seems that I'll have to deal with concurrency then, won't I?
    Best regards!
    Edited by: 958296 on 11.09.2012 01:28

    958296 wrote:
    Hello everyone,
    I've got a few problems using WatchService.class:
    public void watch() throws IOException, InterruptedException{
         WatchService watchService = FileSystems.getDefault().newWatchService();
         Paths.get(desktopDirPath).register(watchService,
                   StandardWatchEventKinds.ENTRY_CREATE,
                   StandardWatchEventKinds.ENTRY_DELETE,
                   StandardWatchEventKinds.ENTRY_MODIFY);
         while(true){
              WatchKey key = watchService.take();
              for(WatchEvent<?> event : key.pollEvents()){
                   WatchEvent.Kind<?> kind = event.kind();
                   switch(kind.name()){
                        case KIND_ENTRY_CREATE:
                             // ... do something
                             break;
                             // ... more cases ...
                        default:
                             break;
              key.reset();
    So, there is my code snippet. First things first:
    1.) Is a new thread started automatically when calling watchService's call method? I've been wondering because the method throws an InterruptedException.Without actually checking the implementation, my understanding is that you have a thread created for he WatchService.
    2.) I've got problems dealing with the watch events. For example let's imagine we want to move or delete one or more files when created in a specified directory. It seems to work for one file or even a few more. But it fails to handle new files which are created rapidly for example by a service in the watched directory. It seems that the occurring events aren't recognized fast enough, but that's just my theory. I've tried logging the paths to the files in a hashtable and deleting them asynchronous in another thread but it seems that I'll have to deal with concurrency then, won't I?Yes. As stated in the WatchService Doc, actual functionality of the WatchService is highly platfom implementation specific, and the problem you list is one listed. Any time you have a file that may be visible by others, you have to deal with a potential concurrency issue.

  • Problem in exchange data using Bean

    Hi all,
    I have a problem when creating a portal application.
    I've done through the steps described in this link:
    http://www.ajvic.es/irj/portalapps/com.sap.portal.pdk.htmlb.htmlbmanuals/docs/dynpage-01.html
    In this example, I use bean to exchange data.
    In the function <b>doInitialization()</b> in JSPDynpage.java:
    public void doInitialization()
      // create the bean and set a default text value "unknown user
       IPortalComponentRequest request  = (IPortalComponentRequest) this.getRequest();     
       IPortalComponentContext myContext = request.getComponentContext();          
       IPortalComponentProfile myProfile = myContext.getProfile();
       // new bean object  
       UserNameContainer = new DynPageNameBean();
       // set default name
       UserNameContainer.setName("unknown user");
        // store bean in profile for the JSP
        myProfile.putValue("UserNameBean", UserNameContainer);
        // Now we set the state so that we can decide what action to do next
        state = INITIAL_STATE;     
    The code: <b>myProfile.putValue("UserNameBean", UserNameContainer);</b> give a warning: "The methode getValue(String) from the type IPortalComponentProfile is deprecated" and I see that the value of UserNameContainer is <b>not</b> assigned to "UserNameBean".
    If I use this code:
           UserNameContainer = (MyBeanClass) myContext.getValue("MyB");
         UserNameContainer.setName(name);
    The result is the same.
    Do you know how to solve this problem ?
    Thank you in advance & kindly regards.
    Tweety

    Hi
    Here is what you should do.
    First The Bean
    public class UserBean implements Serializable {
    private String name;
    public String getName() {
         return name;
    public void setName(String string) {
         name = string;
    Next the Dynpage DoInitialization Method .
         IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   UserBean myBean = (UserBean) request.getComponentSession().getValue("myBean");
                   if (myBean == null) {
                        myBean = new UserBean();
                   myBean.setName("Unknown User");
    request.getComponentSession().putValue("myBean",myBean);
    this.state = INITIAL_STATE;
    Next the JSP
    <%@ taglib      uri="tagLib" prefix="hbj" %>
    <jsp:useBean
         id="myBean"
         scope="session"
         class="UserBean"
         />
    <html>
         <hbj:content
              id="myContext">
              <hbj:page
                   title="PageTitle">
                   <hbj:form
                        id="myFormId">
                                                                                              <hbj:textView
                             id="s1" >
                             <%
    s1.setText(myBean.getName());
                             %>
                        </hbj:textView>                    
                   </hbj:form>
              </hbj:page>
         </hbj:content>
    </html>
    Regards
    Rajendra

  • Problem with JSP using bean packaged in jar file

    Hi,
              I am trying to use a java bean in a jsp file. The java bean is packaged
              into a jar file. I am getting class not found compilation error. If the
              bean remains to be a seperated class file, everything work well.
              Does anyone know how I can use bean in a jar file within jsp , i.e. to
              allow the bean to be found during compilation ?
              Thanks,
              Terence.
              [email protected]
              

    Jacek,
              Thanks for replying.
              My JSP's are just files in my document root . However, I found a solution to
              my
              problem. That is to have the jar file defined in my weblogic.class.path. I may
              have missed some files in my original jar file which causes my problem.
              Mayby I should package everything into a web application for deployment. That
              will be my next step.
              Thanks anyway.
              Terence.
              Jacek Laskowski wrote:
              > Terence Lai wrote:
              > >
              > > Hi,
              > >
              > > I am trying to use a java bean in a jsp file. The java bean is packaged
              > > into a jar file. I am getting class not found compilation error. If the
              > > bean remains to be a seperated class file, everything work well.
              >
              > How do you use the JSP file ? Is it a part of web application ? If so,
              > the bean jar package should be located in WEB-INF/lib directory. It's
              > also recommended to put the bean class into a package, so it's not in
              > 'unnamed' package, and <jsp:useBean> can find it.
              >
              > >
              > > Does anyone know how I can use bean in a jar file within jsp , i.e. to
              > > allow the bean to be found during compilation ?
              >
              > see above.
              >
              > > Terence.
              >
              > Jacek Laskowski
              > HP Consulting
              

  • Process Integrator Problem (use of session bean variable between tasks)

    Hello,
    I'm having a problem using the Process Integrator. I made a
    really simple workflow (Start, Task1, Task2, Done) which uses
    the bean given whith the order processing example. Task1 creates
    the bean and executes a business operation (check inventory).
    Task2 executes another business operation (calculate total
    price). The problem is when I try to execute this second b.o I
    get an exception saying
    Nested exception is: Workflow error:
    com.bea.wlpi.common.WorkflowException: Empty instance object for
    business operation "Calculate Total Price" in
    template "Template3".
    Someone could help me and tell me what I am doing wrong.
    Thanks in advance,
    Albert

    If I understand you correctly, you have 3 business operations, one is "Create a EJB",
    one is call "Check Inventory", the other is "Caculate Total Price". I assume you
    save the EJB handle to a workflow variable with a type Bean. My speculation is when
    you define business operation for "Calculate Total Price", you did not associate
    it with the workflow variable that you saved the EJB handle. Just a wild guess.
    Jim Zhou.
    "Albert Lanchas" <[email protected]> wrote:
    >
    Hello,
    I'm having a problem using the Process Integrator. I made a
    really simple workflow (Start, Task1, Task2, Done) which uses
    the bean given whith the order processing example. Task1 creates
    the bean and executes a business operation (check inventory).
    Task2 executes another business operation (calculate total
    price). The problem is when I try to execute this second b.o I
    get an exception saying
    Nested exception is: Workflow error:
    com.bea.wlpi.common.WorkflowException: Empty instance object for
    business operation "Calculate Total Price" in
    template "Template3".
    Someone could help me and tell me what I am doing wrong.
    Thanks in advance,
    Albert

  • SOS problem using one Entity bean for editing records. please help me

    Hello
    I have one great problem using one entity bean 2.1 and i am working with this problem several days and i dont solve it.
    i am using this jb 2.1 for add new records to one oracle database and for editing records.
    I have one great problem for editing records
    I have one objets that is as one of my database table. (PersonaObj.java)
         //personaObj.java
         public class PersonaObj implements Serializable{
              private Integer id_persona; //this ishte database table autonumeric
              private java.lang.String nombre;
              now the set/get methods.
         One field of this objets (bean) is the primary key of the table, and this field is one part of the pk from the entity bean.
         From one session bean i call the entity bena passing the objet
         into the entity bean (interface) i have one methods:
              public getPersona getT56aaat04();
         public void setPersona(PersonaObj obj);
         into the entitybean bean i have:
         public PersonaEntityPK ejbCreate(PersonaObj obj) throws CreateException {
              this.setT56aaat04(obj);
              public abstract Integer getId_persona();
         public abstract void setId_persona(Integer Id_persona);
         public abstract java.lang.String getNombre();
         public abstract void setNombre(java.lang.String Nombre);
         public PersonaObj getPersona() {
              PersonaObj obj = new PersonaObj();
              obj.setId_persona(getId_persona());
              obj.setNombre(getNombre());
              return obj;
         public void setPersona(PersonaObj obj) {
              setId_persona(obj.getId_persona());
              setNombre(obj.getNombre());
    But i have one graet problem.
    adding new record to the database i runs well but if i want to edit one recor appears this error:
    => Error <=
    java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException:[EJB:010144]The setXXX method for a primary key field may only be called during ejbCreate.
    at PersonasEJB_a43o8n__WebLogic_CMP_RDBMS.setId_persona(PersonasEntityEJB_a43o8n__WebLogic_CMP_RDBMS.java:328)
    at PersonasEntityBean.setPersona(PersonasEntityBean.java:114)
    at PersonasEntityEJB_a43o8n_ELOImpl.setPersona(PersonasEntityEJB_a43o8n_ELOImpl.java:45)
    at PersonasSessionBean.editarPersona(PersonasSessionBean.java:849)
    at PersonasSessionBean_bszo9t_EOImpl.editarPersona(PersonasSessionBean_bszo9t_EOImpl.java:208)
    at PersonasSessionBean_bszo9t_EOImpl_WLSkel.invoke(Unknown Source)
    into the session bean i make this (the session recibes one PersonaObj obj):
    T56aContactosEntityLocal personaLocal ;
                   try {
                        personaLocal = personaHome.findByPrimaryKey(new T56aContactosEntityPK(obj.getId_a04()));
                        T56aaat04Obj objTmp = new T56aaat04Obj();
                        objTmp.setAp1_a04(obj.getAp1_a04());
                        objTmp.setEstado_a04("false");
                        personaLocal.setT56aaat04(obj);
    Please can you help me to solve this problem?

    Hello Werner,
    The mappings seem to be alright at a first glance.
    Have you tried out un- and redeploying your application? Sometimes values appear to be cached in the server. So if you have deployed the application before you entered DB_BANK as alias this might solve the problem...
    BR
    Daniel

  • Hi Apple! I am having a few problems with my 6 month old iPad mini (ios 7.1.1). I am using my iPad and then some time later it just restars! Don't know why and it just keeps doing it! Please fix or if I restore my iPad will it do any good? Thank you

    Hi Apple! I am having a few problems with my 6 month old iPad mini (ios 7.1.1). I am using my iPad and then some time later it just restars! Don't know why and it just keeps doing it! Please fix or if I restore my iPad will it do any good? Thank you

    Plug your iPad into your computer, open iTunes, and click Restore. This will reset your iPad to factory settings, so make sure everything important is stored safely. Once the restore is complete, do NOT restore from your backup.
    If you still have problems, take the iPad to the Apple Store or another AASP (Apple Authorised Service Provider). If you're still within warranty, any service will be of no cost. Check your serial number here or find your receipt.
    Hope I've helped!
    PS: This is a peer-to-peer forum. Apple generally doesn't pay attention here.

  • Urgent : Data Passing Problem in JSP dynpage using bean in SP11

    Hi all
    I am trying to pass data from my jspdynpage to jsp using bean , which is not at all passing any values
    i am pasting code below which works in 6.0 sp09
    I dont know what is happening in sp11
    please suggest me in this situation
    public static class LeaderStatusOverviewDynPage extends JSPDynPage{
        private LeaderStatusBean myBean = null;
        public void doInitialization(){
            this.ensureBeanisSetup();
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("leaderstatus.jsp");
        public void ensureBeanisSetup(){
                IPortalComponentRequest request       = (IPortalComponentRequest)this.getRequest();
                            IPortalComponentContext myContext     = request.getComponentContext();
                //IPortalComponentProfile profile = myContext.getProfile();
                      Object o = myContext.getValue("myBean");
                      if(o==null || !(o instanceof LeaderStatusBean)){
                        myBean = new LeaderStatusBean();
                        myBean.setMessage("This String From Bean");
                        myContext.putValue("myBean",myBean);
                      } else {
                          myBean = (LeaderStatusBean) o;
    My jsp page
    <jsp:useBean id="myBean" scope="application" class="bean.LeaderStatusBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <% Date today = new Date(); %>
       <h1> This is Test page for NOVA Chemicals </h1>
       <br><br>
       <font color = "blue" size = "4"><center>
       <%=today%>
       </center>
       <br><br> This is the message of Connection  :
       <%=myBean.getMessage()%>
       </font>

    Hallo Prakash,
    I am developing with EP SPS12 and am facing the exact same situation. Values passed to the bean from the dynPage do not get through to the jsp. When removing the respective lines in the portalapps.xml I get a portal runtime exception.
    I am posting my portalapps and the jsp where importing the beans. What am I missing here? Any help would be greatly appreaciated! Thank you in advance.
    BR
    Helga
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="AdminComponent">
          <component-config>
            <property name="ClassName" value="com.company.AdminComponent"/>
            <property name="SecurityZone" value="com.company.AdminComponent/low_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/AdminComponentView.jsp"/>
          </component-config>
        </component>
      </components>
      <services/>
    </application>
    <jsp:useBean id="dropDownListBean" scope="application" class="com.company.bean.DropDownListBean" />

  • Problem with beans in session scope

    Hello,
    I developped a website using JSP/Tomcat and I can't figure out how to fix this problem.
    I am using beans in session scope to know when a user is actualy logged in or not and to make some basic informations about him avaible to the pages. I then add those beans to an application scope bean that manages the users, letting me know how many are logged in, etc... I store the user beans in a Vector list.
    The problem is that the session beans never seem to be destroyed. I made a logout page which use <jsp:remove/> but all it does is to remove the bean from the scope and not actualy destroying it. I have to notify the application bean that the session is terminated so I manualy remove it from its vector list.
    But when a user just leave the site without using the logout option, it becomes a problem. Is there a way to actualy tell when a session bean is being destroyed ? I tried to check with my application bean if there are null beans in the list but it never happens, the user bean always stays in memory.
    Is there actualy a way for me to notify the application bean when the user quits the website without using the logout link ? Or is the whole design flawed ?
    Thanks in advance.
    Nicolas Jaccard

    I understand I could create a listener even with my current setup Correct, you configure listeners in web.xml and they are applicable to a whole web application irrespective of whether you use jsp or servlets or both. SessionListeners would fire when a session was created or when a session is about to be dropped.
    but I do not know how I could get a reference of the application bean in >question. Any hint ?From your earlier post, I understand that you add a UserBean to a session and then the UserBean to a vector stoed in application scope.
    Something like below,
    UserBean user = new UserBean();
    //set  bean in session scope.
    session.setAttribute("user", user);
    //add bean to a Vector stored in application scope.
    Vector v = (Vector)(getServletContext().getAttribute("userList"));
    v.add(user);If you have done it in the above fashion, you realize, dont you, that its the same object that's added to both the session and to the vector stored in application scope.
    So in your sessionDestroyed() method of your HttpSessionListener implementation,
    void sessionDestroyed(HttpSessionEvent event){
         //get a handle to the session
         HttpSession session = event.getSession();
          //get a handle to the user object
          UserBean user = (UserBean)session.getAttribute("user");
           //get a handle to the application object
          ServletContext ctx = session.getServletContext();
           //get a handle to the Vector storing the user objs in application scope
            Vector v = (Vector)ctx.getAttribute("userList");
           //now remove the object from the Vector passing in the reference to the object retrieved from the Session.
            v.removeElement(user);
    }That's it.
    Another approach would be to remove the User based on a unique identifier. Let's assume each User has a unique id (If your User has no such feature, you could still add one and set the user id to the session id that the user is associated with)
    void sessionDestroyed(HttpSessionEvent event){
         //get a handle to the session
         HttpSession session = event.getSession();
          //get a handle to the user object
          UserBean user = (UserBean)session.getAttribute("user");
           //get the unique id of the user object
           String id = user.getId();
           //get a handle to the application object
          ServletContext ctx = session.getServletContext();
           //get a handle to the Vector storing the user objs in application scope
            Vector v = (Vector)ctx.getAttribute("userList");
           //now iterate all user objects in the Vector
           for(Iterator itr = v.iterator(); itr.hasNext()) {
                   User user = (User)itr.next();               
                    if(user.getId().equals(id)) {
                           //if user's id is same as id of user retrieved from session
                           //remove the object
                           itr.remove();
    }Hope that helps,
    ram.

  • Few problems/questions! (cover flow, album art...etc)

    Ok I finally added my songs to my new IPOD (replaced my old one) and this is my first Ipod with video, color...etc. Its the IPOD Classic 80 GIG.
    Well I am having a few problems/questions:
    ---Why when I hit "Get album art" does it ONLY get art for my videos? It doesn't get any for all 1,500+ songs! Is it because they aren't downloaded from Itunes? If so then why does it do it for the movies then? They aren't from ITunes either!
    ---With Cover Flow I updated the Album Art myself and have about 700 songs with art now. But I have two problems.
    1. It won't display all 700 songs under Cover Flow!
    2. It won't show them in order by song name! Can I change that?!? If not then how is it showing them by? What do I need to change?
    ---Are there any other video types supported besides that on Mpeg4 and that other weird type? If not why not? Its a pain to have to convert everything. Its almost not worth having this video IPOD if you have to go through sop much effort just to watch 1 stupid video. I mean I spent more money on extra programs now for music and videos then I did on the IPOD almost.
    ---Is there any way to transfer your music from one IPOD to another? I know some people say you can't but why? What about people like me who have music ripped from our own cds and NOTHING from ITunes? Its a REAL pain having to rerip all the cds, put them back on, rename all the songs, fix all the info...etc. Its taken me 4 days now. Apple needs to think about a "IPOD TO IPOD" music transfer kinda program.
    ---How do you get pics on the IPOD without having to keep them on your PC? I notice it has to SYNC them every time I have it plugged into the PC! But if I tell it NOT to sync pics anymore then they won't stay on the IPOD if turn that option off and unplug the IPOD. Theres got to be another way to add them.

    Assassin X wrote:
    ---With Cover Flow I updated the Album Art myself and have about 700 songs with art now. But I have two problems.
    1. It won't display all 700 songs under Cover Flow!
    2. It won't show them in order by song name! Can I change that?!? If not then how is it showing them by? What do I need to change?
    Cover flow on the ipod can only be done (as far as I know) on Album by Artist Name. On iTunes you can change it around
    Assassin X wrote:
    ---Are there any other video types supported besides that on Mpeg4 and that other weird type? If not why not? Its a pain to have to convert everything. Its almost not worth having this video IPOD if you have to go through sop much effort just to watch 1 stupid video. I mean I spent more money on extra programs now for music and videos then I did on the IPOD almost.
    Try using freeware, heres an excellent video converter for iPods:
    http://www.videora.com/en-us/Converter/iPod/

  • How can I delete the video and keep the Audio  in a few frames using Imovie 11

    How can I delete the video and keep the Audio  in a few frames using Imovie 11?

    I've met the problem too before. but i solved it with  Audio Converter Mac instead of iMovie. If you have similar situation that just want to keep audio but not video, and if your file format is not workable in iMovie, you can use the Audio Converter for help too. it can easily help to extract audio soundtrack from any video format. Or if you need to convert one audio format to another, it is a good choice too, because it supports many common audio output formats.
    <Link Edited By Host>

  • Problems using projects created in older versions of iMovie

    I have a few projects created in older versions of iMovie, as far back as version 2 as well as more recent versions. Most of those projects are finished and I want to burn them to DVD again, but a couple of them could bear a little touch up editing. These projects are precious movies of our kids and hard to replace. Although I could probably find the original video, I put many hours of work into creating these projects.
    In any case, when I open up an old project, I get a warning that goes something like this: "The project was saved with an older version of iMovie. Opening it in this version will cause it to be upgraded, which will make it unreadable by older versions. Are you sure you want to open it?"
    I clicked okay, thinking "sure, I don't need to play it in an older version. I have iMovie HD."
    However, now when I play my old iMovie project, there are a few problems. For example, one original movie's title was over black. When I play the movie, I get a completely white screen and no title. Also, in another movie, when viewing the movie in full screen, the transitions were replaced by a black screen (although the transitions were there when I viewed the movie in the iMovie window). Basically, there are problems cropping up here and there.
    I need to do some more experimenting with all this to more fully understand how many problems there are. I don't know if the projects I opened in iMovie HD are now "broken" since I "upgraded" them with iMovie HD (when prompted to save the project's changes when quitting, I said NO, don't save changes).
    I don't know if I should use older versions of iMovie to view and burn to DVD these projects. (I still have iMovie 2 and 3, but not 4 or 5. I don't know if older versions would even work on my Quad G5 with OS 10.4.7.) I also don't know if the older versions of iMovie would work with the current version of iDVD. How can I tell which version of iMovie was originally used for a given project? How can I find iMovie 4 or 5 if I need it?
    I also wonder if projects I make with iMovie HD can be opened by future versions of iMovie, or if I should export them as Quicktime or something to be safe.
    As I start to look into this further, I would appreciate any comments, suggestions, and experiences that you may be able to offer. I need to get these movies back to their former selves, when they looked good!
    Message was edited by: Anthony M Kassir MD

    (when prompted to save the project's changes when
    quitting, I said NO, don't save changes).
    Excellent! That should leave you in pretty good shape. More below.
    I don't know if I should use older versions of iMovie
    to view and burn to DVD these projects. (I still have
    iMovie 2 and 3, but not 4 or 5. I don't know if older
    versions would even work on my Quad G5 with OS
    10.4.7.)
    The old versions of iMovie will run just fine in today's OSX. (But not iMovie 2 if it was the version that ran in Classic instead of Mac OSX.)
    I run versions 2,3,4,5 and 6 today. Problems are minimal.
    I also don't know if the older versions of
    iMovie would work with the current version of iDVD.
    That's not a problem unless your old iMovie projects contain chapters. If you tell iMovie 3 to create a new iDVD project, it might not work. You might not be able to transfer the chapter information to the newer version of iDVD.
    (I just tested iMovie 3 to iDVD 6 and everything worked just fine.)
    Except for iMovie 2, all old versions of iMovie stored a small QuickTime reference movie in the project folder. If you can't get an old version of iMovie to play nice with iDVD, drag that movie into the iDVD window.
    How can I tell which version of iMovie was originally
    used for a given project?
    Drop the project file (discussed below) onto the TextEdit icon in the Dock. The version of iMovie that last saved the project is shown in the first few lines of the project file.
    iMovie 5 used an entirely different project file format, the pList format. The top of the project file will look like this in TextEdit:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    How can I find iMovie 4 or
    5 if I need it?
    eBay?
    I also wonder if projects I make with iMovie HD can
    be opened by future versions of iMovie, or if I
    should export them as Quicktime or something to be
    safe.
    We can never assume any new version of iMovie will be able to understand all features of a older project. It's always smart to make a backup.
    There can be problems Apple can't anticipate. There may be third-party software used to create titles, transitions and special effects, plug-ins not installed with the new version or (more often, incompatible). The fonts installed on our Mac may have changed too. There's lots of features that can't be anticipated. I've never had a problem converting projects, but I never use third-party add-ons and special fonts.
    As I start to look into this further, I would
    appreciate any comments, suggestions, and experiences
    that you may be able to offer. I need to get these
    movies back to their former selves, when they looked
    good!
    My guess is it should be possible to restore the projects back to their original state.
    Note that when imovie 5/6 converts an older project, it does NOT create a true iMovie HD project. Instead of creating an iMovie package, it retains the project FOLDER format. It places new iMovie HD elements inside the old project folder instead of converting it to a package.
    When converting the project it changes the old project file name to "Sample Project Name.iMovie2Project", then creates a NEW project file with the plist format, having the name "Sample Project Name.iMovieProj". (There may NOT be the .iMovieProj extension.) When you save the new project, it adds a new project file "Sample Project Name.~iMovieProj". Note the tilde. The tilde file is a backup of the project file as it was when last saved in iMovie HD.
    For our purposes, ignore the iMovie HD project files. We'll use the file ".iMovie2Project" to restore the project. (The extension is the same for all old versions of iMovie, not just iMovie 2.)
    • In the Finder, Duplicate the entire project folder. Work on the copy.
    • Open the project folder in the Finder.
    • Discard the "Cache" folder, the "Shared Movies" folder, the "Audio Waveforms" folder and the two iMovie HD project files. (Some of those items may not yet exist yet because you didn't save the converted project.)
    • Drop the "Sample Project Name.iMovie2Project" file onto the TextEdit icon in the Dock to get the version. Close it.
    • Remove the ".iMovie2Project" extension, if you want.
    • Launch that version of iMovie. Drop the "Sample Project Name.iMovie2Project" file icon on the iMovie icon in the Dock. With luck, the project should open normally. It's possible any third-party plug-ins used to create the project may not be available. If they aren't available, there might still be problems.
    • Move your unconverted projects to folders that say which version of iMovie created them. To open them in the future, drop the project icon on the appropriate version of iMovie.
    If all this fails, there is another way to do the editing you want. That is to import the project.mov file that's inside the converted project folder to a new iMovie HD project. That will deliver the video and audio of the original project as a single clip. Use that to re-edit the project. The name of the movie is "Sample Project Name.mov".
    (The movie is a QuickTime reference movie, with no video and audio of its own, just pointers to the files in the Media folder. So long as the Media folder hasn't changed, it can play the original project as last saved.)
    Importing the project.mov won't work with iMovie 2 projects, however, for iMovie 2 didn't store a project.mov file in the project folder.
    Even if you end up importing the project.mov, you still may want to "unconvert" the project as described above.
    Hope I haven't skipped a step. Let me know if you bump your head on something.
    Karl

  • Problem using ipod with itunes 5.0.1

    Could anyone help me?? I'm having serious problems using my ipod mini with my "just downloaded" itunes 5.0.1.
    it says that my comunication software with ipod is not correctly installed and that i have to reinstall itunes again. i did it the problem is always there. what can i do?? can someone help me??

    Man, it seems that iTunes 5.whatever has gotten us all a little hot under the collar. I'm back up and running...this is what I did...I hope it helps some of you out.
    1) created a new folder in MyMusic and copied everything from my iTunes library to the new folder. I then tested a few songs to make sure they still played (you never know)
    2) I deleted iTunes using the control panel selection Add/Delete programs. I emptied the recycle gin and then did a search to see that iTunes was no longer there.
    3) I went to filehippo.com to download iTunes 4.8 (my original disks are packed (Thank you to poster Allison for the filehippo.com suggestion).
    4) I copied all my songs back into iTunes from where I had stored them in the new folder I created in MyMusic)
    5) I connected the iPod Mini and opened iTunes and darn if it STILL didn't recognize the iPod
    6) I did a restore on the iPod
    7) I reconnected the iPod and had to reregister it and Voila! it worked again!!!!
    Whatever the new features were in ver. 5.01, they were NOT worth the hassle I've experienced over the past two weeks. I'll stick with version 4.8 for awhile.

Maybe you are looking for

  • How can I change the order of photos in albums on my iPad

    Hi everybody... When I place a folder with photos in it and sync it with iTunes on my iPad they are not in the order that I want to view them or play as a slideshow.  I've tried numbering the files in order, but that didn't work.  Is there away of do

  • Cancel (reverse) Return Order, PGR not possible due to storage bin in 904

    Hi gurus hope someone can explain in detail with transaction what am I missing since I'm MM guy and dont know very well SD transactions but here's my scenario, There is a return order with a delivery (1110500002), then PGI (651), this drive me to pro

  • Import the table with 0 rows

    Hi I have a problem to import a dump that contains the tables with 0 rows. When i exported from ORACLE 11.2 64 bit on SERVER 2008 i noticed that log didn't confirm the tables with 0 rows. When i want to import to ORACLE 11.2 64 bit on other SERVER 20

  • Travel Back In Time????

    I screwed something up in IPhoto and can't seem to figure out how it happened or how to remedy it.... Is there a way to reset my computer to an earlier activity history (i.e. before the screw up...like yesterday?)- I remember being able to do this on

  • Why does my email have blank messages which cannot be deletd

    I receive emails with no message that cannot be deleted as they have no content or sender