Problems by creating EJB Client

Hello,
I tried to create a EJB Client for OC4J in IDE Eclipse.
but I got the exception
javax.naming.NoInitialContextException: Cannot instantiate class: com.evermind.server.rmi.RMIInitialContextFactory. Root exception is java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory
I don't know which classes or packages or jars i need to get my application started. I tried to find class
com.evermind.server.rmi.RMIInitialContextFactory
manually but I didn't find it.
Best regards
George

Hi,
you will find the class in ${ora9ias_install}/j2ee/home/oc4jclient.jar
Greetings,
Frank

Similar Messages

  • Problem in creating 800 client to see table content .

    HI,
        I am new to sap .  I have ideas 4.7 in windows 2003.  i can see table content under user sap* and password 060719* . I  have created a user sapuser . through client 000 , i can create create abap program , but could not find ant table content like mara . at first time  after creating sapuser , it asked me the access key. i gave 36687663221261278694 and it has taken . but to see table content , i created a new user as partha in client 800. but at first time at the time of logging it is asking the access key. though i am giving same key it is not taking .
       1) is there any other key for that educational version ?
       2) how to crreate a user in client 800 . pls give step by step procedure .
       3) for creating a user under client 800 . should i delete my sapuser created under 000 client.

    Hi Jack,
    First of all, the client 000 is one of the standard clients that comes with any SAP R/3 installation (with client 001 and 066 (for EarlyWatch for SAP auditory purposes)). To work with the system you should always make a copy of the client 000 or 001 to a new client i.e. client 200, 400, or whatever name.
    In the case of IDES, the system always comes with the client 800, where you can find all the IDES configuration and data (for test, training, sandbox). If you want to work in the system you should work on this client (800). To check the tables you can always use transaction se12 (table structure: fields, keys) and se16 to see the table content. If you want to create users you should always do it in the client 800 or any other client you've created (not in the standard ones 000, 001, 066, try to maintain these clients clean of any custom data).
    To view the tables data you dont need any key.  The keys are requested when you want to register a developer user (to create a new abap program (all the new programs must start with Z (or X,Y) to differentiate from the standard SAP programs. The keys are also requested when you want to edit a standard program or table or any other standard SAP object.
    1) To get the keys for any SAP system (there are 2 types of keys: developer user and for editing any standard object) you must log on the OSS service (with the user and password provided by SAP when you got your SAP software) : service.sap.com/sscr. Here you use the installation number of your IDES system (the system must be registered in OSS) and then you can create your developer users or standard object keys.
    2)To create a user in any system you need to go to transaction SU01. Here you can make a copy of SAP* user for example (choosing in the trx the button copy) to create your new user. you assign a password to the user and save it. You need to login again on the system and put your new password. This is the easiest way, otherwise you can create a user from zero but you will need to add more information to the user. To start you can create a copy of SAP* or DDIC users.
    3) Yes, I suggest you delete the user you've created in client 000, try to keep it clean of any customer modifications (you could leave it there but is not a good practice).If you want to work with your IDES system and the IDES data, use the client 800.
    Good luck,

  • I am getting this problem when running ejb client

    Hi,
    Any one help me , i am getting this error when i run my ejb Client
    D:\sample\Client>
    java -Djava.naming.factory.initial=com.sun.jndi.cosnamin
    g.CNCtxFactory -Djava.naming.provider.url=iiop://localhost:1050 com.net.ejbexamples.slsb.EJBClient
    Exception in thread "main" org.omg.CORBA.COMM_FAILURE: minor code: 1398079490
    completed: No
    at com.sun.corba.se.internal.iiop.IIOPConnection.writeLock(IIOPConnectio
    n.java:956)
    at com.sun.corba.se.internal.iiop.IIOPConnection.send(IIOPConnection.jav
    a:1017)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStre
    am.java:71)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequest
    Impl.java:82)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.
    java:153)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNa
    mingClient.java:195)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialRefe
    rences(InitialNamingClient.java:260)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_r
    eferences(InitialNamingClient.java:183)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.ja
    va:1465)
    at weblogic.iiop.IORManager.createInitialReference(IORManager.java:113)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContex
    t(InitialContextFactoryImpl.java:96)
    at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContex
    t(InitialContextFactoryImpl.java:86)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    60)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
    at javax.naming.InitialContext.init(InitialContext.java:217)
    at javax.naming.InitialContext.<init>(InitialContext.java:193)
    at com.net.ejbexamples.slsb.EJBClient.main(EJBClient.java:15)
    Thanks

    Found in negative cache.... very strange.
    RFC found in negative cache
    What is the negative cache?

  • Problem while running EJB client

    my TaxClient program caught an exception when i issued this command:
    java -classpath %J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\j2ee.jar;TaxClient.jar;. TaxClient
    the exception look like this:
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Porta
    bleRemoteObject.java:296)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at TaxClient.main(TaxClient.java:13)
    and this is my client code:
    import bmp.*;
    import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class TaxClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    Object objRef = initial.lookup("MyTaxBean");
    TaxHome home = (TaxHome) PortableRemoteObject.narrow(objRef, TaxHome.class);
    Tax tax = null;
    tax = home.create("IL", 5.00f);
    tax = home.create("CA", 6.25f);
    tax = home.create("FL", 8.50f);
    tax = home.create("CO", 6.75f);
    tax = home.findByPrimaryKey("CA");
    System.out.println("CA tax rate: " + tax.getTaxRate());
    System.out.println("Changing tax rate for CA state");
    tax.setTaxRate(8.25f);
    System.out.println("New CA tax rate: " + tax.getTaxRate());
    Collection taxArray = home.findInRange(5.0f, 7.0f);
    Iterator it = taxArray.iterator();
    while (it.hasNext()) {
    Object objRef2 = it.next();
    tax = (Tax)PortableRemoteObject.narrow(objRef2, Tax.class);
    System.out.println("Tax Rate in " + tax.getPrimaryKey() + ": "
    + tax.getTaxRate());
    tax.remove();
    } catch (Exception ex) {
    System.err.println("Caught an exception.");
    ex.printStackTrace();
    anyone who know what is problem pls help. i'm using win2k, j2sdk 1.3.1_02 and j2ee1.3.1. thanks

    yeah its run. some problem with the deployer descriptor. but problem occured again when i try to run the client for the second time it throws exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: O
    bject state could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Object st
    ate could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    javax.ejb.EJBException: Object state could not be saved
    <<no stack trace available>>
    why it runs for the first time but not for the second?

  • Problem in creating EJB and WebService using complex class structure

    Hi All,
    My requirement is like :
    I have a class with very complex structure.
    I have also used external .jars.
    Now when I have created an EJB with a method's return parameter as above class.
    But when I am creating a Webservice, it doesnot allow me to select this method.
    Not able to configure why ?
    Please Help.
    Thanks.

    Hi,
    I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
    You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved.

  • Problem In Creating a client

    Hello all
    I have a Url by using which i have to call another application,
    but it's not working....
    The Url like this...
    http://203.196.152.60:8080/moveoapp/Notify?MSISDN=919986861012&msgtxt=BAL%20P00169IN&shortcode=60066836&operator=hutch
    Then i am creating a method...
    GetMethod method=new GetMethod(Url);
    Then i am creates client ant getiing the Status...
    HttpClient client=new HttpClient();
    int statusCode=client.executeMethod(method);
    if(statusCode!=HttpStatus.SC_OK){                    return -1;
    }else{
    return 0;
    here i am getting the Status code 505 means the "HTTP/1.1 505 HTTP Version Not Supported"
    Can any one please tell me what is reason and where i made mistake
    Waiting for response.
    Thanks in advance

    Hi,
    what HTTPClient you have? Is it org.apache.commons.httpclient.HttpClient with org.apache.commons.httpclient.methods.GetMethod? If so, try
    method.getParams().setVersion(HttpVersion.HTTP_1_0);Btw. Is this the same problem as in http://forum.java.sun.com/thread.jspa?threadID=5212261&messageID=9857375#9857375?
    greetings
    Axel

  • Problem in Creating WebService Client using 9.0.3 JD...

    Hi All,
    Thru JDev 9.0.3 webservice,
    1. I try to create proxy class and a sample client to access ASP.NET webservice also i get the following error.
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet
    Then i created a Java Webservice and hosted in the embedded oc4j server. Then i created a sample client. Then also i get same error as
    follows.
    I user, w2k server, 9i JD 9.0.3, j2sdk 1.4.1.
    Whats the probs. 9.0.3 dont support 1.4.1.
    2. Also one more thing. When i tried to create proxy for asp.net webservice, (Its a webservice to send email which has 6 methods overloaded),
    i get the Proxy Class for ONLY THE LAST METHOD. Rest of the 1st 5 methods are not found. Im able to access this webservice thru axis and thru
    .net also. Only when i created proxy thru 9.0.3, i get like this. So, no probs in my webservice. Some probs in 9.0.3 version. It seems that
    it does't properly create proxy if Method Overloading is done in the webservice.
    3. Also, why the proxy class created in 9.0.3 pass params and returns params as Integer eventhough i used only int in the asp.net webservice
    and in my java webservice created thru JDev 9.0.3
    Yours,
    Sankar.B
    India
    Errror:
    D:\j2sdk140\bin\javaw.exe -client -classpath
    C:\9iJDeveloper903-J2SDK-141\jdev\mywork\XMethodsWebService\CurrencyExchange\classes;C:\9iJDeveloper903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJ
    Developer903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJDeveloper903-J2SDK-141\soap\lib\soap.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlparserv2.jar;C
    :\9iJDeveloper903-J2SDK-141\jlib\javax-ssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\jlib\jssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\
    activation.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\mail.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\http_client.jar;C:\9iJDeveloper
    903-J2SDK-141\lib\xmlparserv2.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlcomp.jar -Dhttp.proxyHost=172.17.56.1 -Dhttp.proxyPort=80
    -Dhttp.nonProxyHosts= id.ws.EmbeddedMathWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml".
    Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet error: Cannot generate Class:
    C:\9iJDeveloper903-J2SDK-141\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\XMethodsWebService-CurrencyExcha
    nge-webapp\temp\__java_statefull_rpc\id\ws\__MathWSStatefullWrapper.java:10: cannot access java.lang.Objectbad class file:
    D:\j2sdk140\jre\lib\rt.jar(java/lang/Object.class)class file has wrong version 48.0, should be 47.0Please remove or make sure it appears in
    the correct subdirectory of the classpath.import java.lang.Object;                 ^1 error</PRE></BODY></HTML>]     at
    org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at org.apache.soap.rpc.Call.invoke(Call.java:268)     at
    id.ws.EmbeddedMathWSStub.Add(EmbeddedMathWSStub.java:66)     at id.ws.EmbeddedMathWSStub.main(EmbeddedMathWSStub.java:34)Process exited
    with exit code 0.

    You are correct, there is a bug logged with JDeveloper 9.0.3 that with JDK 1.4, Web services are not working. See:
    http://otn.oracle.com/products/jdev/htdocs/readme_903.html#ws0
    (while not exactly your situation, I suspect it is related). We are close to releasing JDeveloper 9.0.4 preview which will support JDK 1.4 and should resolve your problem.
    In terms of your second problem, there is a similar bug logged but could I ask you to try again with JDK 1.3.1 to see if a similar issue occurs?
    As for your third question, this is the default behaviour for Oracle9iAS Web Services - int gets mapped as Integer. See:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/javaservices.htm#1033406
    Hope this helps.
    Mike.

  • How to create EJB client without WL specific classes ?

    Hi,
    I have stateful session EJB running in WebLogic 5.1.
    Is it necessary to client that will access that EJB to have WebLogic classes in classpath ?
    Is it possible to write client that doesn't have any classes specific to Weblogic ?
    Uix

    Sure, if it's acceptable for your application to classload from WebLogic.
    For example: helper class to start WebLogic client (server is running on
    localhost:7001 and client classes are in c:/weblogic/myserver/clientclasses/):
    c:\WebLogicClient>set CLASSPATH=.
    c:\WebLogicClient>java WebLogicClient examples.ejb.basic.statelessSession.Client
    import java.net.*;
    import java.lang.reflect.*;
    public class WebLogicClient {
    /* client classpath. Should NOT be in the java classpath! */
    public static final String CLIENT_CLASSES =
         "file://C:/weblogic/myserver/clientclasses/";
    /* WebLogic server to classload from */
    public static final String WL_CLASSES =
         "http://localhost:7001/classes/";
    public static void main(String[] args) {
    try {
    ClassLoader cl = new URLClassLoader(new URL[] {
    new URL(CLIENT_CLASSES),
    new URL(WL_CLASSES)
    Thread.currentThread().setContextClassLoader(cl);
    Class clientClass = cl.loadClass(args[0]);
    Method methodMain = clientClass.getMethod("main",
              new Class[] {Class.forName("[Ljava.lang.String;")});
    String[] clientArgs = new String[args.length - 1];
    System.arraycopy(args, 1, clientArgs, 0, clientArgs.length);
    methodMain.invoke(null, new Object[] {clientArgs});
    } catch(Throwable oops) {
    oops.printStackTrace();
    uix <[email protected]> wrote:
    Hi,
    I have stateful session EJB running in WebLogic 5.1.
    Is it necessary to client that will access that EJB to have WebLogic classes in classpath ?
    Is it possible to write client that doesn't have any classes specific to Weblogic ?
    Uix--
    Dimitri

  • EJB Client JAR project produces empty JAR

    I've built an EJB module in WorkSpace Studio using the "WebLogic EJB Project" type, which is part of an EAR. I created a couple stateless session beans within this project, and then created an EJB Client JAR project using the "EJB Client JAR-->Create EJB Client Jar" menu item on the EJB project's hidden menu.
    According to the documentation, exporting an EAR file from the EAR project will cause the client JAR to be generated. I exported the EAR file from the EAR project, and sure enough, it included the client JAR (in /APP-INF/lib/). I extracted the client JAR from the EAR and opened it up to make sure it contained all of the client-side classes. I discovered that the client JAR was empty, the only contents being the MANIFEST.MF file. The interface classes were instead contained in the EJB JAR itself.
    How can I get the EJB client code to actually be included in the EJB client JAR?
    Thanks,
    Eric

    Well I have tried this with 6.1 and first
    1. One would expect the jar name to be the name in the ejb-jar.xml -
    ejb-client-jar section
    2. It outputs the file XXXEJB_Compiled.jar but it is same size as base jar
    this is 6.1 sp3
    whats up?
    Matthew Shinn wrote:
    Hi Sanjay,
    There is a bug in the documentation. The client-jar name should never be part of the
    ejbc command line. Step 3 below should be something like:
    java weblogic.ejbc xxxEJB.jar xxxEJB_Compiled.jar
    If you have an ejb-client-jar entry in your ejb-jar.xml, the client jar should be placed
    in the directory from which you ran ejbc. Make sure that the classes that you want to be
    put in the client-jar are not loaded from the classpath. This is very important or your
    client-jar won't be created correctly. The client-jar will only contain classes loaded
    from the input jar to ejbc. A bug for the incorrect documentation has already been filed
    and should be fixed soon.
    - Matt
    Sanjay Dwivedi wrote:
    Hi,
    I am trying to use the
    <ejb-client-jar> sub-element of the Sun's <ejb-jar> (EB 2.0 DTD) element of the
    ejb-jar.xml to generate the ejb-client.jar. I followed the step as documented
    by WebLogic but the files in EJB jars and ejb-client jars are identical. Here
    is what I am doing:
    1. Build the xxxEJB.jar for my EJB by running the WebLogic.ejbc on the standard
    EJB jar file.
    2. My ejb-jar.xml file has following line:
    <ejb-jar>
    <ejb-client-jar>xxxEJBClient.jar</ejb-client-jar>
    </ejb-jar>
    3. Next I used the following command to generate the ejb-client.jar file
    java weblogic.ejbc xxxEJB.jar xxxEJBClient.jar
    My xxxEJBClient.jar files consists of exactly same files (with same sizes) as
    the xxxEJB.jar file. Only difference is that the xxxEJB.jar file includes generated
    java source files for the bean implementation class and home/remote classes.
    In my opinion the xxxEJBClient.jar should not contain the EJB implementation classes.
    Any experience using the ejb-client-jar for generating the ejb-client.jar?
    Thanks,
    Sanjay.
    [att1.html]

  • [Jeveloper + EJB client - EJB on OAS] Problem connecting

    I having problems getting a simple client from within JDeveloper 3.0(Code snippet - OAS/EJB Client) talking to a simple EJB on OAS 4.0.8.
    I have deployed OK (red flag against status?) but when I run the client using port - 5512(ORB port)I get the message below
    Anybody any ideas?
    Creating an initial context
    Looking for the EJB published as 'MyOASApp/MyEJB'
    Naming exception occurred!
    Cause: This may be an unknown URL, or some classes required by the EJB are missing from your classpath, or your OAS host is short of resources
    Suggestion: Check the components of the URL, and make sure your project includes a library containing the EJB .jar files generated by the deployment utility.
    [Root exception is java.net.UnknownServiceException: no content-type]javax.naming.NamingException: Failure to access http://hfxcap4:5512/ows-bin/rmproxy.ior; listener inaccessible or configured wrongly
    at oracle.oas.jndi.oas.SiteResolver.getIOR(Compiled Code)
    at oracle.oas.jndi.oas.SiteResolver.resolveListenerURL(Compiled Code)
    at oracle.oas.jndi.oas.SiteResolver.resolveSiteContact(Compiled Code)
    at oracle.oas.jndi.oas.SiteResolver.resolveSiteContact(Compiled Code)
    at oracle.oas.jndi.oas.SiteResolver.resolveSiteObject(Compiled Code)
    at oracle.oas.jndi.oas.BeanInitialContext.resolve(Compiled Code)
    at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.BeanInitialContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.WrapperContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
    at javax.naming.InitialContext.lookup(Compiled Code)
    at package1.MyOASAppClient.main(Compiled Code)
    **************

    HI, I have the same problem that you had, maybe did you manage through ?? Thanks for all the help you could bring me.
    Nico
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by pFrooney:
    Back Again ...
    I have tried all ao the above
    now using this code below but it fails on the lookup with the error message below:
    ..created library with client stub, using 1.1.8, moved OASRuntime to top of included libraries
    Any suggestions
    String oasUrl = "oas://hfxcap4:80";
    String oasEJB = "MyOASApp/MyEJB" ;
    // Setup the environment
    Hashtable environment = new Hashtable();
    // Turn JNDI on to OAS
    environment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "oracle.oas.naming.jndi.RemoteInitCtxFactory");
    // Lookup the URL
    conv_package.MyEJBHome homeInterface = null;
    try {
    System.out.println("Creating an initial context");
    // Get initial JNDI context
    Context site = (Context) ((new InitialContext(environment)).lookup(oasUrl));
    org.omg.CORBA.COMM_FAILURE:
    at oracle.oas.orb.CORBA.Request._invoke(Compiled Code)
    at oracle.oas.orb.CORBA.Delegate._invoke(Compiled Code)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Compiled Code)
    at oracle.oas.orb.CORBA.Delegate.is_a(Compiled Code)
    at org.omg.CORBA.portable.ObjectImpl._is_a(Compiled Code)
    at oracle.oas.jndi.oas.BeanInitialContext.resolve(Compiled Code)
    at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.BeanInitialContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.WrapperContext.lookup(Compiled Code)
    at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
    at javax.naming.InitialContext.lookup(Compiled Code)
    at CClient_package.MyOASAppClient.main(Compiled Code)<HR></BLOCKQUOTE>
    null

  • Help: Problem in running a simple EJB client

    Hi All,
    I have just started learning EJB and I am facing an issue in running a client for the EJB I developed (a "Hello World" EJB)
    I have deployed my application in Sun's reference implementation of j2ee server. I have the following client code through which I intend to access EJB methods
    // EJB client code in main()
    Context ctx = new InitialContext();
    Object hwobj = ctx.lookup("HelloWorldApp");
    HelloWorldHome hworldHome = (HelloWorldHome)
    PortableRemoteObject.narrow(hwobj,HelloWorldHome.class); // exception here
    HelloWorld hworld = hworldHome.create();
    String msg = hworld.sayHelloWorld();
    System.out.println(msg);
    When I am running my client I am getting the following exception. Can anyone tell me why ?
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at HelloWorldClient.main(HelloWorldClient.java:13)
    Thanks
    Ratheesh

    * I found the solution for this . Add j2ee.jar and Client jar returned by deploytool [ if we check return client jar ] to classpath when running client .
    * Then I got CORBA_NO_PERMISSION error . After searching in forum , I found the solution. Posting
    Forum Home > Enterprise JavaBeans
    Topic: [ J2EE RI Server ] CORBA NO_PERMISSION 0
    Welcome ratheeshpai!
    Search Forum
    Not watching this topic.
    This topic has 4 replies on 1 page (Most recent message: Nov 19, 2002 7:59 AM)
    [ J2EE RI Server ] CORBA NO_PERMISSION 0
    Author: NicholasHsiao Oct 28, 2001 5:51 AM
    Hi,
    I was trying to deploy one simple session bean into J2EE RI Server. It works fine. And I wrote one client to access this session bean, it show me
    java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
    org.omg.CORBA.NO_PERMISSION: minor code: 0 completed: No
    Context ic = null;
    try
    ic = new InitialContext();
    catch(Exception e)
    System.out.println("1: "+e.toString());
    This exception is happend when I try to lookup the jndi name
    This error message is happend only on J2EE 1.3 (1.3_01) . If I downgrade to J2EE 1.3Beta or even 1.2, everything would be okay. Any one know how to solve such problem ??
    Re: [ J2EE RI Server ] CORBA NO_PERMISSION 0
    Author: cdunn5
    In Reply To: [ J2EE RI Server ] CORBA NO_PERMISSION 0 Oct 31, 2001 10:04 PM
    Reply 1 of 4
    hi,
    I don't know the solution but I have the exact same problem. I see your message was posted in October, have you found any solutions yet?
    Re: [ J2EE RI Server ] CORBA NO_PERMISSION 0
    Author: scottiep
    In Reply To: [ J2EE RI Server ] CORBA NO_PERMISSION 0 Nov 22, 2001 11:21 AM
    Reply 2 of 4
    Da:Frederik Hansen ([email protected])
    Message 2 in thread
    Soggetto:Re: J2EE - NO_PERMISSION
    Newsgroups:dk.edb.programmering.java
    View this article only
    Data:2001-11-10 03:32:12 PST
    For at svare p� mit eget sp�rgsm�l: Access and Security Issues Q1: Some applications that ran under J2EE SDK 1.3
    beta 2 stop running under the 1.3 FCS release with the
    following message: java.rmi.AccessException: CORBA
    NO_PERMISSION 0 No. Why does this happen and what
    can be done about it? When your application ran under the 1.3 beta 2
    version of the reference implementation (RI), security permissions may
    not have
    been checked. For example, the beta 2 RI allowed
    calls to enterprise beans that required username-password permission,
    even
    when the client provided no username-password
    information. With 1.3 FCS release, the J2EE SDK became strict
    about checking adherence to the security policies of J2EE components. How can you make your application run under the
    FCS release? 1.If you don't want security checks, do the
    following: Use the deploytool to build a deployment
    descriptor that does not require a strict security policy: Under the Security screen of the EJB wizard
    or the Security tab of the EJB inspector in deploytool, click
    "Deployment
    Settings..". Under the box "Client
    Authentication", make sure "Support Client Choice" is checked instead of
    "Certificate"
    or "Password". 2.To require the application pass security
    checks to run, do the following: When an enterprise bean specifies
    "Certificate" or "Password" as the method of Client Authentication, use
    a J2EE
    application client, instead of a stand-alone
    Java application, to access the bean. You will need to login as a valid
    J2EE
    user.
    By : scottiep
    Thanks
    Ratheesh

  • Problems creating a client proxy for a WS

    I've tried creating a client proxy from a wsdl but I've had no luck getting it to work.
    First of all I created the client proxy in se80 with instructions from a teched lecture. The proxy seems to be generated as intended. When I create the default logical port for the proxy in lpconfig, it doesn't get any URL at all by default in the Call Parameters tab. Atleast in the teched demo the logical port got the default URL straight away.
    Therefore I opened the wsdl file with notepad and put the address that was specified in the soap:address element as the location attribute. After saving and activating both the logical port and the client proxy I tried testing the proxy. All the methods give the same following error message:
    Sap Fault Code 1:
    Found 0 operation definitions using keys...
    The WS works fine from the WS Navigator test page though. If I change the logical port URL I get an "Unsupported xstream found" error message. Thus I assume the URL that I took from the wsdl should be correct. Can I assume the wsdl is somehow broken? As I look closer at the wsdl, it seems to consist of several wsdl's that are imported to the main wsdl.

    Hi Evan,
    I don't think the wsdl is broken. I assume your webservice is deployed on WAS. Typically the SAP wsdl consist of 3 files, main wsdl file and 2 other files for binding and porttypes.
    When all three files are appropriately available then only the proxy gets generated.
    Since in your case the proxy is generated and you could activate it, means there is no problem in the wsdl.
    Are there any further details in your error?
    Does your service methods require any input and you are providing the input appropriately?
    Regards,
    Vandana.

  • Problem while creating script form - lang EN is not available in client 800

    Hi friends,
    I getting a problem while creating a script form in SE71.
    if I give the name of the script (zform1) and clicked on create then its giving an information message like " Form ZFORM1 language EN is not available in client 800".
    But if I use this form in the abap program its giving stop message "Form ZFORM1 language EN is not active and has no errors" and the control is coming out of the program.
    What could be the problem and how to solve it friends . Please help me.
    Thanks
    -Hima

    Hi There,,
    By default all the forms will be there in client 100, if you are using the exisiting form and making a Z copy of the same,, then first you will have to copy from the client 100 to 800.
    If you are creating the form right from the scratch,, you will that message,,but need now worry about that..
    go head and create the Zform, don't forget to activate the form, before calling in the driver program.
    In the driver program,, call the function modules to invoke the form and activate the driver program as well. then you are all set/
    Thanks-
    Rahul

  • Problem Creating New Client in SAP NW2004s ABAP+JAVA LINUX

    Hi,
    I installed successfully NW2004s dual stack on linux vmware (SUSE10 enterprise server). This stack give me two client by default, 000 and 001. System gives me default user sap* and password: sapn4sadm
    I want to implement the process for BW enabling, and I want to create New Client for it. I have been used SCC4 to create a new client by logging on with the Client 000, but the problem start, when I log-on with the new client.
    Client: 002
    User: sap*
    Password: pass
    I have tried system default password of sap* , but that also dosen't help.
    It doesn't work, I also try RZ10 to change the value of login/no_automatic_user_sapstar = 0, but I don't find any profile , when I click on the profile field, i get the message "Profile not found". I am not figuring out where I am doing wrong.
    How can I success to create a new Client in which i could log on with sap* user. Please Help me
    All  yours help would be highly rewarded.
    Obaid.

    In order to edit profiles In RZ10, you must first import them.
    Menu: Utilities --> Import Profiles --> Of Active Servers
    After this you can add your parameter.
    One alternative is to edit the profile directly with vi, restart the system, do all client copy tasks, remove the parameter with vi, restart the system again and then import the active profiles.
    the profiles are located in directory
    /usr/sap/<SID>/SYS/profile
    and the filename is something like this
    <SID>_DVEBMGS<instancenr>_<hostname>

  • How I create a client standalone in EJB, help me please

    I need create a client standalone but the application no find my JNDI. Will be anyone give me one step by step client standalone in EJB?
    Hugs, thanks

    needing multiple usernames and passwords is going to force you into using a database type log in system. There is no "simple" way to accomplish this. You can also use java, ajax and a number of other types. But for the most secure you want to use a server sided language like ColdFusion, PHP, ASP, etc. That's where your server configuration comes in. What server sided language will it support? That's a good place to start.
    Another good place to start is do you know anything about code to write some on your own? DW does some coding for you, there are plug ins but it is always best to be able to understand the code.
    you can always look through the DW exchange for a small log in system that might be easy for you to change to your needs.

Maybe you are looking for

  • Media Encoder won't queue

    I'm running the latest build of Premiere CC. I can export sequences without issue but if I try to 'Queue' and send to Media Encoder, it won't show up. Basically, Media Encoder will launch automatically as it should be no job actually get's added...It

  • User details are not populating in access request

    Hello All, We have configured GRC 10 with LDAP and we are able to search the users in LDAP tcode(find option) and in the access request. But when i select the user and click on ok in the access request, user information is not populating to user deta

  • I5610 All in One Stopped Printing

    I have a 5610 All in One Printer which has worked well for two years.  Today it will print nothing, regardless of the source.  I I have tried turning it on and off.  All the software appears to be working correctly.  Everything I tried to print from

  • How to take refunds for iTunes AppStore purchases?

    I was searchiing on how to get rdturn unwanted apps bought from iTunes appstore? I talked to developer also but he was also not having any idea. Appreciate if somebody can let me know how can I get refunds from itunes appstore? Thanks Adi

  • Hide/Show Dock Icon

    I remember seeing somewhere, I think it was here or on Mac OS X Hints, where someone had created an applet that you could use to hide or show a dock icon. I had downloaded it, but I deleted it and can no longer find it. I looked in my TM backups in t