Java3D for visual age

Hi, I've been using visual age for java for some elementary java coding. Now, I need java3D, but I don't know where VisualAge installed java, so I can't tell Java3D where to install itself... Hope this makes sense to SOMEONE!! Thanks for any help you can give...

I don't have a jar file - that's why I'm stuck. I got Java3D from sun's Java3D page. For unix it comes as a ".sh" file and for windows it comed as a ".exe". When I execute it on windows, it tries to find java2 (a folder containing the jre), to "upgrade the SDK VM". I could have chosen a JRE VM, but again I don't know where that is. I tried looking through every folder for VAJ but found nothing.

Similar Messages

  • Cannot Start Weblogic Server 5.10 sp 10 from Visual Age For Java

    hi everyone,
    i have just recently installed BEA integration kit for visual age for java. The
    version of Weblogic that i am using is 5.10 sp10.
    when i run the weblogic.integration.visualage.server.Server.main() i can see the
    server properties and i can see the connection pools being created, but when it
    gets to the Enterprise JavaBean initializing, i get the following error:
    Please help
    Thanks, Anthony
    Unable to initialize server: java.lang.ClassCastException
    fatal initialization exception
    java.lang.ClassCastException
    java.lang.Throwable()
    java.lang.Exception()
    java.lang.RuntimeException()
    java.lang.ClassCastException()
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.loadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.loadClass(java.lang.String)
    java.lang.Class
    weblogic.ejb.internal.EJBJarLoader.loadClass(java.lang.String)
    java.lang.Object java.beans.Beans.instantiate(java.lang.ClassLoader,java.lang.String,
    java.beans.beancontext.BeanContext,
    java.beans.AppletInitializer)
    java.lang.Object java.beans.Beans.instantiate(java.lang.ClassLoader,java.lang.String)
    weblogic.ejb.internal.EJBHomeImpl
    weblogic.ejb.internal.EJBDeploymentImpl.createBeanHome(weblogic.ejb.internal.BeanInfo)
    void weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(weblogic.ejb.internal.BeanInfo)
    void weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(boolean)
    void weblogic.ejb.internal.EJBDeploymentImpl.deploy(boolean)
    void weblogic.ejb.internal.EJBJarDeployment.deploy()
    void weblogic.ejb.internal.EJBManagerImpl.deploy(weblogic.ejb.common.EJBDeployment)
    void weblogic.ejb.internal.EJBManagerImpl.deployNew(weblogic.ejb.common.EJBDeployme
    nt)
    void weblogic.ejb.internal.EJBManagerImpl.deploy(java.lang.String, java.io.File)
    void weblogic.ejb.internal.EJBManagerImpl.deployBeans(java.lang.String[])
    weblogic.ejb.internal.EJBManagerImpl()
    void weblogic.t3.srvr.T3Srvr.start()
    void weblogic.t3.srvr.T3Srvr.main(java.lang.String [],
    java.lang.String, java.lang.String)
    void weblogic.Server.startServerStatically(java.lang.String [],java.lang.String,
    java.lang.String)
    void weblogic.Server.main(java.lang.String [], java.lang.String,java.lang.String)
    void weblogic.Server.main(java.lang.String [])
    void weblogic.integration.visualage.server.Server.main(java.lang.String [])

    Anthony,
    Have you installed the SP 10 service pack for the VAJ I-Kit ? That may be the issue. The I-Kit
    requires this service pack to work with WLS 5.1 SP10. The service pack can be downloaded at -
    http://commerce.beasys.com/downloads/weblogic_server_tools.jsp
    Anthony Moses wrote:
    hi everyone,
    i have just recently installed BEA integration kit for visual age for java. The
    version of Weblogic that i am using is 5.10 sp10.
    when i run the weblogic.integration.visualage.server.Server.main() i can see the
    server properties and i can see the connection pools being created, but when it
    gets to the Enterprise JavaBean initializing, i get the following error:
    Please help
    Thanks, Anthony
    Unable to initialize server: java.lang.ClassCastException
    fatal initialization exception
    java.lang.ClassCastException
    java.lang.Throwable()
    java.lang.Exception()
    java.lang.RuntimeException()
    java.lang.ClassCastException()
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.loadClass(java.lang.String,boolean)
    java.lang.Class
    weblogic.utils.classloaders.GenericClassLoader.loadClass(java.lang.String)
    java.lang.Class
    weblogic.ejb.internal.EJBJarLoader.loadClass(java.lang.String)
    java.lang.Object java.beans.Beans.instantiate(java.lang.ClassLoader,java.lang.String,
    java.beans.beancontext.BeanContext,
    java.beans.AppletInitializer)
    java.lang.Object java.beans.Beans.instantiate(java.lang.ClassLoader,java.lang.String)
    weblogic.ejb.internal.EJBHomeImpl
    weblogic.ejb.internal.EJBDeploymentImpl.createBeanHome(weblogic.ejb.internal.BeanInfo)
    void weblogic.ejb.internal.EJBDeploymentImpl.setupBeanHome(weblogic.ejb.internal.BeanInfo)
    void weblogic.ejb.internal.EJBDeploymentImpl.deployBeans(boolean)
    void weblogic.ejb.internal.EJBDeploymentImpl.deploy(boolean)
    void weblogic.ejb.internal.EJBJarDeployment.deploy()
    void weblogic.ejb.internal.EJBManagerImpl.deploy(weblogic.ejb.common.EJBDeployment)
    void weblogic.ejb.internal.EJBManagerImpl.deployNew(weblogic.ejb.common.EJBDeployme
    nt)
    void weblogic.ejb.internal.EJBManagerImpl.deploy(java.lang.String, java.io.File)
    void weblogic.ejb.internal.EJBManagerImpl.deployBeans(java.lang.String[])
    weblogic.ejb.internal.EJBManagerImpl()
    void weblogic.t3.srvr.T3Srvr.start()
    void weblogic.t3.srvr.T3Srvr.main(java.lang.String [],
    java.lang.String, java.lang.String)
    void weblogic.Server.startServerStatically(java.lang.String [],java.lang.String,
    java.lang.String)
    void weblogic.Server.main(java.lang.String [], java.lang.String,java.lang.String)
    void weblogic.Server.main(java.lang.String [])
    void weblogic.integration.visualage.server.Server.main(java.lang.String [])--
    Nirav Chanchani
    BEA Systems, Inc.

  • Visual Age Java and WebLogic

    Hi there,
    I am using Visual Age for Java and Weblogic for my EJB development. I want
    to run my EJB application thru Visual Age Java. I have set up WebLogic
    support for Visual Age for Java and configured everything else. What should
    I do next to get running. any leads or pointers would be really appreciated.
    Thanks,
    Jatinder

    Hi,
    I'm not sure what you are asking but all you need to do once you have VAJ
    configured to run WLS is to deploy your bean (put it in the weblogic.ejb.deploy
    property in the weblogic.properties file) and run the weblogic server inside of
    VAJ. Of course, you will need to run a client that uses the bean to be able to
    step through the execution of a bean method...
    Hope this helps,
    Robert
    IBM wrote:
    Hi there,
    I am using Visual Age for Java and Weblogic for my EJB development. I want
    to run my EJB application thru Visual Age Java. I have set up WebLogic
    support for Visual Age for Java and configured everything else. What should
    I do next to get running. any leads or pointers would be really appreciated.
    Thanks,
    Jatinder

  • Visual Age Integration Kit TOPLink

    Hello,
    is it possible to run Weblogic 5.1 and TOPLink 2.5.1.6 EJBs whith the latest Integration
    Kit for Visual Age 3.5?
    regards
    Manuel Schicktanz

    Hi.
    Please post this question in weblogic.developer.interest.tools.
    Thanks,
    Michael
    Petra Abbam wrote:
    I am installing Weblogic Visual Age Integration Kit for Weblogic 5.1 into
    Visual Age 3.02
    When I try the last step of the configuration, which is selecting Configure
    Tool in VAJA I get an uncaught exception java.lang.UnsatisfiedLinkError: no
    ToolsValidator in shared library path.
    Does anyone have any ideas?
    Petra--
    Developer Relations Engineer
    BEA Support

  • Visual Age for Java 3.0 and EJBs

     

    Michael,
    We are also seeing problems with EJB development using the VAJ integration kit
    for Weblogic 4.5.1 and Visual Age Java 3.0.2. The rest of the integration,
    JSPs, Servlets, etc. appear to work just fine using the 4.5.1 integration kit
    and Visual Age Java 3.0.2. However, with EJBs we are finding the deployment
    tools to break into the VAJ debugger.
    Comments (all welcome)
    john
    Michael Girdley wrote:
    We plan to release an integration kit for VisualAge soon. Please check our
    web site regularly for information on the availability of this kit.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Vladimir Goncharov <[email protected]> wrote in message
    news:[email protected]...
    I'm getting Exception, when trying to create Initial context from withinthe
    VisualAge for Java 3.0, the same compiled class by Visual Age for Java 3.0
    works fine when run from the command line using JDK.2.2
    My understanding is that client program may run on JDK 1.1.7 and above and
    IBM using IBM JDK 1.1.8 which compatible with the SUN one
    Please help.
    Here is the classpath that VisualAge is using
    C:\weblogic\classes;
    C:\weblogic\lib\weblogicaux.jar;
    C:\IBMVJava\ide\Program\lib\;
    C:\IBMVJava\ide\Program\lib\classes.zip;
    Here is the Exception thrown by Weblogic
    weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ java.lang.InternalError: (Ex02) An error has occurred. ]
    java.lang.Throwable(java.lang.String)
    java.lang.Error(java.lang.String)
    weblogic.utils.NestedError(java.lang.String)
    weblogic.utils.AssertionError(java.lang.String)
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.logging.LogManager weblogic.kernel.Kernel.getLogManager()
    weblogic.logging.LogOutputStream(java.lang.String)
    weblogic.common.internal.LogOutputStream(java.lang.String)
    weblogic.t3.services.ConfigClient()
    java.lang.Objectjava.lang.reflect.Constructor.newInstance(java.lang.Object
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.t3.services.ConfigDef weblogic.kernel.Kernel.getConfig()
    void weblogic.kernel.Kernel.ensureInitialized()
    weblogic.rjvm.RJVM weblogic.rjvm.ServerURL.findOrCreateRJVM()
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(weblogic.jnd
    i.Environment, java.lang.String)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(java.util.Ha
    shtable)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactory.getInitialContext(java.util.Hashtable)
    javax.naming.Context
    javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
    javax.naming.Context javax.naming.InitialContext.getDefaultInitCtx()
    void javax.naming.InitialContext.init(java.util.Hashtable)
    javax.naming.InitialContext(java.util.Hashtable)
    javax.naming.Context com.vlad.ejb.client.ClientTest.getInitialContext()
    void com.vlad.ejb.client.ClientTest.main(java.lang.String [])
    weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ java.lang.InternalError: (Ex02) An error has occurred. ] ]
    java.lang.Throwable(java.lang.String)
    java.lang.Error(java.lang.String)
    weblogic.utils.NestedError(java.lang.String)
    weblogic.utils.AssertionError(java.lang.String)
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.t3.services.ConfigDef weblogic.kernel.Kernel.getConfig()
    void weblogic.kernel.Kernel.ensureInitialized()
    weblogic.rjvm.RJVM weblogic.rjvm.ServerURL.findOrCreateRJVM()
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(weblogic.jnd
    i.Environment, java.lang.String)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(java.util.Ha
    shtable)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactory.getInitialContext(java.util.Hashtable)
    javax.naming.Context
    javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
    javax.naming.Context javax.naming.InitialContext.getDefaultInitCtx()
    void javax.naming.InitialContext.init(java.util.Hashtable)
    javax.naming.InitialContext(java.util.Hashtable)
    javax.naming.Context com.vlad.ejb.client.ClientTest.getInitialContext()
    void com.vlad.ejb.client.ClientTest.main(java.lang.String [])
    John N. Alegre
    Javelin Solutions
    [email protected]

  • Visual Age - no editor for JSP.???

    Hi folks!
    I'm sorry if this sounds dumb, but I just found that my company has VisualAge Enterprise Edition 3.5 - and it seemed very attractive to me... BUT - although it has a run time environment for JSPs, it does not seem to provide an editor to write JSPs... am I not finding something the right way..??? Also, is there a way I can set the IDE's Java classpath..?? right now, it is using antiquated versions of the jdk and jsdk APIs... Help..? Please..???

    Correct Visual Age does not have a JSP editor - if you go on the Visual Age J2EE course you end up using WebSphere Studio!
    Haven't used Visual Age since the course but I'm sure you can edit the class path BUT
    If my experience is anything to go by you probably can't use a newer JDK as the IDE is very tied to the one it's shipped with (I tried this with WebSphere Studio to upgrade from 1.3 to 1.4 and it broke).
    Visual Age probably uses the IBM JDK (Studio does) so if you can get a newer version of the IBM JDK this may work.
    You could always ask nicely for an upgrade to WebSphere Studio - but beware version 4 has no applet editor!
    HH

  • Oracle JDeveloper vs. IBM Visual Age for Java

    Hi,
    I have been out of this forum for quite sometime now.I wanted to know how JDeveloper is doing in general and how is its performance when compared to IBM Visual Age for Java IDE?
    Any links to sites related to this would be helpful.
    Thanks in advance,
    Sandeep

    Sandeep,
    Be careful while using JDeveloper for developing real time applications. There are very good features in JDeveloper, but this tool is having LOT OF BUG's...you know what I mean. You will end up having sleepness nights later to dig the problems and then to have answer from Oralce, which will always be you better shift to new version. When you will try to shift to new version, lots of earlier classes would have been removed in JDeveloper and then you will be forced to use new ones and take a hit of additional effort.
    Otherwise Its a very good tool and can be the no .1 Java IDE, if oracle technical staff work hard and make this product a bit stable.
    null

  • Conversion from Visual Age for Java 4.0 to JDeveloper

    How can I export our visual classes correctly? It's work, but I can't open them for visual designe.

    If you'll create a new swing application with a frame in JDeveloper you'll see that JDeveloper uses a JBinit method.
    The code you bring over from Visual Age needs to have a JBinit method also to be able to use the visual editor.
    The code editor should work just fine with your code anyway.

  • 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

  • Commerce Server and Visual Age 3.5

    I tried and was unsuccessful getting the Commerce server (3.11) to run
    under Visual Age 3.5. I can get it to start up correctly, but if I test
    a commerce application, Visual Age disappears with no messages. From
    my experiments, I think it is a problem with a conflict between versions
    of the CORBA or javax components that cannot be loaded into VA from the
    weblogic distribution (because they are 'required by the system' in VA;
    no workaround I know of to get them in there). Another constraint is
    that you must use the weblogic.Server class from the Weblogic VA
    Integration Kit; perhaps it is incompatible.
    So, has anybody got a commerce application to appear running the
    weblogic commerce server under visual age 3.5?
    Note that I did get the plain weblogic server 5.1.0 running with thte VA
    integration kit, and I can get the commerce server to startup correctly.
    Bryan

    Bryan,
    I have succesfully used Kawa 5.x Enterprise (Beta) with WLCS. You should
    check it out if you are interested in a more "standards" based solution for
    the Windows platform.
    Sincerely,
    Daniel Selman
    Bryan Helm wrote in message <[email protected]>...
    I tried and was unsuccessful getting the Commerce server (3.11) to run
    under Visual Age 3.5. I can get it to start up correctly, but if I test
    a commerce application, Visual Age disappears with no messages. From
    my experiments, I think it is a problem with a conflict between versions
    of the CORBA or javax components that cannot be loaded into VA from the
    weblogic distribution (because they are 'required by the system' in VA;
    no workaround I know of to get them in there). Another constraint is
    that you must use the weblogic.Server class from the Weblogic VA
    Integration Kit; perhaps it is incompatible.
    So, has anybody got a commerce application to appear running the
    weblogic commerce server under visual age 3.5?
    Note that I did get the plain weblogic server 5.1.0 running with thte VA
    integration kit, and I can get the commerce server to startup correctly.
    Bryan

  • 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

  • Error in EJB on Visual Age 3.5

    Hi,
    Why Visual Age for Java 3.5 throws this exception in my EJB Entity:
    "EJBException not handle"
    I don't understand because on Forte is correct.
    Piece of Code:
    catch (SQLException sqle) {
    throw new EJBException (sqle);
    Please help me.
    Thanks in advance

    Look this is my Find Method:
    public String ejbFindByPrimaryKey(String strProduct) throws FinderException {
              Connection conConnection = null;
              Statement stmStatement = null;
              ResultSet rstResult = null;
              try {
                   conConnection = ConnectionFactory.getDefaultDataSourceConnection();
                   stmStatement = conConnection.createStatement();
                   rstResult = stmStatement.executeQuery("SELECT id FROM SAMPLE WHERE id='" + strId + "'");
                   if (!rstResult.next()) {
                        throw new ObjectNotFoundException("Product Not Found");
              catch (SQLException sqle) {
                   sqle.printStackTrace();
                   throw new EJBException (sqle);
              finally {
                   try {
                        if (null != stmStatement) {
                             stmStatement.close();
                        if (null != conConnection) {
                             conConnection.close();
                   catch (Exception e) {
                        e.printStackTrace();
              return strId;
    Thanks for your help...

  • Visual Age 3.5, WLS 5.1, Integration Kit 5.1 beta and JSP?

    Hello,
    i have a problem with the missing JSP-support in Visual Age. It would be a
    workaround to develop JSP outside Visual Age and just put them into the
    myserver/public_html directory. But if i start WLS from within Visual Age,
    the JSP won't compile, i get the error:
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
    arguments in method.
    if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
    Pack 6 09/20/2000 21:03:19 #84511")) return true;
    Operating System is WinNT 4.0, Service Pack 6, i use the professional
    edition of Visual Age.
    Is there a wrong setting in the IDE or is it impossible to develop JSPs with
    the Integration Kit?
    Regards,
    Reinhard Maier
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
    arguments in method.
    if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
    Pack 6 09/20/2000 21:03:19 #84511")) return true;
    ^
    1 error
    java.io.IOException: Compiler failed
    executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
    , "D:\Programme\IBM\VisualAge for
    Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
    java\ide\project_resources\Weblogic Java 2
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Java Enterprises Libraries;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Support
    Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
    icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
    jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
    rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
    ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
    \Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
    java.lang.Throwable(java.lang.String)
    java.lang.Exception(java.lang.String)
    java.io.IOException(java.lang.String)
    void
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
    void weblogic.utils.compiler.CompilerInvoker.compile()
    void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
    javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, boolean)
    void
    weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
    tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    javax.servlet.Servlet
    weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
    al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
    weblogic.servlet.internal.ServletStubImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    int
    weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
    t.MuxableSocketHTTP)
    int weblogic.socket.MuxableSocketHTTP.invokeServlet()
    void
    weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
    void weblogic.kernel.ExecuteThread.run()
    Mo Jan 08 12:00:03 GMT+01:00 2001:<E> <ServletContext-General> Servlet
    failed with Exception
    java.io.IOException: Compiler failed
    executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
    , "D:\Programme\IBM\VisualAge for
    Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
    java\ide\project_resources\Weblogic Java 2
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Java Enterprises Libraries;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Support
    Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
    icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
    jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
    rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
    ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
    \Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
    java.lang.Throwable(java.lang.String)
    java.lang.Exception(java.lang.String)
    java.io.IOException(java.lang.String)
    void
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
    void weblogic.utils.compiler.CompilerInvoker.compile()
    void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
    javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, boolean)
    void
    weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
    tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    javax.servlet.Servlet
    weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
    al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
    weblogic.servlet.internal.ServletStubImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    int
    weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
    t.MuxableSocketHTTP)
    int weblogic.socket.MuxableSocketHTTP.invokeServlet()
    void
    weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
    void weblogic.kernel.ExecuteThread.run()

    Hi ,
    There is a solution posted in "weblogic.beta.tools.visualage" newsgroup which will enable u to
    develope and debug JSP's from IVJ .
    TITLE "JSP debugging in IVJ "
    cheers
    Amjad
    Dana Jeffries wrote:
    Visual Age does not support the latest versrions of the JSP/servlet spec. I believe they're still
    .92 and 1.0.
    Reinhard Maier wrote:
    Hello,
    i have a problem with the missing JSP-support in Visual Age. It would be a
    workaround to develop JSP outside Visual Age and just put them into the
    myserver/public_html directory. But if i start WLS from within Visual Age,
    the JSP won't compile, i get the error:
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
    arguments in method.
    if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
    Pack 6 09/20/2000 21:03:19 #84511")) return true;
    Operating System is WinNT 4.0, Service Pack 6, i use the professional
    edition of Visual Age.
    Is there a wrong setting in the IDE or is it impossible to develop JSPs with
    the Integration Kit?
    Regards,
    Reinhard Maier
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
    arguments in method.
    if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
    Pack 6 09/20/2000 21:03:19 #84511")) return true;
    ^
    1 error
    java.io.IOException: Compiler failed
    executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
    , "D:\Programme\IBM\VisualAge for
    Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
    java\ide\project_resources\Weblogic Java 2
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Java Enterprises Libraries;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Support
    Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
    icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
    jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
    rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
    ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
    \Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
    java.lang.Throwable(java.lang.String)
    java.lang.Exception(java.lang.String)
    java.io.IOException(java.lang.String)
    void
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
    void weblogic.utils.compiler.CompilerInvoker.compile()
    void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
    javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, boolean)
    void
    weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
    tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    javax.servlet.Servlet
    weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
    al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
    weblogic.servlet.internal.ServletStubImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    int
    weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
    t.MuxableSocketHTTP)
    int weblogic.socket.MuxableSocketHTTP.invokeServlet()
    void
    weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
    void weblogic.kernel.ExecuteThread.run()
    Mo Jan 08 12:00:03 GMT+01:00 2001:<E> <ServletContext-General> Servlet
    failed with Exception
    java.io.IOException: Compiler failed
    executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
    , "D:\Programme\IBM\VisualAge for
    Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
    java\ide\project_resources\Weblogic Java 2
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Java Enterprises Libraries;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
    java\ide\project_resources\WebLogic Server
    Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
    Support
    Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
    icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
    jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
    rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
    ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
    \Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
    D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
    java.lang.Throwable(java.lang.String)
    java.lang.Exception(java.lang.String)
    java.io.IOException(java.lang.String)
    void
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
    void weblogic.utils.compiler.CompilerInvoker.compile()
    void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
    javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, boolean)
    void
    weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
    tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    javax.servlet.Servlet
    weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
    al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
    ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
    weblogic.servlet.internal.ServletStubImpl)
    void
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
    internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
    int
    weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
    t.MuxableSocketHTTP)
    int weblogic.socket.MuxableSocketHTTP.invokeServlet()
    void
    weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
    void weblogic.kernel.ExecuteThread.run()

Maybe you are looking for

  • Can anyone tell me how to find my network password

    I've just managed to get my iMac and my MacBook Pro set up for sharing.  On the MacBook Pro: when I clicked finder, go, connect to server and then put my password in I was told it is invalid.  Wshen I tried the same thing on the iMac: the password wa

  • How to stop Time Machine from deleting historical backups

    So for the first time I encountered what happens when Time Machine runs out of room - IT DELETES THE OLDEST BACKUPS UNTIL IT HAS ENOUGH ROOM!!! That's terrible if you rely on those backups. We've been using it like an archive and it's been spectacula

  • Error while starting Upgrade Assistant Server

    Hi everyone, I'm trying to upgrade a 4.7 System to ECC 6.0, but did not get very far. When I try to start the Uprgade Assistant Server using java -cp ua/ua.jar UaServer, I get the following error right after entering and conforming the password: java

  • Suggestions for new audio player for

    Hi all. I am now in the market for a new digital audio player. I had a Creative Zen Micro, that succumbed to the infamous headphone jack. Now, due to Walmart's almighty warranty service program, I have a check for $250. I have been looking at the Vis

  • Adding Clip art and text

    I am fine tuning my Premeire Elements Video and adding music, text and some clip art. I am using Premiere 8. When I add clip art and text it goes in fine but when I do a preview playback the text and or the clip art fanishes before the end of the cli