HELP creating random rectangle

hi im having trouble it seems like my code is down correct but that isnt the case because i get 4 errors all involving 'MyRectangle' i get 4 cannot find symbol if ne one knows please help me out thanks my code is below thank you
import java.awt.*;
import java.awt.event.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;
import javax.swing.*;
public class DrawJPanel extends JPanel
   // Random object to create random numbers
   private Random randomNumber = new Random();
   // Timer object to generate events
   private Timer drawTimer;
   // ArrayList object to hold MyRectangle objects
   private ArrayList rectangleArrayList = new ArrayList();
   // array of possible MyRectangle colors
   private Color[] colors = { Color.BLUE, Color.ORANGE, Color.PINK,
      Color.CYAN, Color.MAGENTA, Color.YELLOW, Color.BLACK,
      Color.WHITE, Color.RED, Color.GREEN };
   // no-argument constructor
   public DrawJPanel()
      super();
      drawTimer = new Timer( 250,
         new ActionListener() // anonymous inner class
            // event handler called every 250 microseconds
            public void actionPerformed( ActionEvent event )
               drawTimerActionPerformed();  
         } // end anonymous inner class
      ); // end call to new Timer
      drawTimer.start(); // start timer
   }  // end contructor
   // create new MyRectangle object and add it to rectangleArrayList
   private void drawTimerActionPerformed()
      // get random dimensions and a random color
      int x = randomNumber.nextInt( 380 );
      int y = randomNumber.nextInt( 380 );
      int width = randomNumber.nextInt( 150 );
      int height = randomNumber.nextInt( 150 );
      int color = randomNumber.nextInt( 10 );
      // create MyRectangle object and add it to rectangleArrayList
      MyRectangle rectangle = new MyRectangle(x,y,width,height,colors[color]);
      rectangleArrayList.add( rectangle );
      repaint();
   } // end method drawTimerActionPerformed
   // draw all rectangles
   public void paintComponent( Graphics g )
      super.paintComponent( g );
      // create iterator
      Iterator rectangleIterator = rectangleArrayList.iterator();
      MyRectangle currentRectangle; // create MyRectangle
      // iterate through ArrayList and draw all MyRectangles
      while ( rectangleIterator.hasNext() )
         currentRectangle =
            ( MyRectangle ) rectangleIterator.next();
         currentRectangle.draw( g ); // draw rectangle
   } // end method paintComponent
   // clear rectangleArray
   public void clear()
      rectangleArrayList.clear(); // clear ArrayList
      repaint(); // repaint JPanel
   } // end method clear
} // end class DrawJPanel

And...?
MyRectangle is not part of the Java API. So that means you wrote it... or something like that. Did you write a MyRectangle class?

