Visual age problem - importing packages

Hello,
I have created a Java client NT application on Visual Age which interacts with Oracle database thru JDBC driver.
when i give
import oracle.jdbc.driver.*;
the visual age editor is not able to find the above package, whereas when i export the same application and execute it on DOS environment there are no problems.
I want to know the best way to import packages in Visual Age because when I added the required packages to my application, "no suitable driver" error occurred.
Not as familiar with Visual Age. Any help would be appreciated. Thanks :-)
Raj

Thanks! Got it fixed.
Giving the duke dollar to myself ;)
raj

Similar Messages

  • Problem importing packages via ICE??

    Hello,
    I am running Portal 6.0 on Windows Server. For one of the business package that is to be implemented in my Portal, i have to deploy two files as a pre-requisite that are associated with SAP Note 660777(https://service.sap.com/sap/support/notes/660777). I have imported the "com.sap.pct.crm.kmconfig40.par" file but having problems deploying "fullupdate_completeBP602.zip". I must admit that i haven't got much idea about importing packages via ICE as i have never used it before.
    I tried to import it via, Portal->System Administration->System Configuration. In there, Actions->Import. When i point to the "fullupdate_completeBP602.zip" file and say Preview, i get a error message saying "Enter a valid configuration archive name". Isn't this the right way to import this package? Please guide. Thanks.
    Regards,

    I suggest you also ask in the KM forum about ICE. There is also some information in the SAP help pages about ICE. For example an overview of it can be found
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/63/42aa17425c514f85ad5ecd45988509/frameset.htm">here</a>
    Cheers

  • Problem importing packages...

    hello!
    I am learning Java for a while. I have a very strange problem with packages. The problem is the next one:
    When I import the complete package like this:
    import ThePackage.*
    I got the following the next errors:
    main.java:8: cannot resolve symbol
    symbol : constructor Class1 ()
    location: class Class1
    Class1 C1=new Class1();
    ^
    main.java:9: cannot resolve symbol
    symbol : constructor Class2 ()
    location: class Class2
    Class2 C2=new Class2();
    ^
    2 errors
    In order to use this packages, I have to use it this way:
    import ThePackage.Class1;
    import ThePackage.Class2;
    My question is if I have to import every class I am going to use per package? Or why I can�t import using asterisks ('*')
    My other problem is when I use class within the same package, I have to import them too. I have to put the "import ThePackage.*;" in every class within it.
    Thanks,
    Santiago (A Java Newbie)

    You can try to compile with javac -verbose and see what happens. It's because the class you want to compile is not in a package, and you want to import a whole package. But how would the compiler know if you want to use the Class1 and Class2 that is not in a package or those that are in a package?! First it checks if there are those classes which are not in a package. It doesn't find them, but it finds the java source code, so it attempts to use that (which will fail becuase you have package declaration in them). So sudha_mp is right about that you have to remove the source code, then you should be able to compile your code (or the class you want to compile has to be in a package).

  • Problem importing package

    hi,
    i need to import my own package into my project i am building using Jdev11.1.1.0.1 on windows....i tried by File-->Import-->java classes-->package....it is showing the package in left side under application navigator but it is not able to find the classes in package.....i also tried by inserting pkg in Libraries and Classpath option in project properties.......what should be the value of JDEV_USER_HOME....please help

    Hi,
    Did you try adding the jar file contains your packages to the Libraries and Classpath of your Project Properties?
    -Arun

  • Argument Order Reversed Importing Package into OWB

    I'm having a problem importing Packages into OWB. It recognizes the Functions contained in the Package, however the order of the arguments for each Function are reversed after I complete the import into OWB. This causes execution of the mapping to fail... Additionally, after importing into OWB, OWB doesn't seem to recognize any optional parameters or default values in the signature of the Function. I must be doing something wrong... Can anyone help...
    Thanks
    Alan

    Hi
    Standard approach to be followed for any object modification
    1. If you have created your package from OWB and deployed it into your DB, always do it that way i.e. Design center -->DB . Do not make any modifications on DB level and import in back to your Design center. OWB manages Ids for all objects on the repository and this will confuse it. That is why you see two versions of the same package . Any modifications should be done on Design center level and then do a replace on the package from control center
    2. If an object (package or procedure) is created on DB directly and is imported into design center, follow the same norm everytime you make any changes to that object. The status of that object will appear as "New" or "Not deployed" on control center but that is fine because OWB has no ID on its repository to maintain this information.
    3. If you need to rename any object already deployed from OWB, always drop it first, then rename it and then deploy it. That way OWB will maintain the name and ID on its end and not get confused.
    4. For your case, you can drop the older version of the package from OWB, delete the one imported from Database into OWB, make the changes on OWB level (adding parameter etc) and then redeploy the same package as replace from control center.
    Hope these tips help
    birdy

  • Problem in importing package

    i am new to java and facing problems in importing package which are self made.
    secondly does JDK 1.1.3 can support swing

    Hi,
    I had some problems myself. I will add few lines, maybe it helps:
    OK, let's assume that you work in a directory. In this case, set classpath to this hierarchy as well as to "." ('this' hierarchy - like in DOS).
    Now, assume that you want to use packages MyPack1 and MyPack2. The source files of classes belonging to MyPack1 must:
    - start with command
    package MyPack1;
    - be located all in the directory MyPack1
    (and the same for MyPack2, of course)
    If you want to use MyPack1 within MyPack2, you have to include:
    import MyPack1.*;
    even though MyPack1 is, in fact, located on path: ../MyPack1/*
    (trust the classpath is important here)

  • Problem importing a package

    Hello all! I'm relatively new to Java programming, but an experienced programmer in other languages, which is why this problem is so disturbing.
    I'm running through an exercise in the Thinking in Java book that introduces you to packages and importing packages. The code runs fine if I explicitly import the package by name, but not if I use the "*" wildcard.
    I'm running on Windows NT, and my CLASSPATH variable is:
    CLASSPATH=.;D:\Java\Books
    Here are the programs that work:
    //P.java
    package tools;
    public class P {
      public static void rint(String s) {
        System.out.print(s);
      public static void rint(int i) {
           System.out.print(i);
      public static void rintln(String s) {
        System.out.println(s);
      public static void rintln(int i) {
           System.out.println(i);
    //PrintTest.java
    import tools.*;
    public class PrintTest {
      public static void main(String[] args) {
           P.rint("Test String print - No line feed...");
           P.rintln("---");
           P.rint(1);
           P.rintln("");  //Force line feed.
           P.rintln(2);
           P.rintln("---");
    }Both of these files reside in the D:\test directory, and I compile them from that directory.
    To compile the P.java program, I use the following statement: javac -d . P.java
    The P.class file ends up in the D:\test\tools directory, which is fine. When I try to compile the PrintTest.java file, I get an error for each reference to the P class as follows:
    PrintTest.java:6: cannot resolve symbol
    symbol: method rint (java.lang.String)
    location: class P
    P.rint("Test string print - No line feed");
    However, if I change the first line in the PrintTest.java program to:
    import tools.P;
    Then it works.
    Why is the import working with an explicit call to the class, but not with the "*" wildcard? Any help would be greatly appreciated. I've been through all of the forums, the documentation, etc. and can't find a definitive answer.
    Thanks in advance,
    Tim

    Here is the error that I'm getting when I compile the PrintTest.java file.
    PrintTest.java:6: cannot resolve symbol
    symbol: method rint (java.lang.String)
    location: class P
    P.rint("Test string print - No line feed");
    Actually, I get one error for each reference to the P class in the PrintTest code, so there are 6 errors total.
    The P.class file is in the \tools directory under the directory where the PrintTest.java file exists, so the "import tools.P;" command works and the file runs OK, but when I switch to the "import tools.*" command, I get these errors. I'm just confused as to why it works when it is explicitly imported, but not when it is wild-carded.
    Thanks for the help! I'll keep trying...

  • Import package problems

    hi:
    if my program need to import package A which store in :
    C:\Documents and Settings\sharon\My Documents\project
    and my java file also store in the same folder, but i always got this error:
    C:\Documents and Settings\sharon\My Documents\project\test.java:36: package A does not exist
    import A;
    can anyone please tell me what happen? i m a newbie to java, pls help.

    Assuming you have the following: C:\project\A\Class1.class
    C:\project\A\Class5.class
    C:\project\test.javaand assuming all the Class1.java-Class5.java files start with package A; and assuming test.java starts with import A.Class1; And assuming javac.exe is in a directory that's on your path (NOT classpath), then if you do, in a DOS promptjavac -classpath . test.java
    or
    javac -classpath C:\project test.java it will work.
    You say you're using an IDE. Somewhere in that IDE's preferences/options will be a place to set the classpath. It must include . (a dot, meaning the current directory) OR the full path up to and including ...\project. (Dot may actually not work, since the IDE might not have the same notion of "current directory" as you would in a DOS prompt. There may also be a setting for "project root" or something. It really depends on the IDE.)
    Side note: Convention in Java is for package names to be all lowercase, and for class names to start with uppercase.

  • How to add a jar file in the visual Age classpath

    I have to import a jar file in visual Age workspace, and don't know hox to do
    I tried several things, but didn't succeded at this point.
    I need to succed until tomorrow for completing my work.
    Please help, thanks.

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • Installing (using) JSSE to Visual Age

    Hi all,
    I have installed JSSE 1.0.2 in JDK 1.3.1 successfully.. Everything is working fine. However what I need to do is use JSSE under Visual Age 3.5... (my VA is iv3-4 jdk 1.2.2 (patched.))
    I am importing three jar files which comes with JSSE but same test programs which works fine with JDK is not working under VA... Can anyone help about installation process of JSSE to VA?
    Ex: Program below works fine with JDK1.3.1 but not under VA...
    import java.net.*;
    import javax.net.ssl.*;
    public class JSSE_install_check {
    public static void main(String[] args) throws Exception {
         SSLServerSocketFactory factory =
         (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
         SSLServerSocket sslSocket =
         (SSLServerSocket)factory.createServerSocket(5757);
         String [] cipherSuites = sslSocket.getEnabledCipherSuites();
         for (int i = 0; i < cipherSuites.length; i++) {
         System.out.println("Cipher Suite " + i +
              " = " + cipherSuites);
    Thanks a lot.
    Emre

    Do you get an error message ?
    I have installed the same extension package to my VA 3.5 and worked fine
    Doruk Uslu
    Consultant
    Deloitte&Touche , CH

  • Using  Weblogic app environment in Visual Age

    Hi,
              I am using Weblogic as my test environment in Visual Age. I am getting alone
              well with servlet and beans. But I am having enormous problem with jsp. Does
              any body know how to configure weblogic test environment in Visual age to
              use bean tag in JSP (the JSP cannot locate the beans although the classpath
              has set to the project_resource/project Name).
              Help will be highly appreciated
              Duke
              

    "Michael Girdley" <[email protected]> wrote in message
              news:396a80d4$[email protected]..
              > JSP integration is not supported with Weblogic and VisualAge. This is
              > because VisualAge supports a back level revision of the JSP specification
              > and has also created their JSP container to be tightly integrated with
              > VisualAge.
              I don't understand this at all.
              My VisualAge has no notion of JSP (professional), that all came after I
              imported all of
              the weblogic stuff. So what does "VA supports a back level revision of JSP
              spec" actually
              mean?
              Also, "has created their JSP container to be tightly integrated with VA".
              There is no
              JSP container to speak of except for that which weblogic provides. Perhaps
              you are
              referring to some Websphere/VA environment?
              All in all, the integration is just about wonderful. Is there a good reason
              why JSP is not
              supported? Seeing what VA does with the WebSphere environment, I believe
              that the IDE
              environment is capable of dynamically reloading classes that have been
              generated etc.
              The basic question is: Why doesn't the VA environment support JSP's? If the
              answer is:
              "we haven't implemented it yet" then I understand, (and will ask when it
              will be:-) ).
              Questioningly,
              Jon
              

  • Visual Age 3.0b and WLS451, how to setup ???

    I use Visual Age 3.0b on a NT 4(SP3) and imported
    all classes directly under /weblogic into an own project
    all classes in /weblogic/boot into an own project and
    all the the other classes in /weblogic into a third project
    Anyway, independent of the project structure, when I
    run the weblogic.Server class I get the following message
    onto the console output:
    The weblogic.Server class was loaded from the <WEBLOGIC_HOME>/classesdirectory. This means that the <WEBLOGIC_HOME>/classes directory > is in
    the Java system classpath, when it should only be in the WebLogic
    classpath (as set by the property weblogic.class.path).
    Please refer to the Administrators Guide "Setting up and starting theWebLogic Server" at
    http://www.weblogic.com/docs45/install/startserver.html for > more
    information on how to start the Server.
    However neither the "." directory nor the projects themself are in the
    classpath
    specification in the properties control panel. And in the program panel
    I inserted
    the setting for the weblogic.class.path which points to the external
    library and the external
    weblogic directories.
    Which method would I have to overwrite and how?
    Did anyone find a workaround ???
    Thank you very much for your help
    Toby

    Solved,
    the problem was, that I used the wrong Server class.
    I run the class directly under the /weblogic root directory
    instead of the class imported from the boot directory.
    Actually it´s a bti more complicated if you take a closer
    look of the import order, but ... it works now...
    Happy Day
    Toby
    Tobias Christen wrote:
    I use Visual Age 3.0b on a NT 4(SP3) and imported
    all classes directly under /weblogic into an own project
    all classes in /weblogic/boot into an own project and
    all the the other classes in /weblogic into a third project
    Anyway, independent of the project structure, when I
    run the weblogic.Server class I get the following message
    onto the console output:
    The weblogic.Server class was loaded from the <WEBLOGIC_HOME>/classesdirectory. This means that the <WEBLOGIC_HOME>/classes directory > is in
    the Java system classpath, when it should only be in the WebLogic
    classpath (as set by the property weblogic.class.path).
    Please refer to the Administrators Guide "Setting up and starting theWebLogic Server" at
    http://www.weblogic.com/docs45/install/startserver.html for > more
    information on how to start the Server.
    However neither the "." directory nor the projects themself are in the
    classpath
    specification in the properties control panel. And in the program panel
    I inserted
    the setting for the weblogic.class.path which points to the external
    library and the external
    weblogic directories.
    Which method would I have to overwrite and how?
    Did anyone find a workaround ???
    Thank you very much for your help
    Toby

  • Weblogic 5.1 and Visual Age 3.5

    Hello !
    I'am using Weblogic server 5.1 and i want to add the visual age integration kit to my visual age enterprise edition 3.5. But i wonder if there is an integration kit for this version of visual age ?
    Any hint is appreciated !

    I am also in this boat! And the boat really wants to leave the docks
    this week (so we can move all our dev int VA).
    A contractor here got it working, but I am having some difficulty.
    So far, I've gotten the server to start, but I am having problems
    getting the JDBC20 drivers to do the right thing. (What's strange is
    that the app is running fine on our Solaris environments. It just
    doesn't fly in VA on NT.)
    If anyone can help, I'd really appreciate it. We have a support call
    out to BEA...
    Getting the integration kit installed isn't that hard. Just follow the
    instructions. When you try to add the features, you'll get error alerts
    saying that class javax.aaa.bbb.ccc already exists in the Java class
    libraries. You have to delete each of these packages that clashes,
    re-runing the "add feature" each time.
    To delete a package, first, open an edition for "Java class libraries",
    and then delete the package. (On the project, Right
    mouse->Manage->Create Open Edition, then on the package, Right
    mouse->Delete...)
    There might be some stray problems. I try to eliminate them by finding
    the relevant package (click on each problem, and look in the status bar
    at the bottom of the window) and then changing the particular version
    being used. Go with the ones weblogic provides. I think that was all.
    After this, you can go with the instructions in the kit. It's a little
    tricky setting up parallel config files if you're going to develop on
    DOS and deploy on Unix.
    If you're using VA and WL, please drop me an email.
    Abass ndiaye wrote:
    >
    Hello !
    I'am using Weblogic server 5.1 and i want to add the visual age integration kit to my visual age enterprise edition 3.5. But i wonder if there is an integration kit for this version of visual age ?
    Any hint is appreciated !

  • JSP output does not change on Weblogic 5.1 / Visual Age 3.5

    I'm making developmen on Weblogic 5.1 and Visual Age 3.5.
              I change a JSP and when I reload it in my browser, I can see that the
              page is actually being recompiled, and if there are errors in the
              page, error messages are being displayed.
              However, if the page compiles without the error, it displays the
              output of the previous version of the page. No matter what I do, the
              page does not reflect the changes. The only solution is restarting
              the server.
              What might be the cause of this problem?
              Thanks,
              Sadik
              

    I'm making developmen on Weblogic 5.1 and Visual Age 3.5.
              I change a JSP and when I reload it in my browser, I can see that the
              page is actually being recompiled, and if there are errors in the
              page, error messages are being displayed.
              However, if the page compiles without the error, it displays the
              output of the previous version of the page. No matter what I do, the
              page does not reflect the changes. The only solution is restarting
              the server.
              What might be the cause of this problem?
              Thanks,
              Sadik
              

  • Error while running import package

    Hi,
    Transformation file was validated successfully. But after running import package i am having following error on MS-BPC-7.0.
    Invalid character in the given encoding. Line 1, position 1.
    When i try validate and process trans file i am having the following error message. But same data file and same trans file was working till couple of days ago. After that whatever changes i have made to file, i did revert them to have it working like beofre.
    Warning: Some records were rejected.
    Rejected records reference either calculated members or invalid members.
    Actually rejected record is only, one, but even other data was not loaded.
    Thanks in advance for sharing your ideas or similar experiences.
    Thanks,
    KK

    Hi,
    There is definitely some problem with one of the records there. Do you have header? What is the delimiter? Do you have the same delimiter in the transformation file? You need to take a look at all the possibilities.
    Hope this helps.

Maybe you are looking for

  • Memory speed problem

    Hi guys/gals, I received today my memory: 2*512mb mushkins PC3200 400mhz...here is the problem: everytime I boot up I receive a post saying: 333mhz. I ran sysmark: 200mhz*2, I ran cpu-z: 200mhz*2 and ran another tool saying I have to ddrs at 200mhz.

  • Perian 0.5 for mac os x 10.3

    Yes hi i need to download perian 0.5 for mac for qt 7. Because i have this cancorder and i cant play the videos in Quicktime cuz i need some sort of codec. So seen this codec "perian" for mac and there is v1.1.4,and v1.1.4 cant run on panther. So i t

  • ITunes10 burns playlist in messed-up track order

    I have a 17 track playlist and I want to burn it exactly in the order the tracks are positioned. I edited all tracks being part of a compilation, named them the same album, edited the track numbers, marked 'remember playback position' and 'part of a

  • Cannot syns vcard files into c3

    hello, i recently bought a nokia c3. i have contacts from my previous n82 saved on a flash drive as vcard files (approx. 250 of these files).the problem is i cant figure out a method to transfer these vcard files onto my cellphone.i have already trie

  • MMS is not sending or receiving on iPhone 5s and gets an alert needs to be activated.

    MMS is not sending or receiving on Iphone 5s and gets an alert needs to be activated. Wind Mobile set up the MMS settings the data works the texts work but not MMS.