Composition

hi guys
i have written a simple program that supposedly illustrates Composition. I am really a novice but i have attempted to learn the stuff. I wrote up the following code, which gives me the following errors on compilation: ( CODE beneath!!)
Car.java:29: ')' expected
System.out.println("one with " + newHonda.color " and has a " +
newHonda.engine_make));
^
Car.java:30: ')' expected
System.out.println( "again it has " + newHonda.country_make " an
d has " + newHonda.doors));
^
2 errors
C:\j2sdk1.4.2_02\bin>javac Car.java
Car.java:29: ')' expected
System.out.println(+ newHonda.color " and has a " + newHonda.eng
ine_make);
^
Car.java:30: ')' expected
System.out.println(+ newHonda.country_make " and has " + newHond
a.doors);
^
2 errors
the code follows:
import java.lang.object;
public class Car
     String color;
     String engine_make;
     String country_make;
     Int doors;
     Engine petrolFired;
     public Car()
     System.out.println("inside constructor Car()");
          color = "Blue";
          engine_make = "Mitsibishi";
          country_make = "japanese";
          doors = 4;
     public static void main(String[] args)
          Car newHonda = new Car();
          Engine.main(args);
     void printCar(Car newHonda)
          System.out.println("the vehicle u wanted to purchase is: ");
          System.out.println(+ newHonda.color " and has a " + newHonda.engine_make);
          System.out.println(+ newHonda.country_make " and has " + newHonda.doors);
          printEngine(petrolFired);
class Engine
     String part1 = "radiator";
     String part2 = "oil pan";
     String part3 = "cylinder head";
     String part4 = "fuel intake assembly";
     public static String newline = System.getProperty("line.separator");
     public static void main(String[] args)
          honda.printCar(honda);
     void printEngine()
          System.out.println("It is: " + petrolFired.part1);
          System.out.println("has an: " + petrolFired.part2);
          System.out.println("an aluminum " + petrolFired.part3);
          System.out.println(" and an improved " + petrolFired.part4);
could somebody debug this program and tell me what i did wrong.Thanks a lot in advance.     

All are simple errors.
When you want to use the + operator within System.out.println, be
careful of where you start and end double-quotes (").
It should be like this..
System.out.println("aaaaa" + "bbbbbb" + "ccccccc" + "dddddddd");
Otherwise, the compiler wont know where your String starts and where it ends.
For example:
System.out.println("one with " + newHonda.color " and has a " +
newHonda.engine_make));
SHOULD BE
System.out.println("one with " + newHonda.color + "and has a " +
newHonda.engine_make));
Look carefully in all the other 4 lines, and you will be able to find
the errors.
OG

