Help Migrating Java app to Weblogic 9.2 and Workshop -- startup errors

I need a little help getting my application up and running in Workshop. I recently migrated to Weblogic 9.2. Before I downloaded Workshop, I installed Weblogic 9.3 and have successfully setup and deployed the app on my PC outside of Workshop. The application is packaged as an EAR – I have extracted the war file and other contents from the ear onto my PC in order to do the deployment.
In Workshop, I have setup the application as a Java project, have pointed to the source code and required libraries, and have been able to successfully compile the application. I have setup a ‘run dialog’ with similar parameters as in the config.xml and other configuration files.
The problem I am currently having is when I start the application in Workshop, it is asking for a username. I have tried to enter the username that I setup with the original deployment (before I installed Workshop) and it does not accept it – it always shuts down.
How can I either make it not require a username, or else use (point to) the same startup configuration as my original deployment, from before installing Workshop?

On Tue, 5 Jun 2007 05:30:09 -0700, Paul Harvey <> wrote:
I've been unable to find clear, authoritative information on this...
I have an app which requires Java 1.4.x. Should I be able to deploy
it on WL 9.2, or does 9.2 only support apps written in 1.5?WL9.2 has a Java 1.5 JVM. That should run Java 1.4 programs just fine.
Tim Slattery
MS MVP(DTS)
[email protected]
http://members.cox.net/slatteryt

