How to use application.getRealPath()

Hi all,
I need to retrieve a document which is external to .war file and with in the same server location. I dont want to hard code the file location path in my jsp. Is there any other alternative by using getRealPath() method. Pl let me know how to use application.getRealPath() if it makes any sense.
Hoping to hear from you soon :)

Say, doc1 is in webapps1 and you want to get its real path in webapps2. For that,
in webapps2, you can use ServletContext.getContext("/webapps1") method , to get the context of webapps1. Then from this context, you can use context.getRealPath("/doc1") method to get the location of the document doc1.
Hope this helps.

Similar Messages

  • How to use application managed entity manager in EJB?

    I finish reading The EntityManager Interface in JEE tutorial.
    I know I can use container manager entity manager in EJB, but I want to explore how to use application managed entity manager in EJB.
    Can I use application managed entity manager in EJB (container management JTA transaction is used)? Where do I should close entity manager if can?
    The following is an example from JEE tutorial, but didn't find where to calose entity manager. and can I create mutiple EntityManagerFactory objects and Entity Manager objects to use them in a JTA transaction?
    @PersistenceUnit
    EntityManagerFactory emf;
    EntityManager em;
    @Resource
    UserTransaction utx;
    em = emf.createEntityManager();
    try {
      utx.begin();
      em.persist(SomeEntity);
      em.merge(AnotherEntity);
      em.remove(ThirdEntity);
      utx.commit();
    } catch (Exception e) {
      utx.rollback();

    Seems like a very poor example, the whole power of EJBs is to use Container Managed Transactions so you don't NEED to manage the transaction and the entity manager yourself. What you posted is code I would expect in a non-JEE application, or in a piece of code which requires fine-tuned transaction boundaries such as batched data importing logic.
    If I were you I'd research JPA in steps.
    a) learn about JPA as an API outside of the scope of EJBs (recommended reading: the book 'Pro JPA 2')
    b) learn about Container Managed Transactions in EJBs
    c) learn about Bean Managed Transactions in EJBs
    Right now you're rushing into c). I can understand that it raises many question marks at this point.

  • How to use application item in the page template

    How to use application item in the page template.
    Thanks,
    rajendra

    Hi,
    You can refer application item value in template like &MY_ITEM. (note period at end)
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm
    Regards,
    Jari

  • How to use application params in .EAR files

    When we build an ear file , Weblogic-application.xml provides application-param
    tag?
    are they similar to env-entry in ejb-jar.xml.
    Can I use application-param tag to define a configurable params
    say myName and value as "Harshad"
    How do i read it in the application say a simple java class that is included in
    a jar inside the ear file.

    application-param tag in weblogic-application.xml may be used to define parameters:
    webapp.encoding.default
    webapp.encoding.usevmdefault
    webapp.getrealpath.accept_context_path
    http://e-docs.bea.com/wls/docs81/programming/app_xml.html#1034632
    "Harshad Nanal" <[email protected]> wrote:
    >
    When we build an ear file , Weblogic-application.xml provides application-param
    tag?
    are they similar to env-entry in ejb-jar.xml.
    Can I use application-param tag to define a configurable params
    say myName and value as "Harshad"
    How do i read it in the application say a simple java class that is included
    in
    a jar inside the ear file.

  • How to use application class reference in the controller methods of BSP

    Hi,
    I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).
    In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.
    application->text = 'test'.
    I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement. 
    Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.
    Best regards
    Siva

    Hi,
    if you are having main controller and sub-controller then you may need to use below coding to use application class reference.
    *Data declaration
      DATA:  obj_cntrl        TYPE REF TO cl_bsp_controller2,
             obj_sub_cntrl   TYPE REF TO z_cl_sub_cntl,
             application TYPE REF TO z_cl_application.
    *Get the controller
      CALL METHOD obj_main_cntrl->get_controller   "obj_main_cntrl is the object of main controller
        EXPORTING
          controller_id       = 'SUB'   "Controller ID
        RECEIVING
          controller_instance = obj_cntrl  .
      obj_sub_cntrl ?= obj_cntrl  .
      application ?= obj_sub_cntrl ->application.
    or simply use below code in your controller method.
      application ?= me->application.
    Thnaks,
    Chandra

  • How to use Application Designer with virtual box vm's

    hi all,
    I could use some help please.
    I have everthing installed and working on the VMs but now I want to use Application Designer but I must be doing something wrong.
    I installed the Oracle client on windows and created tnsnames.ora. I can't connect to the database from windows to vm.
    I have some questions which might help me fix this.
    The directory that was mentioned to put tnsnames.ora in (C:\app\Mike\product\11.2.0\client_1\network\admin\) was not there so I had to create it. Was that what I was supposed to do or did the install go bad?
    For the windows host file what should the ip addresses be? I used the IP Addresses of the eth1 network interface from both guests which I created.
    As far as the PeopleTools on windows I used PT 8.52 but with no patch will that work even though the VMs are PT 8.52.06? So if I need the patch in order for App Designer to work how can I get the patch I think I need an account to do that. I think it mentions in the OVM doc that they are included somewhere so should I use those instead?

    <strike>With virtualbox vm's I assume that you mean the OVM templates converted to virtualbox.</strike>
    Didn't notice the OVM category :)
    Which Oracle Client installer did your use?
    You could use the following download from MOS for Database 11.2..02 (since Peoplesoft database is also delivered at 11.2.0.2)
    Patch 10098816: 11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER
    From the patch set download only p10098816_112020_platform_4of7.zip, which is your database client. The rest you will not need to be able to use Application Designer and Datamover.
    Once downloaded start the installer and choose option Runtime (do not choose Instant Client or Administrator).
    Now that you have your connectivity, you can start the PIA-AppBatch vm.
    switch to psadm2 user and go to $PS_HOME.
    Here you will find two files
    toolsclient.zip (PeopleTools 8.52, use client only)
    toolspatchvcd.zip (PeopleTools patch 8.52.06, , use client only)
    Copy these files to your windows workstation and install them in that order.
    Copy the tnsnames from the Database vm to your oracle client install dir network\admin dir and you should be ready to start using Application Designer/Datamover.
    For more detailed information see the post from Nicolas:
    http://gasparotto.blogspot.nl/2012/09/psovm-fscm-91-feature-pack-2.html
    http://gasparotto.blogspot.nl/2011/10/peopletools-852-client-installation.html
    Regards,
    Hakan
    Edited by: Hakan Biroglu on Mar 9, 2013 1:23 PM
    Edited by: Hakan Biroglu on Mar 9, 2013 1:30 PM

  • How to use Application Integrator (AI) in EP 710?

    Hi all,
    I can't find any entry points about application integrator in EP 710, does anyone know how to use it in EP 710?
    Thanks and regards,
    Bena

    Hi,
    first you need to check out in your system whether you have a par name com.sap.portal.howtos.webapp is available or not in you system templates.
    if it is not their then you need to upload it.
    to upload follow the steps
    goto system administration -> support -> portal runtime -> administration console
    -> browse throught the contents and fine your par file and press upload.
    after uploading go back to system administration -> system configuration -> system landscape -> portal content
    here you can create your own folder or right click on portal content directly to create system
    when you right click on folder or portal directly you will get three option,
    system from template, system from par and folder.
    you need to choose system from par and after choosing  in portal content you find
    par files selction screen here you need to goto the par com.sap.portal.howtos.webapp -> webapplication  which you imported or uploaded to your portal earlier.
    and then in new screen you need to enter the required fields such as name and id.
    after this save it and close the editor.
    then again got your system you created and right click on it and open object.
    here you set the object property in navigation as object is a template to yes.
    by setting this property you are making the system available on the template selection ie,.
    select system from template.
    you create another system using this system.
    here you have three steps to perform
    a) connection properties
    b) user management
    c) system alias
    in connection property here you need to set the url, http(s), and server name.
    since you are using sap logon ticket you need to select in user management property to UIDPW and since you are giving authorization to both user as well as end user you need to select admin,user.
    then for the system you need to select system alias, so that the end user can map with the system by choosing the alias you set. to set alias goto property editor and choose system alias and enter the name you want and press add.
    Now you goto user administrator and choose your user and select him and press modify and choose mapping tab and select the alias name you entered and and enter the mapped user id and mapped password.
    after mapping check the connection it should succeed.
    then create an iview to verify whether the iview created by this par is working fine or not.
    **********please reward points if the information is helpful to you***************

  • How to use  Application Integrator for iView Creation

    Hi all
    any one can help me how to create an iView(webshop b2b iview) by using the Application integrator in portal
    Regards
    sunil

    1) creating URL ivew , for that you can refer this
    URL iView Creation
    2) You can directly deploy your .net project from the Visual Studio itself(sound's amazing right!!). SAP have provided a add-on to deploy directly from VS 2003/2005.
    For that you need
    SAP Portal Add-in 2.5 for Visual Studio 2005 - Hotfix 1.exe
    SAP Portal Runtime 2.5 for Microsoft .NET - Hotfix 1.exe

  • How to use application logger ?

    Hi,
    I have created a JSPDynPage application that I've deploy ion my portal (EP6 SP13)
    I want to use logger to manage it.
    For this, I've read many documentation but I can not find 2 documentations which are saying the same thing...
    Actually:
    /* I created a location in each class */
    private static final Location LOCATION = Location.getLocation(MyClass.class);
    /* I reference the application category */
    private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, Constants.APPLICATION_NAME);
    /* And I use this as: */
    CATEGORY.infoT(LOCATION, "doInitialization", "User logged in", new Object[] { m_timeManagment.getFirstName()});
    /* And: */
    LOCATION.infoT("doInitialization", "User started transaction", new Object[] { m_timeManagment.getFirstName()});
    But I think I must do other think ...
    Like for example create a log-configuration.xml file in my application folder (under "logger" repository?)
    Should I reference it in the portalapps.xml ?
    Can someone tell me exactly how to do, please ?
    Thanks,
    Fabien

    Hi,
    I have a problem with the definition and the use of log-configuration.xml file.
    Here, I use the log-configuration.xml file...
    But the code seems OK but I don't see any log or location/category in the Log viewer
    My log-configuration.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter
                   name="DefaultFormatter"
                   pattern="%24d %l [%s]: %m"
                   type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination
                   count="10"
                   effective-severity="INFO"
                   limit="1000000"
                   name="application_log"
                   pattern="./log/applications/TimeManagmentWithLog/defaultTrace.%g.trc"
                   type="FileLog">
                   <formatter-ref name="DefaultFormatter"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller
                   effective-severity="INFO"
                   name="com.eurocopter.portal.time.management.process">
                   <associated-destinations>
                        <destination-ref association-type="LOG" name="application_log"/>
                   </associated-destinations>
              </log-controller>
              <log-controller
                   effective-severity="INFO"
                   name="/Application/TimeManagmentWithLog">
                   <associated-destinations>
                        <destination-ref association-type="LOG" name="application_log"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>
    So, I define a location: com.eurocopter.portal.time.management.process
    And a category: /Application/TimeManagmentWithLog
    And the destination of the log file: ./log/applications/TimeManagmentWithLog/defaultTrace.%g.trc
    And in the java code, I use:
    package com.eurocopter.portal.time.management.process;
    private static final Location LOCATION = Location.getLocation(TimeManagementProcess.class);
    private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, Constants.APPLICATION_NAME);
    CATEGORY.infoT(LOCATION, "doInitialization", "User logged in", new Object[] { m_timeManagment.getFirstName()});
    LOCATION.infoT("doInitialization", "User started transaction", new Object[] { m_timeManagment.getFirstName()});
    I would thinking this creates the logfile in the sepcified destination and that I can see the category and the location in log Configurator..
    But nothing happens...
    Did I do something wrong ?
    Thanks,
    Fabien

  • How to use application's class

    I need to deploy Hudson.ear to weblogic. I can deploy Hudson.ear to a weblogic domain without extensions and it works fine.
    If I add extensions such as SOA Suite 11.1.1.4. I will get errors of as follow.
    It seems that weblogic will use a different version of org.dom4j.
    How to change the weblogic to use the org.dom4j of my application (hudson.ear)?
    -----------------errors------------------------------
    org.apache.commons.jelly.JellyTagException:> zip:D:/Oracle/Middleware/user_projects/domains/SOAdomain2011/servers/AdminServer/tmp/_WL_user/HudsonEAR/kaepet/war/WEB-INF/lib/hudson-core-1.394.jar!/lib/layout/layout.jelly:57:51:> <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>
    Caused by: java.lang.NoSuchMethodError:> org.dom4j.io.HTMLWriter.setEnabled(Z)V Method org.dom4j.io.HTMLWriter.setEnabled(Z)V is missing. > at> org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78)> at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52)> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)> ... 53 more

    Thanks.
    How to set it? I have other applications which use different version of org.dom4j.jar.
    I change setDomainEnv.sh and add dom4j-1.6.1-hudson-3.jar to the following 2 locations. But I get errors.
    JAVA_PROPERTIES="${JAVA_PROPERTIES} ${CLUSTER_PROPERTIES}"
    export JAVA_PROPERTIES
    PRE_CLASSPATH="${SOA_ORACLE_HOME}/soa/modules/user-patch.jar${CLASSPATHSEP}${SOA_ORACLE_HOME}/soa/modules/soa-startup.jar${CLASSPATHSEP}${PRE_CLASSPATH};D:\Oracle\Middleware\oracle_common\modules\dom4j-1.6.1-hudson-3.jar;D:\Oracle\Middleware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\extensions\Selector\lib\thirdParties\Hibernate3.1\dom4j-1.6.1-hudson-3.jar"
    export PRE_CLASSPATH
    JAVA_DEBUG=""
    export JAVA_DEBUG
    --------------------------error-------------------------
    org.apache.commons.jelly.JellyTagException: zip:D:/Oracle/Middleware/user_projects/domains/SOAdomain2011/servers/AdminServer/tmp/_WL_user/HudsonEAR/kaepet/war/WEB-INF/lib/hudson-core-1.394.jar!/lib/layout/layout.jelly:57:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V
         at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:728)
         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:290)
         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
         at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
         at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
         at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
         at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44)
         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
         at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:63)
         at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
         at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
         at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:72)
         at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:114)
         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:551)
         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:606)
         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640)
         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478)
         at org.kohsuke.stapler.Stapler.service(Stapler.java:160)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
         at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V
         at org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78)
         at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52)
         at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
         ... 53 more

  • How-to use Application Dictionary ?

    To access an external SOAP service from Forte, I installed iPlanet Integration Server. I also managed to create a Application Dictionary component with Service Information to access the SOAP service. How can I use this Application Dictionary in my Forte application to access the SOAP service ? Interestingly, this component is not visible when i tried to include in my project as supplier plan. It only shows up in supplier plan list for Conductor projects like Process Definition. I am using 3.0.0 version of Fusion and Conductor.

    As SUN/iPlanet had already built an Adapter Designer that was capable of creating SOAP client calls, and as they have built-in server side SOAP interface generators in UDS 5.0, I urgently expect them to deliver such a toolkit with UDS 5.1. Otherwise they would not be reliable with their promises concerning UDS being part of SUN.ONE architecture !!
    I did already issue that as an enhancement request some months ago . But I admit - there was no reply until today !!
    But I am sure, they will be reading this and are already working on that ;-) ???

  • How to use application builder to generate installation disk without compiling the the support files?

    Hello,
    What I am trying to do is to use LV application builder generating an installation disk without compiling the support files. I mean:
    the support fils like the help files are located on a different directory , for example, installation disk is D drive, help file directory is: D:\Help\...,  not compiled in the installation Data set.
    So,  when the installation disk is running, it only copy this directory file into the destiny directory. Of course, we can write a different bat file to do this. However, beside this method, is there any way, like using LV application builder to do this without writing a batch file.  Any suggestion will be appreciated.

    For LabVIEW 7.1, this can be done in a few short steps. First, add your help file as a support file in the Application Builder. Then go to the Installer tab, choose to create an installer and click on the Files button at the bottom. From this dialog (shown below), you can specify the destination for each component in your install package. If you have added your help file as a support file, it will show up in the Files in Installation list. Click on your help file to highlight it. You can now choose where to install the file to by specifying an installation destination and a subdirectory. The default subdirectory is called data, but if you want to change that, just type in a new subdirectory name as I have done below:
    Hope this helps!
    Message Edited by Jarrod S. on 01-23-2006 10:17 AM
    Jarrod S.
    National Instruments
    Attachments:
    Support Files.JPG ‏31 KB

  • How to use Application Roles with Entity Framework

    How does one call sp_setapprole before a connection used by an Entity Framework object context closes, since the context opens and closes its own connection automatically, as needed? The only relevant event available on a store connection
    (DbConnection ) is StateChange , which does not include a
    ConnectionState of Closing . Attempting to call
    sp_setapprole when ConnectionState is Closed results in, "A severe error occurred on the current command. The results, if any, should be discarded."

    Yes, I realize that I need to call sp_setapprole on an open connection and that I can use
    ExecuteNonQuery or similar mechanisms. What I need to determine is how to do this
    automatically while using the entity framework.
    As I mentioned in my initial inquiry, the EF store connection, which is simply a DbConnection under the covers, does not expose an event (such as Closing) that would allow me to invoke
    sp_setapprole before a connection is closed. The only close event we are given is
    Closed , which is too late to do any good. I'm hoping to avoid burdening our systems with having to manually manage the connection.

  • Please!! I bought new computers.  How to use applications on old computer after uninstalling iCloud

    I started iCloud on a MacBook.  I recently bought a iMac and a MacBook Air.  I installed iCloud on the new computers.  I understand I can only use two computers so I uninstalled iCloud on my MacBook.  I had Creative Suite CS2 I believe before iCloud.  So, now  if I use my MacBook and open, say, Photoshop, Adobe Account Manger opens and says, "unable to connect to iCloud".  And askes for user name and passwords.  How can I stop this?  I thought I can still use my programs because they are installed.  Same goes with Acrobat.  I have Acrobat XI.  If say I get a PDF e-mailed to me and Acrobat opens up it says my trial version is about to expire.  What gives?

    Hi sik2bfree,
    Have moved your post to a more relevant forum. The experts here are better placed to help you.
    Thanks,
    Preran

  • How to use application to call a remote EJB?

    this is my code:
    package test;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.util.*;
    import test.HelloWorldHome;
    import test.HelloWorld;
    public class callremoteEjb{
         public String callejb(){
              try{
                   Properties env = new Properties();
                   System.setProperty("org.omg.CORBA.ORBInitialHost", "202.120.80.219");
              System.setProperty("org.omg.CORBA.ORBInitialPort", "7001");
              env.put(Context.INITIAL_CONTEXT_FACTORY,
                             "com.sun.enterprise.naming.SerialInitContextFactory");
              env.put(Context.PROVIDER_URL, "t3://202.120.80.219:7001");
                   Context initial = new InitialContext(env);
                   Object objref = initial.lookup("HelloWorldBean");
                   HelloWorldHome home = (HelloWorldHome)PortableRemoteObject.narrow(
                                                      objref,HelloWorldHome.class);
                   HelloWorld helloBean = home.create();
                   return helloBean.sayHello();
              }catch(Exception ex){
                   ex.printStackTrace();
              return "aaa";          
         public static void main(String[] args){
              callremoteEjb testejb = new callremoteEjb();
              System.out.println(testejb.callejb());     
    i ' ve success deploy the EJB in the remote server.
    but it run error : " Can't find SerialContextProvider "
    how should i do?

    There is a sample called rmi-iiop. It has a Java applicationclient that talks to a remote ejb. Pl have a look at that.
    Sahoo

Maybe you are looking for

  • How do you get wi fi on your i pod touch when your to far away from the router

    How do you get wi fi on your i pod touch when your to far away from the router

  • Oracle Forms 9i 1Z0-141 Exam Preparation

    Hi, I've cleared OCA developer 3 months back. I m currently working on PL/SQL and Oracle Forms. Now i want to go for Forms Developer 1Z0-141 Certification Exam. I m new to Oracle forms.Can any one suggest me up to what level i need to prepare for the

  • Post data to/from an iView

    Hi, I am a newbie att SAP, and have a problem: I have a Web Dynpro application, and a third party application. I want the Web Dynpro application to post large amounts of data to the other application, which in turn posts data back to webdynpro. I am

  • IE vs Chrome Menu bar Problems

    After nearly completing my home page I was told I needed drop down menus, so i changed it from a regular menu bar to one with a few drop downs, and once again ran into problems with chrome vs ie, chrome looks pretty good IE messes it all up, anyone w

  • FlexReport - is it still the best option?

    Is FlexReport still a viable option for preview/printing with Flex 3.  Also if anyone has any experience with it or alivePDF - Is there anyway to keep the datagrid dataprovider column order?  In my test they always seem to sort by alpha headers, I ha