Can't get JAR file to work

I am currently having problems getting the JAR file for my program to work properly. Here is what I'm doing in creating it and trying to run it:
1.I create the JAR file with the command "jar cf myjar.jar *.class"
2.I create a manifest file to point to the main class which contains only the line "Main-Class: MainClass". This is WITHOUT the .class extension
3.I update the manifest for the jar archive with the command:"jar umf textfile myjar.jar"
4.I try to run the app with the command "java -jar myjar.jar" but this only gives me an error that says "Failed to load Main-Class manifest attribute from
myjar.jar"
Am I doing something wrong here? I've tried to make my steps as close as possible to those that I read in the tutorials, but it's still not coming out for some reason. My computer does recognize the file as a JAR though since it made an icon of a JAR file for it. Please note I made up names for both my jarfile and main class file for privacy reasons, but I do not think the specific names would make much of a difference in this as they contain no special characters or anything in the file names.

Hmm....I tried both of your tips javagalaxy and tsith by making the file look as javagalaxy posted as well as renaming it to "manifest.mf" and putting it in a "META-INF" folder that is in the same directory as all my .class files. I also made sure I hit Enter twice so that there was a blank line between the Main-Class line of the file. When i run the command it displayed "added manifest" as well as all the class names that I needed to be in the jar file including the main one that I'm trying to invoke. Despite all of that I'm still getting the same error that it can't load the main-class attribute from the jar file when using the command "java -jar myjar.jar" =/. I'm not really sure what went wrong. I tried deleting the extra line so that the cursor was flashing right below the Main-Class line, but that didn't change anything when I re-ran the commands. Did I do something else wrong in the manifest file? Thanks for your help so far! This is some complicated stuff the first time one tries it.

