My first Java - failed ....

Hi, this is a simple question:
Right now I try to build my 1st Java-program ("Hello world"). I follow the tutorial
http://www.oracle.com/technology/obe/obe9051jdev/firststep/firststep.htm#t2s2
The make was successfull, but run failed with the message
:\DevSuiteHome_1\jdk\bin\javaw.exe -ojvm -classpath D:\DevSuiteHome_1\jdev\mywork\MeineErsteApp\MeinErstes_Projekt\classes mypackage2.Hello
Fatal error: Cannot find class java/lang/StackOverflowError
Process exited with exit code -1.
And this is the program:
package mypackage2;
public class Hello
* @param args
public static void main(String[] args)
System.out.println("Hello World");
}

It will continue to work. JDeveloper comes in a zip file and has no specific installer. You should unzip it in its own home directory and everything will continue is before.
I have five different versions installed without problems.
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Javadoc ignores first java file in sourcepath

    Javadoc 1.4.0 fails with the message "javadoc: No packages or classes specified" if there is only one java source file in the sourcepath. Even if I add more .java files, Javadoc continues to ignore the file whose name comes first alphabetically.
    I am running J2SDK 1.4.0 under Windows2000.

    The javadoc command which I execute from a DOS prompt in the e:\ root directory is:
    javadoc -d e:\ps4component\doc -sourcepath e:\ps4component\src\ps4component\*.java
    where my classpath is defined as:
    .;d:\j2sdk1.4.0\lib;d:\j2sdk1.4.0\jre\lib
    and my directory structure looks like:
    e:\


    ps4component\
    src\ doc\


    ps4component\


    Component1.java
    In this case, Javadoc fails with "javadoc: No packages or classes specified". The file Component1.java is part of the package ps4component.
    However, if I add a dummy Java source file whose name comes alphabetically before Component1 to the sourcepath directory, Javadoc correctly produces the Component1.java page but ignores the dummy page. On the other hand, if the dummy filename comes alphabetically after Component1, Javadoc correctly produces the dummy page, but ignores Component1. Javadoc always ignores the first java source file, even in directories containing multiple files.

  • Help with first java app!

    Hello all. I'm very new to java, and I'm trying to create my first GUI app. The idea behind this app is for the user to enter number of hours worked and the rate of pay, and then it will mutliply them together and give you the result.
    I have my main class which sets up the frame then calls my panel class
    Inside my panel class I have two panels, one for the twi input textfields (hours and rate of pay) and one panel for the button and the result text field.
    I cannot figure out how to do get the value of both text fields and mutliply them together when the botton is clicked. Here's my code:
    import javax.swing.*;
    public class FirstProject
         public static void main (String[] args)
              //Sets up the frame
              JFrame frame = new JFrame ("My first Java app");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(300, 200); frame.setVisible(true);
              //Foreground panel class
              foreground fg = new foreground();
              //Add stuff
              frame.getContentPane().add(fg);
              frame.setVisible(true);
              frame.pack();
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.xml.bind.Marshaller.Listener;
    public class foreground extends JPanel implements ActionListener
         public foreground()
              //Setup the layout
              setLayout (new BoxLayout (this, BoxLayout.Y_AXIS));
              //Setup input panel
              JPanel input = new JPanel();
              input.setBackground(Color.white);
              input.setBorder(BorderFactory.createLineBorder(Color.black, 1));
              //Setup output panel
              JPanel output = new JPanel();
              output.setBackground(Color.white);
              output.setBorder(BorderFactory.createLineBorder(Color.black, 1));
              //Add main media
              add(input);
              add(output);
              //--**INPUT BOX**--\\
              //Setup the hours label
              JLabel hour = new JLabel("Number of hours worked: ");
              //Setup the rate of pay label
              JLabel pay = new JLabel("Enter your rate of pay: ");
              //Setup the rate of pay text field
              TextField paytext = new TextField("20", 3);
              //Setup the hour text field
              TextField hrtext = new TextField("40", 0);
              //Add objects for input
              input.add(hour);
              input.add(hrtext);
              input.add(pay);
              input.add(paytext);
              //--**OUTPUT BOX**--\\          
              //Set up objects in output panel
              JButton calculate = new JButton("Calculate!");
              calculate.addActionListener(this);
              calculate.setActionCommand("Calculate");
              //Add calculate text field
              TextField calculatetext = new TextField(2);
              //Add objects for output
              output.add(calculate);
              output.add(calculatetext);
    }Thanks in advance!!
    P.S. I'm using eclispe btw.

    Your problem is related to your ActionListener.
    public class foreground extends JPanel implements ActionListener
    calculate.addActionListener(this);You have it set up so the Foreground panel is listening to the calculate button's clicks, but it's not doing anything with the clicks.
    I would strongly suggest dropping the "implements ActionListener" bit and implementing a separate ActionListener, like so:
      JButton calculate = new JButton("Calculate!");
      ActionListener buttonListener = new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          // do whatever you want with the
          // paytext.getText ...
          // hrtext.getText ...
      calculate.addActionListener(buttonListener);
      // and you don't need this:  calculate.setActionCommand("Calculate");rh

  • My First Java Mapping in PI 7.1

    Hi, i'm having a problem with my first Java Mapping in PI 7.1
    I was reading examples and i create a class that extends "AbstractTransformation", there's a "transform" method and it request two params with "TransformationInput" type.
    I created a main method to test it, but i have a problem converting the InputStream to TransformationInput.
    Anybody had this problem?
    Regards,
    Sebastián.

    Hi Sebastian,
       Trasform method is like a main method in JAVA Mapping,the execution starts from the trasform method,TrasformationInput method reads the input from Input stream reader,and TrasformtionOut write out in in output stream.
    public class FirstJavaMap extends AbstractTransformation {
         public void transform(TransformationInput in,TransformationOutput out)
          throws StreamTransformationException {
    try{
    your logic...
    }catch(Exception e)..........
    like that
    refer below link ,it helps you...
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/bc2fd4da1e1bbce10000000a1553f7/content.htm
    Regards,
    Raj

  • Just finished my first Java application. What's next?

    Thanks to the kind help from everyone on this forum and some intensive labor for the last couple of months, I've finally given birth to my first Java application. I used Netbeans as my IDE of choice. During the development stages I would run my project directly from the IDE. In the project folder, a total of five folders were created: build, dist, nbproject, src, and test as well as two files build.xml and manifest.mf.
    Being a newbie in this field, I was wondering about the remaining steps needed to distribute the application. Here are some questions that come to mind:
    1) I know I can simply just double-click the project's *.jar* file to get it work. Is that the norm with Java applications or do I need to create a different file? I'm used to seeing *.exe* files. I'm also used to seeing an installation process, which brings me to my next question.
    2) Do you simply just zip the entire project folder and allow people to download it on their computer hoping they know how to access the *.jar* file?
    3) Seeing that I've only been testing the application in Netbeans, will there be file path or classpath problems if I run it on other computers? Are there necessary steps I need to follow to avoid such problems?
    4) Do you take any precautionary steps to protect your code? Do you lock the folders?
    5) In the future, if I decide to add a small fee to download the application, how hard would it be to add a password activation feature? (I know this could get pretty complex)
    Thanks in advance for all your suggestions.

    mohogany wrote:
    Thanks to the kind help from everyone on this forum and some intensive labor for the last couple of months, I've finally given birth to my first Java application. I used Netbeans as my IDE of choice. During the development stages I would run my project directly from the IDE. In the project folder, a total of five folders were created: build, dist, nbproject, src, and test as well as two files build.xml and manifest.mf.
    Being a newbie in this field, I was wondering about the remaining steps needed to distribute the application. Here are some questions that come to mind:
    1) I know I can simply just double-click the project's *.jar* file to get it work. Is that the norm with Java applications or do I need to create a different file? I'm used to seeing *.exe* files. I'm also used to seeing an installation process, which brings me to my next question.It's quite common to provide a shell script (batch file, etc) to launch the app.
    2) Do you simply just zip the entire project folder and allow people to download it on their computer hoping they know how to access the *.jar* file?You can do. There are also installation utilities around. InstallAnywhere is the only one I've ever used, but others do exist.
    3) Seeing that I've only been testing the application in Netbeans, will there be file path or classpath problems if I run it on other computers? Are there necessary steps I need to follow to avoid such problems?Probably. The best way to avoid them is to test them, and to not ever depend on the CLASSPATH environment variable. That's a portability nightmare.
    4) Do you take any precautionary steps to protect your code? Do you lock the folders? Nope.
    5) In the future, if I decide to add a small fee to download the application, how hard would it be to add a password activation feature? (I know this could get pretty complex) Don't bother. Unless you've got something amazing, in which case you'll be needing lawyers, it's not worth the trouble of charging for it. No offence, but your first Java app is hardly going to set the world on fire anyway.
    No matter what you try and do to stop people stealing your code, they'll manage it. Or, alternatively, just steal your idea instead.

  • First Java Project - Document Management and Workflow

    We are about to embark on our first java project around document management and workflow.
    I would be interested to know how others have approached similar projects – Open Source applications or other tools/APIs.
    It would also be good to know of any issues encountered along the way.
    Thanks,
    Steve

    Hi Husein,
    I appreciate your interest in procuring a Document Management/Workflow solution for your AP department...its a very smart move toward streamling that process!
    I sent an email today to Richard Braddock about our solutions. I would be happy to discuss them with you.
    My office phone number is 215-646-8000
    -Martin

  • I can copy and paste from mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document

    i can copy and paste from Mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document.more ever i can not drag fevicon from address bar to my desktop.

    Maybe:<br />
    Dafizilla Table2Clipboard: https://addons.mozilla.org/firefox/addon/1852

  • Help writing first Java Script

    HELP!! I am writing my first Java Script for a class but cannot figure out what I am doing wrong. I have created a from and need to write a script to verify that all form entries are filled before allowing the data to submit. Can some one please look at my code below and tell me what I am doing wrong!! Thank you
    <HTML>
    <HEAD>
    <TITLE>Project 8 IT 117 Section 01 6/13/2003</TITLE>
    </HEAD>
    <BODY BGCOLOR="#007FFF">
    <FONT FACE="Arial">
    <STRONG><UL>
    <LI>Search our stock
    </UL>
    <UL>
    <LI>Place an order
    </UL>
    <UL>
    <LI>Out-of-print searches
    </UL>
    <UL>
    <LI>Events calendar
    </UL></STRONG>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    function submit() {
         alert("Information submitted!")
    function verify() {
         if document.info.elements[0].value=="" ||
         document.info.elements[1].value=="" ||
         document.info.elements[2].value=="" ||
         document.info.elements[3].value=="" ||
         document.info.elements[4].value=="" ||
         document.info.elements[5].value=="" ||
         document.info.elements[6].value=="" {
              alert("Please complete each field")
         }     else {
              submit()
    //-->
    </SCRIPT>
    <H2>Sign up for our mailing list.</H2>
    <FORM NAME="info">
    <STRONG>First Name:<INPUT TYPE="TEXT" SIZE="20" NAME="FIRSTNAME">
    Last Name:<INPUT TYPE="TEXT" SIZE="20" NAME="LASTNAME"><BR>
    Street Address:<INPUT TYPE="TEXT" SIZE="50" NAME="ADDRESS"><BR>
    City:<INPUT TYPE="TEXT" SIZE="20" NAME="CITY">
    State:<INPUT TYPE="TEXT" SIZE="6" NAME="STATE">
    Zip Code:<INPUT TYPE="TEXT" SIZE="15" NAME="ZIPCODE"><BR>
    E-Mail:<INPUT TYPE="TEXT" SIZE="50" NAME="E-MAIL">
    <BR>Click here to submit this information. <INPUT TYPE="BUTTON" VALUE="Send now!" onClick="SUBMITTED()"></STRONG>
    </FORM>
    </FONT>
    </BODY>
    </HTML>

    Just a thought, but shouldn't you be calling "verify()" instead of "SUBMITTED()" in your onClick handler? And warnerja is right, javascript is not really java.

  • First Aid Failed while trying to re-start mac, help??

    My Mac has been forzen to the loading page and I have put in the grey disk to try and re-boot it and I was told to repair the disk once the CD was in. After having gone through part of the repair process I get a message of First Aid Failed because "The underlying task reported failure on exit (-9972)" Any help on how to get my mac fixed?? And wil it involve losing all of my files on my Mac? Thanks!!

    The error you are getting means that Disk Utility cannot repair your hard drive. Apple has a note on this at http://docs.info.apple.com/article.html?artnum=302411 . Net, most people buy Disk Warrior to repair the drive, although TechTool Pro can also be bought to do that, and in most cases, Disk Warrior is able to fix the drive. There are situations, however, when they can't repair the drive. At that point, you can try and erase and install, and if that fails, you need to buy a new hard drive.
    If you can hook another mac up in target mode you may be able to back up your data, if you haven't done that recently.

  • [java] Failed at "Could not get DeploymentManager".

    I am running the second example in the BPEL Help tutorial. In that we are supposed to run ant from tutorials\127.OrderBookingTutorial\PriceQuote and it gives error because it is not able to resolve
    my PC name 5mq9p91. I changed couple of build.properties files and for hostname put in the IP address, so some of these worked, but some of the places still have 5mq9p91 causing FAILURE.
    Where does ant get my machine name, how I can get it to pull full qualified name or the IP address?
    ERROR:
    [echo] Deploying SelectManufacturingUI using "admin_client.jar deployer:oc4j:opmn://5MQ9P91:6003/home -file C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI/SelectManufacturingUI.ear ..."
    [java] Failed at "Could not get DeploymentManager".
    (1. EXECUTION OF ANT BELOW)
    Actual problem is once I complete this exercise, partner link has compilation error, because the WSDL does not have complete qualified PC name.
    In the WSDL you can see the reference to "soap:address location="http://5MQ9P91:8888/orabpel/default/RapidDistributors/1.0""
    how do I change this to have complete qualified address?
    Actual Error:
    Error:
    [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Error loading schemas from wsdl.
    Error while loading schemas from wsdl file at location "http://11.111.111.11:8888/orabpel/default/RapidDistributors/RapidDistributors?wsdl". The reason is http://5MQ9P91:8888/orabpel/xmllib/ws-addressing.xsd.
    Please verify the schemas defined in wsdl.
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
    (2. RapidDistributors WSDL INFO BELOW)
    Few things I did to solve the problem, without much success:
    Installed BPEL and when I use firefox I get DNS Lookup Error
    http://5mq9p91:8888/
    Now if I use http://5mq9p91.na.zzzzz.net:8888/ it works fine and if I use the IP address it works fine.
    Have the same problem with IE, but after putting entried in C:\WINDOWS\system32\drivers\etc\hosts file problem went away.
    I also added DNS Suffix na.zzzzz.com in the Control Panel --> Network --> TCP/IP --> Advanced --> DNS Tab
    (3. IPCONFIG /ALL DETAILS BELOW)
    1. EXECUTION OF ANT
                   C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote>ant
                   Buildfile: build.xml
                   RapidDistributors:
                   Trying to override old definition of task customize
                   pre-build:
                   validateTask:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Validating workflow
                   [echo] --------------------------------------------------------------
                   [echo]
                   [validateTask] Validation of workflow task definitions is completed without errors
                   compile:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Compiling bpel process RapidDistributors, revision 1.0
                   [echo] --------------------------------------------------------------
                   [echo]
                   [bpelc] validating "C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\RapidDistributors\bpel\RapidDistributors.bpel" ...
                   [bpelc] BPEL suitcase generated in: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\RapidDistributors\output\bpel_RapidDistributors_1.0.jar
                   deployProcess:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying bpel process RapidDistributors on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployProcess] Deploying process C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\RapidDistributors\output\bpel_RapidDistributors_1.0.jar
                   [deployProcess] Successfully deployed the process "RapidDistributors" on server "11.111.111.11" and port "8888"
                   deployTaskForm:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying workflow form for RapidDistributors on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployTaskForm] There are no forms to deploy
                   deployDecisionServices:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying decision services for RapidDistributors on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployDecisionServices] There are no decision services to deploy
                   process-deploy:
                   post-build:
                   deploy:
                   SelectManufacturing:
                   Trying to override old definition of task customize
                   pre-build:
                   validateTask:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Validating workflow
                   [echo] --------------------------------------------------------------
                   [echo]
                   [validateTask] url is file:/C:/home/bpel/ProcessManager/product/10.1.3.1/OracleAS_1/bpel/system/services/schema/WorkflowTaskDefinition.xsd
                   [validateTask] Validation of workflow task definitions is completed without errors
                   compile:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Compiling bpel process SelectManufacturing, revision 1.0
                   [echo] --------------------------------------------------------------
                   [echo]
                   [bpelc] validating "C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturing\bpel\SelectManufacturing.bpel" ...
                   [bpelc] BPEL suitcase generated in: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturing\output\bpel_SelectManufacturing_1.0.jar
                   deployProcess:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying bpel process SelectManufacturing on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployProcess] Deploying process C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturing\output\bpel_SelectManufacturing_1.0.jar
                   [deployProcess] Successfully deployed the process "SelectManufacturing" on server "11.111.111.11" and port "8888"
                   deployTaskForm:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying workflow form for SelectManufacturing on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployTaskForm] 07/07/12 09:22:47 Notification ==>Application Deployer for default_SelectManufacturing_1_0_Approval STARTS.
                   [deployTaskForm] 07/07/12 09:22:47 Notification ==>Undeploy previous deployment
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initialize C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SelectManufacturing_1_0_Approval.ear begins...
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initialize C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\j2ee\home\applications\default_SelectManufacturing_1_0_Approval.ear ends...
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Starting application : default_SelectManufacturing_1_0_Approval
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initializing ClassLoader(s)
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initializing EJB container
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Loading connector(s)
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Starting up resource adapters
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initializing EJB sessions
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Committing ClassLoader(s)
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initialize workflowform begins...
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Initialize workflowform ends...
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Started application : default_SelectManufacturing_1_0_Approval
                   [deployTaskForm] 07/07/12 09:22:48 Notification ==>Application Deployer for default_SelectManufacturing_1_0_Approval COMPLETES. Operation time: 718 msecs
                   [deployTaskForm] Successfully deployed form on server "11.111.111.11"
                   deployDecisionServices:
                   [echo]
                   [echo] --------------------------------------------------------------
                   [echo] | Deploying decision services for SelectManufacturing on 11.111.111.11, port 8888
                   [echo] --------------------------------------------------------------
                   [echo]
                   [deployDecisionServices] There are no decision services to deploy
                   process-deploy:
                   post-build:
                   deploy:
                   SelectManufacturingUI:
                   Trying to override old definition of task customize
                   deploy:
                   [echo] Deploying SelectManufacturingUI from C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI:
                   [echo]
                   schemac:
                   build_ear:
                   [jar] Building jar: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI\SelectManufacturingUI.war
                   [ear] Building ear: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI\SelectManufacturingUI.ear
                   deployOc4j:
                   deployBindWebAppOc4j:
                   deployIas_10gR2:
                   deployBindWebAppIas_10gR2:
                   deployIas_10gR3:
                   [echo] Deploying SelectManufacturingUI using "admin_client.jar deployer:oc4j:opmn://5MQ9P91:6003/home -file C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI/SelectManufacturingUI.ear ..."
                   [java] Failed at "Could not get DeploymentManager".
                   [java] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
                   [java] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
                   [java] Java Result: 1
                   deployBindWebAppIas_10gR3:
                   [echo] Binding WebAp SelectManufacturingUI using "admin_client.jar deployer:oc4j:opmn://5MQ9P91:6003/home ..."
                   [java] Failed at "Could not get DeploymentManager".
                   [java] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
                   [java] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
                   [java] Java Result: 1
                   deployBindWebAppIas:
                   deployOraclej2ee:
                   deployNonOraclej2ee:
                   [delete] Deleting: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI\SelectManufacturingUI.war
                   [delete] Deleting: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\SelectManufacturingUI\SelectManufacturingUI.ear
                   CreateOrderBookingUI:
                   Trying to override old definition of task customize
                   deploy:
                   [echo] Deploying CreateOrderBookingUI from C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI/jsp:
                   [echo]
                   schemac:
                   build_ear:
                   [jar] Building jar: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI\CreateOrderBookingUI.war
                   [ear] Building ear: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI\CreateOrderBookingUI.ear
                   deployOc4j:
                   deployBindWebAppOc4j:
                   deployIas_10gR2:
                   deployBindWebAppIas_10gR2:
                   deployIas_10gR3:
                   [echo] Deploying CreateOrderBookingUI using "admin_client.jar deployer:oc4j:opmn://5MQ9P91:6003/home -file C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI/CreateOrderBookingUI.ear ..."
                   [java] Failed at "Could not get DeploymentManager".
                   [java] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
                   [java] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
                   [java] Java Result: 1
                   deployBindWebAppIas_10gR3:
                   [echo] Binding WebAp CreateOrderBookingUI using "admin_client.jar deployer:oc4j:opmn://5MQ9P91:6003/home ..."
                   [java] Failed at "Could not get DeploymentManager".
                   [java] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
                   [java] More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
                   [java] Java Result: 1
                   deployBindWebAppIas:
                   deployOraclej2ee:
                   deployNonOraclej2ee:
                   [delete] Deleting: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI\CreateOrderBookingUI.war
                   [delete] Deleting: C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote\CreateOrderBookingUI\CreateOrderBookingUI.ear
                   deploy:
                   BUILD SUCCESSFUL
                   Total time: 50 seconds
                   C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\samples\tutorials\127.OrderBookingTutorial\PriceQuote>
    2. RapidDistributors WSDL INFO
         http://11.111.111.11:8888/orabpel/default/RapidDistributors/RapidDistributors?wsdl
              <?xml version="1.0" encoding="UTF-8" ?>
              - <definitions name="RapidDistributors" targetNamespace="http://xmlns.oracle.com/RapidDistributors" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/RapidDistributors" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:ns1="http://www.globalcompany.com/ns/sales" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/RapidDistributors">
              - <types>
              - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/RapidDistributors" xmlns="http://www.w3.org/2001/XMLSchema">
              - <element name="RapidDistributorsProcessRequest">
              - <complexType>
              - <sequence>
              <element name="input" type="string" />
              </sequence>
              </complexType>
              </element>
              - <element name="RapidDistributorsProcessResponse">
              - <complexType>
              - <sequence>
              <element name="result" type="string" />
              </sequence>
              </complexType>
              </element>
              </schema>
              - <schema xmlns="http://www.w3.org/2001/XMLSchema">
              <import namespace="http://www.globalcompany.com/ns/sales" schemaLocation="OrderBookingPO.xsd" />
              </schema>
              - <schema xmlns="http://www.w3.org/2001/XMLSchema">
              <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://5MQ9P91:8888/orabpel/xmllib/ws-addressing.xsd" />
              </schema>
              </types>
              - <message name="RapidDistributorsResponseMessage">
              <part name="payload" element="ns1:SupplierInfo" />
              </message>
              - <message name="RapidDistributorsRequestMessage">
              <part name="payload" element="ns1:OrderItems" />
              </message>
              - <message name="WSAMessageIDHeader">
              <part name="MessageID" element="wsa:MessageID" />
              </message>
              - <message name="WSAReplyToHeader">
              <part name="ReplyTo" element="wsa:ReplyTo" />
              </message>
              - <message name="WSARelatesToHeader">
              <part name="RelatesTo" element="wsa:RelatesTo" />
              </message>
              - <portType name="RapidDistributorsCallback">
              - <operation name="onResult">
              <input message="tns:RapidDistributorsResponseMessage" />
              </operation>
              </portType>
              - <portType name="RapidDistributors">
              - <operation name="initiate">
              <input message="tns:RapidDistributorsRequestMessage" />
              </operation>
              </portType>
              - <binding name="RapidDistributorsBinding" type="tns:RapidDistributors">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
              - <operation name="initiate">
              <soap:operation style="document" soapAction="initiate" />
              - <input>
              <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
              <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
              <soap:body use="literal" />
              </input>
              </operation>
              </binding>
              - <binding name="RapidDistributorsCallbackBinding" type="tns:RapidDistributorsCallback">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
              - <operation name="onResult">
              <soap:operation style="document" soapAction="onResult" />
              - <input>
              <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
              <soap:body use="literal" />
              </input>
              </operation>
              </binding>
              - <service name="RapidDistributorsCallbackService">
              - <port name="RapidDistributorsCallbackPort" binding="tns:RapidDistributorsCallbackBinding">
              <soap:address location="http://set.by.caller" />
              </port>
              </service>
              - <service name="RapidDistributors">
              - <port name="RapidDistributorsPort" binding="tns:RapidDistributorsBinding">
              <soap:address location="http://5MQ9P91:8888/orabpel/default/RapidDistributors/1.0" />
              </port>
              </service>
              - <plnk:partnerLinkType name="RapidDistributors">
              - <plnk:role name="RapidDistributorsProvider">
              <plnk:portType name="tns:RapidDistributors" />
              </plnk:role>
              - <plnk:role name="RapidDistributorsRequester">
              <plnk:portType name="tns:RapidDistributorsCallback" />
              </plnk:role>
              </plnk:partnerLinkType>
              </definitions>
    3. IPCONFIG /ALL DETAILS
                   C:\>ipconfig /all
                   Windows IP Configuration
                        Host Name . . . . . . . . . . . . : 5MQ9P91
                        Primary Dns Suffix . . . . . . . : na.zzzzz.net
                        Node Type . . . . . . . . . . . . : Hybrid
                        IP Routing Enabled. . . . . . . . : No
                        WINS Proxy Enabled. . . . . . . . : No
                        DNS Suffix Search List. . . . . . : na.zzzzz.net
                                            na.zzzzz.net
                                            zzzzz.net
                   Ethernet adapter Local Area Connection:
                        Connection-specific DNS Suffix . : na.zzzzz.net
                        Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
                        Physical Address. . . . . . . . . : 00-13-72-BA-E2-DF
                        Dhcp Enabled. . . . . . . . . . . : Yes
                        Autoconfiguration Enabled . . . . : Yes
                        IP Address. . . . . . . . . . . . : 11.111.111.11
                        Subnet Mask . . . . . . . . . . . : 255.255.255.0
                        Default Gateway . . . . . . . . . : 13.141.178.1
                        DHCP Server . . . . . . . . . . . : 13.135.65.50
                        DNS Servers . . . . . . . . . . . : 13.135.0.11
                                            13.135.0.13
                                            13.151.1.16
                        Primary WINS Server . . . . . . . : 13.135.65.50
                        Secondary WINS Server . . . . . . : 13.151.32.32
                        Lease Obtained. . . . . . . . . . : Wednesday, July 11, 2007 6:02:29 PM
                        Lease Expires . . . . . . . . . . : Monday, July 16, 2007 6:02:29 PM
                   Ethernet adapter {4AC576C8-F05E-422F-BA75-A986D1994DDF}:
                        Connection-specific DNS Suffix . :
                        Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Scheduler Miniport
                        Physical Address. . . . . . . . . : 44-45-53-54-42-00
                        Dhcp Enabled. . . . . . . . . . . : No
                        IP Address. . . . . . . . . . . . : 0.0.0.0
                        Subnet Mask . . . . . . . . . . . : 0.0.0.0
                        Default Gateway . . . . . . . . . :
                   C:\>

    Solution:
    C:\HOME\bpel\ProcessManager\product\10.1.3.1\OracleAS_1\bpel\utilities\ant-orabpel.properties
    changed hostname and put in the IP Address, and this worked.
    But now that I run ANT it still has the "Could not get DeploymentManager" problem, so it was not because of machine name translation.
    so now what?
    more over, actual problem is to fix the WSDL file:
    "http://11.111.111.11:8888/orabpel/default/RapidDistributors/RapidDistributors?wsdl".
    If WSDL file is fixed my tutorial example may work....
    Any body...please help!!!!

  • SNP - Heuristic -First Run Fails

    Dear All,
    I am Working on SCM 5.0 SNP..
    Working on Following ..
    1. Heuristic Run
    2. Deployment
    3.Trasport Load Builder (TLB)
    We are running Heuristic on Daily Basis.
    If i run Heuristic after loading new Tranportation Lane(Master Data) the FIRST run fails?
    Why?
    After loading the New Trasportation Lane..i always Check Low Level Code/Live Cache Consistency Check the also i am facing the above problem.
    Plz help me to resolve the same.
    Regards,
    Rajesh patil

    Hi Rajesh patil,
    From your observations, it is clear that there is timelag required by system to update the master data (TL) newly maintained and the start of heuristic run.
    1)  Once the new TL is maintained, run consistency check (F9) to check for any errors
    2)  After maintaining the lane, ensure that the same is available in the active model
    3)  Once after maintaining the lane, clear all inbound and outbound queues before start of heuristic run.
    4)  Also run low level code/cons checks before start of the heuristic run.
    Please confirm with your findings.
    Regards
    R. Senthil Mareeswaran.

  • Head First Java

    I'm looking for a good book to learn Java with. Head First Java seems to be fairly good by the Amazon reviews, but I was wondering if anyone who's read it could answer a few questions.
    1. Would it be any good for someone good at other programming language
    2. How advanced does it get?
    3. Does it teach fairly good application design?

    1. The book is intended for people who have a basic understanding of programming, so knowledge of other programming languages will be an advantage.
    2. It covers quite a few basics of programming in Java, including some GUI development, Sockets, and Threads.
    3. It steps you through building some applications that incorporate good design techniques. It's not intended as a discourse on application design, but it provides some good fundamentals.
    In my opinion, it's a fantastic book and a very entertaining read.

  • My first java program!! ALMOST done..I hope

    I've just written my first java program (part of a class I'm taking).. It's feeling kinda awkward since I'm a C++ programmer.. I've written most of the code but I'm still having problems and I thought I should show it to you to get some help..
    import java.lang.*;
    import java.util.*;
    public class Dice
    private static Random generator = new Random();
    int Die1, Die2, rolled, pairNum, pairSum;
    public Dice()
       int[] Dice_arr={Die1, Die2};
       new Random(System.currentTimeMillis());
       return;
      }//end_func_Dice
       public static roll()
         rolled = generator.nextInt(6) + 1;
         return rolled;
        }//end_func_roll
       public String toString()
         StringBuffer bfr = new StringBuffer("\n");
         System.out.println("Rolling Dice...");
          for(pairNum=0; pairNum==10; pairNum++)
            System.out.println("Pair"+pairNum+": "+Die1+","+Die2+" Sum= "+pairSum);
           }//end_for_
        }//end_func_ 
    }//end_class_Dice
    public static void main(String args[])
          for (int dieNum=0; dieNum==2; dieNum++)
            Dice.roll();
            Dice_arr[dieNum]=rolled;
           }//end_for_
         return;
        }//end_func_mainI need main to instatiate the Dice class and then use the toString to print the dice numbers and their sum 10 times..
    I hope this doesn't need much effort,
    Thanks a bunch in advance..

    Right now, my opinion in java is that it's too
    complicated for no reason compared to C++..It's not too complicated, it's just that you are new at this.
    Here's a little example of a simple class with a simple main method, the rest figure it out yourself, and with time read some java books, you won't learn java just by knowing C++.
    public class Human {
        // See this as C constants (although they're not their Equivalent)
        public static boolean MALE = true;
        public static boolean FEMALE = false;
        //member variables.
        private String name;
        private boolean sex;
        /** Creates a new instance of Human */
        public Human(String n, boolean s) {
            name = n;
            sex = s;
        }//End of CONSTRUCTOR.
        public String getName() {
            return name;
        }//End of getName
        public String toString() {
            StringBuilder sb = new StringBuilder();
            sb.append("[Name: " + name);
            if(sex)
                sb.append(", sex: Male]");
            else
                sb.append(",sex: Female]");
            String returnValue = new String(sb);
            return returnValue;
        }//End of toString()
        //Just the main program, it could be at another class.
        public static void main(String[] args) {
            Human h = new Human("Pablo", Human.MALE);
            String theHumanAsAString = h.toString();
            System.out.println(theHumanAsAString);
        }//End of main method
    }//End of class

  • Trying to compile my first Java program !

    Hi,
    I am a new programmer.Looking to clarify a very simple doubt while compiling my first java program.
    I have set up jdk in the following directory on my PC , E:\j2sdk1.4.1_01\bin.
    Now when I create the first AClass.java file in the AClass directory under bin and try and compile it I get the following error.
    E:\j2sdk1.4.1_01\bin>java E:\j2sdk1.4.1_01\bin\AClass\AClass
    Exception in thread main
    java.lang.NoClassDefFoundError: E:\j2sdk1/4/1_01\bin\AClass\AClass
    Kindly help me how to fix this.

    hi,
    Just do this,
    set path & classpath either in the system environment veriable or in the command prompt as shown below.
    set PATH=%PATH%;E:\j2sdk1.4.1_01\bin
    set CLASSPATH=%CLASSPATH%;.
    Be careful, there is a trailing DOT (.) at the end of the classpath, and that is what needed for
    the JVM to find the class file. with this you would be able to run your program. Infact JDK1.4.x and higher
    doesn't requires classpath to be set, your system classpath variable needs a DOT (.)
    at the end of the classpath variable defined in the environment variable section of your computer or
    in the command prompt you need it to set it once for the current command prompt window before
    executing any java program.
    Regards
    Goodieguy

  • Getting that first java job

    Could anyone give some tips for going from graduate (BSc Comp Sci) to getting first java job? A lot of employeers want 'experience' but when you've just graduated you've only ever worked on uni assignments and not industrial ones. How do you crack this?
    Does certification impress anyone other than recruitment consultants?
    Is it a good idea to put together online portfolio of all work you've done?
    thanks

    Could anyone give some tips for going from graduate
    (BSc Comp Sci) to getting first java job? A lot of
    employeers want 'experience' but when you've just
    graduated you've only ever worked on uni assignments
    and not industrial ones. How do you crack this?
    Don't stare blindly at those numbers. Everyone says "experience preferred" and they mean it. Expect to have to take a lower starting salary than the stated one and don't write on jobs asking for more than a few years experience as those will be way over your head most likely.
    Otherwise, persevere or move to India (they seem to hire anyone who can spell the word 'computer' there).
    Does certification impress anyone other than
    recruitment consultants?
    Depends on the certification but in general yes.
    It impresses not the recruitment consultants but the non-technical people they're selling you to.
    Anyone with a grain of knowledge about certs will know that most if not all are completely useless without practical experience to back them up (and some worse than useless, think MCSE NT4 which was a disaster).
    Is it a good idea to put together online portfolio of
    all work you've done?
    Can't hurt, if it's relevant. I'd not put in time spent making levels for Doom unless you're trying for the games industry though (just an example).
    thanks

Maybe you are looking for

  • Large FCPX XML won't load in Logic Pro X?

    I have a feature film edited in Final Cut Pro X and when I export the XML and try to load it in Logic Pro X 10.0.6 nothing happens.  If I have a more basic XML, it works fine.  Is this a bug or is there some sort of limit in Logic that I don't know a

  • Setting Up the Fusion Order Demo Application, error in import Fod schema

    Hello, using Jdev11R1 ,Setting Up the Fusion Order Demo Application, and modify the properties in build.properties for my environment , but i don't undersatnd what is (src.home=..//..) i followed the instraction to get demo FOD schema , right-click b

  • Photoshop CS6 computer freeze

    I'm having a continual issue with Photoshop CS6 (13.0.6 x64) completely freezing my MacBook Pro when doing the following action: Edit > Transform > Scale I am able to use this action instead without any issues: Edit > Free Transform About my Mac: OS

  • Slow Searching on Multiple PDFs

    I am using Adobe Acrobat 8.0 Professional on a Windows XP PC which is on a Novell network. I have a directory on a network drive that a dozen people need to have access to for the purpose of doing searches across all of the PDFs in the directory. We

  • How long take OS X Maverick to install?

    i ask this because it began 8 hour ago and it hasn´t finished