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

Similar Messages

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

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

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

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

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

  • 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

  • Visual age problem - importing packages

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

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

  • 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

  • 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()

  • Visual Age 3.5 and Weblogic Intergration Kit (License Expired, please Contact BEA Systems Inc)

    Hi,
    I started to run the Weblogic Server on my machine yesterday and I suddenly got
    this error:
    "License Expired, Please Contact BEA Systems Inc"
    This is the message I got on the Visual Age Console:
    "Invalid BEA WLS Integration Kit License. Please cantact BEA"
    I was able to run Weblogic Server until the past 2 weeks. I tried to re-install
    the whole Visual Age 3.5
    and as well as the Integration Kit I download from the Weblogic website and I
    still get the same
    problem. Can somebody help me with this. I haven't upgraded to 3.5.3 yet.
    Thanks
    Sameera

    Sameera,
    The Kit available from the BEA website is an evaluation version. You need to
    contact BEA Sales for a permanent license.
    Thanks,
    Nirav.
    Sameera Balay wrote:
    Hi,
    I started to run the Weblogic Server on my machine yesterday and I suddenly got
    this error:
    "License Expired, Please Contact BEA Systems Inc"
    This is the message I got on the Visual Age Console:
    "Invalid BEA WLS Integration Kit License. Please cantact BEA"
    I was able to run Weblogic Server until the past 2 weeks. I tried to re-install
    the whole Visual Age 3.5
    and as well as the Integration Kit I download from the Weblogic website and I
    still get the same
    problem. Can somebody help me with this. I haven't upgraded to 3.5.3 yet.
    Thanks
    Sameera--
    Nirav Chanchani
    BEA Systems, Inc.

  • Weblogic 5.1 and Visual Age 3.5

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

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

  • 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

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • Getting an Error while installing Microsoft Visual Studio 2013

    Hi team
    I am getting an error while installing Microsoft Visual Studio 2013
    PFB error : this version of visual studio requires a computer with a never version of windows
    P.S. I am having Windows  7 64 bit processor , van you please advise  ASAP

    Hi Kanchan Gandhi,
    A similar issue is addressed here, hope it’s helpful.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/127869c4-7e00-450d-b7fc-1b3cd11ebf07/this-version-of-visual-studio-requires-a-computer-with-a-newer-version-of-windows?forum=vssetup
    This is system requirement of Visual Studio 2013:
    http://www.visualstudio.com/products/visual-studio-2013-compatibility-vs
    If there is anything I can do for you regarding this issue, feel free to post back.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Error: Unresolved ejb-link :

    I want to call a session bean from a servlet.while deploying i am getting the error
    Error: Unresolved <ejb-link>:
    I am using Netbeans 6.0 IDE. here i am posting my code.
    Calling code in servlet :
    Context ctx = new InitialContext();
    Object objref = ctx.lookup("java:comp/env/ejb/Etrack");
    testBean=(MyHome)PortableRemoteObject.narrow(objref,MyHome.class);
    web.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <servlet>
    <servlet-name>MyClientServlet</servlet-name>
    <servlet-class>MyClientServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MyClientServlet</servlet-name>
    <url-pattern>/MyClientServlet</url-pattern>
    </servlet-mapping>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Etrack</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>MyHome</local-home>
    <local>MyRemote</local>
    <ejb-link>Etrack</ejb-link>
    </ejb-local-ref>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    My ejb-jar.xml :
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <display-name>Etrack Bean</display-name>
    <ejb-name>Etrack</ejb-name>
    <local-home>MyHome</local-home>
    <local>MyRemote</local>
    <ejb-class>MyEjbClass</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-local-ref>
    <ejb-ref-name>ejb/Etrack</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>MyHome</local-home>
    <local>MyRemote</local>
    <ejb-link>Etrack</ejb-link>
    </ejb-local-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>Etrack</ejb-name>
    <method-intf>Local</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>NotSupported</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    My sun-ejb-jar.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 EJB 2.1//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-1.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <ejb>
    <ejb-name>Etrack</ejb-name>
    <stateless-session-descriptor>
    <bean-pool>
    <steady-pool-size>10</steady-pool-size>
    <resize-quantity>10</resize-quantity>
    <max-pool-size>100</max-pool-size>
    <pool-idle-timeout-in-seconds>600</pool-idle-timeout-in-seconds>
    </bean-pool>
    </stateless-session-descriptor>
    <jndi-name>ejb/Etrack</jndi-name>
    <pass-by-reference>true</pass-by-reference>
    <ejb-ref>
    <ejb-name>Etrack</ejb-name>
    <ejb-ref-name>ejb/Etrack</ejb-ref-name>
    <jndi-name>ejb/Etrack</jndi-name>
    </ejb-ref>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    Can anyone help me in resolving this issue.It will be a great help for me.Thanks in advance

    You could always try removing the ejb-link, and see if the container can inject a reference in the runtime environment (accessible using jndi java:comp/env/ejb/Etrack).
    If it doesn't, check these:
    1) http://www.redhat.com/docs/manuals/rhaps/jonas-guide/ch-beans-ejbref.html
    2) the ejb 2.0 spec, which the original poster was using (although this is the same in 2.1 and 3.0), states the folowing:
    +20.3.2 Application Assembler&rsquo;s responsibilities+
    The Application Assembler can use the ejb-link element in the deployment descriptor to link an*
    EJB reference to a target enterprise bean.*
    The Application Assembler specifies the link between two enterprise beans as follows:*
    +&bull; The Application Assembler uses the optional ejb-link element of the ejb-ref or+
    ejb-local-ref element of the referencing enterprise bean. The value of the ejb-link*
    element is the name of the target enterprise bean. (It is the name defined in the ejb-name element*
    of the target enterprise bean.) The target enterprise bean can be in any ejb-jar file in the*
    same J2EE application as the referencing application component.*
    +&bull; Alternatively, to avoid the need to rename enterprise beans to have unique names within an+
    entire J2EE application, the Application Assembler may use the following syntax in the*
    ejb-link element of the referencing application component. The Application Assembler*
    specifies the path name of the ejb-jar file containing the referenced enterprise bean and*
    appends the ejb-name of the target bean separated from the path name by # . The path name*
    is relative to the referencing application component jar file. In this manner, multiple beans with*
    the same ejb-name may be uniquely identified when the Application Assembler cannot*
    change ejb-names.*
    +&bull; The Application Assembler must ensure that the target enterprise bean is type-compatible with+
    the declared EJB reference. This means that the target enterprise bean must be of the type indicated*
    in the ejb-ref-type element, and that the home and component interfaces of the target*
    enterprise bean must be Java type-compatible with the interfaces declared in the EJB*
    reference.*
    The following illustrates an ejb-link in the deployment descriptor.*
    +...+
    *+<enterprise-beans>+*
    *+<session>+*
    +...+
    *+<ejb-name>EmployeeService</ejb-name>+*
    *+<ejb-class>com.wombat.empl.EmployeeServiceBean</ejb-class>+*
    +...+
    *+<ejb-ref>+*
    *+<ejb-ref-name>ejb/EmplRecord</ejb-ref-name>+*
    *+<ejb-ref-type>Entity</ejb-ref-type>+*
    *+<home>com.wombat.empl.EmployeeRecordHome</home>+*
    *+<remote>com.wombat.empl.EmployeeRecord</remote>+*
    *+<ejb-link>EmployeeRecord</ejb-link>+*
    *+</ejb-ref>+*
    +...+
    *+</session>+*
    +...+
    *+<entity>+*
    *+<ejb-name>EmployeeRecord</ejb-name>+*
    *+<home>com.wombat.empl.EmployeeRecordHome</home>+*
    *+<remote>com.wombat.empl.EmployeeRecord</remote>+*
    +...+
    *+</entity>+*
    +...+
    *+</enterprise-beans>+*
    +...+
    The Application Assembler uses the ejb-link element to indicate that the EJB reference &ldquo;Empl-*
    Record&rdquo; declared in the EmployeeService enterprise bean has been linked to the EmployeeRecord*
    enterprise bean.</stro
    The following example illustrates using the ejb-link element to indicate an enterprise bean reference*
    to the ProductEJB enterprise bean that is in the same J2EE application unit but in a different ejb-jar*
    file.*
    *+<entity>+*
    +...+
    *+<ejb-name>OrderEJB</ejb-name>+*
    *+<ejb-class>com.wombat.orders.OrderBean</ejb-class>+*
    +...+
    *+<ejb-ref>+*
    *+<ejb-ref-name>ejb/Product</ejb-ref-name>+*
    *+<ejb-ref-type>Entity</ejb-ref-type>+*
    *+<home>com.acme.orders.ProductHome</home>+*
    *+<remote>com.acme.orders.Product</remote>+*
    *+<ejb-link>../products/product.jar#ProductEJB</ejb-link>+*
    *+</ejb-ref>+*
    +...+
    *+</entity>+*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Does Final Cut Express support ProRes 1080p?

    Does Final Cut Express support ProRes 1080p?

  • Burning CD's/DVD's

    Hi, I'd like to be able to burn .wmv, .avi, etc. files onto DVD-R's mainly, and be able to view what I've recorded in DVD Players, which are capable of reading everything there is out there. I know how to do a simple burn of data/files, but I remembe

  • Remote debugging not working in intex cloud fx

    I followed the steps given in mozilla support to connect for remote debugging. but the app manager is unable to detect the phone. I tried for 'lsusb' to detect check usb connection and found the following as it detects the device: Bus 001 Device 006:

  • Attaching search criteria to a site

    Hi! Is there a way to attach search criteria to a site. I mean... when you are constructing a site in dreamweaver, is there a way to sort of attach search words to the site. So that when people search for those words on google, your site comes up. Fo

  • FileNotFoundException when file is present.....

    Please read the code below and tell me whats wrong....this cropped up suddenly... public class Hi { public Hi() { public static void main(String[] args) throws Exception { FileOutputStream fo = new FileOutputStream("trail"); fo.write(10000000); fo.cl