Similar Messages

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • Mini DVI to S-video and composite giving complete distorted output!!

    I tried to hook up my 20" Sony Trinitron either through S-video or composite to the powerbook without any success. I got completely distorted picutre. I have tried all the video resolution setting that is available on the Displays reference window with the same result. Does anybody out there run into this problem at all.

    I have a 12" PowerBook 1.5ghz and had the same problem with garbled video today. When I plugged in the Mini-DVI > Composite/S-Video adapter the PowerBook would consistently think it was attached to an ordinary VGA monitor, and could not sync with the television. This caused a B&W, warped, split in half picture.
    I took the adapter back to the Apple store, plugged it into one of their demo units, and saw it behaved the same way. They gave me a replacement and everything has been fine since.
    QS2002, 1.4ghz, 1gb, GeForce 4 Ti4600, SATA; 12" PB 1.5ghz, 512mb   Mac OS X (10.4.4)  

  • Mini dvi to s-video/composite adapter doesn't seem to work?

    basically i'm trying to hook my rather new 2.53 ghz mac mini to my tv, which basically has rca inputs. so, having seen several laptops hooked to this tv as simply as using an s-video to composite adapter, i figured it would be as simple as getting the mini dvi to composite adapter and i'd be good. well, for some reason this doesn't seem to do anything. the other weird thing is that when i hook the cable from the composite adapter to the tv, i get a buzz out of the speakers as the connection is being made. why is a video signal having anything to do with the audio? plugging my playstation 2 into the same input works fine. why the difference?

    Boece wrote:
    !http://images2.monoprice.com/productmediumimages/47241.jpg!
    +
    !http://images2.monoprice.com/productmediumimages/48501.jpg!
    That's the setup I've used. Works great for video and photos, but webpage text can be difficult to read.
    I used the yellow composite input rather than the s-video. My old tv is inside an “entertainment center” type tv stand and is so friggin heavy, it’s a pain in the axx to move, so I just used the composite plug on the front of my tv. Since the Mac mini is sitting in front of the tv it works great:-)
    http://discussions.apple.com/thread.jspa?threadID=2430645&tstart=0
    Message was edited by: James Press1

  • Does DVI to Video adapter send both s-video and composite simoutanesly?

    Hi,
    I´m wondering if you connect the DVI to Video adapter on the new MacMini (DVI to s-video+composite), does the Mini send BOTH s-video and composite at the same time?
    If connected to TV and projector, I want to see both simotanesly, not neede to change something in the setup...
    The both having same resolution I guess is a must!
    Regards,
    Pat

    Yes, many think, but i´ve havnt heard anyone whoose sure?! Can´t be such a odd thing, connect a Mini to two displays at same same time...

  • Mini-DVI to Video (composite or S-Video), can't get it to work

    hi guys,
    I got a MacBook (bought in Japan) and a mini-DVI to Video adapter (Bought in Canada recently).
    I am trying to watch TV, but I am getting a very bad b&w image (as if I was watching using a very old antenna).
    I changed the display resolution to the lowest option 640x480 (60Mhz) (Actually I tried every single resolution)
    I tried both the yellow composite cable or the S-Video to yellow composite cable but both produce the exact same image.
    I am out of ideas, I have a feeling that it's trying to send a PAL signal on a NTSC television (Is that even possible?)
    Any suggestions are highly appreciated.
    Many thanks
    ps. I'm running on Leopard
    ps2. My TV is not old, it's a pretty decent Toshiba

    I found this:
    QUOTE
    Thanks guys for your help, I actually found some advice from this website
    http://forums.macrumors.com/showthread.php?t=101628
    Success!
    Here is the content below from the site, tricky to find if your a novice like me!;
    Indeed there is.
    1.First connect the DVI cable, so the Powerbook switches to multiple display.
    2. Launch system preferences>display
    3. There should now be 3 tabs on the top (Display, Arrangement,Color). Select the 'Arrangement' tab.
    4. Check the 'Mirror Displays' box. The Powerbook display will reset to mirror mode.
    5. When the display settles, pull out the dvi cable, let it settle and plug it in again.
    6. You should now see two dialogs, Color LCD and NTSC/PAL.
    7. Select the resolution you want on the Color LCD dialog.
    8. Select to bring to front the NTSC/PAL dialog and you will see the Refresh rate drop down list available for 50 Hertz(PAL) selection.
    Looks quite bothersome but works for me. Was trying to record game session on a PAL camcorder and stumbled on your discussion while looking for solutions, found it while meddling the Preferences. Thought I'd share it even though it's been some time. Happy New Year.
    END QUOTE
    Hope that helps!

  • Connect macbook to composite tv

    Hi there,
    I have a macbook (2009) model that I want to connect to a composite tv. I think the Apple Mini-DVI to Video Adapter will not work as it states on the mac site that "This adapter is not compatible with the 2.0GHz Intel Core 2 Duo white MacBook introduced in January 2009."
    Any ideas?
    Thanks

    Mort,
    The article only indicates the ability to output video via DVI and VGA. There is no mention for Composite.
    This article (for a late-2007 MacBook) does indicate compatibility for composite:
    http://support.apple.com/kb/sp12
    The OP may need a different solution, such as this:
    VGA to RCA converter box
    ~Lyssa

  • S-Video/Composite

    I'm curious whether the
    Apple Mini-DVI to Video Adapter works with the Mini-DVI port of the new Mac Mini or whether it will suffer the same fate as the Jan 2009 Macbook.
    I want to hook the new mini to a SD TV and my options are either S-Video or Composite. Of course there is always the option of buying a VGA adapter, then a VGA->S-Video converter but that's a lot of cables (and cost) for a fairly simple task.
    Would highly appreciate it if someone who has the new mini and the Mini-DVI to video adapter could verify whether it works or not.

    I cannot believe this. I even asked the guy at the shop when I bought the additional connector. This was a primary and mandatory requirement for me. They don't even tell front line that it doesn't work anymore. I have been burnt Apple. FIX the analog video interface, not now but RIGHT NOW!
    Also the new Apple Mini DVI with female DVI, it does not connect to the Male DVI with svideo that I used with my last mac mini (now given to folks). The flat female DVI hole is too small for the male. Was this intentional?
    Apple Mini DVI to svideo / composite plug if it doesn't work???!!!
    I tried to boot just with the TV, a multi sync Grundig. I only got the apple logo image at boot but it was tripled. Then it disappeared...
    This is a nightmare and a disgrace!
    I am pleading now!!!!

  • How to delete the deployed composite in weblogic server 11g

    Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
    Thanks

    Hi
    1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
    2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
    3. If you really want to have a full clean soa domain, here is what you do:
    a) Run rcu and drop the existing schemas for soainfra and mds.
    b) Run rcu again and create above schemas again.
    c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
    3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
    Thanks
    Ravi Jegga

  • Error message deploying a composite in SOA Suite 11g

    Hello,
    We are attempting to deploy a composite to SOA Suite 11g (11.1.1.3). We're getting an 'Unable to register service' error message. When I inspect the log files I see the following entry as the first error:
    Failed to retrieve policy[[
    oracle.wsm.policyaccess.PolicyAccessException: WSM-06146 : Error deleting the attachment entries.
    Anybody have any experience with this error? The error message reference has the following listed:
    WSM-06146: Error deleting the attachment entries.
    Cause: Failure occurred while deleting the attachment entries.
    Action: Ensure that a valid list of policy subjects for deactivated lifecycle type is passed
    Level: 32
    Type: INCIDENT_ERROR
    Impact: Configuration
    I don't know how to "ensure that a valid list of policy subjects for deactivated lifecycle type is passed". Please help!!!!
    Thanks,
    jh

    This is what we have done :
    1.Created the JDBC data source & connection pool as below :
    data source name : B2BAQ , JNDI name : jdbc/B2BAQ
    Connection Pool :
    URL : taken from the tns entries of the instance
    Driver Class Name : oracle.jdbc.OracleDriver
    Tested this connection ..it works fine from the Admin Console
    2.Then go to Deployments --> AqAdapter -> Configuration tab --> Outbound Connection Pool Group -->
    Create a new connection pool instance -- General tab
    connection interface factory : javax.resource.cci.ConnectionFactory
    JNDI Name : eis/AQ/B2BAQ
    Then in Properties tab : Enter the Data Source Name : jdbc/B2BAQ
    Then we try to Start the AqAdapter from the Admin Console..it goes into Prepared status.
    The error message which comes is mentioned above.
    Is there any way we could resolve this ..that would be very helpful
    Regards
    Edited by: user5149250 on Mar 13, 2012 6:33 AM

  • Error while deploying composite in EM console

    Error while deploying jar files directly from EM console.Please find the below error message and let us know how to deploy the composite.
    Deploying on partition "mooa_businessservices" of "/Farm_SOADomain/SOADomain/SOAServer" ...
    Deploying on "/Farm_SOADomain/SOADomain/SOAServer" failed!
    Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/xxxxxxx}xxxxxxx and port xxxxxxx. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace service name and port name. In addition check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally validate the HTTP proxy settings for the server..

    Thanks for the input.
    We Tried to set ListenAddress to hostname,ipaddress and localhost, still composites are not accessible with localhost for any of the three options. It seems like some network or weblogic configuration which is blocking local host 9711 port but same is accessible with hostname and ip address.
    Do you have any idea on this ?
    1.     Host Name hostname.com
    Managed Server HelloSOAServer Set the "Listen Address" to the hostname hostname.com
    a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Accessible) - Working Fine
    b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Accessible) - Working Fine
    c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                  (Not Accessible)
    Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
    d.     http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
    Error 500--Internal Server Error
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '127.0.0.1', port: '9711'
            at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
            at weblogic.net.http.HttpClient.openServer(HttpClient.java:419)
            at weblogic.net.http.HttpClient.New(HttpClient.java:246)
            at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:176)
            at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:361)
            at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
    Pasted from <http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL>
    2.     IP Address 10.10.x.x
    Managed Server HelloSOAServer Set the "Listen Address" to the ipaddress 10.10.x.x
    a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Accessible) - Working Fine
    b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Accessible) - Working Fine
    c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                    (Not Accessible)
    Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
    3.     Local Address localhost
    Managed Server HelloSOAServer Set the "Listen Address" to the localhost  127.0.0.1
    a.     http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL    (Not Accessible)
    b.     http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                        (Not Accessible)
    c.     http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL                                   (Not Accessible)
    Unable to retrieve composite details.
    The composite HelloWorld (1.0) is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this

  • Error While Deploying A CMP Entity Bean With A Composite Primary Key

    Hello all,
    I have a problem deploying CMP Entity beans with composite primary keys. I have a CMP Entity Bean, which contains a composite primary key composed of two local stubs. If you know more about this please respond to my post on the EJB forum (subject: CMP Bean Local Stub as a Field of a Primary Key Class).
    In the mean time, can you please tell me what following error message means and how to resolve it? From what I understand it might be a problem with Sun ONE AS 7, but I would like to make sure it's not me doing something wrong.
    [05/Jan/2005:12:49:03] WARNING ( 1896):      Validation error in bean CustomerSubscription: The type of non-static field customer of the key class
    test.subscription.CustomerSubscriptionCMP_1530383317_JDOState$Oid must be primitive or must implement java.io.Serializable.
         Update the type of the key class field.
         Warning: All primary key columns in primary table CustomerSubscription of the bean corresponding to the generated class test.subscription.CustomerSubscriptionCMP_1530383317_JDOState must be mapped to key fields.
         Map the following primary key columns to key fields: CustomerSubscription.CustomerEmail,CustomerSubscription.SubscriptionType. If you already have fields mapped to these columns, verify that they are key fields.Is it enough that a primary key class be serializable or all fields have to implement Serializable or be a primitive?
    Please let me know if you need more information to answer my question.
    Thanks.
    Nikola

    Hi Nikola,
    There are several problems with your CMP bean.
    1. Fields of a Primary Key Class must be a subset of CMP fields, so yes, they must be either a primitive or a Serializable type.
    2. Sun Application Server does not support Primary Key fields of an arbitrary Serializable type (i.e. those that will be stored
    as BLOB in the database), but only primitives, Java wrappers, String, and Date/Time types.
    Do you try to use stubs instead of relationships or for some other reason?
    If it's the former - look at the CMR fields.
    If it's the latter, I suggest to store these fields as regular CMP fields and use some other value as the PK. If you prefer that
    the CMP container generates the PK values, use the Unknown
    PrimaryKey feature.
    Regards,
    -marina

  • Error while deploying a composite  (Message part "body" is undefined)

    Hi All,
    I am trying to deploy a composite but i am getting the following error.
    Buildfile: C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite "C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml"
    [scac] /C:/JDeveloper/mywork/Sample/SampleDequeueBPEL/Outputftp.wsdl: error: Message part "body" is undefined [element = EmpCollection
         [scac] Setting BPELC option 'classpath' to C:\Oracle\MiddlewareJdev\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\commonj.sdo_2.1.0.jar;C:\Oracle\MiddlewareJdev\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.web-common_11.1.1.jar;;C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes
    [scac] C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml:21: error: SCAC-50012
    BUILD FAILED
    C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml:272: Java returned: 1 Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errors
    Total time: 4 seconds
    This is an integration from Dequeue to FTP . Dequeue have a payload of message type which is transformed to Ftp message type. Below is the wsdl file where i am getting error
    <wsdl:definitions
         name="Outputftp"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
      <plt:partnerLinkType name="Put_plt" >
        <plt:role name="Put_role" >
          <plt:portType name="tns:Put_ptt" />
        </plt:role>
      </plt:partnerLinkType>
        <wsdl:types>
          <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
                  xmlns="http://www.w3.org/2001/XMLSchema" >
            <include schemaLocation="xsd/FileFTP.xsd" />
          </schema>
        </wsdl:types>
        <wsdl:message name="Put_msg">
            <wsdl:part name="body" element="EmpCollection"/>
        </wsdl:message>
        <wsdl:portType name="Put_ptt">
            <wsdl:operation name="Put">
                <wsdl:input message="tns:Put_msg"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>XSD of FTP:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="EmpCollection">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Emp" maxOccurs="unbounded" minOccurs="0">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element type="xs:string" name="name"/>
                                <xs:element type="xs:byte" name="id"/>
                                <xs:element type="xs:byte" name="dept"/>
                                <xs:element type="xs:string" name="address"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>Could someone help me on this. Thanks in advance.
    Thanks
    Gnanaprakasam R

    Gnanaprakasam ,
    Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errorsDid you managed to look into logs.
    Try to reconfigured the ftp adapter from scratch.
    I had ran into same error as yours what i did was, restarted the Jdeveloper and was able to compile !!
    Regards,
    Abhinav Gupta

  • Error while deploying a composite application

    Hi
    I have an error while deploying my composite application.
    It says
    java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties
    The versions of my NWDS and WAS are 7.0.Please help.
    Thanks,
    ms.

    Hi
    I have added references to libraries with hard reference type.I also added the dc
    tc/conn/connectorframework.
    I still have errors
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28823sap.comcarpool~permissions.sda
    Aborted: development component 'carpool/permissions'/'sap.com'/'local'/'20070702161445':
    Caught exception during access of archive "E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: Error while initializing Extended Ear Reader using file: E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda. Reason: Exception occurred while reading ear descriptor xml. Reason: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(META-INF/application-j2ee-engine.xml, row:10, col:25)Exception is:
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28822sap.comcarpool.ear
    Aborted: development component 'carpool'/'sap.com'/'local'/'20070702165134':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/carpool.. Reason: Exception during generation of components of application sap.com/carpool in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/carpool in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Regards
    ms.

  • IPod Composite AV Cables no longer recognized by iPod

    I posted this in the iPod Touch section but it seems to have been deleted. Anyway, as the title states, my iPod Touch no longer realizes that it's plugged into the proprietary, authentic-chip-containing composite AV cables. I can't figure out why this has happened all of a sudden, since I use the cables very infrequently and hardly ever move or touch them. They've always worked fine, but now my iPod does not prompt me to send video to TV or play it locally on the iPod, it just plays the video on the iPod and broadcasts the audio to the TV. Any idea why this would happen? And yes, I have the right cables. They've worked fine with my iPod Touch for a few months now. And no, my iPod Touch is not hacked or modded or jailbroken in any way, although it's running 1.1.3 with the January Upgrade.

    I have been having some problems with the new dock and cables too, although with audio not video. See:
    http://discussions.apple.com/thread.jspa?messageID=6641040#6641040

  • Error in installing SOA Composites step in Oracle GRC8.6.3 Installation

    Hi all,
    i am installing oracle grc8.6.3 in windows 64 bit.
    i have installed database,rcu,weblogic,soa successfully.in next step i have to install SOA Composite.
    when i am running the wlst from oracle_soa1/common/bin and passing the parameter in the wls:/offline i am getting following error
    i have set JAVA_HOME,WL_HOME,SOA_HOME correctly
    please help me
    wls:/offline> sca_deployComposite("http://localhost:8001","
    D:\oracle\dist\composites1.zip",overwrite=true,user="weblogic",password="Newuser")
    serverURL = http://localhost:8001
    sarLocation = D:\oracle\dist\composites1.zip
    partition = default
    overwrite = 1
    user = weblogic
    forceDefault = 1
    configplan = None
    keepInstancesOnRedeploy = 0
    timeout = -1
    set user and password...
    Processing sar=D:\oracle\dist\composites1.zip
    created temp dir =C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
    09-43dd-92c7-cea134ccd56a
    Adding sar file - C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
    09-43dd-92c7-cea134ccd56a\sca_EmailComposite_rev2.0.jar
    INFO: Creating HTTP connection to host:sfre001t.statoilfuelretail.com, port:8001
    INFO: Received HTTP response from the server, response code=500
    ---->Response code=500, error:There was an error deploying the composite on soa_
    server1: Deployment Failed: Error occurred during deployment of component: Email
    Process to service engine: implementation.bpel, for composite: EmailComposite: O
    RABPEL-05250
    Error deploying BPEL suitcase.
    error while attempting to deploy the BPEL component file "D:\oracle\app\product\
    OFM\domain\user_projects\domains\grc_domain\servers\soa_server1\dc\soa_d7580aa1-
    6af4-4360-b47a-ce198c3d1d89"; the exception reported is: java.lang.NoClassDefFou
    ndError: Could not initialize class com.collaxa.cube.util.JavaHelper
    This error contained an exception thrown by the underlying deployment module.
    Verify the exception trace in the log (with logging level set to debug mode).
    thanks
    Edited by: 902535 on May 2, 2012 10:59 AM

    I think you may have gotten confused with the installation guide.
    If you're installing GRC, you should not be installing SOA or other components. There are 2 applications you can install from that distribution, GRCC or EGRCM. EGRCM is the one that refers to SOA's if needed, so even then you shouldn't need to install it for testing out the product.
    I hope that helps!

Maybe you are looking for