Similar Messages

  • Need help creating a rectangle with a bunch of  text scrolling up within it

    Hey everyone, I'm using Motion 2 and want to add a large amount of text scrolling up. Which behavior would be best to use, the Scroll up or Motion Path?
    I want to create a rectangle where the text will be scrolling within it but I'm not sure how to do that. I'm I suppose to create a mask rectangle and then add the text?
    Please help
    Thank You

    As with most things there are a number of ways you could do it.
    One way is, if your making a rectangle anyway (as a bkg for the text) you can make an image mask (command shift m) on the text object and drag the rectangle into the mask well (then turn the rectangles visibility back on). This works with a filled rectangle.
    Of course you have to format the text to fit in the rectangle as it won't act as a bounding type area (like in AI, PSD).
    o| TOnyTOny |o

  • Help Creating Starburst With Randomized Rays

    Check out this background image below (or view larger size at this link:http://i3.campaignmonitor.com/themes/site_themes/default/img/bg_site-home.jpg) . I would like to know how they created the "randomized" effect of the rays behind the gray box.   I already know how to make your standard starburst using Abealls auto shape extension, but that creates uniform rays.  The rays of light in the below example are seemingly random.  I know this can be easily done in Photoshop using filters, but can it not be easily done in Fireworks?

    Here's my try ( btw, welcome to the forums! ) and even if it is not random, it is close to the desired effect.
    Save the file to your computer and de-construct. I have added a Noise filter effect, a bit of Gaussian blur and there is a half-transparent rectangle on top of the rays, with gradient (rays use gradient, too).
    Now, I suppose you could combine two Sunrays autoshapes, slightly shift one of them, make both half-transparent, and apply a bit different effects to both. You could also create a complex vector mask on top of the sunrays, with a complex gradient with varaible areas of half-transparency, and this could help create this "random effect" that you are going after...
    I hope that some wiser than me Fireworks guru will be able to help you more...
    Message was edited by: Michel (two more variants added)

  • Confused on creating a rectangle and validating its size & position afterwards

    If one creates a rectangle in a layer like this:
    var childLayer = parentLayer.pathItems.rectangle(top, left, someWidth, someHeight);
    childLayer.stroked = false;
    childLayer.filled = true;
    After creating the rectangle, would one read it back like this:
    var bounds = childLayer.geometricBounds;
    alert("bounds: "+bounds[0]+","+bounds[1]+","+bounds[2]+","+bounds[3]);
    or should I use visibleBounds, or controlBounds? Or something else?
    I know if stroke not used or can exclude can use geometric bounds? Or rather all 3 bounds could be the same in that case?
    I'm confused right now because I'm assuming the bounds represent the four corners of the rectangle's position in the document and when read back out, the values (bounds[0] and bounds[1]) don't match against the top & left values originally passed in to create the rectangle. Shouldn't they be the same?
    If not, how am I supposed to validate that the layer/object uses the same top & left values for it's position as when the rectangle was created (for say validation purposes)?
    Also I assume I should be able to fetch the position of one corner using childLayer.top & childLayer.left as well right? For some reason, that doesn't match with top & left either.

    Using your code snippet, I get same values. I'm using Adobe Illustrator CS6 (64-bit).
    But using a slightly different snippet, adapted from original script code I'm working with:
    var doc = app.activeDocument;
    var finishedWidth = 6.74 * 72;
    var finishedHeight = 4.84 * 72;
    var top = (362.88 - finishedHeight) / 2;
    var left = (502.56 - finishedWidth) / 2;
    alert("orig left: "+left+", top: "+top+", width: "+finishedWidth+", height: "+finishedHeight);
    var trimLayer = doc.pathItems.rectangle(top, left, finishedWidth, finishedHeight);
    alert("done left: "+trimLayer.left+", top: "+trimLayer.top);
    var bounds = trimLayer.geometricBounds;
    alert("bounds: "+bounds[0]+","+bounds[1]+","+bounds[2]+","+bounds[3]);
    the results are off regarding trimLayer.left & trimLayer.right compared to the original top & left values passed in. But the bounds values are correct. From your code snippet, I checked the rect.left and rect.top & it's still correct.
    Here's the output of the alerts (with some rounding of values as opposed to what was displayed):
    orig left: 8.64, top: 7.19, width: 485.28, height: 348.48
    done left: 8.14, top: 7.7
    bounds: 8.64,7.2,493.92,-341.28
    and debugging the original script code, the script I'm working with, (the rect.left, rect.top and) the bounds don't match up, with a difference from 0.14 to 0.42 to the actual value it's supposed to be. Extracting the area of code that I'm debugging out (for generalization and sharing code) results in the snippet above, and for some reason there, outside the context of the full script, the bounds are correct but not the rect.left & rect.top. Unfortunately, can't share the rest of the code at present.
    Guess I'll have to investigate further, with help from my team's developers. At the moment I'm perplexed by these variations. Logically, from reading the code & scripting reference, I would have expected the values to match up in all cases.

  • Creating random patterns / camo in Illustrator???

    Hi all,
    Just wondering if there is a way to create random patterns like camo in Illustrator???
    I can do it in flash, just wondering if there is a way to randomly generate the position of objects in Illustrator, maybe via a filter or something???
    Any help would be great

    You can use symbols and the symbolism tools as well as scatter brushes.
    Mylenium

  • Why is my rectangle tool creating skewed rectangles in Adobe Illustrator CC?

    Why is my rectangle tool creating skewed rectangles in Adobe Illustrator CC?

    I am experiencing the same problem! Any shape tool I try to use has some kind of pre-defined shear angle. And the constrain angle is set to 0º in Preferences...
    Can anybody please help? I just want to draw a square!!!

  • Trouble creating random ovals

    Hello all, as much as I hate having to look really stupid, I am a nooby and I am stuck. I am trying to create randomly placed ovals by pressing my jbutton to seem as though the image is being erased. I have tried different scenarios and have read my text many times. My courses are via online and I am more of a hands on learner. I am not looking for anybody to do my work for me, I would just like to be pointed in the right direction please. I keep getting an error message in my action performed methd (cannot find symbol g (in g.filloval)). Can someone point me to a tutorial for this or point out my mistakes please, any help is greatly appreciated. Thank!
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class JEraseImage extends JApplet implements ActionListener
    private ImageIcon image = new ImageIcon ("pins.jpg");
    private int Width, Height;
    Container con = getContentPane();
    JLabel greeting = new JLabel ("If you don't like what you see");
    Font headlineFont = new Font ("Helvetica", Font.BOLD, 20);
    JButton eraseMe = new JButton ("Erase Me");
    Image pins;
          public void init() 
         greeting.setFont (headlineFont);
            con.add(greeting);
         con.add(eraseMe);
         con.setLayout(new FlowLayout());      
         pins = getImage(getCodeBase(),"pins.jpg");
            eraseMe.addActionListener(this);      
         public void paint (Graphics g)
         g.drawImage(pins, 0, 30, this);
         g.setColor(Color.WHITE);
         g.fillOval(70, 30, 100, 60);
         for(int count = 0; count < 20; ++count)
            int x = (int) (Math.random() * Width) + 0;
            int y = (int) (Math.random() * Height) + 30;
            g.fillOval(x, y, 10, 10);
         eraseMe.repaint();
         public void actionPerformed(ActionEvent eraseMe)
         g.filloval.repaint(); //also tried eraseMe.repaint();
    }Edited by: stillearning on Nov 20, 2007 7:03 PM

    I have the latest version, at least as a month ago anyways. The eraseMe is supposed to create the filled ovals when the jbutton is clicked so it will seem to erase the imageicon already in place. I tried changing to lower case o in filloval and it didn't compile but it did when I kept them uppercase. I managed to place one oval over the image in the paint method but that's as far as I seem to get. I'm guessing I went wrong somewhere in the for loop? I tested a string event in the action performed event and that worked just fine so I know my jbutton is active.
    Here is the adjusted code:
    public void paint (Graphics g)
         g.drawImage(pins, 0, 30, this);
         g.setColor(Color.WHITE);
         g.fillOval(70, 30, 100, 60);
         for(int count = 0; count < 20; ++count)
            int x = (int) (Math.random() * Width) + 0;
            int y = (int) (Math.random() * Height) + 30;
            g.fillOval(x, y, 10, 10);
         public void actionPerformed(ActionEvent eraseMe)
         repaint();
    }

  • Help with a rectangle, will be easy to solve please help

    created a rectangle using following code:
    Rectangle puck = new Rectangle();
    now I want a rectangle on my JPanel, anyone know some code to help?
    Cheers

    tried that code and got this error
    cannot resolve symbol: method add (java.awt.Rectangle)in class javax.swing.JPanel
    already had 1st 2 lines of code, 3rd line is what gets the error....

  • Help creating an image/shape

    Hi,
    I'm looking for some help to create something similar to the below shape on the box (the pic in the top right). I am just looking to create the shape--I know how to add my own text. I am beginner when it comes to CS6 and learning the ropes. Any help would be greatly appreciate!
    Thanks!
    Saundra

    Thanks, this was helpful. I didn't even think to try to create a few shapes to get what I wanted. I just played around with it and ended up creating one rectangle and 2 circles and manipulating them to get a shape close to what I was looking for.
    Thanks again for the help and quick response!

  • HP Laserjet Pro 200 printing random rectangles in the middle of images

    My HP Laserjet Pro 200 color printer is printing random rectangles in the middle of certain images. It doesn't do it all the time, usually it's with any images that are grey, blue, green or brown. I installed brand new HP compatable cartridges and the issue is still happening. I've shut down the printer and restarted it, I've ran the test page and it comes out perfect! Please help.  Heather Whittle 

    This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You can find the Commercial Laserjet board here:
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Shadows when creating a rectangle

    I have been searching for an answer for quite a while, but I could not find any information on my problem. Perhaps I am using the incorrect terminology.
    The problem that I am having is whenever I try to create a rectangle with no fill, there is a shadow on the inside of the rectangle. Furthermore, if I make the border very thin, there is an issue with transparency. I'll let the attachment pictures speak for themself, basically I just want these rectangle borders to be solid lines.
    I'm using Photoshop CS6 on a Mac.
    Thanks,
    Zach

    What is your pixel grid preference? it may because your Pixel Grid preference turned off.
    When working with the Vector tools (drawing a Shape layer for example) Photoshop CS6 has a new preference to Snap Vector Tools and Transforms to Pixel Grid. This option can be extremely helpful when creating objects that need solid, straight edges as it prevents drawing shapes that aren’t fully aligned to a pixel and are therefore created with anti-aliased edges.
    please read the following link:
    http://blogs.adobe.com/jkost/2012/05/align-to-pixel-grid-in-photoshop-cs6.html
    -janelle

  • Service desk error creating support message "help- create support message"

    Hi
    I'm customizing SM 7.0 SP Stack 15 service desk scenario. I'm in a VAR SAP, so It's a mandatory scenario.
    I've done all basic settings from General Settings, Connection to SAP, Online Documentation, ...,
    Business Partners, iBase, Basic BC-Sets for Configuration, Number Ranges. After them , for Scenario-Specific Settings-> Service Desk->Service Provider I've done all these steps. At SAP System Solution Manager, I've created solutions at dswp transaction and EW Alert are centralized these steps works. Transaction notif_create works and iBase are well mantained.
    The problem is when I try create a support message from satellite SAP system. I logged With a SAP user which is BP, key user and has authorizations in a satellite system and I choose help->create support message, so a pop-up appears and I fill the fields, and I press button (Save/Send). An error appears:
    Error in Local Message System: Access via 'NULL' object reference not possible. Message was Not Created
    In order solve the error I review:
    - The satellite SAP system is at the iBase installed components.
    - I've Assign Number Range for ABA notifications at SLF1 transaction.
    - I've Checked number range for Service Desk Message at SLFN transaction.
    - I've configured ABA Message transaction DNO_CUST01, transaction DNO_CUST04
    - (satellite system) Transaction sm30, table BCOS_CUST:
       Appl.            +       Dest.                                  +                     +
       OSS_MSG   W     SM_SMGCLNT010_BACK    CUST620          1.0
       TST_CUS                                                        0120009939
       RFC SM_SMGCLNT010_BACK works, SM recollects EW Alert from this satellite system
    - (satellite system) I logged with a SAP user with these roles:
      SAP_SUPPDESK_CREATE
      SAP_BC_CUS_CUSTOMIZER  according SAP NOTE 834534
      SAP_BC_CUS_ADMIN       according SAP NOTE 834534
      SAP_SV_FDB_NOTIF_BC_CREATE
      SAP_SV_FDB_NOTIF_BC_ADMIN
      All these roles are mantained.
    - I've review SAP Notes 834534, 864195, 621927(I haven't applied this SAP Note because it's older)
    Please could you help me?
    Thanks and Regards
    Raul

    Hi,
    When I try create a SAP message via help->create suuport message, I get the same error so I run help->create support message in a satellite system so I run help->create support message in Solution Manager
    system. Also, a dump is generated in Solution Manager when I try create support message or from satellite or from solution manager.
    ========================================================================
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Date and Time          10.07.2008 10:17:26
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_BOR_SERVICE_PPF============CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: " ").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "OBJECTS_OBJREF_NOT_ASSIGNED" " "
        "CL_BOR_SERVICE_PPF============CP" or "CL_BOR_SERVICE_PPF============CM004"
        "PROFILE_CONTAINS_PARTNERDEP"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    Information on where terminated
        Termination occurred in the ABAP program "CL_BOR_SERVICE_PPF============CP" -
         in "PROFILE_CONTAINS_PARTNERDEP".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 41
        of the (Include) program "CL_BOR_SERVICE_PPF============CM004".
    =========================================================================
    Thanks and Regards
    Raul

  • I need Fusion help creating a demo of BRM JCA Resource Adapter

    I need Fusion help creating a demo of BRM JCA Resource Adapter.
    I know BRM well but am clueless with Fusion.
    I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
    My BRM docs say:
    Installing the BRM JCA Resource Adapter ->
    Software requirements
    (yada yada install a bunch of BRM stuff I know how to do)
    The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
    (more yada yada about installing more BRM packages I know how to do)
    Deploying and configuring the BRM JCA Resource Adapter ->
    Overview of the BRM JCA Resource Adapter configuration procedure
    The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
    Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
    Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
    Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
    Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
    The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
    Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
    Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
    Deploying the BRM JCA Resource Adapter on an Oracle application server
    The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
    Application
    JAR files
    J2EE application server
    classes12.jar, connector15.jar, and jta.jar
    Oracle BPEL process
    bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
    BRM J2EE Resource Adapter
    pcm.jar and pcmext.jar
    Apache
    xercesImpl.jar
    If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
    If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Restart the application server or the J2EE instance.
    After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
    After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Remove the following oracle.bpel.common entry (shown in bold below):
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
    Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
    <oc4j-connector-factories...>
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    <oc4j-connector-factories>
    Save and close the file.
    Restart the application server or the J2EE instance.
    For more information about deploying the adapter, see your application server’s documentation.
    Connecting the adapter to BRM in Oracle AS
    You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
    Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
    Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
    Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
    Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
    Create as many connection factories as your system needs. For each connection factory, specify the following:
    The JNDI location for the connection factory.
    The connection pool to use.
    How to connect to BRM by using these entries:
    Entry
    Description
    ConnectionString
    Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
    DBNumber
    Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
    InputValidation
    Specifies whether to validate the input XMLRecord:
    True — The adapter validates the input XMLRecord against the opcode schema.
    False — The adapter does not validate the input XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    OutputValidation
    Specifies whether to validate the output XMLRecord:
    True — The adapter validates the output XMLRecord against the opcode schema.
    False — The adapter does not validate the output XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    LoginType
    Specifies the authentication method:
    1 — The adapter logs in to BRM by using the specified login name and password.
    0 — The adapter logs in to BRM by using the specified service type and POID ID.
    The default is 1.
    UserName
    Specifies the login name the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    Password
    Specify the password the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    PoidID
    Specifies the POID ID. This entry should be set to 1.
    ServiceType
    Specifies the service the adapter uses to log in to the BRM software.
    The default is /service/pcm_client.
    You have successfully configured the adapter to connect to BRM.

    I need Fusion help creating a demo of BRM JCA Resource Adapter.
    I know BRM well but am clueless with Fusion.
    I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
    My BRM docs say:
    Installing the BRM JCA Resource Adapter ->
    Software requirements
    (yada yada install a bunch of BRM stuff I know how to do)
    The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
    (more yada yada about installing more BRM packages I know how to do)
    Deploying and configuring the BRM JCA Resource Adapter ->
    Overview of the BRM JCA Resource Adapter configuration procedure
    The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
    Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
    Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
    Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
    Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
    The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
    Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
    Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
    Deploying the BRM JCA Resource Adapter on an Oracle application server
    The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
    Application
    JAR files
    J2EE application server
    classes12.jar, connector15.jar, and jta.jar
    Oracle BPEL process
    bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
    BRM J2EE Resource Adapter
    pcm.jar and pcmext.jar
    Apache
    xercesImpl.jar
    If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
    If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Restart the application server or the J2EE instance.
    After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
    After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Remove the following oracle.bpel.common entry (shown in bold below):
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
    Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
    <oc4j-connector-factories...>
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    <oc4j-connector-factories>
    Save and close the file.
    Restart the application server or the J2EE instance.
    For more information about deploying the adapter, see your application server’s documentation.
    Connecting the adapter to BRM in Oracle AS
    You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
    Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
    Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
    Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
    Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
    Create as many connection factories as your system needs. For each connection factory, specify the following:
    The JNDI location for the connection factory.
    The connection pool to use.
    How to connect to BRM by using these entries:
    Entry
    Description
    ConnectionString
    Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
    DBNumber
    Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
    InputValidation
    Specifies whether to validate the input XMLRecord:
    True — The adapter validates the input XMLRecord against the opcode schema.
    False — The adapter does not validate the input XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    OutputValidation
    Specifies whether to validate the output XMLRecord:
    True — The adapter validates the output XMLRecord against the opcode schema.
    False — The adapter does not validate the output XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    LoginType
    Specifies the authentication method:
    1 — The adapter logs in to BRM by using the specified login name and password.
    0 — The adapter logs in to BRM by using the specified service type and POID ID.
    The default is 1.
    UserName
    Specifies the login name the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    Password
    Specify the password the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    PoidID
    Specifies the POID ID. This entry should be set to 1.
    ServiceType
    Specifies the service the adapter uses to log in to the BRM software.
    The default is /service/pcm_client.
    You have successfully configured the adapter to connect to BRM.

  • Help-Create Support Message In SAP

    Hi,
         When iam creating a new message from Help-Create Support Message it is throwing the error message as 513. Can anyone help me in the mentioned issue.
    Regards,
    Mirza Kaleemulla Baig.

    Hi Mirza,
    Please check the following:
    - Check that the users used to create the support desk message has the
    following authorizations.                                                                               
    SAP_SUPPDESK_CREATE   
    - Can you please attach the contents for the table BCOS_CUST in both the
    solution manager system and one of your satellite systems.   
    This table must show this entry at least:
    OSS_MSG     W     NONE     CUST620     1.0    
    - Check also note 1011376   
    Hope this helps,
    Dolores

  • Sold-To Party and Reported missing when doing Help - Create Support Message

    Sorry, I know this has been asked multiple times, but I'm missing something in the responses.  The responses I am finding either don't seem to apply to my situation, or aren't detailed enough to explain what I'm supposed to be doing.
    Solution Manager 7.0 EhP1 SAPKITL435.
    If we try to do a "Help - Create Support Message" from within our production Solution Manager system, the "Reported by" field is correct, but the Sold-To Party is blank.
    If we try to do a "Help - Create Support Message" from within our non-production Solution Manager system, both the "Reported by" and  Sold-To Party fields are blank.
    If we try to do a Help - Create Support Message" from another SAP system whose RFC is pointing to our non-production Solution Manager system, both the "Reported by" and  Sold-To Party fields are blank.
    I've looked at IB52, as well as the SPRO activities under "Partner Determination Procedure."  I think a big part of my problem is that they just don'e make sense to me yet, because I can't figure out what I should be changing.
    For example, IB52 looks to me like it only applies if you want to assign something to the same person all the time.  Am I missing something there, or is that an answer to a different question?
    I also can't figure out if I need to create something new in "Define Access Sequences," or modify something existing, and, if I modify, to what?
    Does anyone know where I could find specific instructions for setting this up?

    Hi Brenda,
    Regargind this issue, please check if Sold-To party is maintained for
    your system with IB52 in your solman system as the steps below:
    SOLUTION MANAGER system
    ->IB52
    ->select the system on left hand side
    ->click on 'goto' on top menu
    ->Select 'partner'
    ->Now maintain Sold-To party
    Also check below note:
    1165357    Sold-to-Party is not assigned to Service Desk messa
    As you said ou already assigned then i would request you to please check if you have assigned at the system level or not. Somtimes people define at top of the tree and also at system level. Please assign at system level and delete all other. Most of the times this is the issue Sold-to-party doesnt fill automatically.
    For reported by field:
    Please check the note: 824640: Customizing missing for Service Desk in Solution
    read this note carefull and this will help you fixing the reported by issue.
    Please, make sure you have applied the following corrections:
    1439191 Incident Create: Message Reporter or Processor is not saved
    1486132 Incident Create: Enhance search help of Reporter field
    1497700 Work center: Message details not updated after refresh
    After this if you still having issue you need to provide more details but i think this will fix the issue.
    Thanks
    Regards
    Vikram

