Accessing a file on a different server

hi...can you please give me some idea on how to access a file on a remote server?
i just need to open that file on that server and append some data to it everytime someone calls my program?
I just know the ip address of that remote server and the path of that file..
tia
Edited by: hari786 on Aug 5, 2008 12:52 PM

You have to have a program on your computer that connects to the Internet, and sends some data to the other computer. Then you have to place a program on the remote server that will connect to the Internet, listen to it, receive the data from your computer, and then append the data to the remote file. This tutorial shows you how to do that:
[http://java.sun.com/docs/books/tutorial/networking/index.html]
You can't do all of this from your computer only - imagine the results if any computer (yours) could connect to any other computer (mine!!) it wanted to, and then wrote any data it wanted into my computer. That would not be nice.

Similar Messages

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • Accessing an object from a different server

    Hi,
    I am making a program that will access an object from a different server.
    I have a program that when I run calls a jsp page running on Server A which in turn should request an object A from Server B.
    I am relatively new to Java and jsp. What would my best course of action be.
    Thanks in advance,
    Brian

    Or RMI?OK, sounds good, I will look up some RMi on the site.
    Thanks, will prob have more questions for you later.

  • Is it possible to access a database on a different  server?

    Hi Folks
    Forgive me if this has been asked already. We are in the
    process of moving one of our sites to a new server. It will reside
    there alone. I have several Access databases that are shared
    between two different websites. Now these sites will reside on two
    different servers. Is there any way to access one Access database
    that resides on one server from another server? The good part is
    the second sever will be using the data for read-only outputs.
    Thanks in advance for any help you can priocdie.
    John

    MS Access is not really intended for networking in this
    manner, and I would imagine that you would have problems with
    locking contention at the very least with two CF servers vying for
    access. Also, another major problem with attempting to set up an
    Access DSN where the ColdFusion server is on a different machine
    from the Access database is file permission. Normally, ColdFusion
    is setup on its server under an administrator account, so if you
    attempt to connect to an Access database on another server over a
    mapped network drive, the admin account on your CF server usually
    does not have the appropriate privileges on the machine hosting the
    Access database. This usually requires you to install CF under a
    user account that has privileges on both machines. (There have been
    tech notes on this subject in the past.)
    Bottom line, not a good idea at all. I would seriously
    consider migrating to anything but Access for these and many other
    reasons, the least of which is that Access is usually not suitable
    for anything but a development or prototype environment.
    Phil

  • Read File From A Different Server

    Hello Friends,
    We have a file (.txt) sitting in a server (not the application server) and there is a requirement to read data from this file into R/3. Manually, one needs a username and password to access this file as the server in which it resides is connected to a network. Now, what are my options? How can I do this? Please let me know!
    Thanks,
    Sam

    If the server has FTP capability, you could connect via FTP to get the file and place it on the application server.  Another option is to have the folder in which the file resides NFS mounted to your app server, the the file is visible to your ABAP program and can be processed using OPEN/READ/CLOSE DATASET.

  • Accessing txt files in the App server from web application

    Hi All,
    We have a use case, where we need to access txt files from the ADF web application.
    We will display to the user the path of the file and whenever he/she clicks, it should be downloaded automatically to the users machine.
    Environments we need to develop: JDeveloper 10.1.3.4 and Oracle App Server 10.1.3.1
    And our server has credentials and only those who have access to the server can access the files.
    Point me or suggest me a good solution to this use case.
    Regards,
    Naga.

    Hi Joonas,
    i was able to download the files, thanks a lot for your guidance. i will mark your answer as correct.
    Can you let me know how to achieve the following usecase.
    1. there will be multiple text files in the server i.e., out of our web application context like in some folder
    2. And we need to give user a http link and if he clicks on the link that file should be downloaded automatically to his machine.
    and we are using oracle app server 10.1.3.4, please point me to some document or example.
    thank you.
    naga.

  • Access the files of a web server through a JSP page

    Hello,
    Is it possible to access the files of a an Apache web server, just as you access your local machine.
    Basically i want to access the files of a specific folder, such as http://server:8080/foldername/ ,
    and get a list of all the files stored in there. I know how to do it for the local file system.
    File f = new File(server);
              File files[] = f.listFiles();
              for(int i=0;i<files.length;i++){
              if(files.getName().contains(" ")){
                   System.out.println(files[i].getName());

    This is really dependent on your web server. A web server isn't a shell and the closest equivalent I can think of barring webserver extensions is to configure directory listing to be allowed for the directory you're trying to, grab that html file listing, parse it, and use that to get a list of file names. This is not a very clean solution, so I suspect that whatever problem you're trying to solve, you're going about it the wrong way.
    Assuming Apache: [http://httpd.apache.org/docs/1.3/misc/FAQ.html#indexes|http://httpd.apache.org/docs/1.3/misc/FAQ.html#indexes]

  • How has access.log file configured in WebLogic server 10.0?

    1.) I am using BEA Weblogic 10.0 and my access.log is not getting updated.
    2.) I also need any information as to how this Webblogic server forms chunks (ex....access00011.log,access00012.log) because i have a software called AWStats which merges all these chunks into 1 single access.log file under its subdirectory.
    3.) I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
    FYI i have 2 servers and i checked under Logging->HTTP->advanced, in both the servers options and configurations are same but in 1 it works fine and access.log is updating but not in the other one.
    Kindly let me know i you have any leads into this issue!
    Thanks,
    Varun

    Hi Ravish,
    Firstly thanks for the reply.
    1.) -----
    What you can do is to set the buffer-size-kb parameter value to "0" in config.xml so that it can start logging once the server starts coming up rather then waiting for the default size which is 8kb to pass.
    Something like below:
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    <web-server-log>
    For more details check the below link:
    Search for: CR302493
    http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
    --- for this issue i had browsed throught the forum before posting but in my conf file i have something like this instead of <buffer-size-kb>0</buffer-size-kb>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    <log-file-format>extended</log-file-format>
    </web-server-log>
    </web-server>
    So how do i go about the path of debugging now??
    2.) -------
    If you do not want rotation of access.log then you can just disable it from the below console path just by putting Rotation type as None
    Server -> <YOUR_SERVER_NAME> -> Logging (tab) -> HTTP (sub-tab) -> Rotation type: None
    ---- for this in both my servers i have the settings like this,
    Rotation type--> By Size
    Rotation File size 5000
    Begin rotation time 00:00
    rotation interval 24
    files to retain 7
    and Log file rotation directory is left blank (to get created in same directory)
    and also Rotate log file on startup is unchecked.
    so??? what do you suggest!?
    3.) ------
    I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
    ---- regarding this, in my main server the access.log is getting updated and after 4.8Mb its creating 5Mb chunks. So, for example if the entire log is of 15 Mb then access.log stops updating at 4.98Mb and accesslog.out0001 and accesslog.out0002 is created with 5Mb each but the latest entry will be stored in accesslog.out0002 file. I hope i didn't complicate this :)
    Regards,
    Varun

  • Unable to access remote EJB object on different server

    I have deployed an EJB module on one server. I have been able to access the entity beans on this server from a standalone java client (on a different machine) using the CORBA Interopable Naming Syntax. Using this syntax
    corbaname:iiop:<hostname>:port#<jndi-name>
    However, when I deploy another EJB module on a separate server I am unable to access the objects held on the original server. I am using the same syntax as the java client.
    We are using Sun Application Server to deploy the modules. The error held in the server log is below. Can someone help with this. Does the Sun Application Server prevent connection to remote objects by default?
    [#|2005-12-09T17:39:55.703+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
         at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
         at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
         at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1536)
         at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
         at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
         at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:901)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
         at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
         at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
         at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
         at com.sun.jndi.url.iiop.iiopURLContext.getRootURLContext(iiopURLContext.java:44)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:182)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.ppl.services.ServiceLocator.lookup(ServiceLocator.java:47)
         at com.ppl.services.ServiceLocator.getRemoteHome(ServiceLocator.java:74)
         at com.ppl.services.ServiceLocator.getRemoteUSRRoutinesHome(ServiceLocator.java:134)
         at com.ppl.business.LoginBusiness.isUserServiceAvailable(LoginBusiness.java:50)
         at org.apache.jsp.testEJBComponents_jsp._jspService(testEJBComponents_jsp.java:72)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.lang.Error: Untranslated exception
         at sun.nio.ch.Net.translateToSocketException(Net.java:63)
         at sun.nio.ch.Net.translateException(Net.java:79)
         at sun.nio.ch.Net.translateException(Net.java:85)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:258)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:231)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:289)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:160)
         ... 62 more
    Caused by: java.net.SocketException: Already bound
         at sun.nio.ch.Net.translateToSocketException(Net.java:49)
         ... 69 more
    Caused by: sun.nio.ch.AlreadyBoundException
         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
         ... 66 more
    |#]
    [#|2005-12-09T17:39:55.703+0000|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._INITIALIZING_.rpc.presentation|_ThreadID=11;|"IOP02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"
    org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8276)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:8294)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1538)
         at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
         at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
         at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:901)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
         at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
         at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
         at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
         at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
         at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
         at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
         at com.sun.jndi.url.iiop.iiopURLContext.getRootURLContext(iiopURLContext.java:44)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:182)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.ppl.services.ServiceLocator.lookup(ServiceLocator.java:47)
         at com.ppl.services.ServiceLocator.getRemoteHome(ServiceLocator.java:74)
         at com.ppl.services.ServiceLocator.getRemoteUSRRoutinesHome(ServiceLocator.java:134)
         at com.ppl.business.LoginBusiness.isUserServiceAvailable(LoginBusiness.java:50)
         at org.apache.jsp.testEJBComponents_jsp._jspService(testEJBComponents_jsp.java:72)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
         at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
         at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
         at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
         at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
         at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1536)
         ... 56 more
    Caused by: java.lang.Error: Untranslated exception
         at sun.nio.ch.Net.translateToSocketException(Net.java:63)
         at sun.nio.ch.Net.translateException(Net.java:79)
         at sun.nio.ch.Net.translateException(Net.java:85)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:61)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:258)
         at com.sun.enterprise.server.ss.ASServerSocket.bind(ASServerSocket.java:231)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:289)
         at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:160)
         ... 62 more
    Caused by: java.net.SocketException: Already bound
         at sun.nio.ch.Net.translateToSocketException(Net.java:49)
         ... 69 more
    Caused by: sun.nio.ch.AlreadyBoundException
         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:114)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
         ... 66 more
    |#]

    http://docs.sun.com/source/819-0079/dgjndi.html

  • Tyring to access remote Files present in AIX server through  windows ODI

    Hi all,
    I need to access remote file structure , present in AIX server through my
    window ODI client .But I am unable to create file Data Store for the same.
    It's showing error that "schema does not exist".
    please suggest me how to resolve this problem
    regards
    palash,

    HI Julien,
    It's really working ..........
    Thanx a lot
    For other people it will be helpfull info
    Only change that I have made for that task are
    1. I have created an new agent for that AIX machine
    2. I have updated the ODIPARAM.bat
    3. I have changed record separator as UNIX while creating data store for that file
    4. While executing particular interface ,I have used the agent which is local to AIX machine ..................
    Steps for execution:
    At the time of designing you must have local copy of that file so that you can perform your mapping once it's executing well wid your local or no agent .
    then come to the Topology manager change the location for that folder in physical schema declaration of that file server of AIX machine.
    Now execute the same wid ur AIX agent u have created earlier..............
    while U have changed the data store location from local directory to other AIX directory don't try to reverse the same otherwise u'll get "Execution query failed "or file not found kinda error as because odi system system searching local systems file.................
    Julien can u provide me ur mail Id so that I can contact U for further assistance ofcourse
    if u want................
    regards
    palash

  • [Access right]File information are different between local a server storage

    Good morning all,
    We have serveral small issues and I am saking to my self 8and to you) if this can not have an impact.
    My iMac have 3 partitions.
    1) OS X 10.6.2
    2) User's datas
    3) Boot camp
    All of my users use a network account and their Home are automounted. I means that we they save a file to their home, the file is saved into the server. This is the same for the /Library/Preferences/... .
    I discovered some think interesting:
    When I create and save a file, on loacl iMac, then I cmd+i (file info windows), under the sharing & Permission section, I can see my user name with read&write permission, *AND my user name is followed by "(me)"*
    If I do exactely the same, but on a server folder, and then I pomme+i (cmd+i), the file info window, show me the same information, *but without the "(me)"*.
    Some one could explain me what does that "me". Which impact it has, and frist all, *why that "me" does not appear on the server local while the network account are created on the server and not on local*
    Many thank for your advise

    Hello,
    Someone has an idea about the (me).
    To resume :
    I have a file on my local laptop.
    If I press cmd+i and I look at the "Share & Permission", I can see my user name followed by a : (me).
    If that same file is syncronized to the file server, and I cmd+i on that file. Under the "sahre & permission", I still can see the same information, but excepted for my username, the (me) does not follow my user name any more.
    Do you know why (me) is not displayed on remote files?
    Thk

  • 11g issue in handling file datastore from different server

    Hi All,
    In ODI 11g we have standalone agent as well as weblogic server agent. In our case master/workrep and weblogic server agent is installed in one of the linux server Say (A).
    We have a scenario to pick the file from one of the different linux box SAY (B). We have child agent running on that box and it is associated with the main weblogic agent under load balancing.
    While setting the topology information for file datastore it just need the driver name and path. At run time how odi will pick the respective file from that server
    Eg:File in location: /app/soa/uo1/testfile/test.txt(B)
    File path:/app/soa/uo1/testfile/test.txt(B)
    ODI Client will start the execution using the Server A weblogic agent. How ODI will route the control to child agent and try to find the file in ServerB and not in server A.
    in my case it is going to server A and saying file doesnot exist......
    Is it really possible to assign the proper server detail, so that we can make sure that execution will happen properly. I am not sure about the weblogic agent and how it control the execution. I think in my case its weblogic agent which is trying to look for the file in server A, where it is installed and thus failing.
    Control is not passing to the proper child agent as expected?
    Any idea?

    There is a difference in your understanding of the load balancing and the way it is implemented in ODI agents.
    In your case, the weblogic agent exists on Server A and hence it expects that the file also be visible to the agent and be local to server A.
    Load balancing comes into picture when there are too many connections for Agent A and it shares its load with other agents. This logic of passing control is within the agent and when file systems come into picture, the filesystem should be visible to all the agents.
    There is no concept of parent-child agents. The agents are simply load-share agents.
    So, Load balancing is not going to give you what you want.
    In your case, you should execute the job using Agent on server B so that appropriate filesystem can be accessed.

  • Need help doing a reverse of a file on a different server

    Hi - I'm trying to a reverse on a file that is on a different machine than my personal pc.
    My steps:
    1) created physical arch and test was successful to server.
    2) log arch and context defined
    3) in designer, created a model (as file).
    Two questions:
    1) What is the best way to reverse? Create a data store under the file model and do the column reverse?
    2) My current issue is: When I do a column reverse, it says "The directory $ETL_DROP/sourcefiles specified does not exist" ... but it does.
    - $ETL_DROP is an environment var on linux to point to this directory and "sourcefiles" is the subdirectory where source files are stored.
    - Also, in the Definition tab, when I click on browse, it gives the same error but then opens up a browse window of my local pc... weird...
    Thoughts?
    Thanks!
    Dan

    Hi ,
    To reverse engineer a file (including csv or Excel files) using the File Technology, the file has to be local to ODI Designer.
    1. If your files are on a remote File System, you will need to copy one of your files to the machine ODI Designer is running on to allow ODI to retrieve the metadata information of the file.
    2. In Topology create a Physical Schema, the directory you enter for Data and Work Schema should point at this local file.
    3. Then define the File Datastore in ODI Designer. Enter a name, browse and select the file and fill in each filed of the Files tab.
    * If its a Fixed file, click on the grid icon on the Columns tab to enter the columns and have Automatic Adjustment checked.
    * If its a Delimited file, use the Reverse button on the Columns tab to reverse the columns.
    * Right click on the File Datastore select View Data, if you can view data, that means the File Datastore has been defined correctly.
    * If not, check each tab of the File Datastore to make sure everything is defined correctly and retry.
    4. Once View Data is successful, you may now change the directories (Data and Work Schema in Topology) to point at the remote File System. These directories must be accessible to the ODI Agent that will be used to run the transformations. The directory can be an absolute path (m:/public/data/files) or relative to the ODI Agent startup directory (../demo/files). It is strongly advised to use a UNC (independent from the execution location) for the path. When running the transformations with "no agent", the directory is relative to the directory where Oracle Data Integrator has been installed.
    Thanks,
    Sutirtha

  • File upload on different server. URGENT need help.

    hi,
    I am using struts common file upload to upload file from client. My problem is my application is running on server A but i want to store uploaded stream on server B without storing it on server A(i,e. without using FTP or rsync from server A to server B). Please help how can i achieve this task.
    Anuj

    Write and run a standalone application on "Server A" to accept a socket connection from "Server B" then feed the inputStream that "Server B" uses to upload the file, to the socketOutputStream that it has opened with "Server A" and have Server A save that file.

  • Accessing Mac File Share from Windows Server 2003

    I currently have a windows domain that has a few Mac OS x leopard servers on it. I can map a drive to the Mac share using windows XP and Windows Vista, but I cannot map the drive in Windows Server 2003. I have enabled the Windows Sharing on the Mac server, and enabled the Mac File Sharing on the Windows server, but the windows server does not find the Mac server. I can ping the Mac server by FQDN and IP, but when I go to map a drive to it I get the error:
    The mapped network drive could not be created because the following error has occurred: An unexpected network error occurred.
    I have also checked the Local Security Policies, and did not find anything that would cause the issue. Any ideas anyone?
    Message was edited by: GovHelper
    Message was edited by: GovHelper

    Does anyone else have any ideas? I checked again today and receive "The specified network name is no longer available" and after a few more attempts "An unexpected network error occurred"

