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.

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 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]

  • 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

  • What is the proper way to deploy a Web application, that was developed in Visual Age for Java Professional edition 4.0 IDE, to iPlanets Web server Enterprise edition 6.0?

     

    Oh man it looks like a problem with the web server.
    Its an error that happens on SAP, even my dad reported an error like this to me but i wasn't able to solve it.
    What i find is that its an error with browser incompatibility,
    Check this http://scn.sap.com/message/10338540

  • Create header file from Visual Age

    Hi, everyone! I write some java code that uses JNI, so I have to create java header file, but not with javah -jni command, but from Visual Age. I am new to Visual Age, so if anyone can help I'll be very grateful.

    It will take a lot to write down the whole process. You don't need create any xml file. All you do is creating a jar file that contains you bean, save it in WebSphere and using WebSphere's UI to deploy the beans in the jar file. This link may be useful and if it doesn't, you should be able to find more on IBM's site.
    http://www7b.boulder.ibm.com/wsdd/library/tutorials/vajwebsph35/1200_rickweaver_index.html
    PC

  • Error in Visual Editor for java with eclipse

    hello eb
    till i ysterday i used visual editor for java with eclipse normally without any problem but to day when i opened eclipse it display me this error :
    Error trying to set new File into editor
    Motif : java.lang.NullPointerException
    and i think that the problem comes from the visual editor plugin because when i add a new frame or even for the old frame it dosent display for me the graphical component like every time
    if si has the solution or can advise me thank you alot and i really dont know what to do .
    it is for my stydy project and i have to finish xorking as fast as possible so if so can help me

    well this forum here is the official java-forum by Sun.
    you are asking for help on Eclipse, a software made by IBM since the cooperation between the two werent that bright all the time.(hence the name eclipse)
    i just looked a few hours myself, and the latest version of the VE was suited for 3.0.2, the version fitting to the latest 3.1 build of eclipse, was still just a release candidate.
    wait a few days/weeks for a final build and retry.

  • Transfer source code from visual age java to sun java studio creator

    How can i transfer my souce code that was writen in visual age java 4.0 version to sun java studio creator

    Hi,
    You can try the following:
    From the File menu choose Add Existing Item. Under this option you have Web page, Image file, Stylesheet, Java source and Other files. This should allow you to add existing items.
    I hope this helps
    Cheers
    Giri :-)
    Creator Team

  • Catch event from Web Dynpro for Java

    Dear guru's,
    we have a working Web Dynpro for Java. It delivers a company code that needs to be routed to a visual composer model. In the Web Dynpro we use the WDPortalEventing.fire command to trigger an event named 'ShowCompanyCode' in namespace com.sap.vc:epcm. In the visual composer, I used a 'signal in' for the same namespace and event name. However, the supplied value for the company code is not received. Both iviews (from VC and Web Dynpro) are on one page.
    I have enabled the flash debug console and did some testing with a VC model that consists of two iviews on one page. Here it does work. I have found some differences in the debug output that points in a direction.
    In the case of the VC iviews, I get the following string in the debug console: signalinAHAPP -<Params version="2" ><Row STR1="1000" /></Params>. This results in a correct transfer of company code value '1000'.
    When getting the info from the Web Dynpro iview, I get the following string:  signalinAHAO8 -1000. It seems that the web dynpro does not supply the values in a correct way. However, the same mechanism is used to supply the data to another web dynpro iview and that works fine.
    Do we have to use special coding to be able to fire the event to a VC iview? Any help will be appreciated and points will be awarded!
    Thanks,
    Arno

    A. Van de Camp,
    You can create two iViews that communicate with each other on the same page, using client-side eventing, so that the output of the first iView serves as the input to the second. Eventing in the portal is based on the use of the Enterprise Portal Client Manager (EPCM), an object defined by the portal client framework to handle functions such as client eventing.
    To define eventing between an iView created and existing in the portal(web dynpro iview), and an iView created in Visual Composer:
    1.Check the properties of the existing portal iView and find out its EPCM event name.
    2. In Storyboard, open the iView that is to be the second part of the eventing scenario and create the required port: as input or as output.
    3. Double-click the newly-created port and in the Configure Element task panel, enter the portal event name in the Signal name field and the EPCM event in the EPCM event field.
    Regards,
    Sami

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • Printing from SAP GUI for JAVA on linux

    Hi All,
    What are the settings to be made in SPAD for printing from sapgui for java on linux ?
    We are using SAP GUI for JAVA 700 .
    Regards,
    Vinod

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

  • Hi. I'm looking for something like MSDN from Microsoft but for JAVA.. ?

    Hi, I've learning java from some books, but I want someting like MSDN but for JAVA, is it exist?
    I'd like it so much. I have API documentation, but it's a little difficult learn somethig from it.
    What do you recomend to me ?
    Do you knowk something like a BIBLE or MSDN for JAVA ?.
    thanks.

    Thank you guys.
    I'm starting java with debian, now. This is so hard for me. but I'm going to resist to come back at hands of MICROSOFT and his XP.
    I like the tutorials, and I have to do a lot of work with them now.
    However, I hope find something good technicial then.
    I'm a little confuse, what is the difference between CORE API DOCS, JDK Programmer Guides
    Java? Platform, Standard Edition 6
    API Specification
    and..
    JDKTM 6 Documentation
    in easy words please...
    thanks.

  • Use HTTP Session to pass Object from Web Dynpro for Java to JSP page

    Is it possible to get a handle on the HTTP Session object from within a Web Dynpro application? I want to place a Java object in there that can be retrieved by a JSP page.
    Thanks in advance.

    Hi Tom Cole,
       You can try this. i am not sure if this will work or not.
    HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
    You can also try this.
    IWDRequest mm_request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    HttpServletRequest request = (HttpServletRequest)mm_request.getProtocolRequest();
    IWDRequest basically wraps the HttpServletRequest. if you are using NW04s then the getProtocolRequest() may not be available.
    Regards,
    Sanyev

  • IBM Visual Aid for Java problem...Help

    Hi All
    Can anyone help..?
    I've downloaded IBM Visualaid and tried to run java classes which I downloaded from java.sun.com (from the tutorials they provide) but when I try to run them on IBM VAid I keep getting errors..
    Example:
    the following code is from the sun java tutorials and should run on VAid but it doesn't ..
    import java.util.Timer;
    import java.util.TimerTask;
    * Simple demo that uses java.util.Timer to schedule a task to execute
    * once 5 seconds have passed.
    public class Reminder {
    Timer timer;
    public Reminder(int seconds) {
    timer = new Timer();
    timer.schedule(new RemindTask(), seconds*1000);
    class RemindTask extends TimerTask {
    public void run() {
    System.out.println("Time's up!");
    timer.cancel(); //Terminate the timer thread
    public static void main(String args[]) {
    System.out.println("About to schedule task.");
    new Reminder(5);
    System.out.println("Task scheduled.");
    Have anyone tried to run this code on IBM VAid
    am I missing something
    Many thanks

    Hello again
    I just tested the following code and it works fine on IBMVA but still no success with the first code I posted above...
    public class Countdown
    public Countdown()
    super();
    public static void main(String[] args)
    throws java.lang.InterruptedException
    int countdown = 10;
    while(countdown>0)
    System.out.println(countdown);
         if(countdown==3)
    System.out.println("Ignition!!");
    countdown--;
    Thread.sleep(1000);
         System.out.println("Lift Off!!");
    When I typed the code and saved it in IBMVA, it was divided into two parts
    1.the name of the class I used (Countdown)
    2.main(String[] )
    and runs correctly..
    Thanks again to who ever can help

  • 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.

Maybe you are looking for

  • Load data error: Database selection with invalid cursor (sm21)

    hi experts, when I execute processchar, it occur some system error: "Database selection with invalid cursor ", "Documentation for system log message BY 7 : The database interface was called by a cursor (in a FETCH or CLOSE cursor operation) that is n

  • Can I convert a file into a PDF in Adobe Reader and automatically attach it in the Reader?

    I understand that I can merge files online.  What I'd like to do is have my original PDF open and convert an Excel sheet into a PDF that is attached to the original PDF within Reader.  Being able to do all of this in one place is the main reason I'm

  • Illustrator CS3 grays out and locks when using Save or Save As

    In the past few days everytime I try to save an existing or new file with Save or Save As i see the save dialog box flash and then the whole program locks and grays out. The only way to close is to do a control-alt-delete. This happens for new files

  • Should ClamAV be running while Email & iCal turned off?

    I have a 10.6.5 Xserve with errors logged about the ClamAV installation begin outdated. The server incorrectly had iCal server running (but never used), which I have turned off, expecting it to also stop the ClamAV errors. Even after a reset to ensur

  • Trx MM01.

    Hi, how can I set in MM01 trx in field Industry sector the default value <b>Mechanical engineering</b>? Best regards