[SOLVED] Trouble getting initrd-image to work

Hello everyone
I'm trying to get plymouth to work and for that reason I'm messing with initrd images for the first time in my life.
I had no issues generating the image, but once I rebooted, nothing happened. It looks like lilo fails to load the image since I'm not getting the 'Loading initrd-blahblah.img........' message, although I'm not getting any error messages either. Basically it just loads kernel and boots normally like it's never heard of initrd images.
These are the lines I've changed in/etc/mkinitcpio.conf. Everything else is default.
MODULES="radeon"
HOOKS="base udev plymouth autodetect sata filesystems"
COMPRESSION="lzma"
running mkinitcpio.conf, no errrors there
# mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initrd-$(uname -r).img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [plymouth]
:: Parsing hook [autodetect]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/initrd-2.6.35.4-ck1.img'...SUCCESS
/etc/lilo.conf:
lba32
boot=/dev/sdb
compact
prompt
timeout=50
default=2.6.35.4-ck1
read-only
root=/dev/sdb1
image=/boot/kernel-2.6.35.4-ck1
label=plymouth
initrd=/boot/initrd-2.6.35.4-ck1.img
append="quiet splash sata_nv.swncq=1 pci=nomsi snd-hda-intel.model=3stack snd-hda-intel.probe_mask=1 powernow-k8.vcore_list=1125,1125,825"
running lilo shows error message but I've been getting it since I installed arch, and it has been working fine nevertheless.
# lilo
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Added 2.6.35.4-ck1 *
Added plymouth
Added nokms
Added bootchart
Also I think it might be relevant to point out that I'm building my kernels by hand (no PKGBUILDs or anything).
Any ideas will be appreciated 
EDIT: solved. forgot to enable support for initramfs/initrd in kernel
Last edited by pussi (2010-09-17 06:47:47)

In the future you should never post valid IP addresses.
If you use DHCP addressing then the IP addresses are assigned automatically from the DHCP server. Your router contains a DHCP server that is used to provide local IP addresses to devices that share an IP address via NAT. You should not use a manual IP address on such a network unless it happens to be a local IP address. And it you do then the IP address must be in the range of IP addresses served by your router. Different routers serve different address ranges. Yours is serving in the range of 10.0.1.2 to 10.0.1.199. Your router currently assigns your machine the address of 10.0.1.2.
If you configure Network preferences to use DHCP with manual addressing then you can assign your computer the 10.0.1.2 address that is presently assigned by the router. The gateway IP address and network mask will still be assigned automatically by your router.
When you set up port forwarding the IP address to which the ports are forwarded should be the IP address used by your machine - 10.0.1.2 in the above example.
If your modem also has a built-in router then you must disable it. There should only be one active router in your network. It can be either the Airport Extreme or your modem's built-in router but not both. If you use your modem's built-in router then the IP addresses involved will no longer be in the 10.0.1.xxx range.

