More trouble with the robot class (takin a screencapture)

I have created a small label which can have a transaprent background, and through the help of people on this forum, I am tryin to make it more robust. My latest task involves adding a component listener, and changing the background image when the parent component is moved.
Unfortunately, the background image is not being changed, but I dont know why. When I slow things down with a debugger, it seems that all of my x and y coordinates are correct, but the background image remains the same.
If you give it a shot, you will be able to see what I mean:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
public class LabelTest extends JWindow {
     static int x=300, y=300;
     public static void main(String[] args) {
          JFrame frame = new JFrame();
          frame.setPreferredSize(new Dimension(300,400));
          final LabelTest l = new LabelTest(frame, new Point(500,500), "My long string 222333111444555");
          l.setFont(new Font("Tahoma", Font.BOLD, 14));
          frame.addComponentListener(new ComponentAdapter() {
               public void componentMoved(ComponentEvent e) {
                    x+=5;
                    y+=5;
                    l.setLocation(x,y);
          frame.pack();
          frame.setVisible(true);
          l.setVisible(true);
     private BubbleLabel bubble;
     public LabelTest(JFrame owner, Point startingPoint, String text) {
          super(owner);
          setupBubble(startingPoint, text);
     public LabelTest(JDialog owner, Point startingPoint, String text) {
          super(owner);
          setupBubble(startingPoint, text);
     private void setupBubble(Point startingPoint, String text) {
          bubble = new BubbleLabel(startingPoint, text);
          this.setLocation(startingPoint);
          this.setLayout(new BorderLayout());
          this.add(bubble, BorderLayout.CENTER);
          this.pack();
     public void setFont(Font f) {
          bubble.setFont(f);
          this.pack();
     public void setLocation(int x, int y) {
          super.setLocation(x,y);
          bubble.updatePoint(x, y);
     public class BubbleLabel extends JLabel {
          private String myText;
        private BufferedImage image;
          private Point point;
          private Robot robot;
          public BubbleLabel(Point p, String text) {
               this.point = p;
               this.myText = text;
               try {
                    robot = new Robot();
               catch(AWTException e) {
                    e.printStackTrace();
               setupImage();
          public void updatePoint(int x, int y) {
               this.point = new Point(x,y);
               setupImage();
          private void setupImage() {
               if(point ==  null) {
                    return;
               try {
                    Dimension d = getPreferredSize();
                    image = robot.createScreenCapture(new Rectangle(point.x, point.y, d.width, d.height));
               catch(Exception e){
                    e.printStackTrace();
          public void setFont(Font f) {
               super.setFont(f);
               setupImage();
          public void paint(Graphics g) {
               Graphics2D g2 = (Graphics2D)g;
               g2.drawImage(image,0,0,this);
               //draw the labels
               Font f = getFont();
               if(f != null) {
                    FontMetrics fm = getFontMetrics(getFont());
                    g2.setColor(Color.GREEN);
                    g2.drawString(myText, 15, 25 + fm.getHeight()/2 - fm.getMaxDescent());
          public Dimension getPreferredSize() {
               Font f = getFont();
               if(f != null) {
                    FontMetrics fm = getFontMetrics(getFont());
                    int hieght = fm.getHeight();
                    int width = 0;
                    width = fm.stringWidth(myText);
                    System.err.println(width + 15);
                    return new Dimension(width + 15, hieght + fm.getHeight()*2);
               else {
                    return new Dimension(200, 200);
          public Dimension getMinimumSize() { return new Dimension(200, 200); }
}

Hi camickr,
I didn't ignore your suggestions, I just didn't completely understand them (I actually asked about them in my previous thread, but didn't get a response). Looking back at that thread, I realize that I read some of the code wrong. Where it saide desktopImage != null I saw desktopImage == null in the paintComponent() method. Now that I have reread it, I understand what you were getting at. However, that still doesn't solve the problem of the background changing. i.e. a screen behind my application is minimized.
As for your suggestions:
a) Right you are, I should be using paintComponent. I normally don't make this mistake, but I have been playing with so many different variations of this code, in different classes, that things have gotten quite mixed up. You also have to understand, that the code I posted is much smaller than the code I am working with, in order to be able to identify exactly what problem I am having, and not give you guys the burden of sorting through a lot of unrelevant code.
b) right you are again. I started with the JLabel, because I was going to use some of the class's properties, but as my code has progressed, I have steered away from that approach. However, for my puproses I don't see the downside of using it. I want to get my core functionality working, and then clean the code up.
c) see first paragraph
d) I haven't looked into it, but I am not so sure this would work for my purposes. I use the graphics package to draw a border around the text (I cant use the border classes because this is not a uniform border). I suppose this is more reason to use a JComponent than a JLabel.
e) The is no real logic to my component listener. I wrote it to show the problem I am having. I just increased the pixels by 5 for each call, because that was the simplest way to show that the background image was not being 1) created correctly or 2) painted correctly. As I said before, I want to solve the core issues first, then clean up the code so it actually behaves in a manner that makes sense.
I don't know why the code didn't execute for you. Are you just not seing the text at 500,500? It should say: "My long string 222333111444555" in Green, with a transparent background (i.e. the screenshot of the background image.
Thanks for your suggestions. I appreciate your help!

Similar Messages

  • I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store.

    I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store. I have already had to have a technician to look at it and really couldn't figure out what the deal was.  I was told that the APP store software should give me no problems but the truth is that it locks up on the software. This machine is only 4 weeks old and I am using 37 g on a 1 T hard drive. There is no reason for it to be locking up. Also, when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that. I successfully used the help program on my pc lots of times. I did not need a $2000. plus machine to just get email. I just wanted to unload on somebody that might understand my pain and after checking out this site...I think there is a few of you out there.

    I was told that the APP store software should give me no problems but the truth is that it locks up on the software.
    The apps downloaded from the Mac App Store are written by third party developers, not Apple. If you have problems  with those apps you need to visit the support area for their websites. Launch the App Store, locate the app name. You should see a support link.
    when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that
    Go to ~/Library/Preferences. Move the com.apple.helpviewer.plist file from the Preferences folder to the Trash. Restart your Mac, try the Help menu.
    If you need help finding that file, hold down the Finder icon in the Dock then click: New Finder Window. From the menu bar top of your screen click: Go > Go to Folder. Type this in exactly as you see it here:   ~/Library/Preferences/com.apple.helpviewer.plist    That will take you right to that file.
    (.plist) files stores information about a particular app or in this case, the Help viewer. Often times deleting the .plist file resolves the issue.
    It's fine to "unload"... we understand that you expect your iMac to be stable but there are times when things go awry. That's why we have these forums so that you can you get help.
    You may want to read up on how to repair the disk if necessary or reintsall Lion >  OS X Lion: About Lion Recovery
    Apple - Find Out How - Mac Basics
    How to "switch" from PC to Mac >  Apple - Support - Switch 101
    I'm sorry you feel, "ripped off", but you are using the world's most advanced operating system and it may take some time to adjust to a new OS.   http://developer.apple.com/technologies/mac/

  • Got trouble with the scope....

    Hi,
    I have a program, and I have trouble with the scope.
    I created two nodes, and I can print them out within that sort of proceedure say
    public void a();
    //generate nodes and such
    but when I do this:
    public void b();
    //search through the made nodes
    it will compile, but will say that there are no nodes created, when i already did by another one, now I know this is a static scope, and I was wondering what to do here?

    1) You need to declare the nodes in the class, and assign them in a(). Variables declared outside a method are referenceable within all methods of that class.
    2) Get rid of the semi-colons at the end of your method signatures -- the code you've provided won't compile that way.
    3) Not to insult you, but you should really spend some time on fundamental programming concepts. Scope is fundamental concept, suggesting that there are some troublesome holes in your knowledge. The more you know, the more efficient you will be.
    Bueno suerte.

  • Troubles with the creation of New Custom Adapter for NW 7.1

    Hi guys !!!
    I have some troubles with the creation of a new custom adapter for NW 7.1. I have followed some pdf and notes, like :
    [Upgrade an SAP NetWeaver PI 7.0 Adapter to SAP NetWeaver PI 7.1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0667f56-96c7-2b10-0e9a-c40fbd523f4d]
    note : 1004000
    I have all the materials to make the custom Adapter ( like file .sca with all .rar and .sda , like file sample_ra.rar with all the file .java, like all the libs for the projects ) and I have make it !!! But, when I try do deploy it, i recieve a warning that i don't understand, this is the warning :
    S U M M A R Y
    ~~~~~~~~~~~~~~~~~~~
    Successfully deployed:           0
    Deployed with warnings:           1
    Failed deployments:                0
    ~~~~~~~~~~~~~~~~~~~
    1. File:C:Users
    maienzaDesktopCreazione del SDAPI71_AF_myFirstCustomAdapter_ver_2.0.sda
         Name:PI71_AF_myFirstCustomAdapter_ver_2.0
         Vendor:sap.com
         Location:SAP AG
         Version:7.1007.20090310105326.0000
         Deploy status:Warning
         Version:NEW
         Description:
              1. Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while validating application sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0.
    No one of the [EJBContainer] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [CTCContainer, com.sap.caf.um.metadata, com.sap.security.ume, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, MigrationContainer, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
         at com.sap.engine.services.deploy.server.utils.ValidateUtils.missingDCinDIValidator(ValidateUtils.java:80)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:149)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Result
    Status:Warning
    I have see in the nwa if there are some applications or services that are stopped but all the necessary it's started, just one question : in the pdf for upgrade from 7.0 to 7.1 no one speaks about ejBean or about a creation of it ... it's necessary an ejBean ?? Beacause in the file .sda of the file .sca that i have downloaded there are more of the adapter with ejBean ....
    Antonello

    Hi,
    the adapter metadata it's been created but my service is still stopped; when I try to start it, in the NDWS -> Deploy view -> tab Repositary view, I receive this errors, one after the other, cause I try to start it 3 times and in each time I received 3 differents errors :
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.container.DeploymentException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/applicationjars
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:893)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.makeStartInitially(ContainerInterfaceImpl.java:771)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:184)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:145)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.ejb3.container.ActionException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/applicationjars
         at com.sap.engine.services.ejb3.container.FSMakeFolder.perform(FSMakeFolder.java:48)
         at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)
         ... 30 more
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.container.DeploymentException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/jars
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:893)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.makeStartInitially(ContainerInterfaceImpl.java:771)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:184)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:145)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.ejb3.container.ActionException: Unable to create folder /usr/sap/DXI/DVEBMGS00/j2ee/cluster/apps/sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0/EJBContainer/jars
         at com.sap.engine.services.ejb3.container.FSMakeFolder.perform(FSMakeFolder.java:48)
         at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)
         ... 30 more
    Exception has been returned while the 'sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 3999650:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while validating application sap.com/PI71_AF_myFirstCustomAdapter_ver_2.0.
    No one of the [EJBContainer] containers, which processed it, returned deployed component names.
    The registered containers in this moment were [CTCContainer, com.sap.caf.um.metadata, com.sap.security.ume, com.sap.security.login-modules, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, MigrationContainer, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, PortalRuntimeContainer, JDBCConnector, EJBContainer, metamodelrepository, webservices_container, scheduler~container, ConfigurationsContainer, Content Container].
    Possible reasons :
         1.An AS Java service, which is providing a container, is stopped or not deployed.
         2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
         at com.sap.engine.services.deploy.server.utils.ValidateUtils.missingDCinDIValidator(ValidateUtils.java:80)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:149)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImpl.start(RemoteLCMImpl.java:45)
         at com.sap.engine.services.dc.lcm.impl.RemoteLCMImplp4_Skel.dispatch(RemoteLCMImplp4_Skel.java:233)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)

  • I have some trouble With the graph XY, if I display a curve and try to zoom on it, it may be corrupted, or may disappeare​d.

    In fact this happens on some computers. the graph XY causes some trouble when zooming. Sometimes, when I run my main program and open the window with the graph, it has change the displayed it overflows to the edge of the windows. Or somtimes it works but if I zoom the curves disappeared, or is corrupted.
    I have this for instance on a computer with win 98 and a ATI graphic board. So I try to update all drivers but noting has changed. I try to decrease the hardware acceleration, and it seems to happen less oftenly.
    Does anybody have seen that kind of trouble ?

    > I have some trouble With the graph XY, if I display a curve and try to
    > zoom on it, it may be corrupted, or may disappeared.
    >
    I think what you are describing is not due to video driver, but rather
    to the way the graph works. The LV graph maps points to integer screen
    coordinates and draws lines be tween those point. When the numbers are
    way to large to fit on the screen, the numbers are pinned to a special
    large value. When this happenson one axis but not the other, it causes
    the slope of the line to change and potentially not cross the screen.
    If this is the same effect I'm describing, it only takes place when you
    zoom into the data by a large extent, pushing the other points about ten
    to fifteen monitors away. At this point you are no longer
    looking at
    measured data, but rather just on the interpolation of a line between
    two points. The solution if you must have one is to resample your data
    on the diagram to contain more points.
    Greg McKaskle

  • Has anyone had trouble with the middle mouse (open in new tab) button lately?

    Hi gang. Since v29 came out, I have been having trouble with the middle mouse (open in new tab) button.
    Sometimes the button does not register with Firefox. And sometimes FF acts like I pressed it several times.
    Has anyone else had any problems? I use an add-on called
    '''''[https://addons.mozilla.org/en-US/firefox/addon/mclickfocustab/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 MClickFocusTab]'''''
    I disabled it but the problem was still there.

    ''''' "Sometimes the button does not register with Firefox. And sometimes FF acts like I pressed it several times." '''''
    Sounds like a mouse on its' way to mouse-heaven. Seriously, the exact symptoms I have seen with a dozen 3 button mouse's (?meese - ?mice) over the last 15 years. <br />
    Not registering a click is usually due to a dirty contact. And the "double-click" is when the flat spring looses tension and bounces.
    I have had similar happen with the left button, too. But when it happens to that button it is more noticeable much sooner.
    I bought a box of a dozen A4D house branded infrared wireless 3-button mouse's for like $24.00 back in 2000 that were on clearance because the driver disk didn't support W2K, only Win95, 98, and NT4. I got newer drivers from the A4D website and wore all 12 out over the 8 or 9 years. I even fixed a few that broke from the parts from other broken mouse's. I still have 6 or 7 of them laying in the "needs to be fixed" box under my workbench. I'll probably never fix them though, the nano receiver USB mouses I have been using for the 4 or 5 years have much better battery life and lately only need one AA battery.

  • I'm having trouble with the audio on a lot of my games. How can that be fixed?

    I'm having trouble with the audio on a lot of my games. How can that be fixed?

    You need to be more specific. What sort of trouble - no audio, low volume, scratchy sound, etc.?
     Cheers, Tom

  • Does anyone have trouble with the iPad booting you off of the internet?  I will be in the middle of something (i.e. Facebook), and it boots me out and I have to sign in again.

    Does anyone have trouble with the iPad booting you off of the internet?  I will be in the middle of something (i.e. Facebook), and it boots me out and I have to sign in again.

    Jon....
    Don't confuse the threads here with 'typical' experience.  Most of the stuff here is from brand new users, and those that have problems, and considering the 30 million pads in use, represent a very small sliver.
    If you are having repeated crashes it is really pretty basic.  You either have a physical problem with your pad, or you are using too much memory.
    The iOS system is supposed to monitor memory, and shut down previously used apps automatically to free up memory for what you are doing now.  That part of ios is not perfect, and if an app introduces an unexpected memory load, sometimes it gets over whelmed.  
    This happens, more often than not, when using safari with multiple windows open on graphic intense sites.  It can also happen with a memory intensive game, and residual apps in the background.
    Double  tap the home key and take a peek at the recently used list, and shut them down completely, and often the problem goes away.
    If the problem persists, you may have a software issue, and a trip to the genius bar may be in order.

  • I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    RR,
    Not to worry, you're not the first to expect Print to finish by returning you to the edit mode. The thing is that Printing is so hit and miss with this version of the app, you will probably want to stay in the Print window for more than one attempt.
    Jerry

  • Having trouble with the iOS 8.1.1 download.  Very slow. Just keeps saying preparing update for about 4 hours now. Help

    Having trouble with the iOS 8.1.1 download.  Very slow. Just keeps saying preparing update for about 4 hours now. Help

    Hello there, Cmm405.
    If you're updating your iPad with an over-the-air iOS update, the following Knowledge Base article offers up some practical steps for troubleshooting some of the issues that can arise:
    Resolve issues with an over-the-air iOS update - Apple Support
    In your instance, these sections may prove particularly useful:
    Download takes a long time, or you can't reach update server
    iOS updates require a persistent Internet connection, and the time it takes to download the update will vary according to the size of the update and your Internet speed. You can use your device normally while downloading the iOS update, and iOS will notify you when you can install the update. To improve the speed of the download, avoid downloading other content.
    If you get a message that "an error occurred downloading iOS," try again later. If the issue persists, try updating your device in another network or use iTunes to update your device. Learn more about iOS updates.
    Update does not complete
    If you're installing the update and the progress bar appears to move slowly, be patient. The time an update takes depends on the size of the update and the number of files on the device.
    When you're updating over the air, keep your device connected to a power source so that it doesn't run out of power. If your device does run out of power, connect it to a power source and turn on the device to let the update or restore complete.
    If the update never completes and the progress bar hasn't moved for an extended time, try restarting your device. If you still see the issue after you restart, see what to do if your device appears frozen or won't start.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Help : documentation The Robot Class

    hi,
    is there somone who know about the robot class either the documentation of the API, some internet web site ..
    thanks

    What are you wanting to know?? I helped create the Robot class. This class was purposely kept extremely minimal, and the javadoc for it is pretty good. If you want a more complete tool, you can try Jemmy (http://jemmy.netbeans.org/), though I should warn you that the documentation there is skimpy. Jemmy builds on top of Robot and provides lots of flexibility.
    - David

  • Is anyone having trouble with the keyboard sensitivity on the iphone?

    is anyone having trouble with the keyboard sensitivity on the iphone? I am typing, but can sometimes get a delay of 5 seconds or more before the letters actually appear on the screen.
    This is across all apps.
    Does not seem to be an issue with opening apps or scrolling etc., but only with the keyboard.
    Thanks.
    Nick

    I had this problem after downloading Dropbox. Once I uninstalled it, my keyboard was fine.

  • XML Publisher(XDODTEXE) in EBS taking more time with the same SQL in TOAD

    HI
    XML Publisher(XDODTEXE) in EBS taking more time with the same SQL in TOAD.
    The sql has 5 union clauses.
    It takes 20-30 minutes in TOAD compared to running through Concurrent Program in XML Publisher in EBS taking around 4-5 hours.
    The Scalable Flag at report level is turned on with the JVM options set to -Xmx1024m -Xmx1024m in Concurrent Program definition.
    Other configurations for Data Template like XSLT, Scalable, Optimization are turned on though didn't bounce the OPP Server for these to take effect as I am not sure whether it is needed.
    Thanks in advance for your help.

    But the question is that how come it is working in TOAD and takes only 15-20 minutes?
    with initialization of session ?
    what about sqlplus ?
    Do I have to set up the the temp directory for the XML Publisher report to make it faster?
    look at
    R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
    BI Publisher - Troubleshooting Oracle Business Intelligence (XML) Publisher For The Oracle E-Business Suite (Doc ID 364547.1)

  • How can i change the apple ID in my 2nd hand macbook air, i have no more contact with the first owner. thanks

    how can i change the apple ID in my 2nd hand macbook air, i have no more contact with the first owner. thanks
    i already have an apple ID, but it seems that the original ID is locked to the first owner.

    Perform the steps the first owner should have done for you as listed here:
    http://support.apple.com/kb/HT5189

  • Is PE10 compatible with Windows 8? Having trouble with the organizer.

    Is PE10 compatible with Windows 8? Having trouble with the organizer

    It does sound very Watch Folders-esque, however, it seems strange that there are many folders involved. Are all the folders under a single parent folder perhaps? If so, you could try renaming or moving that folder. Additionally, to clarify, all 60 files are images, correct?
    Additionally, you can try creating a new catalog, just to see if that lets you in. Hold down the Shift key while launching the Organizer. If you get the timing right, the Catalog Manager will appear.

Maybe you are looking for

  • Context Menu in BW Report Iview not opening after upgrade to Portal 7.3

    Hi All, We have a unusual problem that, the Context menu of the BW reports for options like filtering is not opening post Upgrade to Portal 7.3 for End users. However, with Super Admin role, the Context menu opens for the BW report Iview. I have trie

  • HT4059 What types of files are acceptable for ibooks?

    I have some books that end with .mobi and various other file types. Which are acceptable in iBooks? Also, where can I put these files in order to add them to either the Kindle app or the iBooks app? Which folder?

  • Extract app from mac mini

    how can i install iphoto (ilife 08) from a new mac mini to my G5 imac ?

  • Interest in F.2B not required if customer has a credit balance.

    Hi all, When i calculate interest in F.2B, its also calculating if the customer has a credit balance. I dodnot want interest to be calculated if customer has a credit balance. Could anyone please let me know if there is any setting or any userexit to

  • Client copy failed in SCM without livecache

    Hi, I am executing client copy on a SCM-EWM system with profile SAP_ALL. Client copy failed with error. How can I find what tables are not being copied? The copy fail at post processing steps for this exit program "/SAPAPO/OM_CLNT_COPY_UPLOAD". My SC