LDOMS and the server size

Hell all,
Does anyone know how to determine the amount of LDOMS one can create on a T5220 with 1 Quad core running Sybase 12.5. I understand there are many factors in the type of database but in general are there best practices or guidelines to follow? Is there much overhead for the Control, service domains?
Thanks.

You have posted this to the wrong forum :)
However, best practice recommendations for LDoms are that you should create domains using whole cores, so in your case that would mean 3 guests plus the control domain.
Of course your mileage may vary and you could go higher. The physical max no of domains on your system would be one per Vcpu - so 4 cores x 8 threads = 32.
T

Similar Messages

  • HT1277 can I delete emails from my IPhone and the server as well?

    Can I delete emails from both my IPhone 5 and the server as well?

    It's very easy to do - open up the music app, find the song/artist/album you want to delete and then swipe on it right to left and press 'delete'. Once you have done this it will take up no more space on your device whether it's in the cloud or not.
    If the song is still appearing in the music app with a little cloud next to it then you can stop it from showing by going into settings, music, and turning off 'show all music'. Note that this will remove ALL songs from the music app that have the cloud next to it (the cloud means they are in the cloud, online, but not stored on the device) and if you want to play them you will have to open itunes and redownload it, or change this setting back to on.
    Let me know if you need any more help!

  • I have iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hi, I have the  iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hello Glittergirl68,
    Thank you for using Apple Support Communities.
    It sounds like the function to reseize the Font in an iBook is not functioning properly.
    I recommend a few things here. First close all the apps that are running in the background:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    From: iOS: Force an app to close
              http://support.apple.com/kb/ht5137
    When you have done that, restart the phone, and try again.
    If the issue persists, I would follow these steps from the article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    All the very best,
    Sterling

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Fit the image to window width, window height and  the window size

    hi all
    here we wrote the code for "fit the image to window width, window height and the window size". we are facing some problems in it. and all these operations have to perform even after zooming operations are done.if the below code doesnt satisfy kindly provide appropriate code .
    thanks .
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class DP extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public DP() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   drawPanel.fitwindowwidth();
              if(e.getActionCommand().equals("Fit window height"))
                   drawPanel.fitwindowheight();
              if(e.getActionCommand().equals("Fit the window"))
                   drawPanel.fitthewindow();
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, drawPanel.getBounds().width, drawPanel.getBounds().height);
            if(bgImage != null)
                g.drawImage(bgImage, 0, 0, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            DP wb = new DP();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                double x = (1.0 - m_zoom)*getWidth()/2.0;
                double y = (1.0 - m_zoom)*getHeight()/2.0;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
              public void fitwindowwidth()
                int w1=drawPanel.getWidth();
                int h1=drawPanel.getHeight();
                BufferedImage image2=image.getScaledInstance(w1,h1,Image.SCALE_DEFAULT);
                drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
               drawPanel.repaint();
              public void fitwindowheight()
           BufferedImage image2=image.getScaledInstance(500,680,1); 
           drawPanel.setImage(iicon);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
              public void fitthewindow()
           BufferedImage image2=image.getScaledInstance(1000,680,1);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

    thank you for giving reply.
    your code is very helpful to us.but i couldn't integrate it in my code.here's my code.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class IS extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
         private     final int DISTORT = 3;
        private final int SCALE   = 4;
        private final int FIT     = 5;
        private final int FILL    = 6;
        int scaleMode = SCALE;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public IS() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   //drawPanel.fitwindowwidth();
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit window height"))
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit the window"))
              drawPanel.scaleImage(0,0,0,0);
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
              int w = image.getWidth();
            int h = image.getHeight();
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, w, h);
            if(bgImage != null) {
                int x = (w - bgImage.getWidth())/2;
                int y = (h - bgImage.getHeight())/2;
                g.drawImage(bgImage, x, y, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            IS wb = new IS();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                   super.paintComponent(g);
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                              int w = getWidth();
                    int h = getHeight();
                  int iw = image.getWidth();
                  int ih = image.getHeight();
                  if(scaleMode == SCALE) {
                double x = (w - m_zoom*iw)/2;
                double y = (h - m_zoom*ih)/2;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
                   else {
                scaleImage(w, h, iw, ih);
              private void scaleImage( int w, int h, int iw, int ih) {
                             Graphics2D g2d = image.createGraphics();
            double xScale = (double)w/iw;
            double yScale = (double)h/ih;
            AffineTransform at = new AffineTransform();
            if(scaleMode == DISTORT) {
                double x = (w - xScale*iw)/2;
                double y = (h - yScale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(xScale, yScale);
            } else {
                double scale = (scaleMode == FIT) ? Math.min(xScale, yScale)
                                                  : Math.max(xScale, yScale);
                double x = (w - scale*iw)/2;
                double y = (h - scale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(scale, scale);
            g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

  • How Can I obtain the tables of one schema and the record size???

    How Can I obtain the tables of one schema and the record size???
    Example:
    TableName Record Size
    Tabla1 12500
    Tabla2 7800
    Tabla3 2046

    This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
    Regards:
    Igor

  • Is there a script that Quickly get the Equidistant and The same size images.

    Is there a script that Quickly get the Equidistant and The same size images.
    General,I used the paste into the interior one by one, when it is a lot ,will waste a lot of time

    Is there a script that Quickly get the Equidistant and The same size images.
    General,I used the paste into the interior one by one, when it is a lot ,will waste a lot of time

  • Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Note For others.
    For the Port Changes (or server names in some cases) you have to be logged out to make changes on the Server Settings pane.
    9:41 PM      Friday; October 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • ZFS work with Ldom and zvol REFER size can't reduce

    Anyone can help to take a look following:
    I do the zfs simulation below and show below output.
    1) Create image file
    root@solaris:/a# mkfile 200m img.img
    2)Create test pool use img.img file
    root@solaris:/a# zpool create -f test /a/img.img
    root@solaris:/a# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    rpool1 3.79G 11.8G 92.5K /rpool1
    rpool1/ROOT 2.24G 11.8G 31K legacy
    rpool1/ROOT/solaris 2.24G 11.8G 2.23G /
    rpool1/dump 768M 11.8G 768M -
    rpool1/export 89.5K 11.8G 32K /export
    rpool1/export/home 57.5K 11.8G 57.5K /export/home
    rpool1/swap 817M 12.5G 123M -
    test 91K 163M 31K /test
    3) Create zvol on the test pool
    root@solaris:/a# zfs create -V 100m test/zvol
    root@solaris:/a# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    rpool1 3.79G 11.8G 92.5K /rpool1
    rpool1/ROOT 2.24G 11.8G 31K legacy
    rpool1/ROOT/solaris 2.24G 11.8G 2.23G /
    rpool1/dump 768M 11.8G 768M -
    rpool1/export 89.5K 11.8G 32K /export
    rpool1/export/home 57.5K 11.8G 57.5K /export/home
    rpool1/swap 817M 12.5G 123M -
    test 155M 7.89M 31K /test
    test/zvol 103M 163M 16K -
    root@solaris:/a# zpool status
    pool: rpool1
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    rpool1 ONLINE 0 0 0
    c7t0d0s0 ONLINE 0 0 0
    errors: No known data errors
    pool: test
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    test ONLINE 0 0 0
    /a/img.img ONLINE 0 0 0
    errors: No known data errors
    4) Use the zvol to create apool
    root@solaris:/a# zpool create -f apool /dev/zvol/dsk/test/zvol
    root@solaris:/a# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    apool 92.5K 63.4M 31K /apool
    rpool1 3.79G 11.8G 92.5K /rpool1
    rpool1/ROOT 2.24G 11.8G 31K legacy
    rpool1/ROOT/solaris 2.24G 11.8G 2.23G /
    rpool1/dump 768M 11.8G 768M -
    rpool1/export 89.5K 11.8G 32K /export
    rpool1/export/home 57.5K 11.8G 57.5K /export/home
    rpool1/swap 817M 12.5G 123M -
    test 155M 7.88M 31K /test
    test/zvol 155M 162M 1.13M -
    root@solaris:/a# zpool status
    pool: apool
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    apool ONLINE 0 0 0
    /dev/zvol/dsk/test/zvol ONLINE 0 0 0
    errors: No known data errors
    pool: rpool1
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    rpool1 ONLINE 0 0 0
    c7t0d0s0 ONLINE 0 0 0
    errors: No known data errors
    pool: test
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    test ONLINE 0 0 0
    /a/img.img ONLINE 0 0 0
    errors: No known data errors
    5) Make file on the /apool
    root@solaris:/apool# mkfile 10m test
    root@solaris:/apool# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    apool 9.39M 54.1M 9.28M /apool
    rpool1 3.79G 11.8G 92.5K /rpool1
    rpool1/ROOT 2.24G 11.8G 31K legacy
    rpool1/ROOT/solaris 2.24G 11.8G 2.23G /
    rpool1/dump 768M 11.8G 768M -
    rpool1/export 89.5K 11.8G 32K /export
    rpool1/export/home 57.5K 11.8G 57.5K /export/home
    rpool1/swap 817M 12.5G 123M -
    test 155M 7.55M 31K /test
    test/zvol 103M 151M 11.5M -
    6) Remove 20m test on the apool
    root@solaris:/apool# rm test
    root@solaris:/apool# zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    apool 316K 63.1M 31K /apool
    rpool1 3.79G 11.8G 92.5K /rpool1
    rpool1/ROOT 2.24G 11.8G 31K legacy
    rpool1/ROOT/solaris 2.24G 11.8G 2.23G /
    rpool1/dump 768M 11.8G 768M -
    rpool1/export 89.5K 11.8G 32K /export
    rpool1/export/home 57.5K 11.8G 57.5K /export/home
    rpool1/swap 817M 12.5G 123M -
    test 155M 7.53M 31K /test
    test/zvol 103M 150M 12.9M -
    7) Make snapshot on the zvol
    root@solaris:/apool# zfs snapshot test/zvol@snap
    root@solaris:/# zfs send test/zvol@snap > /tmp/zvol.snap
    root@solaris:/tmp# du -sh *
    14M zvol.snap
    ** The snap file and the REFER size are same, but the real size on the apool is 31K, how can I update the zvol REFER size***

    Hi
    Please show resut for zfs list
    Check Refer for:
    apool
    test/zvol@snap
    test/zvol
    You make backup of test/zvol@snap not apool.
    Refer size for it wil different.
    In case You need backup of apool You should make:
    root@solaris:/apool# zfs snapshot apool@snap
    root@solaris:/# zfs send apool@snap > /tmp/apool.snapUsed space on device is not corresponede used space on FS, becouse device do not know what realy need.
    It's only know what writen on it some time.
    Regards.

  • Blackberry Z10 and Choice of deleting Email on phone or the phone and the server

    Just like the 9930 my email is set up through a POP account. When deleting I was given the option to delete from the phone or from the phone and the server. This option is no longer available and I lost a bunch of emails that went away for ever!!

    Hello,
    There are many threads here about this topic. BB10 is a revolutionary change from before...not evolutionary. Hence, it should not be expected that things work as they did before.
    As it stands, BB10 uses ActiveSync for email, where legacy used BIS. With BIS as the interface, there was the ability for additional things, including the "Delete On..." setting. With BB10, that is not available. Now, the device and the server are intended to be mirror images of each other (within the timeframe of the max 30-day sync).
    So, this is WAD -- Working As Designed (though I'm hopeful the BlackBerry has heard all of the cries and is looking into future modifications).
    The workaround is to file messages into a separate folder so as to hide them from your device, but not delete them from your server. This, though, has an additional complication...when you file, the folder to which you file is automatically selected for sync and display to your BB, then displaying all unread items from this folder in your Messages list for that account. So, after each filing session, you must manually shut off that sync setting so those items are not shown on the device.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I recently bought an external hard drive and attached it to a wireless modem router. The problem is that i can't access it from my macbook. I get a "connection failed" and "the server is available on your computer. Access the volumes and files locally".

    Well I believe I described the problem above. I want only to add that the external hard drive is a Seagate FreeAgent GoFlex Drive 1TB and the wireless modem router is a Belkin N Plus (model F5D8635-4 v1). Also, in the finder window under "shared" I see a "belkinserver" and when I click it, it says "connection failed". If I click "connect as" I get the "the server "belkinserver" is available on your computer..." which I mentioned above. I tried to connect macbook via ethernet to the modem router and then when I typed "smb://belkinserver" it immediately prompted me for a username and a password and when I typed them finally I got to enter the contents of the hard drive! So what's the problem wirelessly? 

    If your external drive does not have an independent power supply, you may wish to consider a couple of lower-cost options before tossing the drive. Bus-powered drives have no external power source and must get all their power from the computer. They can exceed the computer's USB energy budget.
    Cheapest option:
    1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    This gets power from two of the computers USB porst sna can provide enough power to wake up an under-performaing bus-powered drive.
    If you don't have enough ports to use this, try the next cheapest option:
    Newer Technology 7 Port Hi-Speed USB 2.0 Hub with Power Adapter for Mac & PC
    Such a hub has a an independent power supply to make up for wahat the comptuer fails to provide.

  • I inadvertently pressed CTRL+ another key (possibly V or B or N) and the text size of my bookmarked page was significantly reduced in size. I can't read it. How do I re-set the text size?

    I mistakenly pressed CTRL + another key (possibly V or B or N or whatever), when I was reading my e-mail. The text size shrank to a size that is useless to me, but I cannot seem to get the text size re-set to normal. Indeed all of the formatting on the page has been reduced (symbols, instructions, frames etc). Existing Firefox and returning to the bookmarked page makes no difference. How do I re-set the system?

    Hi,
    Please try '''Ctrl''' + '''0''' (zero). Alternatively '''View''' ('''Alt''' + '''V''') > '''Zoom''' > '''Reset'''.
    [https://support.mozilla.org/en-US/kb/how-do-i-use-zoom?redirectlocale=en-US&redirectslug=Page+Zoom Page Zoom]
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]

  • After deleting Calendar users, their subscriptions still remain, and the server crashes when accessing deleted calendars

    After deleting users from iPlanet Calendar Server(iCS), the users'
    subscriptions still remain. Then, if a user tries to unsubscribe
    from a deleted calendar, the server sometimes crashes, even though sufficient
    disk space and memory are available. When checking the HTTP log, the
    log shows that certain calendars don't exist.
    The solution to this problem is to back up the ics50gse.db
    file to another file with a different
    name, or remove the file from the db
    directory.
    <P>
    If you are upgrading your iCS, make sure the GSE database queue is empty
    before you perform the upgrade. To check the GSE database queue,
    you can use either of the following commands while the server is either
    running or stopped:
    <P>
    csschedule list
    <I>OR</I>
    csdb -v list
    <P>
    After issuing the command, if nothing is displayed, the GSE queue is empty, and
    you can proceed to step 3 below. However, if the queue does contain
    items, use the following steps to flush it:
    <P>
    <OL>
    <LI>Start the server if the server is in a <I>stopped</I> state.
    <P>
    <LI>Stop only the cshttpd
    daemon so that no new requests can
    come in.
    <P>
    Note: It should take only a few minutes for the GSE to handle any requests.
    Typically, the GSE queue will be empty.
    <P>
    <LI>Shut down iCS.
    <P>
    <LI>Rename the ics50gse.db
    file.
    <P>
    <LI>Restart the server.
    </OL>
    <P>
    If you have already upgraded the server and are experiencing the above
    mentioned problems, use the following steps:
    <P>
    <OL>
    <LI>Shut down iCS.
    <P>
    <LI>Rename the ics50gse.db
    file.
    <P>
    <LI>Restart the server.
    </OL>

    I forgot to mention that I've cleared out ~/Library/Caches/ for my test user, as well as deleted the iWeb .plist file.

  • How do I completely crop a PDF so that the cropped data is removed and the file size is reduced?

    How do I completely crop a PDF so that the cropped data is removed and the total file size is reduced?
    When I use the "Crop" function, the cropped data still remains in the file and there is no reduction in file size. I need a way to truly crop a PDF using Acrobat software.

    When you export, try to get the full file path or else you will have to do a lot of manual searching.
    If you downloaded the picture from Messages, the picture is stored in your User Library/Messages. to make your User Library visible, hold down the option key while using the Finder “Go To Folder” command. Enter ~/Library/Messages/Attachments. 
    If you prefer to make your user library permanently visible, use the Terminal command found below.
    http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/
    You might want to bookmark the command. I had to use it again after I installed 10.8.4. I have also been informed that if you drag the user library to Finder it will remain visible.

  • Computers users and the server

    Our small business has 4 desk top computers (using Lion) that connect to a server (in house mac mini).  Each computer has 4 users that can log in and access the server.  We are being advised that the computer should only have an administrator and single user log in to make things less caotic and complicated.  We have always been set up with independent users.  What changed was the server was hosted on one of the desk tops.   When switching to Lion we added the server.  IT is telling us its like running 16 computers on the server, and causes lost connection. 
    Please advise. 

    There is no reason you should have to have only one user account per computer. First of all, your Mac mini server should be capable of handling 16 connections without any problem. Second, presumably only 4 of those are in use at one time.
    Some more details might be useful here. What are you using the server for? What Server operating system is it using? (10.7 or 10.8 presumably)
    There is a section of Apple Support Communities that is devoted to server issues where you may be able to get more specific answers to your questions.
    For 10.7 Server go here.
    For 10.8 Server go here.
    Best of luck.

Maybe you are looking for

  • See my problem no master record move to next record

    hi master sir i have master detail block master table have all data but detail no data i need feed data in detail then i goto in detail block write value and press F10 for save for new record in detail in detail blick post-block or post_record or pos

  • Bridge CS5 Windows crashes when I command/move or drag/drop files internally

    Bridge CS5 crashes with a Microsoft "report error" dialog whenever I drag images from one folder to another inside of Bridge, or use the right-click "Move To . . ." mouse command.  After months of successful use of the Bridge CS5, this behavior sudde

  • Sales Order creation with Ship to not assigned to Sold to

    Hi There, I have an issue that I am able to create an order with a Ship to which is not assigned to Sold to. i.e, The sold to accepts any ship to and not giving any error. I am giving both Sold to and Ship to together while order creation. Is it beca

  • BPM: send green status notification?

    Dear Expert, we are using BPM in DSWP to monitor background jobs & interfaces. the problem with us is the BPM only triggered yellow & red alerts whenever there is problem. but when the problem is fixed by someone, there isn't way to send a green stat

  • Problem with download speed when minimizing Firefox

    On my desktop whenever I try to download something in Firefox and minimize the browser, the download speed will slow down to like 20 KB a second. The second I open the browser though it shoots back up to 90 KB a second and stays constant unless I min