Maybe you are looking for

  • How to upgrade Exchange 2007 from Sp1 to SP3 RU13

    Hi everyone, I have a mail system Exchange 2007 SP1 CAS and HUB with 3 servers.  The mailboxes are on a Windows Server 2008 Failover Cluster.  Domain controllers are Windows Server 2003 SP2  I have to update the mail system with Service Pack 3 and RU

  • Having Problems with Low Resolution on Thinkpad Twist

    I notice lately that images do not appear as sharp or as deeply colored as they once were.  Text looks fine but even looking at high-res images, it's like I'm looking at them with a CGA monitor - I don't see the same color depth and the image appears

  • TS3946 Aperture Book: images look fine in Aperture but not in PDF preview.  OS 10.9, Aperture 3.4.5

    Aperture 3.4.5, OS 10.9.  When making a PDF prior to ordering a book, I note that images look fine within Aperture book module, but about 10 out of 100 images look terrible in the PDF.  Shall I ignore this and go ahead and order the book?

  • Data conversion- GL , GL Open Line Item Upload

    Hi, For Objects GL Upload , GL Line item Upload  : LSMW- BAPI,IDOC Methods possible .Is any standard Bapi , Idoc available. And also share the advantage and disadvantage in using  Ecatt for dataconversions. Please share link which gives details  for

  • Deadline of Human task

    hello , I follow the API using the XPath in deadline of Humantask: xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),concat('PT',string(/task:task/task:payload/ns1:Task/ns1:expiryDay),'D')) it means the duration will be base on the days nu