Similar Messages

  • Preview Release of WebLogic Portal 9 and Workshop 9

    I would like to get my hands on a developer preview release of WebLogic Portal 9 and Workshop 9. I can't seem to find it online so I'm hoping someone can point me in the right direction. We're currently evaluating portal products and I would hate to decide against BEA based on the lack of availability of the forthcoming version.
    Anybody know where a developer release of either of these two products can be found?

    The Technology Preview for WLP 9.x and WLW 9.x will be available in early December. Please contact your BEA account team to let them know that you are interested.
    At present the plan is to have a GroupSpace community site for use by all customers participating in the Technology Preview. A BEA technical field staff member (SE, PS, etc.) assigned to your account will use this site to send you an invitation, and when you join you will have access to the installation. Questions, discussions, etc. for the Technology Preview will all go through the GroupSpace site. If you don't know who your BEA technical account member(s) are, you should find out as they will be the key to obtaining the Technology Preview.
    If you can't wait for the Technology Preview, please ask your BEA acount team to contact myself or others in Product Management. We'll be happy to go over the product features, show you demos from current builds, etc.
    Thanks,
    Skip Sauls
    Senior Product Manager, WebLogic Portal

  • Help running Java apps in Mac OS 10.1.3

    I'm currently taking an intro course to Java and I've been using the OS 10.1.3 Unix Shell to compile and run my assignments, using the "javac" command to compile my classes and the "java" command to run them. It's been working fine until a few days ago when every class I started to compile from that day on wouldn't run. The previous classes I've compiled run fine, however if I re-compile them and attempt to run them I incur the same problem.
    I get this error :
    Exception in thread "main" java.lang.NoClassDefFoundError:
    followed by the classname.
    The best I can figure is that I've accidently changed some option in the java system, but now I have no idea as to how to change it back. I've asked my CS professor what to do but ofcoarse he's a PC user and when he hears Mac he just replies "I don't know about Macs" eventhough I've tried telling him that OS X is unix based. Anyways, if there are any well informed Mac OS 10.1.3 users out there, please help me so that I can resume my CS assignments on my Mac.
    Thanks,
    Craig

    1. Are you certain that you have all of your java files compiled
    and that their class files are in your classpath? Did you import
    the class TestWeeklyEmployee in your java file that has your
    main method? Do all of your class filenames have the same
    name (minus the .java or .class) as the class in the file?All of the java files needed to run the class are in the same directory, and they all have the correct names, You see I'm able to run my programs perfectly on other machines, infact I have to test them in the computer labs before I turn them in. So I know that my probrem isn't a syntax error.
    2. when you start the terminal, type the following:
    echo $CLASSPATH
    and make sure that the output it gives has the . [dot] that you
    added via the .cshrc file at the end or that only a dot gets
    displayed. If it does not have your dot in the output, then you will
    have to use the -classpath option to the java runtime binary to
    tell it where your classes are located.I tried typing echo $CLASSPATH but I got this error message:
    CLASSPATH: Undefined variable.
    And I had directly copied the code you wrote into my .cshrc file.
    3. When you try to run your java program, are you sure that you > are in the directory where all of the class files are located? use
    the "ls" command to see if your class files are in the current
    directory. (you may want to search the web for a UNIX tutorial or
    a UNIX for beginners type of article so that you can feel more
    comfortable using the Terminal application)Yes all of my classes are in the same directory and yes I'm in the correct directory when compiling and attempting to run my programs.
    4. Assuming that 3 is true: If you run your program using the
    "java -classpath . MyClassWithAMainMethod" do you still get an
    error? If you do, then I am pretty sure that you have neglected to
    import a class that your main method is trying to instantiate or
    that you have not compiled the source of the class in question >
    (or both).All classes are imported correctly and yes I have compiled the class. As I said it works fine when I compile and run on other machines, just not mine.
    Are you trying to install the developer tools from the developer
    cds? If you are and you have since updated your OS to 10.1.x,
    then I would not expect project builder to work. The same thing
    happened to me when I upgraded to 10.1.x. Sounds like you
    may need to install the latest developer tools which can be
    downloaded for free from the Apple Developer Connection site
    (http://www.apple.com/developer). Installing the latest developer
    tools should get things right for you.The developer tools that I'm attemping to run are not from the CD, they're the current downloadable version from apple developer. I've contacted apple developer support with my problem with project builder, but they blew me off.
    So now that we've eliminated these possibilities, any other ideas?
    Thanks,
    Craig

  • Help! Unable to Start - weblogic.policy - (Linux) and WLS 5.1

     

    Does this hold true for NT as well? The comments in the weblogic.policy file read:
    // If WebLogic is not installed in a root directory, you must only
    // list the first component of the path in the "file:" URL. This is
    // because of a bug in JavaSoft JDK 1.2.1. For example, if you
    // install WebLogic in the "c:/test/weblogic" directory, the first
    // two lines below must be:
    // grant codeBase "file:/c:/test/-" {
    // permission java.io.FilePermission "c:${/}test${/}weblogic${/}-", "read,write,delete,execute";
    However, when I use the similar file structure:
    grant codeBase "file:/c:/bea/-" {
    permission java.io.FilePermission "c:${/}bea${/}wlserver6.0sp1${/}lib${/}-",
    "read,write,delete,execute";
    I receive the same error and WebLogic Server will not start up.
    Thanks for your help.
    Tawnya
    Mark Griffith <[email protected]> wrote:
    If you have a directory :
    /usr/local/releases/451/weblogic
    in that dir lives:
    weblogic.policy
    that policy file should say:
    grant codeBase "file://weblogic/-" {
    NOT
    grant codeBase "file://usr/local/releases/451/weblogic/-" {
    mbg
    In article <[email protected]>, [email protected]
    says...
    ENV:
    Redhat Linux 6.2 (Current Kernel)
    Weblogic Server 5.1
    Sun JDK for Linux version 1.2.2
    It seems like I am having a weblogic.policy problem. I have read the
    documenattion over and over and still cannot figure out this problem.
    I have weblogic installed on /usr/local/weblogic directory
    I Start with the command line:from the startWebLogic.sh Script
    $JAVA $JAVA_OPTIONS -ms64m -mx64m -classpath $JAVACLASSPATH
    -Dweblogic.class.path=$WEBLOGICCLASSPATH -Djava.security.manager
    -Djava.security.policy=='pwd'/weblogic.policy
    -Dweblogic.home=. weblogic.Server
    I followed all the instrcutions on modifying the weblogic.policy
    file.
    example:
    grant codeBase "file:/usr/local/weblogic/-" {
    permission java.io.FilePermission "${/}usr${/}local${/}weblogic${/}-",
    "read,write,delete,execute";
    I still get the following :
    Exception in thread "main" java.security.AccessControlException:access
    denied (java.lang.RuntimePermission createSecurityManager )
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java
    :191)
    at
    java.security.AccessController.checkPermission(AccessController.java:399)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.<init>(SecurityManager.java:303)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
    at weblogic.Server.main(Server.java:59)
    at weblogic.Server.main(Server.java:55)
    Can anyboby Help me out here?
    Tony McClay
    Mr. BigMAN--
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Beta version of Weblogic 6.0 and classcast exception error.

    As an FYI to those who have be receiving the "dreaded" classcast
              exception error, the new version of Weblogic seems to fix the problem.
              It took me awhile to figure out how th deploy the web application, but
              once I did the application seemed to work w/o a problem (and w/o the
              error).
              Paul Garduno
              

    We do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
    do offer a type 4 driver for Linux.
    In version 5.1, I suggest trying the platform independent type 4 JDBC driver
    available for free from Oracle. It is supported (as is any JDBC driver)
    with WebLogic Server. To download it:
    Go to http://www.oracle.com and select the "Download" option.
    From the resulting page, use the "Select Utility or Driver" dropdown to
    select Oracle JDBC drivers
    From the resulting page, scroll down a little (since SQLJ stuff appears at
    the top).
    Or, to go directly there:
    http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
    Thanks,
    Michael
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Michael W. Warren, Sr." <[email protected]> wrote in message
    news:[email protected]..
    I have installed WebLogic 6.0 on Solaris platform and verified that the
    server comes up
    and that I can connect to it via Netscape. Next step was to verify
    installation of WebLogic
    jDriver for Oracle. When I run the following:
    java utils.dbping ORACLE scott tiger
    I get the following error:
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary threw
    java.lang.UnsatisfiedLinkError
    with the message
    '/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
    ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
    fatal: libgen.so.1: open failed: No such file or directory'.
    at
    weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:182)
    Anyone seen this? Help!!!
    Thanks in advance
    Mike Warren, Sr.
    [email protected]

  • Need help with Java app for user input 5 numbers, remove dups, etc.

    I'm new to Java (only a few weeks under my belt) and struggling with an application. The project is to write an app that inputs 5 numbers between 10 and 100, not allowing duplicates, and displaying each correct number entered, using the smallest possible array to solve the problem. Output example:
    Please enter a number: 45
    Number stored.
    45
    Please enter a number: 54
    Number stored.
    45 54
    Please enter a number: 33
    Number stored.
    45 54 33
    etc.
    I've been working on this project for days, re-read the book chapter multiple times (unfortunately, the book doesn't have this type of problem as an example to steer you in the relatively general direction) and am proud that I've gotten this far. My problems are 1) I can only get one item number to input rather than a running list of the 5 values, 2) I can't figure out how to check for duplicate numbers. Any help is appreciated.
    My code is as follows:
    import java.util.Scanner; // program uses class Scanner
    public class Array
         public static void main( String args[] )
          // create Scanner to obtain input from command window
              Scanner input = new Scanner( System.in);
          // declare variables
             int array[] = new int[ 5 ]; // declare array named array
             int inputNumbers = 0; // numbers entered
          while( inputNumbers < array.length )
              // prompt for user to input a number
                System.out.print( "Please enter a number: " );
                      int numberInput = input.nextInt();
              // validate the input
                 if (numberInput >=10 && numberInput <=100)
                       System.out.println("Number stored.");
                     else
                       System.out.println("Invalid number.  Please enter a number within range.");
              // checks to see if this number already exists
                    boolean number = false;
              // display array values
              for ( int counter = 0; counter < array.length; counter++ )
                 array[ counter ] = numberInput;
              // display array values
                 System.out.printf( "%d\n", array[ inputNumbers ] );
                   // increment number of entered numbers
                inputNumbers++;
    } // end close Array

    Yikes, there is a much better way to go about this that is probably within what you have already learned, but since you are a student and this is how you started, let's just concentrate on fixing what you got.
    First, as already noted by another poster, your formatting is really bad. Formatting is really important because it makes the code much more readable for you and anyone who comes along to help you or use your code. And I second that posters comment that brackets should always be used, especially for beginner programmers. Unfortunately beginner programmers often get stuck thinking that less lines of code equals better program, this is not true; even though better programmers often use far less lines of code.
                             // validate the input
       if (numberInput >=10 && numberInput <=100)
              System.out.println("Number stored.");
      else
                   System.out.println("Invalid number.  Please enter a number within range."); Note the above as you have it.
                         // validate the input
                         if (numberInput >=10 && numberInput <=100)
                              System.out.println("Number stored.");
                         else
                              System.out.println("Invalid number.  Please enter a number within range."); Note how much more readable just correct indentation makes.
                         // validate the input
                         if (numberInput >=10 && numberInput <=100) {
                              System.out.println("Number stored.");
                         else {
                              System.out.println("Invalid number.  Please enter a number within range.");
                         } Note how it should be coded for a beginner coder.
    Now that it is readable, exam your code and think about what you are doing here. Do you really want to print "Number Stored" before you checked to ensure it is not a dupe? That could lead to some really confused and frustrated users, and since the main user of your program will be your teacher, that could be unhealthy for your GPA.
    Since I am not here to do your homework for you, I will just give you some advice, you only need one if statement to do this correctly, you must drop the else and fix the if. I tell you this, because as a former educator i know the first thing running through beginners minds in this situation is to just make the if statement empty, but this is a big no no and even if you do trick it into working your teacher will not be fooled nor impressed and again your GPA will suffer.
    As for the rest, you do need a for loop inside your while loop, but not where or how you have it. Inside the while loop the for loop should be used for checking for dupes, not for overwriting every entry in the array as you currently have it set up to do. And certainly not for printing every element of the array each time a new element is added as your comments lead me to suspect you were trying to do, that would get real annoying really fast again resulting in abuse of your GPA. Printing the array should be in its own for loop after the while loop, or even better in its own method.
    As for how to check for dupes, well, you obviously at least somewhat understand loops and if statements, thus you have all the tools needed, so where is the problem?
    JSG

  • Migrating JDeveloper app to Weblogic app server

    We have prototyped a small business components & JSP app which we would like to migrate to the IBM Websphere environment. Anybody had experience doing so? What steps are involved, etc.

    Hi,
    I also tried to do so but i've got few problems.I used JDev 3.1
    to develop a simple project.
    I've got the following error when I load the jsp which contains
    BC4J objects:
    JBO-25002: Definition test3.Test3Module of type
    ApplicationModule not found
    Where should i place the xml files ?
    I put the location of .dtd files to servlet classpath already.
    Can you describe your steps of using BC4J on WebSphere? Thank
    you for your help. :>
    Cheers,
    Ivy

  • Java app to save html source and copy to clipboard

    I'm new to Java, and I'm doing a research paper which requires gathering data from the internet. I basically need to learn commands to create an app (which I will execute on a daily basis using Windows scheduler) to do the following task:
    1. Access a specific URL
    2. Save the HTML source as a text file
    3. Copy some of the text in the saved text file to the clipboard in Windows
    4. Paste this data in Excel
    5. Run a macro in Excel to sort the data
    I know enough VBA and Excel functions to parce the data, but if it is easier to use Java to sort the data into columns and rows in Excel, I would like to learn how to do that too.
    I'm running Windows XP. My friend tells me to download Dr. Java to edit .java files and also the SDK to compile the files. He also told me to find modules from the internet which I can use, but I'm not sure how to go about it. (I tried searching on the net but didn't get the hits I wanted.)
    Any help at this point would be much appreciated.

    If your target html is so fancy and complicated(table cell contain another table) or the table miss some <tr> or <td> tags, dividing the table into rows and column can be a difficult task.
    I recommend you choose the website with high download speed. Otherwise, you have to write more code to handle any loading failure.
    I recommend you use httpunit to get webpage with Java program. (There is usually proxy server in University, you can config the parameter for proxy server in the Java program calling httpunit)
    http://httpunit.sourceforge.net/
    It will take some times to learn those Java technique.

  • Server.app can't load alerts and throws out error getAndLockContext: flock(servermgr_info) FATAL time out

    Hi everybody,
    I did a working migration of my Lion Server stating all services has been migrated successfully!
    All my used services are running fine (dns, mail, iCal, dhcp, web, VPN, adressbook, profilemanger, sharing, opendirectory) but using server.app causes an error while server.app seems to load the alerts section without success throwing out some message windows and those messages in my log console
    servermgrd[36677] [36677] error in getAndLockContext: flock(servermgr_info) FATAL time out
    servermgrd[24195] [24195] process will force-quit to avoid deadlock
    com.apple.launchd[1] (com.apple.servermgrd[24195]) Exited with exit code: 1
    Servermgrd process goes up to 100% and you have to quit server.app to calm it down.
    Anyone got a similar error or knows any workaround to abandon this error?
    Thanks and regards
    Eldrik

    RB jp's solution (move the /var/log/eventmonitor folder) solved my problem completely.
    Not only did Server.app suddenly become response again, the spinner trying to access alerts stopped spinning.
    Best of all, the servermgrd daemon stopped crashing every two minutes!  There were messages in system.log that read:
         error in getAndLockContext: flock(servermgr_info) FATAL time out
         server servermgrd[38070]: [38070] process will force-quit to avoid deadlock
    Those are now gone.  Server is happy again.

  • HELP! iPhone 3GS stuck in recovery loop and iTunes gives error message" iPod update server can not be contacted"

    As I said, it's an iPhone 3GS (never jailbroken), iOS 4.1, PowerPC G4 OS X 10.4.11, iTunes 9.2. I have had the phone since new, never had any issues with it and am at my wits end trying to figure it out. I have seen many different solutions to this exact problem, but none have worked for me. Anyone have any ideas?

    This is what I posted to someone else having an update issue... Just for your information:
    I having the same issue about the and iTunes says "The iPhone cannot be  restored at this time because the iPhone software update server could  not be contacted or is temporarily unavailable.". I've had the  iPhone  3GS since it came out. It was working fine until I just tried to  update  it. It has NEVER been hacked or jailbroken. WE AND A FEW OTHERS are  having  the same issue then it is more than likely that this is an  update issue.  I took mine to the Apple store and the tech tried to  update it and he came to the same problem and told me he couldn't  update it. My assumption is that we are not the only one's with this  issue and that if  there was a way to update it to the update before  this last one it  might be a solution. I don't know how to get the  previous update. Apple  probably is aware of the problem, and hasn't  come up with a solution yet. Or, enough people haven't complained yet.  The tech suggested that  there might be something wrong with the phone  itself, but that couldn't  be since it was working perfectly before I  updated it and others are  having the same issue. It is highly unlikely  that a lot of people are having the same hardware issue all of a  sudden at the same time. Apple/iTunes needs to fix this... and hopefully soon
    Also:  I can update or restore my iPhone 5 and other iPhones so it is not an  issue with my firewall or other software on my computer. No one touches  my iPhone or my computer they are secure, locked all the time, and I  have no jailbreak software on my computer (Apple tried it and they are  clueless at the moment from what I can tell).

  • WLS: Error running app in Weblogic 1035

    I have an application created in JDeveloper using ADF ADF 11115-Security. successfully deployed in WLS 10.3.5. The JDBC configuration and myreal ConnectionGoldDS was created called ERPDaniela provider, and its configuration by using sql statements for what algortinmo indicated the SHA-1 and style PLAINTEXT password, and log all sql statements for users, groups and group members. When running the deployed application, I get the welcome screen asking for user name and password, you enter these data and does not display the system menu but it is looking for the site and the WLS throws the error mentioned in your console :
    running app in Weblogic deployed ADF 10.3.5, error message:
    <jdbc> <error> <bea-001112> "text select 1 from dual"set up for pool "ConnectionGold" failed with exception: java.lang.NullPointerException
    in other file the directiry
    E:\Oracle\Middleware\WebLogic10.3.5\user_projects\domains\ERPDaniela\servers\AdminServer\adr\diag\ofm\erpdaniela\adminserver\incident\incdir_8
    display mesage:
    Caused By: java.lang.NullPointerException
         at daniela.backings.DanielaParam.getCapturarUsuario(DanielaParam.java:169)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
         at

    I have developed an application which includes a jsp file using a java bean.
    I am getting below error, and could not find what the error is. Could you please help me!!
    My jsp file has the following line:
    <jsp:useBean id = "sb" scope="session" class="cncExec.cncExecSelectionBean" />
    Error: 500
    Location: /wls/cncexec/jsp/cncExecSelection.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPc:\users\www\work\localhost_8080%2Fwls%2Fcncexec\_0002fjsp_0002fcncExecSelection_0002ejspcncExecSelection_jsp_0.java:63: Class jsp.cncExec. cncExecSelectionBean not found.
    cncExec.cncExecSelectionBean sb = null;
    ^Looks like the class cncExec.cncExecSelectionBean is not deployed with your WAR file or is not otherwise available to the class loader for your WAR in tomcat. Make sure the JAR file is included in the WEB-INF/lib directory in your WAR archive.
    Rob

  • 5800XM need keyboard to enter data in java app

    I have downloaded an app to my 5800 but once in the app i need to enter my account details.
    There is no keyboard in the app to allow me to enter the details.
    any ideas please
    Pat

    No idea's yet, but same issue.  I get a D-Pad in my Java apps (not a number pad) and I have a few apps where clicking th custom edit box doesn't give you a choice to bring up a keyboard (the Opera Mini app - address bar is an example.  filed a bug with Opera against that)

  • Migrating from web dynpro java app  nwds 7.0 to nwds 7.3

    Hi,
    is it possible to migrate web dynpro java app developed in nwds 7.0 to nwds 7.3 environment.
    I tried but lots of problem.
    Is there a blog?
    Regards.

    Cemil
    its very much possible to migrate the component to 7,3 platform. SAP NWDS 7,3 provides a migration wizard to help with the migration, after that you need to do some manual adjustments, like changing the deprecated APIs, fixing JAR dependency etc etc..
    Here is a guide on how to do it step by step
    http://help.sap.com/saphelp_nw73/helpdata/en/e9/546e60777641509a5e0dc5cd05675b/frameset.htm
    Hope this helps...

  • [Help]Migrating to OBIEE has java.Lang.NoCLassDefFoundError

    Hi,
    When I try to migrate report to obiee according to guide, there are classic error of java "java.Lang.NoCLassDefFoundError"
    My steps are:
    1) set classpath=C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib
    (this is the path can find aolj.jar;xdoparser.jar;collections.jar;versioninfo.jar;xmlparserv2-904.jar)
    2) Download patch p5472959_11i_WINNT.zip from metlink and put j5472959_xdo.zip into above lib
    3) call from command line of windows XP:
    java -verbose -classpath oracle.apps.xdo.rdfparser.DataTemplateGenerator C:\biout\test.xml
    or
    java -verbose -classpath aolj.jar;xdoparser.jar;collections.jar;j5472959_xdo.zip;versioninfo.jar;xmlparserv2-904.jar oracle.apps.xdo.rdfparser.DataTemplateGenerator C:\biout\test.xml
    But... No matther how to change the classpath and java command, there always has error:
    Exception in thread main java.Lang.NoCLassDefFoundError C:\biout\test/xml
    (PS: is not error of Exception in thread main java.Lang.NoCLassDefFoundError oracle.apps.xdo.rdfparser.DataTemplateGenerator, so I think system can find oracle.apps.xdo.rdfparser.DataTemplateGenerator, but it doesn't recongize C:\biout\test.xml )
    Can any person help me? Thanks a lot.

    I wouldn't recommend setting the CLASSPATH variable... it's OK for now, but it'll become problematic in the long term... so IMHO you may as well form good habits upfront.
    To compile:
    C:\javacode>javac -d "." Example.java
    To execute:
    C:\javacode>java -classpath "." Example
    Or as of java 1.5 you can shorten that to:
    C:\javacode>java -cp "." Example
    java -version
    tells you which version of java you're running.
    Cheers, Keith.

  • Problem running my Java apps in my LG phone. Please help!

    Hi all!!
    I am quite new to the world of J2me, altough I've been coding Java for quite a few years now.
    Recently I bought a LG u 8120 phone with Java-support so I decided it was time to step into the mobile Java-world.
    Now I have written my first small app, a simple timer application which my phone (strangely enough) does not already have.
    So what happens is this : I create my app on my PC and package it with the WTK into a jar -file and a jad-file which i transfer to the phone.
    After this I can see the name of my app in the list of available programs in the phone. But when I try to run it: Nothing. The Java logo shows up for a few seconds and then I am tossed back to the menu.
    I have thought of the following as possible problems:
    1. the 8120 does not support MIDP2.0
    2. I am doing something wrong transfering the files
    3. I have missed out on one or several necessary steps in the process
    Anyone who have developed Java apps for LG phones who can give me some hints?
    I've used the Sun J2ME Wireless Toolkit 2.2 with MIDP2.0 and CLDC1.1 .
    The apps works fine in the emulator. The problem starts when I want to run it in the phone. The phone I've tried is an LG u8120. LG apparently does not want to make life easy for its customers, so there is no support for transfering Java apps in the vendor-supplied software. I suppose that's because they want you to only download stuff from their site. However, after surfing around on some discussion forums for a while I found a program called G-thing which can be used to upload Java apps to LG-phones via USB.
    Any help is very appreciated!
    Thanks,
    Sarah

    Thanks,
    I have tried this and ruled out some of the possible causes.
    When I added some more exception handling, I could see that a "java.lang.IllegalArguenException" is thrown.
    When I ran the AudioDemo package that came with WTK2.2 I noticed that the examples that uses WAV-files do not work while the rest works fine.
    My new theory is now that the u8120 does not support the WAV-format, so I will try with an mp3 instead and see what happens.
    Anyone who knows if LG-phones support WAV-format?
    /Sarah

Maybe you are looking for

  • How to achieve automated posted for invoice and stock transfers

    Hi, I have following queries for an RFP, can some one give hints on how to achieve them in SAP o Receive self-billing documents from the customer, stating the deliveries and amounts that are settled and paid o Automatic posting of invoice documents f

  • Since I´ve upgraded iTunes it´s not working

    I´m using iTunes with windows 7 Starter. Just upgraded last version fo iTunes and it won´t start. What if I delete the program and download it again? will I loose my music? or what should I do?

  • Error in standby db while applying logs

    Hi, we have a manual standby db of version 9.2.0.6 on sun solaris in alert log file i found error in one og the log i.e Errors with log /arch/log/1_1817.dbf ALTER DATABASE RECOVER    CONTINUE DEFAULT Wed Oct 22 18:33:03 2008 Media Recovery Log /arch/

  • SCI errors

    hi guys, In SCI Code inspector, I gave Development class as input for Syntax Error collection. Defined variants as Syntax error and EPC check. In object set i defined Development class I created inspection variable and executed. Does the Error analys

  • Problems during Correlation

    Hi, I got a problem during correlation. I activated correlation in a ccBPM send step. In the Work Item I checked the created object which contains the correct number. When XI receives the answer, a PE is found, but the message runs red. Object 'ZXI_P