Problem running Java client of EJB deployed on WebSphere

Hi,
I am using websphere studio 5.1.2 with fix pack 3. I have a sample Stateless Session Bean (EJB) deployed and running on websphere.
I wrote a small Java client program as below.
import java.util.Hashtable;
import HelloJavaHome;
import HelloJava;
import javax.naming.InitialContext;
import javax.naming.Context;
import javax.ejb.EJBHome;
import javax.ejb.EJBObject;
public class RemoteConn {
public static void main(String[] ar) throws Exception{
String greeting = "";
try{
Hashtable env = new Hashtable();
//env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
//env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ejs.ns.jndi.CNInitialContextFactory");
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ws.naming.util.WsnInitCtxFactory");
//env.put(Context.PROVIDER_URL, "corbaloc:iiop:myhost.mycompany.com:2809/NameServiceCellPersistentRoot");
env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
System.out.println("Before creating context ");
InitialContext initContext = new InitialContext(env);
System.out.println("Before looking up HelloJavaHome.");
//Object obj = initContext.lookup("java:comp/env/ejb/HelloJavaHome");
Object obj = initContext.lookup("ejb/HelloJavaHome");
System.out.println("After lookup javahome.");
HelloJavaHome home = (HelloJavaHome) javax.rmi.PortableRemoteObject.narrow(obj, HelloJavaHome.class);
HelloJava remote = home.create();
greeting = remote.getGreeting("John");
catch(Exception e){
e.printStackTrace();
System.out.println("Greeting::"+ greeting);
I did not have any problem if I write and run this client from Websphere studio environment..
However its giving lot of compilation and runtime errors when I tried to run from command line.
I could eliminated compilation errors by setting the below jar files in the classpath.
testclient.jar; (client jar of my EJB)
j2ee.jar;
naming.jar;ras.jar;
wsexception.jar;
bootstrap.jar;
namingclient.jar;
websphere.jar;server.jar;
ejbcontainer.jar;
ecutils.jar;
Now it is throwing runtime error after the statement, "Before looking up HelloJavaHome.", has printed. Here is the stack trace of exception ..
Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.CORBA.iiop.GlobalORBFactory
at com.ibm.ejs.oa.EJSORBImpl.class$(EJSORBImpl.java:44)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:195)
at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:93)
at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:65)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:385)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:369)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at RemoteEJBConn.main(RemoteEJBConn.java:38)
I appreciate if sombody could help me ASAP fixing this problem.
Thanks in advance.

