Looking up Identical EJB both locally and remotely

prior to posting this request, i have read and
attempted multiple solutions to this problem
suggested in the forums to no avail.
if i have the same EAR, which contains both
an EJB Component and a WAR, deployed to multiple
servers, is it possible to look up an EJB both
locally and remotely?
for instance, on the server performing the lookup,
EJB A is deployed. i successfully look it up
via the following call:
InitialContext context = new InitialContext();
Object ref = context.lookup(name);
return javax.rmi.PortableRemoteObject.narrow("EJBA", EJBAClass.class);
subsequently, i try to lookup the same ejb
on a remote server by performing the following
calls:
Properties environment = new Properties();
environment.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
environment.put("java.naming.provider.url",
     "ormi://remoteserver:23791/application");
environment.put( "java.naming.security.principal", "user");
environment.put( "java.naming.security.credential", "password");
jndiContext = new InitialContext(environment);
Object ref = context.lookup(name);
return javax.rmi.PortableRemoteObject.narrow("EJBA", EJBAClass.class);
however, i either receive an authentican exception, saying "user"
doesnt have access to allication "application", or a null pointer
exception int the RMIInitialContext.
on my local application, i have defined my ejbs in the web.xml
as defined by the spec. the ejb component is marked as remote="false"
in my orion-application.xml as well.
the version of oc4j is 1.0.2.2.1.
any directinon on this would be greatly appreciated.
thanks,
ted rice

as a follow up to my own question, using a application
client, outisde of the web application i can
successfully look up my ejbs locally and remotely.
however, from within the web application, i constantly
receive a ClassCastException.
if no one can tell me how to resolve this, could someone
let me know if they have in fact looked up the
same EJB, both deployed locally and remotely, from the
same web application.
thanks,
ted

