Where to put jndi.properties in Web application to lookup remote EJB?

Hi All,
I want to use EJB deployed in an OC4J from web application deployed in another OC4J.
I've try to put jndi.properties file into WEB-INF/classes; package it into a jarfile and put into WEB-INF/lib, ... In all case, it doesn't work.
If I hard-coding the env properties as following, it works.
env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
env.put( Context.SECURITY_CREDENTIALS, "welcome1");
env.put(Context.PROVIDER_URL, "opmn:ormi://fmtresearch:6005:home/TEST");
But if I put those env properties in jndi.properties file, it doesn't work.
java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=welcome1
java.naming.provider.url=opmn:ormi://fmtresearch:6005:home/TEST
Note that, the jndi.properties work if it is used in client application.
Please help me! Thanks.

This may not help you directly. However, did you try printing the environment properties in the InitialContext you created.
Another thing.
You can use this function after creating the initial context to see the JNDI tree and see if it contains anything.
Thank you.
Function To list the JNDI Context name-object bindings
private void listContext2 (Context ctx, int ind, String name, String spaceIndent) {
String indent = spaceIndent + "[" + Integer.toString (ind) + "]" ;
try {
System.out.println (indent + "{" + name + "}");
NamingEnumeration justList = ctx.list(name);
while (justList.hasMore()) {
NameClassPair listItem = (NameClassPair) justList.next();
String className = listItem.getClassName();
String subName = listItem.getName();
boolean isRelative = listItem.isRelative();
String relativeName = ("".equals(name) ? new String(subName) : new String (name + "/" + subName));
listContext2 (ctx, (ind+1), relativeName, (" " + spaceIndent) );
catch (Exception exc) {
System.out.println ("Exception Occured at listContext2");
Hope it helps not deviates. Good luck

Similar Messages

  • Where to put the properties file

    I am a new user of NetBeans6.0, I am making a simple application for user registration. I have coded everything but when I run project I get error caused by the dao.properties file load problem.
    I have put the dao.properties file inside the classes directory(where all java class files are build after running the project) of my web application directory( I didn't create this directory though, it is automatically created by IDE), I think there is a problem with its path.
    where should I put the dao.properties file so that when I run the project the Tomcat automatically find it and also, what the settings I should do?
    actually, I have referred to BalusC'd  DAO tutorial: the data layer but that comes in use when we are working off the IDEs, In my case since I am using Netbeans so it may be different from that one.
    if someone already done that then please let me know

    ok, but will it work if I upload the project in a remote host?
    lets talk besides IDE, as in your DAO tutorial you have instructed to put the properties file somewhere in root of the classpaths. ok, it will work on a local computer cause there is classpath setting but since remote host doesn't know about that property file and we cant set classpath at remote host(I am not sure though if we can) then how will it work at remote host.
    how the server at remote host comes to know about that property file?
    In my case since I have made the project using IDE and everything regarding classpaths have been set automatically(IDE done itself), but at remote host these sort of settings are not done then how the project will run?
    if I have described my problem incorrectly then please consider it as it is supposed to be.

  • Where is security configuration for deployed web application stored

    Hi,
    We have deployed a folder as a web application. The changes I am making in Deployments -> web application -> Security -> URL Pattern -> Roles -> Edit a Stand-Alone Web Application URL Pattern Scoped Role is not saved and it is getting lost when I restart the application.
    For example I have added "AppTesters" group in "valid-users" url-pattern.
    Can anybody help me where these settings are stored and why it is not getting saved across application restarts.
    Thanks,
    Sambath.

    How are you restarting your weblogic Admin Server?
    This is only possible if some how while your Admin Server is restarted, the ldap directory that is present int the %DOMAIN_HOME%/your_domain/servers/AdminServer/data directory is deleted or updated with the previous values.
    This may give you some idea how to proceed with this issue.
    Thanks,
    Sandeep

  • Where to put basic properties?

    Hi all,
    I have a situation were I would like to have a set of properties
    accessible to the code
    outside the framework of servlets/ejbs (they are for some utility
    classes that need to be useful
    outside of the context of Weblogic)
    At the moment I am relying on environment variables passed to the JVM
    via -D
    to tell me a few things that I cannot figure out how to put anywhere
    else.
    they are the following properties :
    irsa.jis.xml.parser class name of a SAX2 parser
    irsa.jis.config absolute name of an xml config file that will
    contain all
    the other app-specific properties I
    need.
    Any thoughts on the best way to do this without modifying the
    startServer script, or hard
    coding them?
    Thanks for any insight,
    Serge Monkewitz

    I am cutting and pasting now :)
    The support for this product is amazing, thanks again
    Serge
    Wei Guan wrote:
    Looks like "Chicken & Egg" problem.
    You can get thesse information in your code:
    T3Services.getT3Services().config().getProperty("weblogic.system.home");
    T3Services.getT3Services().config().getProperty("weblogic.system.name");
    T3Services.getT3Services().config().getProperty("weblogic.cluster.name");
    T3Services.getT3Services().config().getProperty("weblogic.home");
    Let's say, if you want to put your property in your per-server directory,
    try this:
    T3Services.getT3Services().config().getProperty("weblogic.system.home") +
    File.seperator +
    T3Services.getT3Services().config().getProperty("weblogic.cluster.name") +
    File.seperator +
    T3Services.getT3Services().config().getProperty("weblogic.system.name") +
    "mysoftware.properties";
    Hope it helps.
    Cheers - Wei
    Serge Monkewitz <[email protected]> wrote in message
    news:[email protected]...
    Thanks for your reply, but I am already doing exactly what you suggest.
    The thing is, I need a property that gives me the location of the propertyfile
    Serge
    Wei Guan wrote:
    Put your properties in a property file, use startup class to load this
    properties file to a Singleton object so that it can be accessed
    elsewhere.
    Cheers - Wei
    Serge Monkewitz <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I have a situation were I would like to have a set of properties
    accessible to the code
    outside the framework of servlets/ejbs (they are for some utility
    classes that need to be useful
    outside of the context of Weblogic)
    At the moment I am relying on environment variables passed to the JVM
    via -D
    to tell me a few things that I cannot figure out how to put anywhere
    else.
    they are the following properties :
    irsa.jis.xml.parser class name of a SAX2 parser
    irsa.jis.config absolute name of an xml config file that
    will
    contain all
    the other app-specific properties I
    need.
    Any thoughts on the best way to do this without modifying the
    startServer script, or hard
    coding them?
    Thanks for any insight,
    Serge Monkewitz

  • How to use JNDI to lookup remote EJB Home?

    Hello,
    I am writing a servlet to call a remote EJB on another machine.
    I use JNDI to lookup remote EJBHome (not) but fail.
    Any advice?
    Any trick to configure application-client.xml?
    Thanks!

    Use com.evermind.server.rmi.RMIInitialContextFactory instead
    Here an example
    // EmployeeClient.java
    package mypackage5;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import java.io.*;
    import java.util.*;
    import java.rmi.RemoteException;
    import com.evermind.server.ApplicationClientInitialContextFactory;
    import com.evermind.server.rmi.RMIInitialContextFactory;
    * A simple client for accessing an EJB.
    public class EmployeeClient
    public static void main(String[] args)
    System.out.println("EmployeeClient.main(): client started...");
    try
    * initialize JNDI context by setting factory, url and credential
    * in a hashtable
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://koushikm:23791/application4");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin");
    * or set these properties in jndi.properties
    * or use container defaults if that's where client got launched from
    Context context = new InitialContext(env);
    * Lookup the EmployeeHome object. The reference is retrieved from the
    * application-local context (java:comp/env). The variable is
    * specified in the assembly descriptor (META-INF/application-client.xml).
    Object homeObject =
    context.lookup("HelloEJB");
    System.out.println("EmployeeClient.main(): bean found...");
    // Narrow the reference to EmployeeHome.
    HelloEJBHome home =
         (HelloEJBHome) PortableRemoteObject.narrow(homeObject,
    HelloEJBHome.class);
    System.out.println("EmployeeClient.main(): home narrowed...");
    // Create remote object and narrow the reference to Employee.
    HelloEJB remote =
         (HelloEJB) PortableRemoteObject.narrow(home.create(), HelloEJB.class);
    System.out.println("EmployeeClient.main(): remote created...");
    String message=remote.helloWorld("SUCCESS");
    System.out.println(message);
    } catch(NumberFormatException e) {
    System.err.println("NumberFormatException: " + e.getMessage());
    } catch(RemoteException e) {
    System.err.println("RemoteException: " + e.getMessage());
    } catch(IOException e) {
    System.err.println("IOException: " + e.getMessage());
    } catch(NamingException e) {
    System.err.println("NamingException: " + e.getMessage());
    } catch(CreateException e) {
    System.err.println("CreateException: " + e.getMessage());
    Hello,
    I am writing a servlet to call a remote EJB on another machine.
    I use JNDI to lookup remote EJBHome (not) but fail.
    Any advice?
    Any trick to configure application-client.xml?
    Thanks!

  • Jndi.properties location in EAR

    Hello,
    in a environment of Tomcat+APACHE as webserver and OC4J as a backend server, putting jndi.properties in WEB-INF/classes will do the job, BUT if we use the OHS as the webserver, I am not succeeding to let the webapp view the sessions even after puting in WEB-INF/classes or in the EAR file META-INF, unless I deploy the ear of the webapp with the sessions ear as his parent.
    My aim is to deploy the webapp without a parent, all my interfaces are in the WEB_INF/lib/xxx.jar, so I should not be needing the sessions applications.
    Note: context.getEnvironment().size() is retrieving 0 !!
    Thanks

    Generally speaking, jndi.properties should be placed in the root of the classpath. In your case: WEB-INF/classes.
    In orion-web.xml include
    <web-app-class-loader search-local-classes-first="true"
    include-war-manifest-class-path="false" />
    Two possible workarounds are:
    - Create a JAR with just the jndi.properties. Add it to your WEB-INF/lib.
    - Last resort: Put it in $OC4J_HOME/j2ee/home/applib

  • To integrate a web report in a web application

    hi,
    i have created a web report using ReportBuilder (wizard).
    i have saved that file as a jsp,
    my question is can i integrate that web report in any web application ,if yes how? plz let me know.
    thx
    abdul.

    Hi Abdul,
    The answer is yes, you can integrate your report in any web application as any other normal JSP. You can package the JSP as part of a WAR and deploy it on an application server. The only requirements are:
    reports_tld.jar must be available to the application. You can put in inside the WEB-INF/lib directory of the web application.
    Reports Server must be available to the JSP. If you are using Oracle9iAS for deploying the JSP, the Reports server is automatically available. If you are using some other application server like WebLogic, you can use the J2EE Thin Client (http://otn.oracle.com/products/reports/htdocs/getstart/examples/Tools/index.html)
    Also see the following thread on this Forum for deployment instructions:
    Where to put jsp files for web layout report?
    Navneet.

  • Where to put jar files reachable for ejb:s?

    Hello!
    I have a ejb that use some jar files.
    But I can not figure out where to put the jar files that I use from my ejb in Weblogic 8.1.3.
    Until now I have extracted all jar files and put them inside my ejb with my own class files. But this seems odd.
    So please help me out here.
    Best regrads
    Fredrik

    Dear,
    You might have downloaded either tar.gz or zip file. when you extract this file you will find a jar file and also some demos nad docs(api+help). place the poifs api jar file in 'WEB-INF\lib" folder and restart the server.
    In general any api jar files for web applications should be placed in WEB-INF\lib folder then only they are accesible. If you extracted the jar, then place entire package structure in WEB-INF\classes directory
    Regards,
    Nishant Kulkarni
    Software Engineer
    Bangalore
    [email protected]

  • Jndi.properties in the class path

    Hi,
    i deployed a webservice to the embedded oc4j in JDEV(10.1.3).
    Form this webservice an external oc4j (9.0.4) is looked up.
    First problem:
    I have some problems to initial the InitialContext. It seems to me that the jndi.properties file is not found.
    I think its perhaps a classloader problem.
    Second problem:
    If i hardcode the props, the extarnal oc4j is connected, but the lookup hangs up.
    May be it a the different versions are the problem.
    Any help appriciated.
    Thanks and regads
    Chris

    Ok. I finally i found a solution for the second problem, after i could take a look into the logs of the external oc4j.
    Thanks to heimberger and his blog.
    In 10.1.3 there where some changes to ormi (new protocol version 1.3). For a communication between 10.1.3 and older versions of oc4j a patch is needed. Its metalink 4676768. The older version must be able to negotiate the version of ormi.
    Hope that will do the job.
    But i still can not make the 10.1.3 embedded oc4j take the jndi.properties from the application classpath.
    I wonder if nobody has had the same problem.
    Regards
    Chris

  • How to maintain properties in Web Dynpro

    Hi,
    In EP5 we can maintain all the properties .properties file. So we can change this property value after creating iView in portal.
    How can we maintain where to maintain these properties in Web Dynpro.
    ex: I have SMTP address which I am using in my Controller class. I want to change this adress later time so where I need to maintain in Web Dynpro.
    Thanks
    Tats

    Tatayya,
    Take a look at:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b8/aa343e32ff1033e10000000a114084/frameset.htm">Configuration Service</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39dcb1e5-0601-0010-51b2-c522e518213e">Web Dynpro Application: Configuration, Deployment and Execution</a>
    Configurations create this way can be edited after application deployment using VisualAdmin.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • SSO to Web Application from Portal

    Hi,
        I am working on a scenario where I need to access a Web Application from the Portal.
        I read about the Application Integrator that is provided by the Portal .
        I wanted to know that can I only have SSO to those Web Application that accept the userid and password and as URL parameters using Application Integrator , ie: those applications that have post method cannot be integrated.
       Please help me out with clearing this doubt.
    Thnx,
    Pravesh Puria.

    Hi  Abdulbasit ,
        Please give me more details , we have a Lotes Notes Web application hosted on Domino server , another is J2EE based application. I need to achieve SSO to each of these applications from the SAP Portal.
       I followed the below listed steps:
       Created two systems one for each Web application based on the template generated from the application integrator. I entered the user mapping values for both the systems.
       I also created two IViews. When I preview , the logon page of the web application opens but the user credentials are not passed to the application.
       Please help me with the steps to achieve the SSO , from the reply I interpret that Logon ticket method was used to achieve the SSO and user mapping.
        My email id is : [email protected]
        It will be of immense help to me.
    Thnx,
    Pravesh Puria.

  • 10g UIX Where to put ResourceBundle?

    I'm looking at putting all my Strings in a ResourceBundle for my UIX pages. I've read the documentation for Internationalization, but I think the piece that I'm missing is where to put the properties file. Say I've got a file called 'strings.properties', and my provider looks like this:
    <provider>
         <data name="bundle" >
              <bundle class="strings.properties" />
         </data>
    </provider>Then where in the JDev project do I need to have the file in order for it to get deployed properly and found by the UIX framework at runtime?
    Also, just to be sure I'm not going crazy, I know that the documentation and even the bundle tag say to specify a Class, and I just noticed that the ResourceBundle javadoc also says that the 'baseName' parameter to the static 'getBundle' method should be a 'fully qualified class name', but I've always just given it a filename of a properties file before. So I'm assuming that the 'class' parameter to the bundle tag can be a properties filename -- is this correct?

    Whoops! Of course, the argument to the bundle class attribute should just be 'strings'.
    After some experimentation, I discovered that if I put the properties file at the root of the 'src' directory in my JDev project, then it gets transferred to the 'classes' output directory when I compile. This works for running my project in the Embedded OC4J. I haven't tried deploying it to any other app server yet. Is this the right place?

  • Error during JNDI lookup Accessing Remote EJB (access to web service restricted using declarative security model)

    Hello everyone,
    I developed a Web Service prototype accessing remote EJB using the EJB
    control with special syntax in the jndi-name attribute: @jws:ejb
    home-jndi-name="t3://10.10.245.70:7131/AccountDelegatorEJB"
    Everything works fine, but I get an error when I restrict access to my web
    service with a declarative security model by implementing steps provided in
    help doc:
    - Define the web resource you wish to protect
    - Define which security role is required to access the web resource
    - Define which users are granted the required security role
    - Configure WebLogic Server security for my web service(Compatibility
    Security/Users)
    I launch the service by entering the address in a web browser. When prompted
    to accept the digital certificate, click Yes, when prompted for network
    authentication information, enter username and password, navigate to the
    Test Form tab of Test View, invoke the method by clicking the button and I
    get the following exception:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed for
    name:t3://10.10.245.70:7131/AccountDelegatorEJB]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed
    for name:t3://10.10.245.70:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64) </jwErrorDetail>
    </detail>
    </error>
    I have a simple Hello method as well in my WebService (which is also
    restricted) and it works fine, but remote EJB access doesn't. I tested my
    prototype on Weblogic 7.2 and 8.1 platforms - same result.
    Is that a bug or I am missing some additional configuration in order to get
    that working. Has anyone seen similar behavior? Is there a known resolution?
    Or a suggested way to work around the problem?
    Thank you.
    Andre

    Andre,
    It would be best if this issue is handled as an Eval Support case. Please
    BEA Customer Support at http://support.beasys.com along with the required
    files, and request that an Eval support case be created for this issue.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Andre Shergin" <[email protected]> wrote in message
    news:[email protected]...
    Anurag,
    I removed "t3", still get an error but a different one (Unable to create
    InitialContext:null):
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB[Unable to
    create InitialContext:null]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB[Unable to
    create InitialContext:null] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetVisaHistoryTransactions.getVisaHistoryTxn(GetVisaHistoryTransactions
    .jws:67) </jwErrorDetail>
    </detail>
    </error>
    Note: inter-domain communication is configured properly. The Web Service to
    remote EJB works fine without a declarative security.
    Any other ideas?
    Thank you for your help.
    Andre
    "Anurag" <[email protected]> wrote in message
    news:[email protected]...
    Andre,
    It seems you are using the URL
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB
    whereas you should not be specifying the "t3:" protocol.
    The URL should be like
    jndi://secuser1:[email protected]:7131/AccountDelegatorEJB
    Please do let me know if you see any issues with this.
    Note that this will only allow you to access remote EJBs in the same WLS
    domain. For accessing EJBs on another domain, you need to configure
    inter-domain communication by
    following a few simple steps as mentioned at
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/jta.html#1106135. This link has
    been provided in the EJB Control Workshop documentation.
    Regards,
    Anurag
    "Andre Shergin" <[email protected]> wrote in message
    news:[email protected]...
    Raj,
    I tried that before, it didn't help. I got similar error message:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB[Lookup
    failed for
    name:t3://secuser1:[email protected]:7131/AccountDelegatorEJB]</faultstr
    ing>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during JNDI
    lookup from
    jndi:t3://secuser1:[email protected]:7131/AccountDelegatorEJB[Lookup
    failed for
    name:t3://secuser1:[email protected]:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260) at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64) </jwErrorDetail>
    </detail>
    </error>
    Anything else should I try?
    P.S. AccountDelegatorEJB, the remote EJB my Web Service calls is NOTaccess
    restricted.
    I hope there is a solution.
    Thanks,
    Andre
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]...
    Andre,
    Can you try using the following url with username and password
    jndi://username:password@host:7001/my.resource.jndi.object ?
    once you add webapp level security, the authenticated is the user who
    invokes the EJB.
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/ejb/con
    CreatingANewEJBControl.html?skipReload=true
    has more info on using remote EJB's.
    Hope this helps.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Alla Resnik" <[email protected]> wrote in message
    news:[email protected]...
    Hello everyone,
    I developed a Web Service prototype accessing remote EJB using the EJB
    control with special syntax in the jndi-name attribute: @jws:ejb
    home-jndi-name="t3://10.10.245.70:7131/AccountDelegatorEJB"
    Everything works fine, but I get an error when I restrict access to my
    web
    service with a declarative security model by implementing steps
    provided
    in
    help doc:
    - Define the web resource you wish to protect
    - Define which security role is required to access the web resource
    - Define which users are granted the required security role
    - Configure WebLogic Server security for my web service(Compatibility
    Security/Users)
    I launch the service by entering the address in a web browser. Whenprompted
    to accept the digital certificate, click Yes, when prompted for
    network
    authentication information, enter username and password, navigate tothe
    Test Form tab of Test View, invoke the method by clicking the buttonand
    I
    get the following exception:
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>Error during JNDI lookup from
    jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookup failed for
    name:t3://10.10.245.70:7131/AccountDelegatorEJB]</faultstring>
    <detail>
    <jwErrorDetail> weblogic.jws.control.ControlException: Error during
    JNDI
    lookup from jndi:t3://10.10.245.70:7131/AccountDelegatorEJB[Lookupfailed
    for name:t3://10.10.245.70:7131/AccountDelegatorEJB] at
    weblogic.knex.control.EJBControlImpl.acquireResources(EJBControlImpl.java:27
    8) at
    weblogic.knex.context.JwsInternalContext.acquireResources(JwsInternalContext
    .java:220) at
    weblogic.knex.control.ControlHandler.invoke(ControlHandler.java:260)at
    ibas.AccountControl.getTransactionHistory(AccountControl.ctrl) at
    ibas.GetSecure.retrieveVisaHistoryTxn(GetSecure.jws:64)</jwErrorDetail>
    </detail>
    </error>
    I have a simple Hello method as well in my WebService (which is also
    restricted) and it works fine, but remote EJB access doesn't. I testedmy
    prototype on Weblogic 7.2 and 8.1 platforms - same result.
    Is that a bug or I am missing some additional configuration in order
    to
    get
    that working. Has anyone seen similar behavior? Is there a knownresolution?
    Or a suggested way to work around the problem?
    Thank you.
    Andre

  • SharePoint 2013 Central Admin says port 80 for three web applications, but IIS says they have different ports

    Hello,
    I have three web applications on a SharePoint 2013 servers.  In Central Administrators on the Application Management page where it lists all of the web applications, it shows Port 80 being used 2 3 sites.  When I go to IIS, 2 of the 3 are using
    different ports, 81 and 82.  So, only one site IIS says is using port 80. Why is this?  The host file has no entries in it.  Where these web applications extended?
    Thanks,
    Paul
    Paul

    Hi Paul,
    From the URL of the web application in Central Administration in the image, you have configured the Alternate Access Mapping for the web applications.
    And the URL configured is by default using port 80 if you don’t 
    assign other ports for the web application, so the port is changed to 80 in Central Administration.
    To be able to access the web application, you need to add binging for the web application in IIS(please make sure that you have added the host name in DNS).
    For example, SharePoint – 32298, you need to create the binding for the web application in IIS as the image below:
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • J2EE BluePrints Web Application Framework ("WAF")

    hi, i need to develop a web application using j2ee patters. but i have no idea where to start. can i use the WAF which comes with petstore application or is there a place where i can download J2EE BluePrints Web Application Framework ("WAF) APIs. i know for using struts, i have to download struts package from apache.org, but don't know how to use J2EE BluePrints Web Application Framework ("WAF"). can someone plz suggest me a way to start developing a application using j2ee patterns.
    Thanks for ur help
    babu

    At the end of application designing, identify for potential problems from the list of design patterns, if you find a problem then you apply that pattern.
    Don't start with design patterns because it says design or the design patterns is the buzz word.
    --Jay
    http://www.architectslobby.org
    An exclusive community for Enterprise Architects
    Get news, discuss articles, related technologies, architectural topics, design topics, books and more.

Maybe you are looking for

  • Exit or Badi to prevent MIGO Goods Receipt on PO with Inbound Delivery

    Hi, I am hoping that someone can provide me with some direction on how to prevent the use of MIGO for GR when the PO being received is (or should be) linked to an inbound delivery. For purchase orders with a confirmation control key an inbound delive

  • Daily Shift Premium

    Hi Experts, We are working on ECC 6.0 and currently implementing negative Time management solution. There is a requirement to calculate premium hours for individual work days. There are 4 daily work schedules which have individual premiums attached t

  • Cannot run a servlet using Tomcat. Urgent

    I have a webapplication which uses some jsp's and servlets. The jsp pages work fine when I use http://hostname:8080/MyWebapp/Filename.jsp However, when I developed a java servlet and put the class file in WEB-INF/classes directory of my web applicati

  • [Solved] Where is ncurses-dev? (missing .h file)

    Hi all, I'm trying to compile some code that uses ncursesw, however I don't have the <ncursesw/ncurses.h> file on my system.  I'm new to Arch but I thought these files were normally provided by -dev packages, so ncurses-dev in this case.  But I can't

  • How to sign a certificate signing request

    Hi all, In the PKI process, a client generates a PKCS#10 [certificate signing request|http://en.wikipedia.org/wiki/Certificate_signing_request] (CSR see [sun.security.pkcs.PKCS10|http://www.docjar.com/docs/api/sun/security/pkcs/PKCS10.html] ), sends