Try using the IBM JVM (theres one shipped with WebSphere in websphere_home\AppServer\java
Also include idl.jar and ffdc.jar on the classpath

Similar Messages

  • How to call EJB deployed on websphere from JSP running on Tomcat?

    I am trying to establish communication between two app servers. I have a sample EJB deployed on Websphere and wish to call its business methods from a JSP page which is running on Apache Tomcat server. (ie) Tomcat is client to websphere. Is it possible to do? If so, what are the client Jar files of websphere that I should make available to JSP page on Tomcat? Do I need to set any Jars in Tomcat environment variables? Lood forward for your immediate help. Thanks in advance

    Please see the thread
    http://forum.java.sun.com/thread.jspa?threadID=514536.
    Hope that helps..

  • Problem running java applications on Mac Mini.

    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    I downloaded and reinstalled java from Oracle website, but the problem remains unsolve.
    Anyone can help me?
    Thanks in advance.
    Carlos.

    azofra1 wrote:
    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    What error indications do you get? You have to enable error logging in the Java Control Panel to see the details.

  • Design Problem : How to design/code a java client which is deployed to all the machines in a cluster and make sure that only one of the java client is active

              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

    Hi Nisha,
              Failover message listeners? Sounds like you want MDBs, which are deployed on all nodes in a
              cluster. If your JMS destination is a queue, then only one MDB will pick up the message. And just
              like any other ejb service, MDBs failover.
              Gene
              "Nisha" <[email protected]> wrote in message news:[email protected]..
              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

  • Memory leak in a client using EJBs deployed in a Bea Weblogic 10.0.0 cluste

    Hi all,
    We are having a memory leak in a client using stateless EJBs deployed in cluster. The client is a Tomcat 6.0.18 with java 6 but it is reproduced using Tomcat 5 with java 5. The client is calling a Weblogic Server 10.0 making
    calls to an EJB deployed in cluster that has two instances installed in two different machines.
    The client works fine if we shutdown one of the server instances and so when the client is using only one instance.
    Resuming the environment:
    Client Side:
    1 HP-Itanium machine with HP-UX.
    1 Tomcat 6 with java 6 (reproduced with java 5)
    Bea Weblogic client (wlclient.jar) for Weblogic 10.0.0
    Server Side:
    2 HP-Itanium machines with HP-UX
    Bea Weblogic Server 10.0.0 installed in both machines
    An unique domain
    Two Bea instances (one per machines) associated to a Bea Cluster
    EJBs deployed in both instances
    We have monitored the memory consumed in Tomcat and we have noticed that the VM memory PS OLD GEN grows up permanently when we make tests having the two server side Bea Instances up. We have extended
    the memory VM parameters in Tomcat client till 1G and it's only a way to delay the end: the free memory is empty, the GC is not able to free no more byte and the CPU is 100% consumed by the GC work. At the end Tomcat Client
    doesn't accept more http petitions and must be restarted.
    Besides, we have studied the VM memory in Tomcat using jmap and importing it using Eclipse Memory Analyzer. We have seen some strange memory blocks of several Mbytes that are always growing up and that are stored
    under data structures in the package com.sun.corba:
    com.sun.corba.se.impl.legacy.connection.SocketFactoryConnectionImpl (4.5Mb)
    |
    -> com.sun.corba.se.impl.transport.CorbaResponseWaitingRoomImpl
    |
    -> java.util.Hashtable
    |
    -> java.util.Hashtable$Entry
    |
    -> java.util.Hashtable$Entry
    -> java.util.Hashtable$Entry
    -> java.util.Hashtable$Entry
    Has anybody any idea about this problem?
    Thanks in advance.

    Hi all,
    We are having a memory leak in a client using stateless EJBs deployed in cluster. The client is a Tomcat 6.0.18 with java 6 but it is reproduced using Tomcat 5 with java 5. The client is calling a Weblogic Server 10.0 making
    calls to an EJB deployed in cluster that has two instances installed in two different machines.
    The client works fine if we shutdown one of the server instances and so when the client is using only one instance.
    Resuming the environment:
    Client Side:
    1 HP-Itanium machine with HP-UX.
    1 Tomcat 6 with java 6 (reproduced with java 5)
    Bea Weblogic client (wlclient.jar) for Weblogic 10.0.0
    Server Side:
    2 HP-Itanium machines with HP-UX
    Bea Weblogic Server 10.0.0 installed in both machines
    An unique domain
    Two Bea instances (one per machines) associated to a Bea Cluster
    EJBs deployed in both instances
    We have monitored the memory consumed in Tomcat and we have noticed that the VM memory PS OLD GEN grows up permanently when we make tests having the two server side Bea Instances up. We have extended
    the memory VM parameters in Tomcat client till 1G and it's only a way to delay the end: the free memory is empty, the GC is not able to free no more byte and the CPU is 100% consumed by the GC work. At the end Tomcat Client
    doesn't accept more http petitions and must be restarted.
    Besides, we have studied the VM memory in Tomcat using jmap and importing it using Eclipse Memory Analyzer. We have seen some strange memory blocks of several Mbytes that are always growing up and that are stored
    under data structures in the package com.sun.corba:
    com.sun.corba.se.impl.legacy.connection.SocketFactoryConnectionImpl (4.5Mb)
    |
    -> com.sun.corba.se.impl.transport.CorbaResponseWaitingRoomImpl
    |
    -> java.util.Hashtable
    |
    -> java.util.Hashtable$Entry
    |
    -> java.util.Hashtable$Entry
    -> java.util.Hashtable$Entry
    -> java.util.Hashtable$Entry
    Has anybody any idea about this problem?
    Thanks in advance.

  • Problems running JSP Client for ApplicationModule

    Hi All,
    I'm still having trouble getting a simple JSP client up and running for an AppModule. The AppModule tests okay using the java client, but when I try to run the main.jsp for my Module, it starts up with the following error. I've tried building several projects and have had no success with JSP.
    Does this really work? Has anyone here successfully gotten a JSP Client running?
    Thanks,
    Rich
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    log3: oracle.jsp.runner.JspRunner: init
    log3: Loading from CLASSPATH backend_AppModule.properties
    log3: Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput
    =silent to remove)
    [0] Diagnostic Properties: (from /oracle/jbo/common/Diagnostic.properties)log3:
    [1] Timing:false Functions:false Linecount:true Threshold:6log3:
    [2] CSMessageBundle (language base) being initializedlog3:
    log3: oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create a
    pplication module.
    log3: at oracle.jbo.server.ApplicationModuleHomeImpl.create(Compiled Code)
    log3: at oracle.jbo.common.appmgr.AppModuleInfo.getReservedAppModuleInstance(C
    ompiled Code)
    log3: at oracle.jbo.common.appmgr.AppRegistry.getAppModuleInstance(Compiled Co
    de)
    log3: at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPro
    pertyFile(Compiled Code)
    log3: at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPro
    pertyFile(Compiled Code)
    log3: at webapp1.main._jspService(main.jsp:7)
    log3: at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    log3: at oracle.jsp.runner.JspRunner.dispatch(Compiled Code)
    log3: at oracle.jsp.runner.JspRunner.service(Compiled Code)
    log3: at javax.servlet.http.HttpServlet.service(Compiled Code)
    log3: at oracle.lite.web.JupServlet.service(Compiled Code)
    log3: at oracle.lite.web.MimeServletHandler.handle(Compiled Code)
    log3: at oracle.lite.web.JupApplication.service(Compiled Code)
    log3: at oracle.lite.web.JupAppHandler.handle(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.include(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.forward(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.handleRequest(Compiled Code)
    log3: at oracle.lite.web.JupServer.handle(Compiled Code)
    log3: at oracle.lite.web.JupHTTPListener$JupHTTP.run(Compiled Code)
    log3: oracle.lite.web.workspace.WorkSpaceDevel: init

    Is the Appmodule running locally or as EJB in Oracle8i.
    Unable to create appmodule genrally is result of not all the required libraries in classpath.
    If you have deployed as EJB then in the project properties make sure that JBOEJBCLIENT and EJBSTUBS(Generated during deployment) are on top of the list.
    If this is not the scenario, give more details on your env.
    raghu
    null

  • Running the client in ejb

    i have written code for the following.
    *Remote Interface
    *Home Interface
    *Stateless SessionBean
    *Client Program
    how do i run the client program. Im using a jboss application server. what files should be kept in which folder to run the program...

    Verify if the connect.properties match your deployment mode viz Local, EJB or Oracle8i.
    Uday

  • Creating multiple stateful session beans from a java client. (EJB 3.0)

    I'm having difficulties with the following:
    To access the ShoppingCartBean, I have to put the following annotation in my standalone java client:
    @EJB
    private static ShoppingCartRemote shoppingCartBean;
    The static must be there, thus only one ShoppingCartBean will exist within my java client. But as the ShoppingCartBean is a stateful session bean, I want to be able to get different beans of the same type.
    What is the correct way to do this in EJB 3.0?

    Great question. Because Home interfaces have been removed for the EJB 3.0 simplified
    API, stateful session bean creation happens as a side-effect of injection. However, the
    same is true of EJB 3.0 business interface lookups. The easiest way to create additional
    stateful session beans is to lookup the same dependency that was declared via your
    @EJB annotation.
    E.g.,
    // Assuming the declaring class is pkg1.ShoppingCartClient.java
    InitialContext ic = new InitialContext();
    ShoppingCartRemote scr1 = (ShoppingCartRemote)
    ic.lookup("java:comp/env/pkg1.ShoppingCartClient/shoppingCartBean");
    Note that the name relative to java:comp/env is the default associated with your
    @EJB annotation since the name() attribute wasn't used. Alternatively, you
    could have used :
    @EJB(name="scb") private static ShoppingCartRemote shoppingCartBean;
    InitialContext ic = new InitialContext();
    ShoppingCartRemote scr1 = (ShoppingCartRemote) ic.lookup("java:comp/env/scb");
    Yet another alternative is to declare the @EJB at the class-level. This just defines
    the dependency without any injection, which is fine if you want to create a bunch of
    them via lookup anyway.
    @EJB(name="scb", beanInterface=ShoppingCartRemote.class)
    public class .... {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problems running Java.

    Hello,
    I have been using Safari for some time, and have not had problems before now. Every time I try to use a website running Java I get the error message:
    "+Java is unavailable.+
    +The page attempted to load Java content, but Java is unavailable or not installed. Do you want to go to a page where you can download Java?+
    +Go / Cancel+"
    I have downloaded the newest version of Java several times, tried to update Safari (but can't as I have newest version) and restarted my laptop twice.
    Also, I have checked that Java is enabled in Safari settings, and it is. Java is running with no problems in both Internet Explorer and Firefox.
    Nothing seems to be working, so any help would be greatly appreciated. I am running Vista on a Windows machine.
    On another note, I'm not sure if it is related, but whenever I go through links to things on the Apple website to open in iTunes, it keeps telling me iTunes is not installed, and links to the iTunes Store do not work. I have reported this bug already, but thought I should include it anyway.
    Thanks in advance,
    Liam

    Back to the theory that you've got two different problems going on at once, then.
    Working on the iTunes detector issue first.
    Quit both Safari and iTunes if you have them open.
    In Computer, open local disk C or whichever drive your program files are install on.
    Open the "Program Files" folder.
    Open the "iTunes" folder.
    Right-click on the "Mozilla plugins" folder and select Delete.
    Now go into your "Uninstall a program" control panel, select iTunes and click repair.
    (That should recreate the folder, which contains the files the Firefox and Safari iTunes detector plug-in uses.)
    Launch Safari. Do iTunes links work properly now?

  • Problem Web Services for Identity Manager deployed on WebSphere

    Hi, I've a problem with the Web Services. I'm tryng to lunch a JAVA class that execute this called: "http://localhost:9080/idm/servlet/rpcrouter2". This error return me: "No registered SPML handler".
    Identity Manager 5.0 sp4 is deployed on WebSphere 5..1
    I've just configured the SPML importing the spml.xml file and I've added tha jar package "openspml.jar" to WEB-INF/lib directory. I've also added to the CLASSPATH the link to this jar and the link to WEB-INF\lib.
    How can I do??

    You will have to include the servlet(SPML Handler) in your web.xml.

  • Problem with database access in EJB deployment to SJSAS on remote deploy

    Hi,
    I have deployed an Enterprise application containing an EJB3.0 module to a remote sun application server (Edition 9.0_01 (build b02-p01))
    using a mysql ver 5 DB with connector
    mysql-connector-java-5.0.0-beta-bin.
    It is being used by a swing application client deployed as a module of a separate Enterprise application.
    The client can access the session beans but when the EJB tries to create a query with the entity manager the client fails and the following exception appears in the log.
    Timestamp:     
    Aug 20, 2007 09:36:38.910
    Log Level:     
    INFO
    Logger:     
    javax.enterprise.system.container.ejb
    Name-Value Pairs:     
    _ThreadID=21;_ThreadName=p: thread-pool-1; w: 7;
    Record Number:
    2239
    Message ID:
    javax.ejb.EJBTransactionRolledbackException at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java
    Complete Message
    1373)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1290)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:192)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:71)
         at $Proxy329.findAll(Unknown Source)
         at test.TestGuyBean.getTheWordGreat(TestGuyBean.java:36)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:190)
         at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:67)
         at $Proxy323.getTheWordGreat(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is:
    java.lang.IllegalArgumentException:
    An exception occured while creating a query in EntityManager
         at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3588)
         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3436)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
         ... 30 moreThis is a result of a test portion of the application, but similar results occur when the actual application is run.
    The "at test.TestGuyBean.getTheWordGreat(TestGuyBean.java:36)" is
    being invoked by the client and "$Proxy329.findAll(Unknown Source)" is where the query is constructed.
    The code is as follows
    public String getTheWordGreat(String bob){
            String s = "abcdefgh ";
            List<MobileDialingCodes> c =  mobileDialingCodesFacade.findAll();
            for (MobileDialingCodes elem : c) {
                s += elem.getNumber() + " ";
    //        System.out.println("bob");
            return s;
    public ArrayList<MobileDialingCodesHC> getAllDialingCodes(){
            List allCodesEJB = findAll();
            ArrayList<MobileDialingCodesHC> allCodesHC = new OurArrayList();
            for (Object elem : allCodesEJB) {
                allCodesHC.add(convertEJBtoHC((MobileDialingCodes)elem));
            return allCodesHC;
    }The default config for the application is used and the application
    uses the netbeans defaults. Netbeans 5.5. Toplink persistence manager.
    Any suggestions would be appreciated.
    null

    Did you try after restarting the iAS server?

  • Problems running DII client for consuming webservices

    Hello webservices experts,
    am running into problems - when I try running my DII client for a webservice that I've successfully deployed on j2sdkee1.4.
    The exception goes like this
    java.rmi.RemoteException: JAXRPC.JAXRPCSERVLET.28: Missing port information
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:462)
    I've searched this forum and others as well. Although a lot of people seem to be having this problem nobody seems to have got it solved. Any way out? The client is a mere copy paste of the DII client example in j2eetutorial 1.4

    Solved it ! Some endpoint alias problem during deployment ! Now works fine !

  • Problem running a client

    Hi,
    we are having difficulties accessing EJBs that are deployed to oracle 9ias
    We get
    [Root exception is org.omg.CORBA.UNKNOWN: minor code: 16 completed: Maybe]javax.naming.NamingException: Unknown reasons
    java.lang.Object oracle.aurora.jndi.sess_iiop.SessionCtx.activateObject(oracle.aurora.AuroraServices.PublishedObject)
    java.lang.Object oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void package1.MyEJBJSClient.main(java.lang.String[])
    Does anybody know how to solve this problem???
    Thanks
    null

    Hi,
    we are having difficulties accessing EJBs that are deployed to oracle 9ias
    We get
    [Root exception is org.omg.CORBA.UNKNOWN: minor code: 16 completed: Maybe]javax.naming.NamingException: Unknown reasons
    java.lang.Object oracle.aurora.jndi.sess_iiop.SessionCtx.activateObject(oracle.aurora.AuroraServices.PublishedObject)
    java.lang.Object oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void package1.MyEJBJSClient.main(java.lang.String[])
    Does anybody know how to solve this problem???
    Thanks
    null

  • Problem running Java applets since Java update 2 (1.6.0_20)

    Hi,
    Since I upgraded to Java update 2, Java applets started having problems. The most noticeable ones are:
    Non-modal windows appear behing the browser Window (tested Safari 4, 5, Chrome 5).
    Double buffering not working as usual (slower, white boxes appear when dragging a window, etc.)
    Slower rendering in general
    The same applications run perfectly using Java Web Start. And they used to work very well also in Java update 1.
    The application can be tested here (press ok if a login prompt appears):
    Java applet: http://jmap3.k2geospatial.com/montreal_applet/
    Java Web Start: http://jmap3.k2geospatial.com/montreal_jws/dockingClient.jnlp
    Our applications running in applets use the new plug-in 2 with JNLP files.
    Notice the Java startup splash (the animated sun-like logo) is not moving as smoothly as usual. It is very jerky now.
    Are these problems known by anyone?
    How can I downgrade Java to previous version?
    sorry I cross-posted this in Unix forum also. I think it is better here.
    Thank you,
    Jean-Robert
    K2 Geospatial

    Since the last Java update on mac, all my OpenGL applets stop working and now just shows a white screen on Chrome, Firefox and Opera. They was working well on all browsers (Safari/WebKit,Chrome,Firefox,Opera) just before the update.
    The trouble maker seem to be the java plugin 2 and the new offscreen rendering pipeline, as reported by jrhaddad with the disucssion linked to the different Java/OpenGL community forums.
    This is a huge regression for me, and I think for all hobbies/ independent developers and all companies who are doing some Java/OpenGL develoment. All our work just stop working since this update.
    If would really want to know from Apple if they are working on this problem and/or how this can be solved.
    Should this be fixed by Apple with a new java update, or should the various browsers must upgrade their applet support plugins according to the new java plugin 2 changes ?
    Best Regards,
    Jérôme

  • Problems running java after most recent update

    After updating to the latest version of Java via Software Update a few weeks ago, I am unable to run the Java applet I need to run to log onto my scheduling system for my work. We use ClinixMIS software which is web based and appears to load a Java applet when I log in. Before the most recent update I had no problem logging in and I still have no problems logging in on older machines running snow leopord and earlier versions of MacOSX with previous versions of Java. When I called Apple and told them my problem the tech said it was because the version of Java is more advaced than the one Clinix is using. I asked how to go back to an earlier version and I was told I can't do it. When I tried to download and install an earlier version of Java the computer wouldn't let me do it. I am running the latest version of Lion on a 2010 MacBook Pro with a i5 processor. I tried Safari, Chrome and Firefox and nothing worked. Does anyone have any ideas or has anyone run into a similar problem? Clinix has not supported Macs in the past but when I talked to the guy they sent out to help with some other issues we are having he told me they had a "team working on it". That has been their response now for about four weeks.

    Get your IT people to talk to the ClinixMIS software developer and bring it to 2012 standards.

Maybe you are looking for

  • Problem size font on photoshop cc script add name on picture

    no problem on cs6 when i run  this script on cs6 / add document name in text layer script;  #target photoshop if (app.documents.length > 0) {  var myDocument = app.activeDocument;  var originalUnits = app.preferences.rulerUnits;  app.preferences.rule

  • Displaying Korean in Text messages.

    Hello all, I've recently have had a weird issue displaying Hangul (Korean) in text messages. I used to receive and view them no problem with all the correct characters as text in the SMS chat windows, until maybe a few months ago. Now what happens, i

  • Cellular and wifi Ipad Mini, can i still use/connect to wifi without having the 3g sim?

    If i get a 3g and wifi Ipad Mini, can i still use/connect to wifi without having the 3g sim?  or do i HAVE to have the sim?? i want to get the 3g and wifi Ipad...but dont want to get the 3g sim until i know i need it (as an option)

  • How to call a remote capable function module?

    Hi all, I want to call a bapi from a R/3 that is not available in the current system were i have my WebDynpro Abap application. So, i called the wizard "Service Call". In the Select Service step i have to input the destination and Function Module and

  • Multiple iTunes XML Files?

    Hello everyone. I have a problem. I want to move my iTunes library over to my external hard drive. DO NOT post a link on how to do this. I have read all of them. The problem is that I have multiple iTunes XML files. Not just one. I don't know what to