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]

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.

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

  • 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

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

  • Online materials for learning Javascript, JSP and EJB

    I am a core java programmer, not aware of J2EE stuffs. Please let me know the best online resources for learning Javascript, JSP and EJB
    Thanks,
    Gautam

    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBConcepts3.html
    http://otn.oracle.com/sample_code/tech/java/codesnippet/j2ee/ejbbestpractices/ejb-best.html#pattern
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSPIntro.html
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    http://home.cogeco.ca/~ve3ll/jstutor5.htm
    http://www.pageresource.com/jscript/j_a_02.htm
    I think will do

  • Adobe illustrator asks for Java SE 6 and the link doesn't work at Apple

    Adobe illustrator asks for Java SE 6 (a legacy installation) and won't run without it. The link to the legacy version at Apple goes to an error page ("too many redirects") Does anyone have a solution? Has something  changed recently. The mac help page is dated March 27, 2015, but the link at for Java SE 6 results in an error for me.

    Try this: Apple Java 2014-001.

  • New in Kodo 3.3.3: Improved support for Java 5 enums and generics?

    Hello,
    Can anybody tell me if Kodo 3.3.3 can be deployed on WebLogic 8.1 sp4, jdk
    1.4.1? The reason I ask this is because one of the features mentioned for
    v3.3.3 is the support for Java 5 generics, which is available on WebLogic
    9 -- but not in WebLogic 8.1 sp4. The documentation for Kodo 3.3.3 seems
    to indicate that it can be deployed on WebLogic 8.1 -- can anyone tell me
    if this is accurate?
    Thanks for your help!

    Correction:
    I think that my question may have been misunderstood. What I want to know
    is if Kodo 3.3.3 can be deployed on WebLogic 8.1sp4 which is running JDK
    1.4 or do I have to deploy on a newer version of WebLogic that is running
    Java 5?
    Thanks!
    Rita wrote:
    I think that my question may have been misunderstood. What I want to know
    is if Kodo 3.3.3 can be deployed on WebLogic 8.1sp4 which is running JDK
    1.4 or do I have to deploy on a newer version of WebLogic that is running
    Java 4?
    Thanks!
    Stephen Kim wrote:
    Rita,
    While Kodo 3.3.x can work with JDK 5, it cannot make WL work with JDK 5.
    However, Kodo 3.4 RC 3 / 4.0 EA 2 both can work with WL 9 (which works
    with JDK 5).
    Rita wrote:
    Hello,
    Can anybody tell me if Kodo 3.3.3 can be deployed on WebLogic 8.1 sp4,
    jdk
    1.4.1? The reason I ask this is because one of the features mentionedfor
    v3.3.3 is the support for Java 5 generics, which is available on WebLogic
    9 -- but not in WebLogic 8.1 sp4. The documentation for Kodo 3.3.3 seems
    to indicate that it can be deployed on WebLogic 8.1 -- can anyone tell me
    if this is accurate?
    Thanks for your help!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • JNDI tree access for code outside servlets and EJBs and JSPs

    Can code outside EJBs, Servlets and JSPs have access to the JNDI tree?
    For example, in a web application, web.xml has a env-entry declaration which I want to access from a POJO which is called by a JSP in the web app. Is this permissible?

    Can code outside EJBs, Servlets and JSPs have access
    to the JNDI tree?
    For example, in a web application, web.xml has a
    env-entry declaration which I want to access from a
    POJO which is called by a JSP in the web app. Is
    this permissible?Yes. Read the JNDI tutorial.

  • Graphical benchmark for Java (J2ME) phones and PDAs: JBenchmark

    JBenchmark measures the performance of Java (J2ME) enabled phones and PDAs, by running 5 small tests, each lasting for 10 seconds:
    1. Text
    2. 2D Shapes
    3. 3D Shapes
    4. Fill Rate
    5. Animation
    Check results and download software at www.jbenchmark.com!

    Wow.. i thought I bought a good phone. But reading the JBenchmark for the SonyEricsson T610 wasn't fun at at all. Are other phones really up to 3 times faster? Anyone with experiance from testing with other phones?

  • Sun java Enterprise Studio and ejb diagrams

    Can I use the studio to create ejb diagrams?
    If so, can I use the studio to reverse engineering existing ejbs and create these diagrams?

    Can you clarify what you mean by EJB diagrams. You can create class diagrams that have model elements that represent EJB objects.
    The UML tool has support for design patterns. We have a couple of design pattern catalogs that provide some EJB support. You can even graphically create you own design patterns.
    The UML project will also reverse engineer Enterprise projects and create a UML model. With the UML model you can create UML diagrams.
    Can you give me any information about EJB support that you would like to see in the UML tool?

  • Help, payed $20 for java on cd and book but i cant get it to work

    someone please help me, im trying to learn java to do a project for my church but after i installed it and everything was as it should be, i cant figure out how to use it, i am so confused, i am used to using things like borlans java compiler but i cant get this version to work can someone please help me, im so stressed out.. and if you dont mind could u email ur responce to [email protected] i dont check the same pages over and over again verry often. thnks :-)

    Ben,
    this tutorial will open the door to java programming.
    Any Qs ask.
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

  • How to transport Web Dynpro for Java to Quality and Production

    Hi experts,
    I am about to start my first Web Dynpro application, local on my PC. How can I make it available than in quality and production system?
    Thank you very much.
    Best regards,
    Danijela

    Hi,
    If ur quality and production system can be used through the DTR only.
    If u have authrization then u can directly chek in the files or application.
    Otherwise u can send the Zipfile(Application)to be sent to ur coordinator then he will check in the Application into DTR.
    For the Quality and productionsytem can be used Ear file from the DTR.
    Thanks
    Lohi.

Maybe you are looking for

  • Sales order stock from Projects

    Dear Gurus, The Scenerio is, I am procuring materials through project. Generally it will go into project stock, If it is mentioned as a stock item. But my requirement is, the procured material has to go into salesorder stock.( Bcoz delivery of materi

  • Vendor Numbering

    Does anyone have experience customizing vendor numbers?  Rather than have system assigned numbers my client is proposing a mix of external and internal number assignments, including smart numbering combining a mix of numeric and alpha numeric identif

  • Data transfer from Time Capsule to new Mac

    I have a MBP which up until 7 days ago had Mountain Lion on it.  The week before that, i had major abdominal surgery and when i was in the hospital, i accidentally knocked a bottle of water over and it fried my MBP. I would not turn on after that. I

  • Use a windows dvd drive to install bootcamp windows

    Hi! I know it is possible, I looked up google about it but it's pretty difficult to find... My macbook's dvd drive is broken and I don't have enough money to buy another one nor another external dvd drive. So I would like to use my girlfriend's lapto

  • Hard to see multiple tabs without their favicon icons?

    HI thanks for reading this. It's time for me to consider using Safari as my default browser as it makes better sense as I have retina display now. I like the extensions that come with Safari, but a little surprised there's so little out there. There