Similar Messages

  • How can I get avi files to work with imovie08?

    Hi I bought a macbook last year and have loved creating imovie videos by simply using the video function on my digital camera. My daughter was born last year and we have a great collection of clips of her first 7 months. I'd now like to take things a step further and put together a wedding video.
    We had our wedding day filmed on a digital camcorder by a friend and he has given my 25MB of avi files which I would like to import into imovie and make into a video however I understand that this format isn't compatible. Is there a way of getting it to work and if so please can you tell me in very simple terms what I need to do to get the files to work with imovie? (I'm not very technical)
    Thanks
    Matt

    I do not know of a way to import .avi files directly into iMovie, and I am positive that this is not actually possible as iMovie only supports the importation of .mov, .mp4 (mpeg4) and .dv filetypes.
    What you could do is use a video converter (there are some good ones that are availible free, eg MPEG Streamclip (http://www.apple.com/downloads/macosx/video/mpegstreamclip.html)) to convert those avi movie files to either of the 3 video formats iMovie supports, then import them.
    MPEG Streamclip does sound a little complicated for you but it is the best I have found, any more questions just post them here.

  • Help needed: getting jar files to work.

    Right, to start off, i have been doing php and mysql for a long time and i thought it's time to start using java.
    So now im trying to create an application. I use eclipse. All works well if i run the program from eclipse. But i want to create and executable or a jar file first. I used JSmooth but with that i get an error "Could not find the main class".
    While exporting the project as a jar i specified the main class in manifest specification.
    So these are my classes:
    the Main.class
    public class Main{
         public static void main(String[] args)  {
              PageFrame page = new PageFrame();
              page.show();
    }and the PageFrame.class
    import java.net.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    class PageFrame extends JFrame implements ActionListener,MouseListener{
         String[] skillnames = {"attack","hitpoints","mining","strength","agility","smithing","defence","herblore","fishing","ranged","thieving","cooking",
                   "prayer","crafting","firemaking","magic","fletching","woodcutting","runecraft","slayer","farming","construction","hunter","summoning"};
         JTextField username = new JTextField("",12);
         JTextArea box = new JTextArea(10,12);
         JButton search = new JButton("Search");
         int[] differences = {0,83,174,276,388,512,650,801,969,1154,1358,1584,1833,2107,2411,2746,3115,3523,3973,4470,5018,5624,6291,7028,7824,
                   8740,9730,10824,12031,13363,14833,16456,18247,20224,22406,24815,27473,30408,33648,37224,41171,45529,50339,55649,61512,67983,
                   75127,83014,91721,101333,111945,122660,136594,150872,166636,184040,203254,224466,247886,273742,302288,333804,368599,407015,
                   449428,496254,547953,605032,668051,737627,814445,899257,992895,1096278,1210421,1336443,1475581,1629200,1798808,1986068,2192818,
                   2421087,2673114,2951373,3258594,3597792,3972294,4385776,4842295,5346332,5902831,6517253,7195629,7944614,8771558,9684577,10692629,
                   11805606,13034431,14567891};
         URL page;
         static String name;
         JLabel[] skills  = new JLabel[24];
         JLabel skillicons  = new JLabel();
         public PageFrame(){
              super("Stats Lookup");
              setSize(800,600);
              setResizable(false);
              try{
                   UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                   SwingUtilities.updateComponentTreeUI(this);
              }catch (Exception e){
                   System.err.println("Yo" + e);
              //teen labelid;
              for (int i = 0; i < skills.length;i++){
                   ImageIcon icon = new ImageIcon(PageFrame.class.getResource("images/skillimages/" + skillnames[i] + ".gif"));
                   skills[i] = new JLabel("00",icon,JLabel.CENTER);
              JPanel pane = new JPanel();
              GridBagLayout maingrid = new GridBagLayout();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              GridBagConstraints constraints = new GridBagConstraints();
              JPanel skillPane = new JPanel();
              GridBagLayout levelslyo = new GridBagLayout();
              GridBagConstraints sConstraints = new GridBagConstraints();
              sConstraints.ipadx = 15;
              sConstraints.ipady = 10;
              skillPane.setLayout(levelslyo);
              int k = 0;
              int m = 1;
              buildconstraints(sConstraints,12,4,1,1,2,2);
              skillPane.add(skillicons);
              for (int i = 0; i < skills.length;i++){
                   buildconstraints(sConstraints,m,k,1,1,2,2);     
                        levelslyo.setConstraints(skills, sConstraints);
                        //skills[i].setText(" 0 ");
                        skillPane.add(skills[i]);
                        skills[i].addMouseListener(this);
                        m+=2;                    
                        if (m == 7){
                             m = 1;
                             k +=1;
              /*m = 0;
              k = 0;
              for (int i = 0; i < skills.length;i++){          
                   System.out.println("Paremale: " + m + " Alla: " + k);
                   buildconstraints(sConstraints,m,k,1,1,2,2);     
                   levelslyo.setConstraints(skillicons, sConstraints);
                   skillicons = new JLabel(icon);
                   skillPane.add(skillicons);
                        m+=2;                    
                        if (m == 6){
                             m = 0;
                             k +=1;
              buildconstraints(constraints,0,0,1,1,100,100);
              maingrid.setConstraints(username, constraints);
              buildconstraints(constraints,1,0,1,1,100,100);
              maingrid.setConstraints(search, constraints);
              buildconstraints(constraints,0,1,1,1,100,100);
              maingrid.setConstraints(skillPane, constraints);
              pane.setLayout(maingrid);
              constraints.fill = GridBagConstraints.BOTH;          
              search.addActionListener(this);
              box.setEditable(false);
              buildconstraints(constraints,1,1,2,1,120,100);
              maingrid.setConstraints(box, constraints);
              pane.add(username);
              pane.add(search);
              pane.add(box);
              pane.add(skillPane);
              setContentPane(pane);
              //getContentPane().add(scroll);
              pack();
              setVisible(true);
              WindowListener l = new WindowAdapter(){
                   public void windowClosing(WindowEvent evt){
                        System.exit(0);
              addWindowListener(l);
         void buildconstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, int wx,int wy){
              gbc.gridx = gx;
              gbc.gridy = gy;
              gbc.gridwidth = gw;
              gbc.gridheight = gh;
              gbc.weightx = wx;
              gbc.weighty = wy;
         /*Vector ranks = new Vector();
         Vector levels = new Vector();
         Vector exp = new Vector();*/
         class Stats{
              int[] levels = new int[34];
              int[] experience = new int[34];
              int[] ranks = new int[34];
         Stats stats = new Stats();
         public void getStats(URL url){          
              URLConnection conn = null;
              InputStreamReader in;
              BufferedReader data;
              String line;          
              StringBuffer buf = new StringBuffer();
              try{
                   conn = this.page.openConnection();
                   conn.connect();
                   //box.setText("Connection opened");
                   in = new InputStreamReader(conn.getInputStream());
                   data = new BufferedReader(in);
                   //box.setText("Reading data...");
                   int ts=0;
                   while ((line = data.readLine()) != null){
                        buf.append(line + "\n");
                        StringTokenizer tokenize;
                        tokenize = new StringTokenizer(line.toString(),",");
                        int[][] paarid = {{1,0},{2,3},{3,6},{4,1},{5,9},{6,12},{7,15},{8,11},{9,17},{10,16},{11,8},{12,14},{13,13},
                                  {14,5},{15,2},{16,7},{17,4},{17,10},{19,19},{20,20},{21,18},{22,22},{23,21},{24,23}};
                        if (ts < 25 && ts > 0){
                             int slot = paarid[ts-1][1];
                                  stats.ranks[slot] = Integer.parseInt(tokenize.nextToken());
                                  int yo = Integer.parseInt(tokenize.nextToken());
                                  stats.levels[slot] =yo;
                                  stats.experience[slot] = Integer.parseInt(tokenize.nextToken());                         
                        ts++;
                   for (int i = 0; i < skills.length;i++){
                        String text = ""+stats.levels[i];//testings[i];//
                        skills[i].setText(text);
              }catch(IOException e){
                   box.setText("Insert a username \nfirst!");
         public String getNextXp(int level, int currxp){
              String nextXp;
              if (level > 98){
                   nextXp = "N/A";
              }else{
                   nextXp = ""+(differences[level] - currxp);
              return nextXp;
         public void actionPerformed(ActionEvent evt){
                   String newuser = username.getText().toString();
                   name = newuser;
                   String address = "http://hiscore.runescape.com/index_lite.ws?player="+name;
                   try{
                        page = new URL(address);               
                        getStats(page);
                   }catch(MalformedURLException e){
                        box.setText("Insert a username");
                   repaint();
         public void mouseEntered(MouseEvent e) {
              //if (experience[].isEmpty()){          
                   Object s = e.getSource();
                   for (int i = 0; i < skills.length;i++){
                        if (s == skills[i]){
                             box.setText("Rank: " + stats.ranks[i] + "\nExperience: " + stats.experience[i] + "\nExp until next: " + getNextXp(stats.levels[i],stats.experience[i]));
         public void mouseExited(MouseEvent e) {
    box.setText("");
         public void mouseClicked(MouseEvent e) {
         public void mousePressed(MouseEvent e) {
         public void mouseReleased(MouseEvent e) {
    This is just a little project i thought i'd make for learning.
    But can anyone help me make a working jar or an exe file?
    The Jar i created does nothing, no error or anything.
    Thanks for Help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    How should i run the jar file then? I am double clicking it yes.
    EDIT: i ran the program through command line and i got an error:
    Exception in thread "main" java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at PageFrame.<init>(PageFrame.java:41)
    at Main.main(Main.java:4)OK - so it looks like you've found a command line!
    You read these stack traces from the top down. Often the most interesting line is the first line that refers to your code. In this case line 41 of PageFrame.java which, I guess is this:
    ImageIcon icon = new ImageIcon(PageFrame.class.getResource(
            "images/skillimages/" + skillnames[i] + ".gif"));The ImageIcon constructor is grumbling about being told to construct an icon from a null resource. getResource() will return null if it cannot find the resource that you specify.
    The first thing to do is check that the .gif image is where it should be. You have specified it as "images/skillimages/etc" so use the command line to view the contents of the .jar file (or maybe Eclipse will let you do this). Next to PageFrame.class there should be a folder "images" and within it a folder "skillimages" and within that the image file. If not then your jar export has been seen up wrongly and is not including the required resource files.
    (The "View" command is explained here: [http://java.sun.com/docs/books/tutorial/deployment/jar/view.html].)
    Next check the case of the file names. On Windows getResource() will not worry about the cAsE of filenames so the resources will be located fine when running the program unjarred (including within Eclipse). But it does worry about the case of jar entry names. Bottom line: keep the file names all lower case because you use them that way in the code.
    Finally, in case it is a particular image resource that's causing the problem you could add some code to print out its name just before you try and create the icon.
    for (int i = 0; i < skills.length;i++){
        System.out.println(
                "About to make icon from " + "images/skillimages/" + skillnames[i] + ".gif");
        ImageIcon icon = new ImageIcon(PageFrame.class.getResource(
                "images/skillimages/" + skillnames[i] + ".gif"));
        skills[i] = new JLabel("00",icon,JLabel.CENTER);
    }

  • Can´t get SWF files to work in DW CS5

    I´m doing a personal website with DW CS5.
    That´s the code for the index.htm page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>engenho3D - Inicio</title>
    <style type="text/css">
    body {
        background-color: #666;
    #wrapper {
        background-color: #000;
        height: 1350px;
        width: 930px;
        margin-right: auto;
        margin-left: auto;
        position: relative;
    #animLogo {
        height: 200px;
        width: 300px;
        margin-top: 15px;
        margin-left: 15px;
        float: left;
    #companyLogo {
        height: 200px;
        width: 600px;
        margin-top: 15px;
        position: absolute;
        left: 315px;
    #splitBar {
        background-color: #000;
        height: 25px;
        width: 900px;
        margin-left: 15px;
        clear: both;
        background-image: url(_images/split_bar.jpg);
        background-repeat: no-repeat;
        margin-bottom: 15px;
    #mainNav {
        background-color: #000;
        height: 50px;
        width: 900px;
        margin-left: 15px;
    #btnInicio {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
        clear: left;
    #btnTutoriais {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
    #btnLoja {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
    #btnServicos {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
    #btnContato {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
    #btnSobre {
        background-color: #000;
        height: 50px;
        width: 150px;
        float: left;
        clear: right;
    #pageIdent {
        background-color: #000;
        height: 50px;
        width: 900px;
        margin-left: 15px;
        background-image: url(_images/inicio_title.jpg);
        background-repeat: no-repeat;
        margin-top: 15px;
    #mainContent {
        background-color: #000;
        height: 900px;
        width: 900px;
        margin-left: 15px;
    #firstWords {
        height: 320px;
        width: 900px;
        margin-top: 10px;
        background-image: url(_images/first_words.gif);
        background-repeat: no-repeat;
    #embedVideo {
        height: 506px;
        width: 900px;
        margin-top: 40px;
        margin-right: auto;
        margin-left: auto;
    #footer {
        height: 50px;
        width: 930px;
        background-image: url(_images/direitos-autorais.png);
        background-repeat: no-repeat;
        margin-top: 20px;
    </style>
    <script src="Scripts/swfobject.js" type="text/javascript"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="wrapper">
             <div id="animLogo">
               <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="200" id="animated_logo" title="animLogo">
                 <param name="movie" value="_swf/logo.swf" />
                 <param name="quality" value="high" />
                 <param name="wmode" value="opaque" />
                 <param name="swfversion" value="6.0.65.0" />
                 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                 <param name="expressinstall" value="Scripts/expressInstall.swf" />
                 <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                 <!--[if !IE]>-->
                 <object type="application/x-shockwave-flash" data="_swf/logo.swf" width="300" height="200">
                   <!--<![endif]-->
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                   <div>
                     <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                     <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                   </div>
                   <!--[if !IE]>-->
                 </object>
                 <!--<![endif]-->
               </object>
      </div>
             <div id="companyLogo">
               <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="200" id="animated_name" title="animTitle">
                 <param name="movie" value="_swf/animated_title.swf" />
                 <param name="quality" value="high" />
                 <param name="wmode" value="opaque" />
                 <param name="swfversion" value="6.0.65.0" />
                 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                 <param name="expressinstall" value="Scripts/expressInstall.swf" />
                 <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                 <!--[if !IE]>-->
                 <object type="application/x-shockwave-flash" data="_swf/animated_title.swf" width="600" height="200">
                   <!--<![endif]-->
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                   <div>
                     <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                     <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                   </div>
                   <!--[if !IE]>-->
                 </object>
                 <!--<![endif]-->
               </object>
      </div>
             <div id="splitBar"></div>
             <div id="mainNav">
               <div id="btnInicio">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_inicio" title="Inicio">
                   <param name="movie" value="_swf/inicio.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/inicio.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
               <div id="btnTutoriais">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_tutoriais" title="Tutoriais">
                   <param name="movie" value="_swf/tutoriais.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/tutoriais.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
               <div id="btnLoja">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_loja" title="Loja">
                   <param name="movie" value="_swf/loja.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/loja.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
               <div id="btnServicos">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_servicos" title="Serviços">
                   <param name="movie" value="_swf/servicos.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/servicos.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
               <div id="btnContato">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_contato" title="Contato">
                   <param name="movie" value="_swf/contato.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/contato.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
               <div id="btnSobre">
                 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" id="btn_sobre" title="Sobre">
                   <param name="movie" value="_swf/sobre.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/sobre.swf" width="150" height="50">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
             </div>
             <div id="pageIdent"></div>
             <div id="mainContent">
               <div id="firstWords"></div>
               <div id="embedVideo">
                 <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="506">
                   <param name="movie" value="_swf/Untitled-11.swf" />
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                   <!--[if !IE]>-->
                   <object type="application/x-shockwave-flash" data="_swf/Untitled-11.swf" width="900" height="506">
                     <!--<![endif]-->
                     <param name="quality" value="high" />
                     <param name="wmode" value="opaque" />
                     <param name="swfversion" value="6.0.65.0" />
                     <param name="expressinstall" value="Scripts/expressInstall.swf" />
                     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                     <div>
                       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                     </div>
                     <!--[if !IE]>-->
                   </object>
                   <!--<![endif]-->
                 </object>
               </div>
      </div>
      <div id="footer"></div>
    </div>
    <script type="text/javascript">
    swfobject.registerObject("animated_name");
    swfobject.registerObject("animated_logo");
    swfobject.registerObject("btn_inicio");
    swfobject.registerObject("btn_tutoriais");
    swfobject.registerObject("btn_loja");
    swfobject.registerObject("btn_servicos");
    swfobject.registerObject("btn_contato");
    swfobject.registerObject("btn_sobre");
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Where you see the white blank box, that´s where the .swf animation should be playing. Weird is that the buttons are .swf too but they do work.
    Any ideas why the animation is not playing?
    link to the website                    http://www.engenho3d.com
    Thanks.

    Murray *ACP* is right, _swf/Untitled-11.swf displays nothing... so that's the problem.
    The good part is... trying to direct download does NOT return "File not found". So the file is there on the server..  it's just not working.
    My educated guess is that the animation is calling in some external assets, .xml, images, another .swf, some type of skin... something external to the .swf needed for the display... and the path to that asset is not correct... hence.. nothing displays.
    Pathing issues are one of the most common problems when using Flash. You just need to remember that once you place a .swf on a Web page, the path to all assets called by that .swf must be pathed relative to the WEB PAGE holding the .swf, NOT the physical location of the .swf. From an old post:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do not have to be in the root. But if sticking them in there worked, then you know that the issue was a pathing problem.
    Just remember that paths become relative to the Web page on which those Flash files are used. So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, etc), the path used inside the .swf to the .xml file has to be relative to it's new location in root and back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    So just be sure that you use addresses relative to the final locations and you can put the files wherever you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Double check to see if pathing inside the .swf may be at the root of your problem.
    Best wishes,
    Adninjastrator

  • How do I get *.jar files to work?

    I don't think that simply saving java files as jar files works by itself. Do I need some kind of converter program?

    Assuming you are using windows 2000, first go to Start > Settings > Control Panel > System > Advanced > Environment Variables. Then make sure the full path of the jar file is included in your CLASSPATH. This is where Java looks to see what packages might need to be included.
    If you are not using Win 2K, then do a search here for "setting classpath" and you will get a ton of info.
    Rebies

  • How can I get png files to work on the iPad the same way they work for Android?

    With the Android version, I can select a .png file template for a border, then select a background .png file, layer it under the border so that the background is revealed thru the frame.  When I try to do this with the same .png files on an iPad it does not reveal thru the top layer. Same problem with my vector clip art not vectorized.

    I figured it out myself by going to the settings in the Photoshop Touch app and then selecting the Image Import setting and then selecting the Access Local Photos and then selecting the Always Use Native Photo Browser radio button.

  • How can i create  Jar file using Eclipse IDE.

    Hi Guys
    Am new to java. I want convert my project into executable jar file.
    In my project am using itext.jar.And some other folder.
    already i create jar file.But its not working.only its working 4 modules after that its say file cannot found exception.but the file path is correct.i dont know why its happen.
    This is my project folder strutre also
    Log:->
    src(folder)
    logs(folder)
    comments(folder)
    lib-->itext.jar.
    images-->1,gif
    properties-->catconfig.properties (file)
    now can i create jar file
    this code also show error when i run the jar file
    And this is my catconfig. properties file
    fileName=total_system_log.log
    DDSingle=DD_bysingleIP_comment.txt
    DDRange=DD_byrange_comment.txt
    NDPing=ping_comments.txt
    NDFPing=fping_comments.txt
    reportFileName=report.txt
    moduleFileName=Modules.txt
    propFileName=nameDetails.properties
    Choice=DDSingle
    logFileName=DDSingleIP_10.32.0.2.log
    finalReport=FinalReport.txt
    logFilePath=\logs\
    commentFilePath=\\Comments\\
    its very urgent for me . could u pls send my error  and u r ideas.
    thanks for u r Ansewering.
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.InputStream;
    import java.io.RandomAccessFile;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import java.util.ArrayList;
    public class LogReader {  
        public void getValuesFromFilesOnly(String Choice,String logFileName)
              try {
                   ArrayList commentsList = new ArrayList();
                   ArrayList tempList = new ArrayList();
                   String userdir = System.getProperty("user.dir");
                   String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                   String commentDir =ResourceBundle.getBundle("catconfig").getString(Choice);
                   String commentFilePath=ResourceBundle.getBundle("catconfig").getString("commentFilePath");
                   String currentdir1 =userdir+logFilePath+logFileName;
                   StringBuffer strBuff=new StringBuffer();
                   RandomAccessFile randomFile = null;
                   RandomAccessFile commentsFile = null;
                   String tempLine = null;
                   String commentLine = null;
                   String catVersion = null;
                   String finalReport=null;
                   int colon = 0;                    
                   int counter = 0;
                   boolean startFlag = false;
                   boolean endFlag = false;                    
                   boolean endOfFileFlag = false;          
                   System.out.println("Log file checked----->"+currentdir1);
                   System.out.println("comments file used--->"+commentDir);
                   try {
                        randomFile = new RandomAccessFile(currentdir1, "r");
                   } catch (Exception e) {
                        System.out.println("exception@getValuesFromFilesOnly@begin : "+e);
                   System.out.println("hi test1");
                   String commentDir1=userdir+commentFilePath+commentDir;
                   try{
                   System.out.println("Comment Dir:"+commentDir1);
                   commentsFile = new RandomAccessFile(commentDir1, "r");
                   catch (Exception e) {
                        System.out.println("exception@getValuesFromCommentDirOnly@begin : "+e);
                   while ((commentLine = commentsFile.readLine()) != null) {                         
                        String checkLine = commentLine.substring(commentLine.indexOf("=")+1, commentLine.length());
                        String message = commentLine.substring(0,commentLine.indexOf("="));
                        commentsList.add(checkLine);
                   commentsFile.close();
                   String startComment = (String)commentsList.get(0);
                   String endComment = (String)commentsList.get(commentsList.size()-1);
                   strBuff.append("                          CAT LOG REPORT                           \n\n");
                   while ((tempLine = randomFile.readLine()) != null) {               
                        if(tempLine.contains("CAT version is :"))
                             colon = tempLine.indexOf("is :");
                             catVersion = tempLine.substring(colon+4,tempLine.length());
                             String version=tempLine;
                             strBuff.append("Version : "+catVersion+"\n");
                             System.out.println("catVersion is :"+catVersion);
                        commentsFile = new RandomAccessFile(commentDir1, "r");
                        while ((commentLine = commentsFile.readLine()) != null) {
                             String checkLine = commentLine.substring(commentLine.indexOf("=")+1, commentLine.length());
                             String message = commentLine.substring(0,commentLine.indexOf("="));
                             checkLine=checkLine.toLowerCase();
                             tempLine=tempLine.toLowerCase();
                             if(tempLine.contains(checkLine))
                                  colon = tempLine.indexOf("info -");
                                  catVersion = tempLine.substring(colon+7,tempLine.length());
                                  strBuff.append(message+" ==> "+catVersion+"\n");
                                  System.out.println(message+" ==> "+catVersion);
                                  tempList.add(message+" ==> "+catVersion);
                                  if (catVersion.contains(startComment)){
                                       startFlag = true;
                                       counter++;
                                       System.out.println("*******startFlag**********"+startFlag);
                                  if (catVersion.contains(endComment)){
                                       endFlag = true;
                                       System.out.println("*******endFlag**********"+endFlag);
                                  if (startFlag == true && endFlag == true){
                                       System.out.println("******************************************");
                                       System.out.println("-------------Successfull completion-------");
                                       System.out.println("******************************************");
                                       startFlag = false;
                                       endFlag = false;
                                       counter = 0;
                                       tempList.clear();
                                  if (startFlag == true && endFlag == false && counter > 1){
                                       System.out.println("******************************************");
                                       System.out.println("---------------Failure after-----:"+tempList.get(tempList.size()-1));
                                       System.out.println("******************************************");
                                       //startFlag = false;
                                       //endFlag = false;
                                       counter = 0;
                                       tempList.clear();
                        commentsFile.close();
                   endOfFileFlag = true;
                   if (startFlag == true && endFlag == false && endOfFileFlag == true){
                        System.out.println("******************************************");
                        System.out.println("---------------Failure after-----:"+tempList.get(tempList.size()-1));
                        System.out.println("******************************************");
                        startFlag = false;
                        endFlag = false;
                        counter = 0;
                        tempList.clear();
                   randomFile.close();
                 System.out.println("hi");
                   finalReport=ResourceBundle.getBundle("catconfig").getString("finalReport");
                   savereportFile(strBuff,finalReport);
                   System.out.println("Report Generated");
              } catch (Exception e){
                   System.out.println("Exception@getValuesFromFilesOnly : "+e);
        public void findDetails()
             String currentdir1 = ResourceBundle.getBundle("catconfig").getString("fileName");     
             String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
             String userdir = System.getProperty("user.dir");
             RandomAccessFile randomFile = null;
             StringBuffer strBuff=new StringBuffer();
             StringBuffer strBuff1=new StringBuffer();
             StringBuffer strBuff2=new StringBuffer();
             String tempLine = null;     
              String catVersion = null;
              String timeStr=null;
              String nameStr=null;
              String startIP="";
              String endIP="";
              String tempStart="";
              String tempEnd="";
              String reportFileName="";
              String moduleFileName="";
              String propFileName="";
              int startPos=0;
              int endPos=0;
              int fromIndex=0;
              boolean versionFlag=false;
              boolean ndFlag=false;
              boolean ddFlag=false;
              try {
                   randomFile = new RandomAccessFile(userdir+logFilePath+currentdir1, "r");
                   while ((tempLine = randomFile.readLine()) != null) {
                        if(tempLine.contains("CAT version is :") && !versionFlag)
                             startPos = tempLine.indexOf("is :");
                             catVersion = tempLine.substring(startPos+4,tempLine.length());
                             String version=tempLine;
                             strBuff.append("version : "+version+"\n");
                             versionFlag=true;
                             //System.out.println("version : "+version);
                        if(tempLine.contains("Inside NetworkDiscoverySlider.jsp"))
                             ndFlag=true;
                             strBuff.append("ND start : "+tempLine+"\n");                         
                        if(tempLine.contains("Inside NetworkDiscoveryDetails.jsp"))
                             strBuff.append("ND end : "+tempLine+"\n");
                             //System.out.println(" ND end : "+tempLine);
                        if(tempLine.contains("Given IPRange from"))
                             startPos = tempLine.indexOf("from");
                             catVersion = tempLine.substring(startPos+5,tempLine.length());
                             strBuff.append("NDRange : "+catVersion+"\n");     
                             //strBuff.append("NDRange : "+tempLine+"\n");                                             
                             //System.out.println("NDRange :"+catVersion);     
                             startPos=0;
                             fromIndex=tempLine.indexOf(":");
                             endPos= tempLine.indexOf(':', fromIndex+2);
                             //System.out.println("fromIndex : "+fromIndex+" endPos : "+endPos);
                             timeStr=tempLine.substring(startPos, endPos);
                             nameStr=catVersion.replaceAll(" ", "_");                         
                             strBuff2.append("ND_"+timeStr+" "+catVersion+" = "+"NDRange_"+nameStr+".log\n");
                        if(tempLine.contains("inside ByIpAddress.jsp"))
                             ddFlag=true;
                             strBuff.append("DD Start : "+tempLine+"\n");                                                  
                        if(tempLine.contains("start_IpAddress:"))
                             startPos = tempLine.indexOf("start_IpAddress:");
                             catVersion = tempLine.substring(startPos+16,tempLine.length());
                             startIP=catVersion;                         
                        if(tempLine.contains("end_IpAddress"))
                             startPos = tempLine.indexOf("end_IpAddress");
                             catVersion = tempLine.substring(startPos+13,tempLine.length());
                             endIP=catVersion;                         
                             if(endIP.length()==0)
                                  System.out.println("hi5");
                                  strBuff.append("DDSingleIP : "+startIP+"\n");
                                  //strBuff.append("DDSingleIP : "+tempLine+"\n");                              
                                  //System.out.println("DDSingleIP : "+startIP);
                                  //startPos = tempLine.indexOf(" ");
                                  startPos=0;
                                  fromIndex=tempLine.indexOf(":");
                                  endPos= tempLine.indexOf(':', fromIndex+2);
                                  timeStr=tempLine.substring(startPos, endPos);     
                                  strBuff2.append("DD_"+timeStr+" "+startIP+" = "+"DDSingleIP_"+startIP+".log\n");
                             else
                                  strBuff.append("DDRangeIP : "+startIP + " to "+ endIP+"\n");
                                  //strBuff.append("DDRangeIP : "+tempLine+"\n");                              
                                  //System.out.println("DDRangeIP : "+startIP + " to "+ endIP);
                                  //startPos = tempLine.indexOf(" ");
                                  startPos=0;
                                  fromIndex=tempLine.indexOf(":");
                                  endPos= tempLine.indexOf(':', fromIndex+2);
                                  timeStr=tempLine.substring(startPos, endPos);                         
                                  strBuff2.append("DD_"+timeStr+" "+startIP+" to "+endIP+" = "+"DDRangeIP_"+startIP +"_to_"+ endIP+".log\n");
                        if(tempLine.contains("set percentage completedCount: 100"))
                             System.out.println("hi...1");
                             strBuff.append("DD End : "+tempLine+"\n");
                             //System.out.println("DD End : "+tempLine);          
                   reportFileName=ResourceBundle.getBundle("catconfig").getString("reportFileName");
                   savereportFile(strBuff,reportFileName);
                   if(ndFlag)
                        strBuff1.append("Network Discovery\n");                    
                   if(ddFlag)
                        strBuff1.append("Device Discovery\n");
                   moduleFileName=ResourceBundle.getBundle("catconfig").getString("moduleFileName");
                   savereportFile(strBuff1,moduleFileName);
                   propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
                   savereportFile(strBuff2,propFileName);
              } catch (Exception e)
                   System.out.println("error hi1");
                   System.out.println("Exception@findDetails : "+e);
        public void savereportFile(StringBuffer strBuff,String targetFileName)
              try{
                   String userdir = System.getProperty("user.dir");
                   String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                   String reportFile=userdir+logFilePath+targetFileName;     
                   String fileContent="";
                   fileContent=strBuff.toString();
                      //System.out.println("file content : "+fileContent);
                      FileWriter fileWriter = new FileWriter(reportFile);
                      if(fileContent!=null)
                           fileWriter.write(fileContent);
                      fileWriter.close();
              catch(Exception e)
                   System.out.println("error hi1");
                   System.out.println("Exception@savereportFile : "+e);
        public ArrayList<String> getFileNames()
             String reportFile=ResourceBundle.getBundle("catconfig").getString("reportFileName");
             String logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
             String userdir = System.getProperty("user.dir");
              RandomAccessFile repFile=null;
              String reportLine = null;
              int colon=0;
              int fromIndex=0;     
              int startPos=0;
              int endPos=0;
              String timeStr="";
              String fileName=null;          
              ArrayList<String> nameList=new ArrayList<String>();          
             try
                  reportFile=userdir+logFilePath+reportFile;
                  repFile = new RandomAccessFile(reportFile, "r");
                  while ((reportLine = repFile.readLine()) != null) {                    
                        if(reportLine.contains("NDRange"))
                             colon=reportLine.indexOf(" : ");
                             fileName=reportLine.substring(colon+3, reportLine.length());
                             fileName="NDRange_"+fileName.replaceAll(" ", "_");
                             nameList.add(fileName);
                             System.out.println("fileName : "+fileName);
                        if(reportLine.contains("DDSingleIP"))
                             colon=reportLine.indexOf(" : ");
                             fileName=reportLine.substring(colon+3, reportLine.length());
                             fileName="DDSingleIP_"+fileName.replaceAll(" ", "_");
                             nameList.add(fileName);
                             System.out.println("fileName : "+fileName);
                        if(reportLine.contains("DDRangeIP"))
                             colon=reportLine.indexOf(" : ");
                             fileName=reportLine.substring(colon+3, reportLine.length());
                             fileName="DDRangeIP_"+fileName.replaceAll(" ", "_");
                             nameList.add(fileName);
                             System.out.println("fileName : "+fileName);
                  repFile.close();
             catch(Exception e)
                   System.out.println("Error@getFileNames : "+e);
             return nameList;
        public void writeFile(String oldLogName,String newLogName)
             try
                   FileOutputStream writeFile=null;               
                   String line = null;
                   String userdir = System.getProperty("user.dir");
                   String reportFile=ResourceBundle.getBundle("catconfig").getString("reportFileName");     
                   String newLogPath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                   RandomAccessFile repFile=null;               
                   String reportLine = null;
                   String tempLine=null;
                   String prevLine=null;
                   String nextLine=null;
                   String target=null;
                   String tempStr=null;
                   String startStr=null;
                   String endStr=null;          
                   int pos=0;
                   boolean flag=false;
                   boolean writeFlag=false;
                   boolean versionFlag=false;               
                   //System.out.println("newLogName : "+newLogName);     
                   newLogPath=userdir+newLogPath;
                   System.out.println("newLogPath : "+newLogPath);     
                   BufferedReader buffRead = new BufferedReader(new FileReader(oldLogName));
                   writeFile = new FileOutputStream(newLogPath+newLogName+".log", false);//true-for append mode
                   DataOutputStream dout=new DataOutputStream(writeFile);               
                   tempStr=newLogName.replace("_", " ");
                   pos=tempStr.indexOf(" ");
                   startStr=tempStr.substring(0,pos);
                   endStr=tempStr.substring(pos+1, tempStr.length());
                   target=startStr+" : "+endStr;
                   System.out.println("target ===> "+target);               
                   reportFile=newLogPath+reportFile;
                   repFile = new RandomAccessFile(reportFile, "r");
                  while ((reportLine = repFile.readLine()) != null) {                   
                       if(reportLine.contains(target))
                            flag=true; 
                            prevLine=tempLine;
                            //System.out.println("prevLine *****: "+prevLine);
                       else
                            tempLine=reportLine;
                            if(flag==true)
                                 nextLine=reportLine;
                                 flag=false;
                                 //System.out.println("nextLine *******:"+nextLine);
                                 break;
                  repFile.close();     
                 if(prevLine!=null && prevLine.length()>0)
                       pos=prevLine.lastIndexOf(" : ");
                       prevLine=prevLine.substring(pos+3, prevLine.length());
                       //System.out.println("prevLine : "+prevLine);
                  else
                       System.out.println("Starting line not available for : "+target);
                  if(nextLine!=null && nextLine.length()>0)
                        pos=nextLine.lastIndexOf(" : ");
                        nextLine=nextLine.substring(pos+3, nextLine.length());
                        //System.out.println("nextLine : "+nextLine);
                  else
                       System.out.println("Ending line not available for : "+target);
                       nextLine=prevLine;
                   while ((line=buffRead.readLine()) != null) {     
                        if(line.contains("CAT version is :") && !versionFlag)
                             versionFlag=true;
                             dout.writeBytes(line+"\n");                         
                        if(line.contains(prevLine))
                             writeFlag=true;                         
                        if(line.contains(nextLine))
                             writeFlag=false;
                             break;
                        if(writeFlag)
                             dout.writeBytes(line+"\n");
                  dout.writeBytes(nextLine+"\n");
                   buffRead.close();     
                   System.out.println("done");
              catch(Exception e)
                   System.out.println("Exception@writeFile : "+e.getMessage());
        public String folderCheck(String foldName)
              File folder=null;
              File newFile=null;
              String[] folderContent=null;
              String tempFileName="";
              String newLogName="";
              int count=0;     
              String logFilePath="";     
              String fileName="";
              String feedBackMsg="";          
              String userdir = System.getProperty("user.dir");
              logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
              fileName=ResourceBundle.getBundle("catconfig").getString("fileName");
              folder=new File(foldName);
              if(folder.isDirectory())
                   newLogName=userdir+logFilePath+fileName;
                   //System.out.println("newLogName : "+newLogName);
                   newFile=new File(newLogName);
                   if(newFile.exists())
                        newFile.delete();
                   folderContent= folder.list();
                   if (folderContent != null && folderContent.length>0)
                        System.out.println("folder has files : "+folderContent.length);                    
                        for(int iterate=0;iterate < folderContent.length;iterate++){                         
                             if (folderContent[iterate].toLowerCase().contains("system"))
                                  count++;                              
                                  tempFileName=foldName+"/"+folderContent[iterate];     
                                  try
                                       FileOutputStream appendedFile=null;
                                       BufferedReader buffRead = new BufferedReader(new FileReader(tempFileName));
                                       appendedFile = new FileOutputStream(newLogName, true);//true-for append mode
                                        DataOutputStream dout=new DataOutputStream(appendedFile);
                                        String line = null;
                                       System.out.println("writting : "+tempFileName);
                                       while ((line=buffRead.readLine()) != null) {                                        
                                            dout.writeBytes(line+"\n");
                                       buffRead.close();          
                                       //System.out.println("done");
                                  catch(Exception e)
                                       System.out.println("Exception@folderCheck : "+e);
                        if(count==0)
                             feedBackMsg="syslognotavail";
                             //System.out.println("System Log(s) not available");
                        else
                             feedBackMsg="syslogavail";
                             //System.out.println(count +" System log(s) avail");
                   else
                        feedBackMsg="filesnotavail";
                        //System.out.println("Files are not in the folder");
              else
                   feedBackMsg="Dirnotavil";
                   //System.out.println("Directory not exists in the given name");
              return feedBackMsg;
        public ArrayList<String> loadFileContent(String selectedStr)
             //System.out.println("inside loadFileContent()");
             String logFilePath="";
             String propFileName="";
             String line="";
             String choice="";
             String tempStr="";
             int startPos=0;
             int endPos=0;
             ArrayList<String> timeList=new ArrayList<String>();
             String userdir = System.getProperty("user.dir");
             try
                  logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                  propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
                  propFileName=userdir+logFilePath+propFileName;
                  BufferedReader buffRead = new BufferedReader(new FileReader(propFileName));
                  if(selectedStr.equalsIgnoreCase("Device Discovery"))
                       choice="DD";
                  else if(selectedStr.equalsIgnoreCase("Network Discovery"))
                       choice="ND";
                  while ((line=buffRead.readLine()) != null) {                                        
                        if(line.contains(choice))
                             System.out.println(line);
                             startPos=line.indexOf("_");
                             endPos=line.indexOf(" =");
                             tempStr=line.substring(startPos+1, endPos);
                             System.out.println("tempStr : "+tempStr);
                             timeList.add(tempStr);
                   buffRead.close();          
             catch(Exception e)
                  System.out.println("Exception@loadFileContent : "+e);
             return timeList;
        public String getFileName(String timeStr)
             System.out.println("inside getFileName");
             String logFilePath="";
             String propFileName="";
             String line="";
             String tempStr="";
             int startPos=0;
             String userdir = System.getProperty("user.dir");
             try
                  logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                  propFileName=ResourceBundle.getBundle("catconfig").getString("propFileName");
                  propFileName=userdir+logFilePath+propFileName;              
                  BufferedReader buffRead = new BufferedReader(new FileReader(propFileName));              
                  while ((line=buffRead.readLine()) != null) {                                        
                        if(line.contains(timeStr))
                             System.out.println(line);
                             startPos=line.indexOf(" = ");                         
                             tempStr=line.substring(startPos+3, line.length());
                             System.out.println("tempStr : "+tempStr);                         
                   buffRead.close();          
             catch(Exception e)
                  System.out.println("Exception@loadFileContent : "+e);
             return tempStr;
        public ArrayList loadFile()
             String logFilePath="";
             String moduleFileName="";
             String line="";         
             ArrayList<String> moduleList=new ArrayList<String>();
             String userdir = System.getProperty("user.dir");
             try
                  logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
                  moduleFileName=ResourceBundle.getBundle("catconfig").getString("moduleFileName");
                  moduleFileName=userdir+logFilePath+moduleFileName;
                  BufferedReader buffRead = new BufferedReader(new FileReader(moduleFileName));              
                  while ((line=buffRead.readLine()) != null) {     
                       moduleList.add(line);                    
                   buffRead.close();          
             catch(Exception e)
                  System.out.println("Exception@loadFile : "+e);
             return moduleList;
    public static void main(String[] args) {          
         System.out.println("Inside main");     
         //String userdir = System.getProperty("user.dir");
         //System.out.println("userdir : "+userdir);
         /*ArrayList<String> fileNameList=new ArrayList<String>();
         String Choice="";     
         String logFileName="";     
         String logFilePath="";     
         String totalLog="";     
         String newLog="";     
         String folderName="";
         Choice=ResourceBundle.getBundle("catconfig").getString("Choice");
         logFileName=ResourceBundle.getBundle("catconfig").getString("logFileName");     
         logFilePath=ResourceBundle.getBundle("catconfig").getString("logFilePath");
         folderName=ResourceBundle.getBundle("catconfig").getString("folderName");
         totalLog=ResourceBundle.getBundle("catconfig").getString("fileName");     */
         /*try
              //to write the total log
              //folderCheck(folderName);
              //to find the details in the given log
              //findDetails();
              //to split the logs accordingly
              totalLog=logFilePath+totalLog;          
              fileNameList=getFileNames();;
              System.out.println("FileNameList size = "+fileNameList.size());
              for(int i=0;i<fileNameList.size();i++)
                   newLog=fileNameList.get(i).toString();
                   writeFile(totalLog,newLog);
              //to analyse the logs & to produce reports          
              //getValuesFromFilesOnly(Choice,logFileName);          
         }catch (Exception e)
              System.out.println(e.getMessage());
    }[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    JSP is used for server validation.
    So you need a an application server (like Tomcat or Jboss) to execute your jsp files.
    you can create the .war file of your simple jsp application and put it in the server.
    then you will have to access your page using a web browser.
    the URL will be
    http://<ComputerName or IP Address>:<PortNumber>/<WarFileName>/<MainJspPage>
    (eg: http://100.100.100.252:8080/SimpleApplication/mainPage.jsp)
    -Achyuth

  • Can't get direct rendering to work

    On my notebook with an Intel 945GM card, I can't get direct rendering to work.
    I'm using the 'xf86-video-intel' driver.
    /etc/X11/xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Touchpad" "AlwaysCore SendCoreEvents"
    # InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "ServerFlags"
    Option "DontZap"
    Option "DontZoom"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "xtrap"
    Load "extmod"
    Load "GLcore"
    Load "record"
    Load "dbe"
    Load "glx"
    Load "dri"
    Load "freetype"
    Load "synaptics"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "us"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "InputDevice"
    Driver "synaptics"
    Identifier "Touchpad"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "1700"
    Option "RightEdge" "5300"
    Option "TopEdge" "1700"
    Option "BottomEdge" "4200"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "VertScrollDelta" "100"
    Option "MinSpeed" "0.06"
    Option "MaxSpeed" "0.12"
    Option "AccelFactor" "0.0010"
    Option "SHMConfig" "on"
    # Option "Repeater" "/dev/ps2mouse"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    DisplaySize 338 211
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "2174"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 8
    Modes "1280x800" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1280x800" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x800" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    And here is /var/log/Xorg.0.log:
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    X.Org X Server 1.4.0.90
    Release Date: 5 September 2007
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.24-ARCH i686
    Current Operating System: Linux zg6y3zg9f3x 2.6.24.3-ARCH #2 SMP PREEMPT Sun Mar 2 23:22:11 CET 2008 i686
    Build Date: 03 February 2008 02:54:48PM
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 3 00:20:16 2008
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) ServerLayout "X.org Configured"
    (**) |-->Screen "Screen0" (0)
    (**) | |-->Monitor "Monitor0"
    (**) | |-->Device "Card0"
    (**) |-->Input Device "Touchpad"
    (**) |-->Input Device "Keyboard0"
    (**) Option "DontZap"
    (**) Option "DontZoom"
    (==) Automatically adding devices
    (==) Automatically enabling devices
    (WW) The directory "/usr/share/fonts/Type1" does not exist.
    Entry deleted from font path.
    (==) Including the default font path /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1.
    (**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1
    (**) RgbPath set to "/usr/share/X11/rgb"
    (**) ModulePath set to "/usr/lib/xorg/modules"
    (==) |-->Input Device "Mouse0"
    (==) The core pointer device wasn't specified explicitly in the layout.
    Using the first mouse device.
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) Loader magic: 0x81d65c0
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.3
    X.Org Video Driver: 2.0
    X.Org XInput driver : 2.0
    X.Org Server Extension : 0.3
    X.Org Font Renderer : 0.5
    (II) Loader running on linux
    (II) LoadModule: "pcidata"
    (II) Loading /usr/lib/xorg/modules//libpcidata.so
    (II) Module pcidata: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Video Driver, version 2.0
    (--) using VT number 7
    (II) PCI: PCI scan (all values are in hex)
    (II) PCI: 00:00:0: chip 8086,27a0 card 1025,0090 rev 03 class 06,00,00 hdr 00
    (II) PCI: 00:02:0: chip 8086,27a2 card 1025,0090 rev 03 class 03,00,00 hdr 80
    (II) PCI: 00:02:1: chip 8086,27a6 card 1025,0090 rev 03 class 03,80,00 hdr 80
    (II) PCI: 00:1b:0: chip 8086,27d8 card 1025,0090 rev 02 class 04,03,00 hdr 00
    (II) PCI: 00:1c:0: chip 8086,27d0 card 0000,0000 rev 02 class 06,04,00 hdr 81
    (II) PCI: 00:1c:1: chip 8086,27d2 card 0000,0000 rev 02 class 06,04,00 hdr 81
    (II) PCI: 00:1c:2: chip 8086,27d4 card 0000,0000 rev 02 class 06,04,00 hdr 81
    (II) PCI: 00:1c:3: chip 8086,27d6 card 0000,0000 rev 02 class 06,04,00 hdr 81
    (II) PCI: 00:1d:0: chip 8086,27c8 card 1025,0090 rev 02 class 0c,03,00 hdr 80
    (II) PCI: 00:1d:1: chip 8086,27c9 card 1025,0090 rev 02 class 0c,03,00 hdr 00
    (II) PCI: 00:1d:2: chip 8086,27ca card 1025,0090 rev 02 class 0c,03,00 hdr 00
    (II) PCI: 00:1d:3: chip 8086,27cb card 1025,0090 rev 02 class 0c,03,00 hdr 00
    (II) PCI: 00:1d:7: chip 8086,27cc card 1025,0090 rev 02 class 0c,03,20 hdr 00
    (II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev e2 class 06,04,01 hdr 01
    (II) PCI: 00:1f:0: chip 8086,27b9 card 1025,0090 rev 02 class 06,01,00 hdr 80
    (II) PCI: 00:1f:2: chip 8086,27c4 card 1025,0090 rev 02 class 01,01,80 hdr 00
    (II) PCI: 00:1f:3: chip 8086,27da card 1025,0090 rev 02 class 0c,05,00 hdr 00
    (II) PCI: 05:00:0: chip 8086,4222 card 8086,1000 rev 02 class 02,80,00 hdr 00
    (II) PCI: 06:01:0: chip 14e4,170c card 1025,0090 rev 02 class 02,00,00 hdr 00
    (II) PCI: 06:04:0: chip 1524,1412 card 1400,0000 rev 10 class 06,07,00 hdr 82
    (II) PCI: 06:04:1: chip 1524,0530 card 1025,0090 rev 01 class 05,01,00 hdr 80
    (II) PCI: 06:04:2: chip 1524,0550 card 1025,0090 rev 01 class 08,05,01 hdr 80
    (II) PCI: 06:04:3: chip 1524,0520 card 1025,0090 rev 01 class 05,01,00 hdr 80
    (II) PCI: 06:04:4: chip 1524,0551 card 1025,0090 rev 01 class 05,01,00 hdr 80
    (II) PCI: End of PCI scan
    (II) Intel Bridge workaround enabled
    (II) Host-to-PCI bridge:
    (II) Bus 0: bridge is at (0:0:0), (0,0,7), BCTRL: 0x0008 (VGA_EN is set)
    (II) Bus 0 I/O range:
    [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[b]
    (II) Bus 0 non-prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    (II) Bus 0 prefetchable memory range:
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    (II) PCI-to-PCI bridge:
    (II) Bus 2: bridge is at (0:28:0), (0,2,2), BCTRL: 0x0004 (VGA_EN is cleared)
    (II) PCI-to-PCI bridge:
    (II) Bus 3: bridge is at (0:28:1), (0,3,3), BCTRL: 0x0004 (VGA_EN is cleared)
    (II) PCI-to-PCI bridge:
    (II) Bus 4: bridge is at (0:28:2), (0,4,4), BCTRL: 0x0004 (VGA_EN is cleared)
    (II) PCI-to-PCI bridge:
    (II) Bus 5: bridge is at (0:28:3), (0,5,5), BCTRL: 0x0004 (VGA_EN is cleared)
    (II) Bus 5 non-prefetchable memory range:
    [0] -1 0 0xd0100000 - 0xd01fffff (0x100000) MX[b]
    (II) Subtractive PCI-to-PCI bridge:
    (II) Bus 6: bridge is at (0:30:0), (0,6,7), BCTRL: 0x0000 (VGA_EN is cleared)
    (II) Bus 6 non-prefetchable memory range:
    [0] -1 0 0xd0000000 - 0xd00fffff (0x100000) MX[b]
    (II) PCI-to-ISA bridge:
    (II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
    (II) PCI-to-CardBus bridge:
    (II) Bus 7: bridge is at (6:4:0), (6,7,10), BCTRL: 0x0740 (VGA_EN is cleared)
    (--) PCI:*(0:2:0) Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xd0200000/19, 0xc0000000/28, 0xd0300000/18, I/O @ 0x5088/3
    (--) PCI: (0:2:1) Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xd0280000/19
    (II) Addressable bus resource ranges are
    [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[b]
    [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[b]
    (II) OS-reported resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    (II) Active PCI resource ranges:
    [0] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [1] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [2] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [3] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [4] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [5] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [6] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [7] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [8] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [9] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [10] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [11] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [12] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [13] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [14] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [15] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [16] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [17] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [18] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    (II) Inactive PCI resource ranges:
    [0] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [1] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [2] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [3] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    (II) Active PCI resource ranges after removing overlaps:
    [0] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [1] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [2] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [3] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [4] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [5] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [6] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [7] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [8] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [9] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [10] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [11] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [12] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [13] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [14] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [15] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [16] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [17] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [18] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    (II) Inactive PCI resource ranges after removing overlaps:
    [0] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [1] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [2] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [3] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    (II) OS-reported resource ranges after removing overlaps with PCI:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    (II) All system resource ranges:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [5] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [6] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [7] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [8] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [9] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [10] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [11] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [12] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [13] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [14] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [15] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [18] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [19] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [20] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [21] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [22] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [23] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [24] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [25] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [26] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [27] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [28] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
    (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
    (II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
    (II) "record" will be loaded. This was enabled by default and also specified in the config file.
    (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
    (II) LoadModule: "xtrap"
    (II) Loading /usr/lib/xorg/modules/extensions//libxtrap.so
    (II) Module xtrap: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension DEC-XTRAP
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension SHAPE
    (II) Loading extension MIT-SUNDRY-NONSTANDARD
    (II) Loading extension BIG-REQUESTS
    (II) Loading extension SYNC
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XC-MISC
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-Misc
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension TOG-CUP
    (II) Loading extension Extended-Visual-Information
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension RECORD
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (==) AIGLX enabled
    (II) Loading extension GLX
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "freetype"
    (II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
    (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
    compiled for 1.4.0.90, module version = 2.1.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.5
    (II) Loading font FreeType
    (II) LoadModule: "synaptics"
    (II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
    (II) Module synaptics: vendor="X.Org Foundation"
    compiled for 4.3.99.902, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.0
    (II) LoadModule: "intel"
    (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
    (II) Module intel: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 2.2.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 2.0
    (II) LoadModule: "synaptics"
    (II) Reloading /usr/lib/xorg/modules/input//synaptics_drv.so
    (II) LoadModule: "kbd"
    (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
    (II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.4.0, module version = 1.2.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.0
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.4.0, module version = 1.2.3
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.0
    (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ,
    965GM, 965GME/GLE, G33, Q35, Q33, Intel Integrated Graphics Device
    (II) Primary Device is: PCI 00:02:0
    (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
    (--) Chipset 945GM found
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [5] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [6] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [7] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [8] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [9] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [10] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [11] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [12] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [13] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [14] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [15] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    [16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [17] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [18] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [19] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [20] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [21] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [22] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [23] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [24] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [25] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [26] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [27] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [28] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    (II) resource ranges after probing:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [5] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [6] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [7] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [8] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [9] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [10] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [11] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [12] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [13] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [14] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [15] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    [16] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
    [17] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [18] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
    [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [21] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [22] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [23] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [24] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [25] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [26] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [27] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [28] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [29] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [30] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [31] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    [32] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
    [33] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
    (II) Setting vga for screen 0.
    (II) Loading sub module "int10"
    (II) LoadModule: "int10"
    (II) Loading /usr/lib/xorg/modules//libint10.so
    (II) Module int10: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Video Driver, version 2.0
    (II) Loading sub module "vbe"
    (II) LoadModule: "vbe"
    (II) Loading /usr/lib/xorg/modules//libvbe.so
    (II) Module vbe: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.1.0
    ABI class: X.Org Video Driver, version 2.0
    (II) Loading sub module "vgahw"
    (II) LoadModule: "vgahw"
    (II) Loading /usr/lib/xorg/modules//libvgahw.so
    (II) Module vgahw: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 0.1.0
    ABI class: X.Org Video Driver, version 2.0
    (**) intel(0): Depth 24, (--) framebuffer bpp 32
    (==) intel(0): RGB weight 888
    (==) intel(0): Default visual is TrueColor
    (II) intel(0): Integrated Graphics Chipset: Intel(R) 945GM
    (--) intel(0): Chipset: "945GM"
    (--) intel(0): Linear framebuffer at 0xC0000000
    (--) intel(0): IO registers at addr 0xD0200000
    (II) intel(0): 2 display pipes available.
    (==) intel(0): Using EXA for acceleration
    (II) Loading sub module "ddc"
    (II) LoadModule: "ddc"(II) Module "ddc" already built-in
    (II) Loading sub module "i2c"
    (II) LoadModule: "i2c"(II) Module "i2c" already built-in
    (II) intel(0): Output VGA using monitor section Monitor0
    (II) intel(0): I2C bus "CRTDDC_A" initialized.
    (II) intel(0): Output LVDS has no monitor section
    (II) intel(0): I2C bus "LVDSDDC_C" initialized.
    (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
    (II) intel(0): EDID vendor "AUO", prod id 8564
    (II) Loading sub module "int10"
    (II) LoadModule: "int10"
    (II) Reloading /usr/lib/xorg/modules//libint10.so
    (II) intel(0): initializing int10
    (WW) intel(0): Bad V_BIOS checksum
    (II) intel(0): Primary V_BIOS segment is: 0xc000
    (II) intel(0): VESA BIOS detected
    (II) intel(0): VESA VBE Version 3.0
    (II) intel(0): VESA VBE Total Mem: 7872 kB
    (II) intel(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
    (II) intel(0): VESA VBE OEM Software Rev: 1.0
    (II) intel(0): VESA VBE OEM Vendor: Intel Corporation
    (II) intel(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller
    (II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0
    (II) intel(0): I2C bus "SDVOCTRL_E for SDVOB" initialized.
    (II) intel(0): I2C device "SDVOCTRL_E for SDVOB:SDVO Controller B" registered at address 0x70.
    (II) intel(0): No SDVO device found on SDVOB
    (II) intel(0): I2C device "SDVOCTRL_E for SDVOB:SDVO Controller B" removed.
    (II) intel(0): I2C bus "SDVOCTRL_E for SDVOB" removed.
    (II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" initialized.
    (II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C" registered at address 0x72.
    (II) intel(0): No SDVO device found on SDVOC
    (II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C" removed.
    (II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" removed.
    (II) intel(0): Output TV has no monitor section
    (II) intel(0): EDID vendor "AUO", prod id 8564
    (II) intel(0): Output VGA disconnected
    (II) intel(0): Output LVDS connected
    (II) intel(0): Output TV disconnected
    (II) intel(0): Output LVDS using initial mode 1280x800
    (II) intel(0): Monitoring connected displays enabled
    (II) intel(0): detected 256 kB GTT.
    (II) intel(0): detected 7932 kB stolen memory.
    (==) intel(0): video overlay key set to 0x101fe
    (==) intel(0): Will not try to enable page flipping
    (==) intel(0): Triple buffering disabled
    (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) intel(0): Display dimensions: (338, 211) mm
    (**) intel(0): DPI set to (96, 154)
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.3
    (II) Loading sub module "exa"
    (II) LoadModule: "exa"
    (II) Loading /usr/lib/xorg/modules//libexa.so
    (II) Module exa: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 2.2.0
    ABI class: X.Org Video Driver, version 2.0
    (II) Loading sub module "ramdac"
    (II) LoadModule: "ramdac"(II) Module "ramdac" already built-in
    (II) intel(0): Comparing regs from server start up to After PreInit
    (WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd000000a
    (WW) intel(0): PP_STATUS before: on, ready, sequencing idle
    (WW) intel(0): PP_STATUS after: on, ready, sequencing on
    (WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x8000085e to 0x800010bb
    (WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00012d2d to 0x00028283
    (WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00009696 to 0x00014141
    (==) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] 0 0 0xd0300000 - 0xd033ffff (0x40000) MS[b]
    [1] 0 0 0xc0000000 - 0xcfffffff (0x10000000) MS[b]
    [2] 0 0 0xd0200000 - 0xd027ffff (0x80000) MS[b]
    [3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [7] -1 0 0xd0000000 - 0xd0001fff (0x2000) MX[b]
    [8] -1 0 0xd0100000 - 0xd0100fff (0x1000) MX[b]
    [9] -1 0 0xd0544000 - 0xd05443ff (0x400) MX[b]
    [10] -1 0 0xd0340000 - 0xd0343fff (0x4000) MX[b]
    [11] -1 0 0xd0280000 - 0xd02fffff (0x80000) MX[b](B)
    [12] -1 0 0xd0300000 - 0xd033ffff (0x40000) MX[b](B)
    [13] -1 0 0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
    [14] -1 0 0xd0200000 - 0xd027ffff (0x80000) MX[b](B)
    [15] -1 0 0xd0003100 - 0xd00031ff (0x100) MX[b]
    [16] -1 0 0xd0003800 - 0xd000387f (0x80) MX[b]
    [17] -1 0 0xd0003400 - 0xd00034ff (0x100) MX[b]
    [18] -1 0 0xd0003000 - 0xd000307f (0x80) MX[b]
    [19] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
    [20] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
    [21] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
    [22] 0 0 0x00005088 - 0x0000508f (0x8) IS[b]
    [23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [24] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
    [25] -1 0 0x00005420 - 0x0000543f (0x20) IX[b]
    [26] -1 0 0x00005440 - 0x0000544f (0x10) IX[b]
    [27] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [28] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [29] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[b]
    [30] -1 0 0x000001f0 - 0x000001f7 (0x8) IX[b]
    [31] -1 0 0x00005400 - 0x0000541f (0x20) IX[b]
    [32] -1 0 0x000050e0 - 0x000050ff (0x20) IX[b]
    [33] -1 0 0x000050c0 - 0x000050df (0x20) IX[b]
    [34] -1 0 0x000050a0 - 0x000050bf (0x20) IX[b]
    [35] -1 0 0x00005088 - 0x0000508f (0x8) IX[b](B)
    [36] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
    [37] 0 0 0x000003c0 - 0x000003df (0x20) IS[b](OprU)
    (II) intel(0): Kernel reported 488960 total, 1 used
    (II) intel(0): I830CheckAvailableMemory: 1955836 kB available
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: Open failed
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: open result is -1, (No such device or address)
    drmOpenDevice: Open failed
    [drm] failed to load kernel module "i915"
    (EE) [drm] drmOpen failed.
    (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
    (==) intel(0): VideoRam: 262144 KB
    (**) intel(0): Framebuffer compression enabled
    (**) intel(0): Tiling enabled
    (II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression
    (II) intel(0): Page Flipping disabled
    (==) intel(0): Write-combining range (0xc0000000,0x10000000)
    (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
    (II) EXA(0): Offscreen pixmap area of 19660800 bytes
    (II) EXA(0): Driver registered support for the following operations:
    (II) Solid
    (II) Copy
    (II) Composite (RENDER acceleration)
    (==) intel(0): Backing store disabled
    (==) intel(0): Silken mouse enabled
    (II) intel(0): Initializing HW Cursor
    (II) intel(0): xf86BindGARTMemory: bind key 0 at 0x007bf000 (pgoffset 1983)
    (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00c80000 (pgoffset 3200)
    (II) intel(0): Fixed memory allocation layout:
    (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
    (II) intel(0): 0x00020000-0x0061ffff: compressed frame buffer (6144 kB, 0x000000007f820000 physical
    (II) intel(0): 0x00620000-0x00620fff: compressed ll buffer (4 kB, 0x000000007fe20000 physical
    (II) intel(0): 0x00621000-0x0062afff: HW cursors (40 kB, 0x000000007fe21000 physical
    (II) intel(0): 0x0062b000-0x00632fff: logical 3D context (32 kB)
    (II) intel(0): 0x00633000-0x00633fff: overlay registers (4 kB, 0x000000007fe33000 physical
    (II) intel(0): 0x00640000-0x00c7ffff: front buffer (6400 kB)
    (II) intel(0): 0x007bf000: end of stolen memory
    (II) intel(0): 0x00c80000-0x01f3ffff: exa offscreen (19200 kB)
    (II) intel(0): 0x10000000: end of aperture
    (II) intel(0): Output configuration:
    (II) intel(0): Pipe A is off
    (II) intel(0): Display plane B is now disabled and connected to pipe A.
    (II) intel(0): Pipe B is on
    (II) intel(0): Display plane A is now enabled and connected to pipe B.
    (II) intel(0): Output VGA is connected to pipe none
    (II) intel(0): Output LVDS is connected to pipe B
    (II) intel(0): Output TV is connected to pipe none
    (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (II) intel(0): Set up textured video
    (II) intel(0): Set up overlay video
    (II) intel(0): direct rendering: Failed
    (--) RandR disabled
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-APPGROUP
    (II) Initializing built-in extension XAccessControlExtension
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension XFree86-Bigfont
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) Initializing built-in extension XEVIE
    (II) AIGLX: Screen 0 is not DRI capable
    (II) Loading sub module "GLcore"
    (II) LoadModule: "GLcore"
    (II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
    (II) Module GLcore: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) GLX: Initialized MESA-PROXY GL provider for screen 0
    (II) intel(0): Setting screen physical size to 331 x 207
    (II) Synaptics touchpad driver version 0.14.6 (1406)
    (--) Touchpad auto-dev sets device to /dev/input/event5
    (**) Option "Device" "/dev/input/event5"
    (**) Option "SHMConfig" "on"
    (**) Option "LeftEdge" "1700"
    (**) Option "RightEdge" "5300"
    (**) Option "TopEdge" "1700"
    (**) Option "BottomEdge" "4200"
    (**) Option "VertScrollDelta" "100"
    (**) Option "FingerLow" "25"
    (**) Option "FingerHigh" "30"
    (**) Option "MaxTapTime" "180"
    (**) Option "MaxTapMove" "220"
    (--) Touchpad touchpad found
    (**) Touchpad: always reports core events
    (**) Option "CoreKeyboard"
    (**) Keyboard0: always reports core events
    (**) Option "Protocol" "standard"
    (**) Keyboard0: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard0: XkbRules: "xorg"
    (**) Option "XkbModel" "pc105"
    (**) Keyboard0: XkbModel: "pc105"
    (**) Option "XkbLayout" "us"
    (**) Keyboard0: XkbLayout: "us"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard0: CustomKeycodes disabled
    (**) Option "Protocol" "auto"
    (**) Mouse0: Device: "/dev/input/mice"
    (**) Mouse0: Protocol: "auto"
    (**) Option "CorePointer"
    (**) Mouse0: always reports core events
    (**) Option "Device" "/dev/input/mice"
    (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
    (**) Option "ZAxisMapping" "4 5 6 7"
    (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
    (**) Mouse0: Buttons: 11
    (**) Mouse0: Sensitivity: 1
    (II) evaluating device (Mouse0)
    (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
    (II) evaluating device (Keyboard0)
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
    (II) evaluating device (Touchpad)
    (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE)
    (--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
    (II) Mouse0: ps2EnableDataReporting: succeeded
    (--) Touchpad auto-dev sets device to /dev/input/event5
    (**) Option "Device" "/dev/input/event5"
    (--) Touchpad touchpad found
    Could not init font path element /usr/share/fonts/Type1, removing from list!
    AUDIT: Mon Mar 3 00:21:47 2008: 10765 X: client 7 rejected from local host (uid 1001)
    (II) intel(0): xf86UnbindGARTMemory: unbind key 0
    (II) intel(0): xf86UnbindGARTMemory: unbind key 1
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) intel(0): xf86BindGARTMemory: bind key 0 at 0x007bf000 (pgoffset 1983)
    (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00c80000 (pgoffset 3200)
    (II) intel(0): Fixed memory allocation layout:
    (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
    (II) intel(0): 0x00020000-0x0061ffff: compressed frame buffer (6144 kB, 0x000000007f820000 physical
    (II) intel(0): 0x00620000-0x00620fff: compressed ll buffer (4 kB, 0x000000007fe20000 physical
    (II) intel(0): 0x00621000-0x0062afff: HW cursors (40 kB, 0x000000007fe21000 physical
    (II) intel(0): 0x0062b000-0x00632fff: logical 3D context (32 kB)
    (II) intel(0): 0x00633000-0x00633fff: overlay registers (4 kB, 0x000000007fe33000 physical
    (II) intel(0): 0x00640000-0x00c7ffff: front buffer (6400 kB)
    (II) intel(0): 0x007bf000: end of stolen memory
    (II) intel(0): 0x00c80000-0x01f3ffff: exa offscreen (19200 kB)
    (II) intel(0): 0x10000000: end of aperture
    (II) intel(0): Output configuration:
    (II) intel(0): Pipe A is off
    (II) intel(0): Display plane B is now disabled and connected to pipe B.
    (II) intel(0): Pipe B is on
    (II) intel(0): Display plane A is now enabled and connected to pipe B.
    (II) intel(0): Output VGA is connected to pipe none
    (II) intel(0): Output LVDS is connected to pipe B
    (II) intel(0): Output TV is connected to pipe none
    (II) Mouse0: ps2EnableDataReporting: succeeded
    (--) Touchpad auto-dev sets device to /dev/input/event5
    (**) Option "Device" "/dev/input/event5"
    (--) Touchpad touchpad found
    Can anyone help me with this?
    Last edited by bughunter2 (2008-03-03 01:06:30)

    The standard arch kernel includes all the required modules, at most you need to load them explicitly listing them in MODULES in /etc/rc.conf
    You need also the hw specific stuff, that is i915 and intelagp. Check lsmod and see if they are loaded. If they are not, inspect dmesg and see if udev tries to load them and fails for some reason.
    I remember some cases where intelagp and i915 are not loaded by udev in the right order, if this is your case you can try to list them in the right order in MODULES.
    There should be no need to recompile the kernel or to install a particular version of dri (just use the arch packages for mesa, libdrm etc; but I guess you have them already)

  • Can't open .jar file, nothing happens when I click, MAC OS 10.6.8

    Hello,
    I can't open .jar file, nothing happens when I click on the .jar file.
    I have MAC OS 10.6.8
    The thing it, I have desktop application that I'm building on Netbeans and when I compile and deploy it... it runs from Netbeans folder where I have all the files but copying the .jar on the desktop. It says "The Java JAR file "blablabla.jar" could not be launched check the Console for possible error messages"
    Any idea or solution will be appreciated.
    Thanks in advance
    Charles

    These are Java files.  http://www.java.com/en/ is where you can get the latest Java for your operating system. If your Java files need an older version of Java, there are instructions on the web to downgrade Mac Java, but it is difficult, and poses security issues.

  • My "Hanging with Friends" app keeps crashing whenever I try to open it. I have deleted and re-downloaded the app, restarted my iPhone, and even restored my iPhone all together, and nothing is working. How can I get this app to work again?

    My "Hanging with Friends" app keeps crashing whenever I try to open it. I have deleted and re-downloaded the app, restarted my iPhone, and even restored my iPhone all together, and nothing is working. How can I get this app to work again?

    Can you start Firefox in [[Safe mode]] ?
    You can also do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can initially skip the step to create a new profile, that may not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Updated to IOS 5.0.1 and now if I tap on a game icon instead of opening the game a grayish color comes over it and nothing happens. How can I get my games to work again?

    Updated to IOS 5.0.1 and now if I tap on a game icon instead of opening the game a grayish color comes over it and nothing happens. How can I get my games to work again?

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • Can't get "Edit Colors" to work in Illustrator CC

    Hi. My boss just added Illustrator CC to my mac.
    I'm not sure why, but I can't get "Edit Colors" to work in Illustrator CC.
    When I select an object and try to reassign colors in the "Edit Colors" menu, the submenus are greyed out.
    It works fine on Illustrator CS5, so I'm not sure what the problem is in CC.
    Is this a bug or just a limitation of the CC trial period?
    Can anyone please help with this?

    OK, so Trial Period isn't the problem? Thanks for that info.
    I'm working with customer supplied files and often have to reassign colors to artwork for different projects.
    I can assign colors with the color panel, but complex designs containing multiple pieces and layers can take for-ev-er to reassign colors that way.
    Like I said, "edit colors" works fine in CS5, so I'm trying to figure out why it's not working in CC.
    Appreciate any help the forum members can provide.

  • Can't get Report Builder to work with Apache Webserver

    I'm running ColdFusion 7.0.1 and have it configured to work
    with Apache. I've got an application named realestate. I created
    the following entry in my host file:
    127.0.0.1 realestate
    In Apache, I've created a virtual server that uses the
    realestate server name. But I can't get the Report Builder to
    connect to it at all. When I run the wizard, I try to install an
    RDS server. I've used 127.0.0.1 for the host name as well as
    realestate and I've set the port to 80. I can't get port 8500 to
    work at all. I set my ColdFusion root location to fall under
    Apache's htdocs. Should I have left it under C:\CFMX7 ? How would I
    change the location?

    Please review the "stickied" threads near the top of this board, about syncing with Windows 7 and Vista.  It's all there. 
    After you've been through and tried everything there is to try, and still have problems, please post back with specific info about exactly what you've tried, what version of Windows 7 you have (32-bit or 64-bit), etc.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Can't get my design to work, could someone lend some guidance?

    Hi,
    I'm a complete newb to Labview v8.6.1.  I come from the .Net world and I'm having difficulty making the transition, some guidance would be greatly appreciated.
    I've attached my .vi that I came up with but I've hit a wall and I can't get this design to work correctly:
    I have two buttons on my .vi, a Sample button and a Calibrate button.  When I hit the sample button, I need to write out the values from my linear sensors to a file, this actually works fine.  When I hit the calibrate button, I need to get the values from the sensors, store them in an array for later use.  This works fine as well.
    The problem I'm having is I need to use the stored values in the array in my Sample button logic which doesn't work because I don't have cases for my "False" condition.
    Am I even close to the right solution here?
    Thanks for any guidance.
    Solved!
    Go to Solution.
    Attachments:
    FirstDesign.zip ‏68 KB

    Do you have access to the Event Structure?  It will work a lot better for GUI like this instead of polling the buttons (and using a lot of CPU).
    You should look into shift registers to store your calibration array.  I think the resources nyc gave should mention these somewhere in there.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I get this program to work -- Adobe Send or Adobe SendNow

    How can I get this program to work?  I have used Adobe SendNow successfully for several years and am on automatic renewal and getting nothing but frustration for my money!  I have been unsuccessful at sending anything in the past several months.  Today while working on a deadline and many unsuccessful attempts to upload files, I signed up for a free trial at a competitor in order to get my files sent.  Want a refund  -- or better yet, keep my money and get it to work right again.

    You can't.
    Sounds like it he gave you a stolen iPhone or at least a worthless one.

Maybe you are looking for