Maybe you are looking for

  • How do I add paragraph indentation to a style in iBooks Author?

    I have a book with a lot of quoted verse in it, which needs to be indented.  In order to make the verse distinctive to the eye, it's both slightly tighter set than the rest of the text, and left-indented. I can set up the tighter settings and save th

  • Private key from 5.1 to 7.0

    Hi, we're currently upgrading from WebLogic server 5.1 to 7.0. The private key generated by WLS 5.1 does not use any password, and can therefore not be used with 7.0 Do I have to generate a new private key and order a new SSL certificate, or is there

  • Mac shuts down in target disk mode

    So I finally replaced my old iMac G4 with a shiny new MacBook Pro. But I've run into problems while attempting to copy user data over during the setup assistant process. I connect the two computers using a firewire cable. I put the old iMac into targ

  • How can I reset my administrator password, without knowing the original administrator password?

    Hi guys, I use a MacBook Pro with OS X 10.8 Mountain Lion. A few months ago I reset my administrator password and have not been able to remember it since. Consequently, I haven't been able to do any software updates, my computer is running slow and I

  • HT3702 I'm trying to open payment history due to multiple charge on my card

    I was charge multiple on my credit card that I didn't purchase plus I got charge same items same amount on two credit card my last purchase was on July 29,2013 in the amount of 3$ for the chips of 1200chips on zynga poker