Similar Messages

  • Using old version CS3. Can't "see" both Local and Remote files. Only Local.

    Used to see both Local and Remote files. Worked in Local and then "Put" to the Remote when ready. Only see Local now. Work in Local is saved automatically to the server. Need to go back to the work in Local and Put to Remote. What happened? How do we fix it? Thanks!

    Could you post a screen shot of what you're seeing when you go to...
    Site > Manage Sites > Click the site  you're working on > Edit
    There should be two tabs in the upper left corner of the dialogue box that comes up, Basic and Advanced. Basic walks you through set-up with a bunch of questions and Advanced allows you to just enter the info into the correct fields. If the Advanced tab is open, it should be under the Remote heading where you set your FTP info.

  • Visual Studio/ Oracle set up with both local and remote database

    Hi, I am developing a database application in Visual Studio 2010, and have installed Oracle Database 11g Express on the same pc - (Windows 7, 64bit).
    Now I am faced with what I need to install next: I've seen that Oracle Developer Tools for Visual Studio is required/recommended, but as it comes as part of the ODAC suite, it asks if I want to install the client or server version. Which should it be?
    And would the situation change if I also needed to connect to a remote (Oracle 10g) database? I'm keen to avoid having tnsnames files all over the place, if at all possible, but would I need a separate Oracle client installation in either case?
    Many thanks,
    Nick

    Hi,
    Are you actually going to drag and drop things from Server Explorer, and or use Sever Explorer to create/edit/debug stored procedures and such? If so, you'll need (32 bit) Oracle Developer Tools installed, and you'll need to install it into a separate home from the Express home.
    If you're just going to "hand code" ODP.NET, you can use the ODP.NET that installs in the Express home. Note though that in VS2010, projects default to compile target of "x86", so to run a 64 bit app with the 64 bit ODP/client (assuming you installed 64 bit db home), you'll need to change it to x64.
    You can connect from ODP.NET without tnsnames via the EZConnect version of the connect string.. ie,"data source=//serverhost:port/db_service_name; user id...etc.."
    You can use 11g client against a 10g database.
    Hope it helps,
    Greg

  • What is @Local and @Remote

    I use to think that @Local interfaces are those interfaces that could be called within the same app server JVM and @Remote calls are inter-JVM calls.
    I have a code that doesn't support this. I write my ejb module and deployed it under ejb module of SUn application server. I also wrote a web application module deployed under web application module of the same server but because I did not specify any @Remote interface, the web application will not deploy becuase of a null ejb-ref problem.
    When I added the @Remote Interface, it work.
    This just conflicts my understanding of @Remote and @Local.
    Can anyone throw light on this.
    Regards.
    Michael

    to clarify issues on this --
    I just completed another test on both @Local and @Remote - all in the same JVM
    @Remote
    works fine
    @Local
    *exception*
    javax.servlet.ServletException: com.login.service.LoginService#com.login.service.LoginService not found
    *root cause*
    javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found the exception message is from the web page while the server log says
    [#|2008-02-21T00:17:30.332-0800|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=20;_ThreadName=httpWorkerThread-8085-0;_RequestID=b04cb6db-8a16-463e-ba4f-f2a8aed4d9c7;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@57737a) threw exception
    javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:521)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:325)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
         ... 55 more
    Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref com.login.web.LoginBean/loginService@jndi: com.login.service.LoginService@[email protected]@Session@null into class com.login.web.LoginBean
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:373)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
         at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
         ... 56 more
    Caused by: javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found
         at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
         at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
         at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
         at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
         at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:833)
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274)
         ... 60 more
    |#]
    [#|2008-02-21T00:17:30.332-0800|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpWorkerThread-8085-0;_RequestID=b04cb6db-8a16-463e-ba4f-f2a8aed4d9c7;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    javax.naming.NameNotFoundException: com.login.service.LoginService#com.login.service.LoginService not found
         at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
         at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
         at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
         at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
         at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:833)
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:274)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)so I am still confused as what @Local is.

  • CS3: Viewing local and remote files simultaneously

    A friend recently purchased a new computer. On her previous PC, she could expand the Files view in Dreamweaver (v9) CS3 and see a split screen -- local files on one side, remote files on the other.
    She removed CS3 from her old machine and installed (from the same disks) on her new machine. Now, she cannot see the local/remote split screen.
    She can expand the Files tab (F8) to fill the screen - but that doesn't help. She checked, and her FTP settings are correct and connect properly.
    I know it's possible to do this is CS3 - I've seen her do it and I always worked in this view going back to Dreamweaver 4 - but the option to see local/remote seems to be gone!
    Any suggestions on how to fix this would be appreciated.

    Assuming you have properly defined both local and remote site settings -- Sites > Manage Sites....
    Your files panel  may be too narrow to see it.  Open it up wide, notice the icon at far right for "Expand / Collapse?" 
    See screenshot:
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • When you expand to show local and remote sites, in DW CS6 how do I get the local to be on the left?

    When you expand to show local and remote sites, in the previous verions of DW, the files type (local or remote) selected when not seeing both, automatically came up on the left.  I liked local when I am editing and when I am ready to upload I expand to see both local in remote.  Before, the one you had selected, in my case local, was always displayed on the left.  Now in CS6 when I have local selected before I expand, the local is on the right and remote on the left. For me that is not correct.  I find that having local on the left works best for me like reading, left to right, I want the local on the LEFT so I can put the updated from left to the remote on the right. 
    -->In DW CS6 how do I get the local to be on the left?

    Thank you so much!  That did it! 

  • Steps to setup and configure Node Manager on local and remote machine

    Hello,
    I am using WLS 10.3 on Windows.
    I have two machines, One cluster and two managed servers (one on each machine) created under a domain. I have used configuration wizard to create the domain.
    I have gone through documents on Node Manager and found what to configure. But I have not found when to configure. In other words I want to know what is the sequence of steps if I have to set Node Manager on my local machine (in which domain exists) and on remote machine.
    Please let me know the sequence of steps I need to follow to set and configure the Node Manager on local and remote machine. I want to use Java Node Manager (not the Script node manager).
    Thanks,
    Sanjay

    Hello,
    Ok, let me tell you what I have done till now.
    1) Installed WebLogic 10.3 on machine A (local machine, on which I have created domain and my Admin Server is running. Also Managed Server 1 is created on this machine).
    2) Installed WebLogic 10.3 on machine B (remote machine, on which Managed Server 2 will be created).
    3) On machine A I used the configuration wizard and create a domain. While creating the domain I did the following:
    i) Created two managed servers.
    ii) Created a cluster
    iii) Assigned Servers to cluster.
    iv) Created two machines.
    v) Assigned servers to machines (Admin Server and MS_1 to machine A and MS_2 to machine B).
    4) Sarted Admin Server.
    5) On the Admin Console I made some configurations for the Node Manager on Machines -> Machine A -> Node Manager. Assigned the values:
    i) Type (SSL)
    ii) Listen Address (IP_Address of machine A)
    iii) Listen Port (5556)
    6) Similarly did for Machine B.
    So till now phsically the managed server (MS_2) directory and configuration is not there on Machine B (its only configured on machine A because I created the domain on Machine A).
    Now I want install/configure/setup NM on both the machines. Start my both the managed servers using Admin Console (which will use the node managers).
    What are the sequence of steps I need to follow my task?
    Any help and suggestions are welcome with warm regards.
    Thanks,
    Sanjay

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • [Forum FAQ] How to install and configure Windows Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely

    As we all know,
    the Windows Server Essentials Experience role is available in Windows Server 2012 R2 Standard and Windows Server 2012 R2 Datacenter. We can add the Windows Server
    Essentials Experience role in Server Manager or via Windows PowerShell.
    In this article, we introduce the steps to install and configure Windows
    Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely. For better analyze, we divide this article into two parts.
    Before installing the Windows Server Essentials Experience Role, please use
    Get-WindowsFeature
    PowerShell cmdlet to ensure the Windows Server Essentials Experience (ServerEssentialsRole) is available. (Figure 1)
    Figure 1.
    Part 1: Install Windows Server Essentials Experience role locally
    Add Windows Server Essentials Experience role
    Run Windows PowerShell as administrator, then type
    Add-WindowsFeature ServerEssentialsRole cmdlet to install Windows Server Essentials Experience role. (Figure 2)
    Figure 2.
    Note: It is necessary to configure Windows Server Essentials Experience (Post-deployment Configuration). Otherwise, you will encounter following issue when opening Dashboard.
    (Figure 3)
    Figure 3.
      2. Configure Windows Server Essentials Experience role
    (1)  In an existing domain environment
    Firstly, please join the Windows Server 2012 R2 Standard computer to the existing domain through the path:
    Control Panel\System\Change Settings\”Change…”\Member of. (Figure 4)
    Figure 4.
    After that, please install Windows Server Essentials Experience role as original description. After installation completed, please use the following command to configure Windows
    Server Essentials:
    Start-WssConfigurationService –Credential <Your Credential>
    Note: The type of
    Your Credential should be as: Domain-Name\Domain-User-Account.
    You must be a member of the Enterprise Admin group and Domain Admin group in Active Directory when using the command above to configure Windows Server Essentials. (Figure 5)
    Figure 5.
    Next, you can type the password for the domain account. (Figure 6)
    Figure 6.
    After setting the credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 7)
    Figure 7.
    By the way, you can use
    Get-WssConfigurationStatus
    PowerShell cmdlet to
    get the status of the configuration of Windows Server Essentials. Specify the
    ShowProgress parameter to view a progress indicator. (Figure 8)
    Figure 8.
    (2) In a non-domain environment
    Open PowerShell (Run as Administrator) on the Windows Server 2012 R2 Standard and type following PowerShell cmdlets: (Figure 9)
    Start-WssConfigurationService -CompanyName "xxx" -DNSName "xxx" -NetBiosName "xxx" -ComputerName "xxx” –NewAdminCredential $cred
    Figure 9.
    After you type the commands above and click Enter, you can create a new administrator credential. (Figure 10)
    After creating the new administrator credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 11)
    After a reboot, all the configurations will be completed and you can open the Windows Server Essentials Dashboard without any errors. (Figure 12)
    Figure 12.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Part 2: Install and configure Windows Server Essentials Experience role remotely
    In an existing domain environment
    In an existing domain environment, please use following command to provide credential and then add Server Essentials Role: (Figure 13)
    Add-WindowsFeature -Name ServerEssentialsRole
    -ComputerName xxx -Credential DomainName\DomainAccount
    Figure 13.
    After you enter the credential, it will start install Windows Server Essentials role on your computer. (Figure 14)
    Figure 14.
    After the installation completes, it will return the result as below:
    Figure 15.
    Next, please use the
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with a remote computer. You can use the commands below:
    Enter-PSSession –ComputerName
    xxx –Credential DomainName\DomainAccount (Figure 16)
    Figure 16.
    Then, please configure Server Essentials Role via
    Add-WssConfigurationService cmdlet and it also needs to provide correct credential. (Figure 17)
    Figure 17.
    After your credential is accepted, it will update and prepare your server. (Figure 18)
    Figure 18.
    After that, please type “Y” to continue to configure Windows Server Essentials. (Figure 19)
    Figure 19.
    2. In a non-domain environment
    In my test environment, I set up two computers running Windows Server 2012 R2 Standard and use Server1 as a target computer. The IP addresses for the two computers are as
    below:
    Sevrer1: 192.168.1.54
    Server2: 192.168.1.53
    Run
    Enable-PSRemoting –Force on Server1. (Figure 20)
    Figure 20.
    Since there is no existing domain, it is necessary to add the target computer (Server1) to a TrustedHosts list (maintained by WinRM) on Server 2. We can use following command
    to
    add the TrustedHosts entry:
    Set-Item WSMan:\localhost\Client\TrustedHosts IP-Address
    (Figure 21)
    Figure 21.
    Next, we can use
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with the remote computer. (Figure 22)
    Figure 22.
    After that, you can install Windows Server Essentials Experience Role remotely via Add-WindowsFeature ServerEssentialsRole cmdlet. (Figure 23)
    Figure 23.
    From figure 24, we can see that the installation is completed.
    Figure 24.
    Then you can use
    Start-WssConfigurationService cmdlet to configure Essentials Role and follow the steps in the first part (configure Windows Server Essentials Experience in a non-domain environment) as the steps would be the same.
    The figure below shows the status of Windows Server Essentials.
    Figure
    25.
    Finally, we have successfully configured Windows Server Essentials on Server1. (Figure 26)
    Figure 26.
    More information:
    [Forum
    FAQ] Introduce Windows Powershell Remoting
    Windows Server Essentials Setup Cmdlets
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

  • SRP521W - Local and Remote Traffic Cannot be the Same Subnet Address

    I support an existing VPN infrastructure with PIX, Juniper NS5GT, and Netopia devices used as VPN endpoints. In all cases, I can create a VPN where the location's internal subnet, 10.x.y.0/24 sends traffic to 10.0.0.0/8 out the VPN tunnel. In the case of this 521W that we are evaluating, it appears that I cannot do this. Insteadm when creating the IPSEC policy I get this error "Local and Remote Traffic Cannot be the Same Subnet Address." Which, while strictly true, has never been an issue with all the above devices. Is there a workaround or other methodology to support this?
    Thanks.

    We have extactly the same problem with the SRP527W. Other Cisco small business products work like.
    Cisco RV 120W
    http://www.cisco.com/en/US/products/ps10852/index.html
    Cisco WRV210
    http://www.cisco.com/en/US/products/ps9929/index.html
    We need a device with that supports one IPSec VPN and one ADSL interface and is easy to use like these devices.

  • Synchronizing local and remote sites

    Greetings
    I created a site locally and then FTPed it up to a server at
    my ISP. The site was working fine until I made a number of changes
    that I note below. When in DW and I try try to preview in a
    browser, I am unable to view any of the files in any browser
    because DW is unable to locate the files locally and remotely.
    The error message I get is:
    Firefox can't find the file at
    /______/______/_____/_____/ThankYouVeryMuch/Website/tyvmi
    3/index.htm.
    The changes that were made to the site:
    - I reorganized my folders locally thereby creating a new
    root folder. When I tried to add 3 pages, I received several error
    messages. One of them was that DW was unable to locate the home
    page. Another was that it was unable to create the site map and if
    I'm not mistaken DW was unable to create cache files.
    - My client had a friend add some Google analytics to the
    site. This person also created an XML site map. Obviously, the
    local and web sites were not synchronized so I was receiving more
    error messages.
    - I then downloaded the site to a new directory in the new
    root folder I created above. This downloaded site is my local root
    directory in the Site manager and is located at
    ./______/______/_____/_____/ThankYouVeryMuch/Website/tyvmi
    3/index.htm
    - These are my current directories for the site
    thankyouverymuchinc.com:
    Site name: Thank You Very Much Inc
    Local: ThankYouVeryMuch
    ----------> Website
    -------------> tyvmi 3
    ---------------> index.htm
    ---------------> pages
    Remote: host: ip address
    ----------> www/htdocs/
    ---------------> index.htm
    ---------------> pages
    Many thanks
    Marlene

    Do you have a testing server defined?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "troika22" <[email protected]> wrote in
    message
    news:[email protected]...
    > Greetings
    >
    > I created a site locally and then FTPed it up to a
    server at my ISP. The
    > site
    > was working fine until I made a number of changes that I
    note below. When
    > in DW
    > and I try try to preview in a browser, I am unable to
    view any of the
    > files in
    > any browser because DW is unable to locate the files
    locally and remotely.
    >
    > The error message I get is:
    > Firefox can't find the file at
    >
    /______/______/_____/_____/ThankYouVeryMuch/Website/tyvmi
    3/index.htm.
    >
    > The changes that were made to the site:
    >
    > - I reorganized my folders locally thereby creating a
    new root folder.
    > When I
    > tried to add 3 pages, I received several error messages.
    One of them was
    > that
    > DW was unable to locate the home page. Another was that
    it was unable to
    > create
    > the site map and if I'm not mistaken DW was unable to
    create cache files.
    >
    > - My client had a friend add some Google analytics to
    the site. This
    > person
    > also created an XML site map. Obviously, the local and
    web sites were not
    > synchronized so I was receiving more error messages.
    >
    > - I then downloaded the site to a new directory in the
    new root folder I
    > created above. This downloaded site is my local root
    directory in the Site
    > manager and is located at
    >
    ./______/______/_____/_____/ThankYouVeryMuch/Website/tyvmi
    3/index.htm
    >
    > - These are my current directories for the site
    thankyouverymuchinc.com:
    >
    > Site name: Thank You Very Much Inc
    >
    > Local: ThankYouVeryMuch
    > ----------> Website
    > -------------> tyvmi 3
    > ---------------> index.htm
    > ---------------> pages
    >
    > Remote: host: ip address
    > ----------> www/htdocs/
    > ---------------> index.htm
    > ---------------> pages
    >
    > Many thanks
    > Marlene
    >

  • UK based Alliance Member looking for local and remote opportunities

    Austin Consultants is looking for contract and part
    time opportunities in the whole of UK and Europe and remote work for companies all over the world. With the current
    exchange rate situation, we have become really cost-effective for our clients in America, Canada, Australia and
    Europe. If you are looking for expert advice on LabVIEW and other
    National Instruments software development, please don't hesitate to
    contact us at info at austinconsultants dot co dot uk. A brief
    description of our company is provided below and a link to our website
    is mentioned in my signature as well. My personal email is provided on my profile page.
    Austin Consultants are the UKs highest certified LabVIEW 
    specialists and National Instruments Alliance Partner. We integrate
    test, measurement and control systems across the industrial sector and
    and are experts in LabVIEW,
    TestStand, NI VISION, CVI, C, C#, .NET and Silverlight. We
    have previous experience with the Tokomak Textor Fusion Reactor, and
    have strong
    Aerospace and Military background with Airbus, Goodrich and Horstman
    Defence. We have worked with companies in the field of Green
    Engineering, Research and Innovation, Optoelectronics, Automotive and
    Medical device manufacturing.
    Message Edited by Adnan Z on 05-14-2010 10:27 AM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

    Dear Sir,
    I would like to get an opportunity to participate in your upcoming or ongoing projects and work for you as a team member. I am a final year MSc Electrical and Communications Engineering student at University of Greenwich UK. Please give me some task to deliver as my MSc final year project or it could provide results for my project. From this experience I intend to move to enhanced certification level and have an experience of working with professionals in the industry.
    My experience of LabVIEW programming and hardware integration is two years plus and I have successfully done my CLAD LabVIEW certification at NI Week last year in London. On my job I was responsible to interact with clients, gather their requirements, suggest suitable hardware modules and then program and integrate to provide deliverable solution.
    Please find my CV attached and contact me at your most convenient. I can work in your South East office at Northolt if required.
    Best Regards,
    Harris Junaid
    Cell: 07813 764372
    email: [email protected]
    Attachments:
    Harris_Junaid(CV).docx ‏24 KB

  • Dreamweaver help with site set up. Local and remote server

    Hi,
    I've just got dreamweaver cs6 and i'm having issues with managing the site.
    Up until now I was using dreamweaver cs3 and when setting up a new site, the site definition had the category Local info and Remote info separated.
    Now on CS6 I cannot set up both individually for the same site, it doesn't give the option, it's one or the other which it doesnt work for me if I want to test a page locally, via preview on browser, otherwise it will upload it to the server if I choose FTP. If I choose only local then I lose all the ftp settings and once I've done the testing it won't upload to the server.
    Surely it has to be a work around this or something Im doing wrong but I can't see what it is

    There is no need to uncheck remote and testing. Previewing locally should work exactly the same as it did in CS3.
    Are you using a server-side language? If so, expand the Files panel by clicking this icon:
    Then make sure that the Testing Server icon is selected.

  • Is it possible to save a document both locally and to iCloud

    Good evening Ladies and Gents!
    Is it possible to save a Numbers document both locally on my Mac's HD and to iCloud so I can access it on my phone when I'm out and about?
    Thanks in advance.

    Is your MacOS X version in your signature still current (OS X Mavericks (10.9.1)?
    What you want to do will be easiest with Yosemite and iOS 8 on your iPhone. Then you can store iWork documents on iCloud Drive and access them on your mobile devices, but also locally on your Mac. See this support document:   iCloud Drive FAQ
    With Mavericks you can use Documents in the Cloud:  See this support document:   iCloud: About using iWork for iOS and iCloud

  • Jcom vb-ejb(both stateless and stateful)'s problem

    I try the jcom sample on wls7.0sp4,it's ok.(the sample used entityBean)
    then,I try the session bean(both stateless and stateful),some problem occur :
    <2003/10/29 17:31:54:JST> <Error> <COM> <210000> <IOXIDResolver opNum 5 invoked.
    This method is not implemented.>
    <2003/10/29 17:31:55:JST> <Error> <COM> <210000> <IOXIDResolver opNum 5 invoked.
    This method is not implemented.>
    <2003/10/29 17:31:55:JST> <Error> <COM> <210000> <Export of object: examples.ejb
    [email protected] barred>
    the client vb source :
    Set objTemp = GetObject("examplesServer:jndi:ejb20-statefulSession-TraderHome")
    //the statement is wrong!!
    Set mobjHome = objNarrow.narrowobjTemp, "examples.ejb20.basic.statelessSession.TraderHome")
    can anyone help me?
    thks!
    p.s: the jndi name is correct.

    A deployed bean can not be both stateful and stateless. You must specify the session-type in the deployment descriptor. The reason that deployed beans must be either stateful or stateless is that the ejb container must know how to handle them. Stateful and stateless beans have very different life cycles as I'm sure HeadFirstEJB pointed out.
    What HeadFirstEJB might have been trying to say is that if you have a no-arg create along with other create methods, you may be able to deploy the bean as stateless in one environment and stateful in another. I can't think of any reason you might want to do this but I suppose there might be some valid reasons out there.

Maybe you are looking for