Similar Messages

  • TS3276 I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    HI,
    The Apple IDs from @mac.com and @me.com (Older MobileMe and more recent iCloud Names) are also Valid AIM Screen names.
    Any other sort of Apple ID is not a Valid AIM Name.
    A Google ID that is associated with Google Mail Account (And has "Talk" enable on your Google Settings) can be used in iChat as  Jabber Name/ID.  (Google Run  Jabber server).
    Jabber and AIM are different IM Services and it is not easy or straight forward to add Buddies from one Service to the Buddy List of another.  (As A Starting point consider it "impossible")
    iChat 4 and 5 have links to the registration page of @Mac.com here with a "Get an iChat Account" button in the add (Account) screen  (You select @mac.com or MobileMe and then press the Button - Choosing AIM and then pressing the button used to lead to the AIM registration page but AIM moved their page).
    Apple IDs can be any valid email (or an @mac.com or iCloud registration)
    Therefore you could make a Google ID into an Apple ID.
    However this will not be a valid AIM Screen Name the way @mac.com or MobileMe/iCloud ones are.
    Valid AIM Screen Names in Table (pic)
    7:46 PM      Monday; December 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Having trouble getting Unwired Platform to work.

    I'm having trouble getting the formatting to work properly.  Sorry about that.
    Hi,
    I'm having trouble getting the Unwired Platform to work on my server.  I've installed everything on my machine.
    I'm having trouble accessing the control center and pinging my Unwired server through the Unwired Workspace.
    I've pasted in the error output below.
    Any help would be appreciated.
    Thanks,
    Dan
                                                                                    Here is the pinging error:
    com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:106)
         at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:40)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)
         at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:191)
         at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:98)
         at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:68)
         at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:59)
         at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:619)
         at com.sybase.djc.rmi.iiop.client.Connection.getInstance(Connection.java:65)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopConnection(ConnectionPool.java:455)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:410)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)
         at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:275)
         at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:697)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:99)
         ... 13 more......
    Line: -
    When I try to access the control center through IE, this is what I get back:
    HTTP ERROR 500
    Problem accessing /scc/. Reason:
        Failed to begin transaction
    Caused by:
    com.sybase.scc.orm.dao.DaoException: Failed to begin transaction
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:321)
         at com.sybase.scc.servlet.filters.HibernateSessionFilter.doFilter(Unknown Source)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at com.sybase.ua.services.http.servlet.filters.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:129)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
         at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:680)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
         at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
         at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
         at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
         at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
         at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
         at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:307)
         ... 21 more
    Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
         at com.sybase.jdbc3.tds.Tds.a(Unknown Source)........

    HI,
    as well I would check if ou are able to access the URL in browser itself - otherwise enter the URL into your host file and try again.
    Hope this helps.
    Regards,
    Oliver

  • Having trouble getting iTune Extras to work after the movie in iTunes 64

    Having trouble getting iTune Extras to work after the movie in iTunes 64

    G'day Mate,
    As an avid flight simmer I bought a new soundcard my previous was
    an audigy 2 platinum ex with an external module I really liked but somehow all of a sudden I was getting a screech when using FS9 sor I opted to change to the present. Well stone the crows my soundcard was auto updated with new drivers and well you guessed it the soundcard did not show in the sound video controllers window No I have just joined this forum and it looks like3 you may have the answer for me . I am now going to do as you suggest and see what happens.
    I shall return with the outcome of my dilemma.
    Many thanks for your sound advice ( pardon the pun)
    Pat
    Ret'd Viet Vet

  • Can't get rollover images to work as links [was: I have a question if someone could answer?]

    I have fixed my page so I can preview it and everything is working fine but now I cant get my rollover images to work as links.  When I go to put in the link like normal the rollover behavior stops working and it is just the original image.  Any way for me to turn it into a link but still keep the rollover image change?
    [Subject line edited by moderator. Please use more meaningful subject lines in future.]

    Can you provide a link to your website so we can see what you're seeing?
    Without one, you're asking for an answer based on guesswork.

  • UIX: how to get dynamic image generation working on ias10G?

    Hi,
    Anybody got UIX Dynamic Image Generation working on ias10G, on unix? My Images do not get generated (the page only shows the plain links)
    My env:
    - ias10G
    - AIX Version 5
    - java version: unknown, do not know what version ias10G is using
    On earlier versions (OC4J 903) we had to make sure an XServer was running and pointed our DISPLAY variable to that server. When the XServer was down, we got a nice error message in the application logs. However on ias10G I cannot figure out where to set this variable and I cannot find any error messages.
    Can anybody please help me out a bit?
    Cheers,
    Martijn

    Hi Andy,
    Thanks for your reply. However, I have not yet been able to get it working.
    I have verified that the java version is indeed (this is what the oc4j logfile shows when I supply the -showversion parameter)
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20030930 (JIT enabled: jitc))The relevant fragment of the opmn.xml:
              <process-type id="oc4j_cif_mh" module-id="OC4J">
                   <module-data>
                      <category id="start-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true -Xmx75m -Xms75m -showversion"/>
                         <data id="oc4j-options" value="-properties"/>
                      </category>
                      <category id="stop-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true"/>
                      </category>
                   </module-data>
                   <start timeout="900" retry="2"/>
                   <stop timeout="120"/>
                   <restart timeout="720" retry="2"/>
                   <port id="ajp" range="3301-3400"/>
                   <port id="rmi" range="3201-3300"/>
                   <port id="jms" range="3701-3800"/>
                   <process-set id="default_island" numprocs="1"/>
                </process-type>Finally, your JSP passes the test. I can access it. But still no uix image generation. Are there any logfiles I can check for error messages on the failing image generation? May it be a web cache problem?
    Thanks in advance

  • Trouble getting a JMF program working with another program

    hello.
    my name is james mcfadden. i am having difficulty compiling the first program (a menu GUI) here. even though the second program (the JMF program) can be compiled and runned as a separate application, i'm trying to get be able to use the first program to run the second program. when i compile the first program i get the following errors. i don't know what are causing these errors?
    ----jGRASP exec: javac -g X:\CP4B Project\Demo.java
    Demo.java:284: cannot find symbol
    symbol : constructor Media()
    location: class Media
    Media media=new Media();
    ^
    Demo.java:288: cannot find symbol
    symbol : constructor Media()
    location: class Media
    Media media=new Media();
    ^
    Demo.java:292: cannot find symbol
    symbol : constructor Media()
    location: class Media
    Media media=new Media();
    ^
    3 errors
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    //Written by:Seamus McFadden
    //Class:CP4B
    //Program Number:1
    //Program Name:Demo.java
    //Description:
    //Supervisor:Gerard McCloskey
    import java.awt.*;//Contains all of the classes for creating user interfaces and for painting graphics and images
    import java.awt.event.*;//Provides interfaces and classes for dealing with different types of events fired by AWT components
    import javax.swing.*;//Provides a set of lightweight components that, to the maximum degree possible, work the same on all platforms
    public class Demo extends JFrame{
        public static void main(String[] args){
            int choice=-1;//a variable of type int that is set to -1
            do{
               choice=getChoice();//invokes the method getChoice()
               if(choice!=0){
                   getSelected(choice);//invokes the method getSelected(choice)
               }//end if
               //if the user chooses 4, it will cause him or her to exit the system
            }while(choice!=5);//end do-while
            System.exit(0);//closes down the menu screen
        }//end main
        public static int getChoice(){
            String choice;//a variable of type string
            int ch;//a variable of type int
            choice=JOptionPane.showInputDialog(null,
                    "1. Product Menu\n" +
                    "2. Member Menu\n" +
                    "3. Rental Menu\n" +
                          "4. Media Menu\n" +
                    "5. Log Off\n\n" +
                    "Enter your choice");//asks the user for some input
            ch=Integer.parseInt(choice);//a class that wraps a value of the primitive type int in an object
            return ch;//a method that returns an integer value
        }//end getChoice
        public static void getSelected(int choice){
            if(choice == 1) {
                   product();
            }//end if
            if(choice==2){
               member();
            }//end if
            if(choice==3){
               rental();
            }//end if
                if(choice==4){
               media();
            }//end if
        }//end getSelected
        public static void product(){
             int productChoice=-1;//a variable of type int that is set to -1
           productChoice=getProductChoice();//invokes the method getChoice()
           if(productChoice!=0){
              getProductSelected(productChoice);//invokes the method getSelected(choice)
           }//end if
           System.exit(0);//closes down the menu screen
        public static void member(){
           int memberChoice=-1;//a variable of type int that is set to -1
           memberChoice=getMemberChoice();//invokes the method getChoice()
           if(memberChoice!=0){
              getMemberSelected(memberChoice);//invokes the method getSelected(choice)
           }//end if
           System.exit(0);//closes down the menu screen
        public static void rental(){
           int rentalChoice=-1;//a variable of type int that is set to -1
           rentalChoice=getRentalChoice();//invokes the method getChoice()
           if(rentalChoice!=0){
              getRentalSelected(rentalChoice);//invokes the method getSelected(choice)
           }//end if
           System.exit(0);//closes down the menu screen
          public static void media(){
           int mediaChoice=-1;//a variable of type int that is set to -1
           mediaChoice=getMediaChoice();//invokes the method getChoice()
           if(mediaChoice!=0){
              getMediaSelected(mediaChoice);//invokes the method getSelected(choice)
           }//end if
           System.exit(0);//closes down the menu screen
          public static int getProductChoice(){
           String productChoice;//a variable of type string
           int pch;//a variable of type int
           productChoice=JOptionPane.showInputDialog(null,
                   "1. Add product details\n" +
                   "2. View product details\n" +
                   "3. Edit product details\n" +
                         "4. Delete product details\n" +
                   "5. Exit\n\n" +
                   "Enter your choice");//asks the user for some input
           pch=Integer.parseInt(productChoice);//a class that wraps a value of the primitive type int in an object
           return pch;//a method that returns an integer value
        }//end getChoice
          public static int getMemberChoice(){
           String memberChoice;//a variable of type string
           int mch;//a variable of type int
           memberChoice=JOptionPane.showInputDialog(null,
                   "1. Add member details\n" +
                   "2. View member details\n" +
                   "3. Edit member details\n" +
                             "4. Delete member details\n" +
                   "5. Exit\n\n" +
                   "Enter your choice");//asks the user for some input
           mch=Integer.parseInt(memberChoice);//a class that wraps a value of the primitive type int in an object
           return mch;//a method that returns an integer value
        }//end getChoice
          public static int getRentalChoice(){
           String rentalChoice;//a variable of type string
           int rch;//a variable of type int
           rentalChoice=JOptionPane.showInputDialog(null,
                   "1. Add rental details\n" +
                   "2. View rental details\n" +
                   "3. Edit rental details\n" +
                             "4. Delete rental details\n" +
                   "5. Exit\n\n" +
                   "Enter your choice");//asks the user for some input
           rch=Integer.parseInt(rentalChoice);//a class that wraps a value of the primitive type int in an object
           return rch;//a method that returns an integer value
        }//end getChoice
          public static int getMediaChoice(){
           String mediaChoice;//a variable of type string
           int mtch;//a variable of type int
           mediaChoice=JOptionPane.showInputDialog(null,
                   "1. Listen to songs\n" +
                             "2. View movie previews\n" +
                             "3. View game previews\n" +
                   "4. Exit\n\n" +
                   "Enter your choice");//asks the user for some input
           mtch=Integer.parseInt(mediaChoice);//a class that wraps a value of the primitive type int in an object
           return mtch;//a method that returns an integer value
        }//end getChoice
          public static void getProductSelected(int productChoice){
           if(productChoice==1){
                  addProducts();
           }//end if
           if(productChoice==2){
              viewProducts();
           }//end if
           if(productChoice==3){
              editProducts();
           }//end if
               if(productChoice==4){
              deleteProducts();
           }//end if
        }//end getSelected
          public static void getMemberSelected(int memberChoice){
           if(memberChoice==1){
                  addMembers();
           }//end if
           if(memberChoice==2){
              viewMembers();
           }//end if
           if(memberChoice==3){
              editMembers();
           }//end if
               if(memberChoice==4){
              deleteMembers();
           }//end if
        }//end getSelected
          public static void getRentalSelected(int rentalChoice){
           if(rentalChoice==1){
                  addRentals();
           }//end if
           if(rentalChoice==2){
              viewRentals();
           }//end if
           if(rentalChoice==3){
              editRentals();
           }//end if
               if(rentalChoice==4){
              deleteRentals();
           }//end if
        }//end getSelected
          public static void getMediaSelected(int mediaChoice){
           if(mediaChoice==1){
                  hearSongs();
           }//end if
           if(mediaChoice==2){
              viewMovies();
           }//end if
           if(mediaChoice==3){
              viewGames();
           }//end if
        }//end getSelected
          public static void addProducts(){
           ProductForm product=new ProductForm();
           product.getInput();
               product.setVisible(true);
          public static void viewProducts(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editProducts(){
           ProductForm product=new ProductForm();
               product.getInput();
               product.setVisible(true);
          public static void deleteProducts(){
           ProductForm product=new ProductForm();
               product.setVisible(true);
          public static void addMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void viewMembers(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editMembers(){
           MemberForm member=new MemberForm();
               member.getInput();
               member.setVisible(true);
          public static void deleteMembers(){
           MemberForm member=new MemberForm();
               member.setVisible(true);
          public static void addRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void viewRentals(){
           DatabaseTest tt=new DatabaseTest();
               tt.setVisible(true);
          public static void editRentals(){
           RentalForm rental=new RentalForm();
               rental.getInput();
               rental.setVisible(true);
          public static void deleteRentals(){
           RentalForm rental=new RentalForm();
               rental.setVisible(true);
        public static void hearSongs(){
           Media media=new Media();  
        public static void viewMovies(){
           Media media=new Media();   
        public static void viewGames(){
           Media media=new Media();   
    }//end class Demo
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.IOException;
    import java.net.URL;
    import javax.media.CannotRealizeException;
    import javax.media.Manager;
    import javax.media.NoPlayerException;
    import javax.media.Player;
    import javax.swing.JPanel;
    import java.io.File;
    import java.net.MalformedURLException;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    public class Media extends JPanel{
       public Media(URL mediaURL){
          setLayout(new BorderLayout());//use a BorderLayout
          //Use lightweight components for Swing compatibility
          Manager.setHint(Manager.LIGHTWEIGHT_RENDERER,true);
          try{
             //create a player to play the media specified in the URL
             Player mediaPlayer=Manager.createRealizedPlayer(mediaURL);
             //get the components for the video and the playback controls
             Component video=mediaPlayer.getVisualComponent();
             Component controls=mediaPlayer.getControlPanelComponent();
             if(video!=null)
                add(video,BorderLayout.CENTER);//add video component
             if(controls!=null)
                add(controls,BorderLayout.SOUTH);//add controls
             mediaPlayer.start();//start playing the media clip
          }//end try
          catch(NoPlayerException noPlayerException){
             System.err.println("No media player found");
          }//end catch
          catch(CannotRealizeException cannotRealizeException){
             System.err.println("Could not realize media player");
          }//end catch
          catch(IOException iOException){
             System.err.println("Error reading from the source");
          }//end catch
       }//end Media constructor
       // launch the application
       public static void main( String args[] ) {
          // create a file chooser
          JFileChooser fileChooser = new JFileChooser();
          // show open file dialog
          int result = fileChooser.showOpenDialog( null );
          if ( result == JFileChooser.APPROVE_OPTION ) {
             URL mediaURL = null;
             try {
                // get the file as URL
                mediaURL = fileChooser.getSelectedFile().toURL();
             } // end try
             catch ( MalformedURLException malformedURLException ) {
                System.err.println( "Could not create URL for the file" );
             } // end catch
             if ( mediaURL != null ) {
                JFrame mediaTest = new JFrame( "Media Tester" );
                mediaTest.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
                Media mediaPanel = new Media( mediaURL );
                mediaTest.add( mediaPanel );
                mediaTest.setSize( 300, 300 );
                mediaTest.setVisible( true );
             } // end inner if
          } // end outer if
       } // end main
    }

    hello.
    thanks for the reply. how do i create argument
    constructors in Java?Please re-read my post ... you already have one. If you want to use it, simply pass in the argument to it that it wants. In this case it wants a URL (Universal Resource Locator). Please check out the java.net.URL package in the [url http://java.sun.com/javase/6/docs/api/]API doco.
    You can build a URL like this:
    URL url = getClass().getResource( "textfile.txt" ); // Just an example - where the file resides in the same location as the class file.

  • Can't get MDT imaging to work

    This is driving me crazy.  I'm hoping someone here can help me out.  Here's the current configuration:
    Windows 7 PC
    4 GB RAM
    MDT 2012
    Windows AIK
    Windows ADK for 8.1
    I've created a vm for the reference image and have the .wim file ready to go.  The task has been created and I can boot to the deployment screen.  I make all my selections and the installation works fine.  Once it does it's first reboot, however,
    after a few minutes of finding and installing devices it errors out.
    The first error is "Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [specialize].  A component or setting specified in the answer file does not exist."
    I click OK on the window that popped up and the computer reboots, then I get another window that says "The computer restarted unexpectedly or encountered an unexpected error.  windows installation cannot proceed.  To install Windows, click "OK"
    to restart the computer, and then restart the installation."
    I've looked through the unattend.xml and I can't see where it's getting hung up.  I looked in the logs and can't see it there, either.
    Help?

    Sounds like the IE10 bug. Did they never fix that?
    See here:
    http://www.deploymentresearch.com/Research/tabid/62/EntryId/101/Adding-Internet-Explorer-10-to-your-Windows-7-SP1-reference-image.aspx
    http://social.technet.microsoft.com/Forums/en-US/c41a2b69-a591-4cd3-86ab-6a0f8a73b858/getting-windows-could-not-parse-or-process-the-unattend-answer-file-for-pass-specialize-with?forum=mdt
    http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0CFMQFjAE&url=http%3A%2F%2Fblogs.specopssoft.com%2F2013%2F05%2Fcapturing-and-deploying-error-with-ie-10.html&ei=RwD5UtbZCoer7Ab32gE&usg=AFQjCNF1zgMMw1RLaOBVy204FMb2hcMN7w&sig2=C5-lnk8NHBN_5yyBZmPttA&bvm=bv.60983673,d.ZGU
    Search and remove the Internet Explorer component from the “Specialize” section which will be similar to this:
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <IEWelcomeMsg>false</IEWelcomeMsg>
    < /component>
    JoeZeppy, this did the trick.  It was indeed the IE10 issue and I used the first link you provided to change things so that it ignored the IE10 Welcome Page.  Thanks a ton!
    Now I just have to figure out how to add the ability to have the PC joined to the domain with the computer name I want to use as part of the MDT deployment and how to get the programs I want to install silently to actually install (Adobe Reader XI, as an
    example).
    Thanks!

  • Trouble getting WDS Mode to work between 2 RG54G2s

    Hi,
    I have bought two RG54G2s and am trying to use them to wirelessly bridge 2 wired LANs in my home. (Upstairs &  Downstairs)
    I am not getting connectivity between the two routers however.
    I have read the manual and the article in the FAQ and I *thought* I had it all set up correctly.
    Each device has 'Wireless Bridge' & 'Enable WDS Only' options ticked. The MAC address of the 'other' router is also set in each.
    The SSIDs are different, the radio channel is the same and there is no security of any kind on the link to cause troubles.
    Each router has one test PC connected by Ethernet. Each PC can ping its own router but not the other one.
    One router has an ethernet connection from the WAN socket to my network switch. There's no problem with connectivity there.
    I wonder if the IP addresses and subnet mask are the problem.
    Here's my setup:
    Router A = 192.168.1.5 client PC is 192.168.1.100
    Router B = 192.168.1.6 client PC is 192.168.1.200
    Subnet mask for both is 255255.255.0
    I have read through the  MSI forum and googled for tips on setting up WDS but cannot find anything 'wrong' in my setup.
    What could be wrong? How to determine the actual problem and fix it?
    Thanks
    Peter

    I have the same problem tried varoius configuration but nothing, have you solved your problem? how??

  • Trouble getting custom skin to work

    I thought I would start easy and just focus on changing the play button overlay to my own image.  Here is my HTML code and my following skin code...when I test from my remote web server I get the default play button overlay images, not my new ones.  Am I missing something?  I checked my skin.xml permissions on my web server and they are set to:
    -rw-r--r--
    <body>
        <div id="wrap">
            <div id="main">
                <div id="player">
                    <object width="1280" height="755">
                    <param name="movie" value="http://www.mydomain.com/StrobeMediaPlayback.swf"></param>
                    <param name="flashvars" value="src=http%3A%2F%2Fwww.mydomain.com%2Ftemp.flv&skin=http%3A%2F%2Fwww.mydomain.com%2F skin.xml&poster=http%3A%2F%2Fwww.mydomain.com%2FImages%2FIndex%2Ftest_image.jpg&scaleMode= stretch&controlBarPosition=over&controlBarAutoHideTimeout=1"></param>
                    <param name="allowFullScreen" value="true"></param>
                    <param name="allowscriptaccess" value="always"></param>
                    <embed src="http://www.mydomain.com/StrobeMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="1280" height="755" flashvars="src=http%3A%2F%2Fwww.mydomain.com%2Ftemp.flv&skin=http%3A%2F%2Fwww.mydomain.co m%2Fskin.xml&poster=http%3A%2F%2Fwww.mydomain.com%2FImages%2FIndex%2Ftest_image.jpg&scaleM ode=stretch&controlBarPosition=over&controlBarAutoHideTimeout=1"></embed>
                    </object>
                </div>
            </div>
        </div>
    </body>
    Here is the stuff in the skin.xml files:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <skin>
        <elements basePath="http://www.mydomain.com/Images/Strobe/">
                <!-- Play Button elements -->
                <element id="playButtonOverlayNormal" src="play_overlay.png"/> <!-- 116 x 107 -->
                <element id="playButtonOverlayDown" src="play_overlay_rollover.png"/> <!-- 116 x 107 -->
                <element id="playButtonOverlayOver" src="play_overlay_rollover.png"/> <!-- 116 x 107 -->
    </skin>
    I'm sure the png images are in the proper folder on my web server, but the player is not using them for some reason and I can't figure out why...could someone please help me?  Thanks.

    One more thing, I tried to set the verbose to true to try and get some error help, but no error window popped up...so I couldn't figure out if the verbose didn't work or if the errors get sent somewhere else or what...note: the verbose code is not in the above code.  This may help if I can get some direction on how it is supposed to function...thanks
    OK, I found an error in my skin code...I fixed it below and it still does not work...any help?
    <?xml version="1.0" encoding="iso-8859-1"?>
    <skin>
        <elements basePath="http://www.mydomain.com/Images/Strobe/">
                <!-- Play Button elements -->
                <element id="playButtonOverlayNormal" src="play_overlay.png"/> <!-- 116 x 107 -->
                <element id="playButtonOverlayDown" src="play_overlay_rollover.png"/> <!-- 116 x 107 -->
                <element id="playButtonOverlayOver" src="play_overlay_rollover.png"/> <!-- 116 x 107 -->
        </elements>
    </skin>

  • Trouble Getting Dreamweaver 8 to work with MySQL: The "Unidentified Error"

    I set up MySQL on my Macintosh yesterday, along with PHP --
    all went fine yesterday, until I tried to connect Dreamweaver to it
    (today I went back and uninstalled and tried to reinstall, and all goes less well -- can anyone tell me what
    robert:/usr/local/mysql robert$ bin/mysqladmin -u root password 'himmel'
    bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    signifies?)
    In any case -- back to the story:
    I go to connect to the DB in Dreamweaver 8, and when I try to set up the DB in the "databases" tab and click on the "database" field I get
    "An unidentified error has occurred"
    and then
    "HTTP Error Code 404 File Not Found....
    [Possible Reasons]: 1) No testing server running on this machine.
    2) The Testing Server specified for this site does not map to the http://127.0.0.1/~robert/Sites/_mmServerScripts/MMHTTPDB.php?Type=MySQL&Connecti onString=host=localhost;uid=dwmx;pwd=mm&Host=localhost&&UserName=dmwx&Password=m m&Timeout=30 URL. Verifiy that the URL prefixs points to the root of the site."
    Any clue? I know little about PHP or Unix, but am trying to learn.
    iMac 17   Mac OS X (10.3.9)  

    There's a 64-bit version of Power Query which you should be able to get from the same site you downloaded the 32-bit version.
    It sounds like you used "From SQL Server" to try to connect from Excel to MySQL. This will not work. You would likely need to acquire and install a MySQL ODBC driver and then use "From Microsoft Query". Similarly, to use MySQL from inside
    Power Query, you will need to acquire and install a MySQL ADO.NET driver.

  • Having trouble getting Nav bar to work???

    Not sure why I'm having trouble, seems pretty simple to create but the hyperlinks are not working when viewed in muse or published?
    Here is a link http://www.dotydesign.com/2012dotydesign.com/index.html

    Please send your .muse file to [email protected] along with a link to this topic so we can investigate.

  • Having Trouble getting IMessage and FaceTime working

    I have been having a problem getting onto IMessage and FaceTime since last night was wondering if anyone can help out! Called Apple today and they couldnt figure it out and have tried things on forums from searching on Google!!!
    When I try signing in it will tell me that: Could not Sign IN! Please Check your network connection and try again!!! When I have it turned on for using it says Waiting for activation!!!

    Same issue, iMessages suddenly stopped working, I wasn't getting ones sent to me, ones I thught I had sent later showed they never were sent. I went to preferences, switched iMesages off, then back on. It said waiting for activation, but never did activate.  I then tried reentering my Apple password but kept getting activation error mesage. Looked at Facetime, it was off, tried to sign in to that, but got same activation error message.
    Did a hard restart of phone, seems to be letting me sign in, send iMesages, but I am not getting ones people send me.

  • Having trouble getting named destinations to work

    I have been trying to add named destinations to a PDF so that I can navigate a viewer to a particular place in a document via a URL such as http://mysite.com/mypdf.pdf#nameddest=blah.
    This is not working at all. The URL simply brings them to the beginning of the document. The named destinations feature of Acrobat is really not very complicated. My named destination is clearly there in the document. What could be preventing this from working?
    Thanks

    The embed code looks right. It must be something wrong with your JS/CSS on the page. Almost seems like you have something transparent on top of the form or something. I'm not a JS/CSS/HTML expert so I can't help anymore than that...
    Randy

  • Have trouble getting the listener to work

    At the end of configuring the nodes for the Listener I get this error message:
    Problem in configuration: oracle1: LISTENER_ORACLE1 Listener start failed. Listener may already be running. CRS-0215: Could not start resource 'ora.oracle1.LISTENER_ORACLE1.lsnr'
    if i try to manually start the listener with 'srvctl start nodeapps -n oracle1' i get the following errors;
    failed to get ip for locale host
    and then a whole bunch of errors of it trying to start the listener on every ip mentioned in the host file

    I'm not sure your problem.
    1. Please check listener, that is running or not
    $ ps -aef | grep LISTENER
    and try to kill it
    2. start by again by srvctl
    srvctl start listener -n ORACLE1
    ... Please post error again and tell information about ORACLE ENV

Maybe you are looking for

  • No Card Inserted Error

    Got a clicker-wheel iPod and it's playback of music is being interrupted by sporadic freezing when the unit goes into some sort of photo download routine and then comes up with error "No Card Inserted". I see there are others out here with this issue

  • HT1947 I can't connect my iPhone to my iTunes using the Remote app

    I've looked at all the instructional help threads, done everything multiple times and when I connect my iPhone to iTunes, it still doesn't work. The Remote app icon doesn't show up under devices in iTunes. I have tried to reconfigure my iTunes settin

  • Can't retype password for wifi network

    I mistyped my wifi password while it was on Set to remember password so now I can't go back in and change the password. I tried going in network and deleting it but that didn't work. Then I tried removing it from my keychain but it said "invalid reco

  • Export mpeg-2 (m2v)

    I am trying to export final cut pro movie in mpeg-2 (m2v), but when i do this, i receive and error message saying : DVD Studio Pro must be serialized first in order to run Quicktime MPEG Encoder... I am running the Final cut Studio suite... Whatever

  • Can't turn on iCloud Backup

    I logged back in but cannot find my previous question on the problem. My internet is working fine but when I turn on iCloud I get the message "iCloud Backup Failed"