Directory Listing Using Weblogic Server

Hi all,
I need to be able to browse few directories via web page using Weblogic as WebServer ( on Linux RedHat 5.0)
for example the directory to be browsed are:
/home/oracle/swift
/home/oracle/payables
Please let me know how I can achieve this !!
Thanks
KS

maybe it's a bit overkill to use the JCA File Adapter
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABFGIEJ
which has a "directory listing" feature
but I think it's not very recommended to use directly the java.io.File class to perform this operation...
any other thoughts?

Similar Messages

  • How can I mapping directory by using Weblogic Server?

    Hi,
    We used to use iPlant as the web server. How can mapping directory using Weblogic
    server?
    $PATH=$wl_home/config/epdm/applications/DefaultWebApp/WEB-INF/classes
    such as to map the following:
    From To
    /rok/servlet $PATH/servlet-dev/WEB-INF/classes
    /rok/imagest $PATH/servlet-dev/images
    /rok/html $PATH/servlet-dev/htm
    /servlet $PATH/servlet-dev/servlet
    Thanks!
    Hanqing

    Use JMX. See http://dima.dhs.org.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Nicole" <[email protected]> wrote in message
    news:3c4d6daa$[email protected]..
    >
    Hi all,
    in my EJBs I want to know, on which server instance I´m running. I needthis for
    logging info. How can I get the servers name?
    When I load the JNDI tree and select java:comp, an error occurs and a lotof information
    is printed. One is weblogic.Server and that is what I´m searching for.
    I use WLS 6.1 SP1
    Any ideas? Thanks,
    Nicole

  • Weblogic 8.1 and Eclipse using Weblogic Server Tools

    I am working on a project that has been developed with Weblogic 8.1 without integration into an IDE (Eclipse, etc.) We are trying to convert the source tree to a form usable within Eclipse using Weblogic Server Tools. We want to make deployment on developer workstations quicker and easier and provide for server side debugging. There is not much documentation on how to do this that I have been able to find. I have just finished reading the details of the split directory strucuture in the Weblogic documentation and understand that Server Tools uses the split directory concept. My question is basically how we create the project in Eclipse (with Server Tools plug-ins) initially. Is anyone out there still using Weblogic 8.1 and Eclipse 3.3 (Europa) using Weblogic Server Tools that can help?

    There isn't much in a way of documentation that's explicit to WebLogic Server Tools, but a lot of Workshop 10.2 documentation applies. Basically, you will want to create Dynamic Web Projects to house your code. On the first page of Dynamic Web Project wizard, you will get a chance to define and target a server (WLS 8.1 in your case). That will configure your project classpath for WLS 8.1 and get everything else squared away.
    Note that there is only very basic support for 8.1. In particular, the split-directory concept is not supported, but deployment is taken care of for you behind the scenes, so the details shouldn't matter that much.

  • I need  How to retrive data from sap r/3   using weblogic server

    Hi every body .
    I need how to retrieve r/3 data  using BAPI methods
    and using weblogic server
    very critical

    Hai.
    check the links.
    http://www.bea.com/content/news_events/white_papers/BEA_WLP_SAP_Portlets_81.pdf
    http://www.info-sun.com/docs/wp_sapinter.pdf
    regards.
    sowjanya.b

  • How to load Java properties file dynamically using weblogic server

    Hi,
    We are using Java properties file in Java code. Properties in java properties file are frequently modified. If I keep these properties file in project classpath or as part of war, I will have to redeploy application after each change.
    We are using Weblogic Server.
    Can you please suggest me how can this properties file be loaded at weblogic server startup. Then in that case, how to refer property file in Java code?
    What is the best practice for this?
    Thanks,
    Parshant

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • Using weblogic.Server to create domains

    Not sure this is the right group for this question....
    I am reading some weblogic docs on creating a domain using weblogic.Server (http://e-docs.bea.com/wls/docs81/admin_ref/cli_tasks.html#1331827).
    For the most part it has worked as expected and I find it preferable to using
    the domain cfg wizard. However, is there a way to use a template jar like you
    can with the config wizard, for instance any of the jars in the
    $WL_HOME/common/templates/domains/

    Hello Jay, thanx for ur help... this time i didnt get the args missing error but i have this one about "can't overwrite"
    mauro@MacBookPro:HelloWorldEAR $ java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    mauro@MacBookPro:HelloWorldEAR $ cd ..
    mauro@MacBookPro:WLprojects cursor$ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    mauro@MacBookPro:WLprojects cursor$ cd HelloWorldEAR/
    mauro@MacBookPro:HelloWorldEAR $ ls
    APP-INF META-INF appUtils bin helloWorldEJB helloWorldWebApp src
    macbook-de-cursor:HelloWorldEAR cursor$ cd ..
    mauro@MacBookPro:WLprojects $ sudo java -classpath /Users/mauro/beaWS102/wlserver_10.0/server/lib/weblogic.jar weblogic.BuildXMLGen -file build.xml /Users/mauro/Documents/WLprojects/HelloWorldEAR
    Can't overwrite cause
    Do u know something about this message?? I really need to set up this thig to be able to start my own project :P Thanx in advance
    Best regards,
    Mauro
    ==========================================================
    Solution
    Ok, i make it work!! I have in my develop structure a helloWorldWebContent/META-INF/ and here i had a web.xml and a weblogic.xml
    The weblogic.xml file cause problems... i deleted and it works
    I was following this tutorial
    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/splitcreate.html#wp1098227
    and i create all those files...
    Dude, u have a great blog! Now it is in my bookmarks
    Edited by: mgaldames on 17-may-2010 7:20
    Edited by: mgaldames on 17-may-2010 7:21

  • Load balancing of DB RAC using weblogic server

    Hi All,
    I want to test the load balancing of Data base RAC for my application. I got the box which is installed RAC in it with two nodes. I configured the multidatasource which points to individual data sources to each node.
    Is this configuration is correct or not? to test the load balancing of the Database. I come to know that there is something called SCAN from oracle 11g but it is not supported 100% by web-logic server(we are using weblogic server 9.2MP3).
    How many requests I made all the requests are going to the Node1 only not even one is gone to the node2. Any specific reason.
    Thanks,
    Venkat.

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • Using WebLogic Server with Oracle9i RAC

    A new white paper has been posted to dev2dev -
    "Using WebLogic Server with Oracle9i RAC" at
    http://dev2dev.bea.com/products/wlserver81/whitepapers/wls_bea_hp.jsp
    Abstract:
    "This paper presents best practices when using WebLogic Server with Oracle Real Application Clusters. It includes an analysis of
    various use-case and failure scenarios and proposes possible recovery solutions. This paper also includes an evaluation of
    Transparent Application Failover, a product from Oracle that is functionally similar to WebLogic Server MultiPools."

    "satyam" <[email protected]> writes:
    Can I use WebLogic Application Server 6.0, the mid level server (not the express
    or the enterprise version)
    with VisiBroker 4.x ?If you have ejb support - then yes - although you may want to wait for
    a future 6.0 rolling patch to get updated IDL generation.
    andy

  • See Java System properties using WebLogic Server console

    hi
    If I deploy "systempropertiesweb.war" [1] on WebLogic Server I can see all or individual Java System properties,
    e.g. http://localhost:7101/systempropertiesweb/systemproperties?property=java.version results in "java.version = 1.6.0_24"
    Is it possible to see the same Java System properties using WebLogic Server Administration Console? If so, how?
    ( via http://localhost:7101/console )
    - [1] at SystemPropertiesApp/SystemPropertiesWeb/deploy/systempropertiesweb.war
    in http://www.consideringred.com/files/oracle/2013/SystemPropertiesApp-v0.01.zip
    many thanks
    Jan Vervecken

    Thanks for your reply Timo.
    Timo Hahn wrote:
    I don't think that there is an option to see this in the admin console. ...Thanks for the confirmation.
    ... There my be a mbean but I did not find it.Well, if I start JConsole (e.g. at C:\oracle\jdevstudio111240-mw\jdk160_24\bin\jconsole.exe ) and connect to e.g. Local Process "weblogic.Server", on the MBeans tab I can navigate to java.lang:type=Runtime which has an SystemProperties attribute.
    But, I don't know how to get to this same MBean using the WebLogic Server Administration Console (if possible).
    regards
    Jan Vervecken

  • Help in executing jsp files using weblogic server 6.0.

              I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
              I have a file called hello.jsp.
              Where do i have to save hello.jsp file in weblogic server 6.0.
              How do i execute hello.jsp through browser using weblogic server6.0.
              As there is no properties file in weblogic server6.0.
              TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
              Where do i have to save it and how do i open it in the browser.
              Any help will be greatly appreciated.
              Thanks,
              

              I started the Start default Server and opened the http://localhost:7001/ in the bowser and by default
              this loaded the index.html file
              and when i tried to change index.html to hello.jsp i got the same error message as before
              Error 404--Not Found
              From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              10.4.5 404 Not Found
              The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
              If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
              "mils" <[email protected]> wrote:
              >
              >There are quite a few reasons it couldn't be working, and things you can try...
              >
              >Ensure there are no errors on startup of the server in the console, especially that there is not an error about another web listener running on the same port.
              >
              >Try just http://localhost:7001 by default this should load the index.html file that comes with the WebLogic installation.
              >
              >If you are running on a corporate LAN, your browser settings may not be set correctly to find "localhost", ensure that your browser is not using a proxy server for local addresses, or put localhost:7001 in the list of exceptions for which the browser should not look at the proxy server.
              >
              >Hope this helps!
              >
              >"Red" <[email protected]> wrote:
              >>
              >>I created hello.jsp file under E:\weblogic\wlserver6.0\config\mydomain\applications\DefaultWebApp_myserver\hello.jsp
              >>and i started the Start Default Server and when i try to open
              >>http://localhost:7001/hello.jsp in the browser
              >>getting an error message as
              >>
              >>Error 404--Not Found
              >>From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              >>10.4.5 404 Not Found
              >>The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
              >>
              >>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
              >>
              >>Any help?
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>
              >>"Mils" <[email protected]> wrote:
              >>>
              >>>In WebLogic 6.0, to run simple JSP pages with the default installation, the JSP files should be put in....
              >>>
              >>>C:\bea\wlserver6.0\config\DefaultWebApp_myserver
              >>>
              >>>...assuming you installation was on the C: drive.
              >>>
              >>>To access a file bar.jsp in this directory, go to http://localhost:7001/bar.jsp
              >>>
              >>>"Red" <[email protected]> wrote:
              >>>>
              >>>>I have an operating system Windows2000, i have downloaded 30 day trial version of weblogic server 6.0.
              >>>>I have a file called hello.jsp.
              >>>>Where do i have to save hello.jsp file in weblogic server 6.0.
              >>>>How do i execute hello.jsp through browser using weblogic server6.0.
              >>>>As there is no properties file in weblogic server6.0.
              >>>>
              >>>>TO run it i started default server and when i started default console it got opened in the browser as http://127.0.0.1:7001/console/index.jsp
              >>>>
              >>>>Where do i have to save it and how do i open it in the browser.
              >>>>
              >>>>Any help will be greatly appreciated.
              >>>>Thanks,
              >>>>
              >>>>
              >>>>
              >>>>
              >>>
              >>
              >
              

  • NPE Starting v8.1 Server using WebLogic Server Tools 1.0.0

    After installing/configuring Eclipse JEE Europa and BEA WLS 1.0.0, I receive an NPE when attempting to start a v8.1 Server. The log message is listed below. Any ideas?
    - Ron
    !ENTRY org.eclipse.core.jobs
    !MESSAGE An internal error occurred during: "Starting server - BEA WebLogic Server v8.1".
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jst.server.generic.core.internal.GenericServerBehaviour.setupLaunch(GenericServerBehaviour.java:408)
    at org.eclipse.jst.server.generic.core.internal.ExternalServerBehaviour.setupLaunch(ExternalServerBehaviour.java:66)
    at com.bea.workshop.wls.legacy.Weblogic81ServerBehaviour.setupLaunch(Weblogic81ServerBehaviour.java:183)
    at org.eclipse.jst.server.generic.core.internal.ExternalLaunchConfigurationDelegate.launch(ExternalLaunchConfigurationDelegate.java:97)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:766)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:608)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:601)
    at org.eclipse.wst.server.core.internal.Server.start(Server.java:1265)
    at org.eclipse.wst.server.core.internal.Server.synchronousStart(Server.java:1662)
    at org.eclipse.wst.server.core.internal.StartServerJob.run(StartServerJob.java:34)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Ron,
    I am sorry to hear that you are experiencing problems with WLS Tools. We
    will investigate the issue you've reported as soon as possible. To make
    the investigation move along more smoothly, can I ask you to open a bug
    report in our public bug tracking system?
    http://bugzilla.bea.com
    Please include the stack trace from your message, which operating system
    you are running on and which service pack of WLS 8.1 you are using.
    Thanks,
    - Konstantin

  • How to use Weblogic Server 6.1 build.xml with ant

    Hi Java's
    I have downloaded the latest version of BEA Weblogic server 6.1,they have changed the build.cmd to build.xml for compiling and building the ejb applications.they are telling that we have use $ant to run the build.xml but i couldn't able to do that.i'm getting "command not found error"..i'm using winnt.please help me how to use $ ant.Is it a seperate exe or batch file that i have to download ?if so where to download it.how to use it.please help.
    Regards
    Balaji

    To use it after installation, set your path to your
    <ant_installation_dir>\bin, then navigate to the diectory containing the build.xml. then follow the instructions in the weblogic documentation for running ant.

  • Stop directory listing using Sun web server6.1

    I am using Sun web server6.1 on a Unix Box
    when URL is given as http://abc.com/xyz/dirName
    it dipslays all the files inside the directroy(dirName)......... i have confiured my obj.conf file as
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html"
    ObjectType fn="type-by-extension"
    PathCheck fn=unix-uri-clean
    I am using Unix Box.
    is there anything that i am missing .
    Someone plz help !!!!

    See http://swforum.sun.com/jive/thread.jspa?threadID=23613&messageID=58178
    for disabling directory listing with webserver 6.1.

  • INSTALLATION ON HIGH AVAILABILITY USING WEBLOGIC SERVER

    Hi All ,
    IHAC where i am planning to propose the following architecture and I did not find much information on the OTN documentation
    How to configure the BI Publisher for High Availability using Oracle Weblogic Server. I have gone thorugh the following document on OTN.
    http://www.oracle.com/technology/products/xml-publisher/docs/BIP_HA.pdf
    1) Can the BI Publisher be installed on a weblogic cluster having two nodes. I did not find any specific information on this in the BI publisher documents other than the link I mentioned above. Do we have any Enterprise Deployment guide for standalone BI Publisher ?
    2) What is the best practice to implement the High Availability of BI Publisher on weblogic server.
    Other info,
    As mentioned in the above link I am planning to use the BIPublisher ultra scalable architecture.
    Where the Load Balancer is HW load balancer and Internal load balancer is managed using the Apache configuration and Oracle XMLDB11.1.0.7 is used as the shared repository.
    regards,
    Pierre .

    Hi
    You have to have a shared drive for CI,SCS abd DB on the shared drive something like SAN.
    You will have HACMP the IBM Cluster SW shall be configured and installed properly.
    You may need support from the AIX engineer to configure it.
    DB and CI installation will be done by Basis normally.
    Yes ,there is arequirement to install and db and OS Filesystems on shared drive.
    For further information ,you can look for inst guide at service.sap.com/instguides
    Hope it helps.

  • ADF security : How to get fnd_users list in weblogic server

    Hi All,
    I have a question related to ADF security.
    I am able to apply ADF security to the application, where users information and roles are defined in jazn.xml file.
    On deployment, users/ roles information is being successfully ported to weblogic server.
    But my requirement is to fetch users information from fnd_users table. If you have any idea as how to get the fnd_users data to weblogic, please reply.
    Thanks,
    Randhir

    Thanks John.
    I went through the link and got steps for authentication with fnd_users.
    I have one more question on this.
    Do I need to enable jazn.xml for implementing security or only the steps given in this link is sufficient?
    Since roles are also stored into fnd table, how to secure the taskflow? (roles are not defined in jazn.xml)

Maybe you are looking for

  • Screen resolution in remote connection

    Hello. I have several macs, both at home and at the office. I like to use my MacBook Air on the go. When at the office, I like to work from a mac mini with a full HD screen resolution. The MacBook Air support this external screen. In order to avoid c

  • Custom Measure in Script logic

    Hi, We have a custom measure created which is more or less the same as the YTD, but it starts not at the beginning of the year, but instead it starts at a given month. The measure creation was ok and we can use it perfectly well in reports and input

  • VLAN Map

    Does anyone know if VLAN Maps are supported in CAT OS? I have found that they are supported in the 3550, 4500, and 6509 running IOS but would like to know ALL of the devices they are supported in. Thanks for the help, Brian

  • HELP - "Error in script command 1: InstallApp "

    I've just upgraded my ipod to a jailbroken 1.1.4 and installed summerboard. But whenever I want to add a new application...i get the following message: "Error in script command 1: InstallApp" What do I've to do???

  • Sap 6.00

    Hi Friends, What is the different in SAP 5.00 version VS 6.00. Please help me to find 6 version details. i could not find in SAP website. thanks in advance kp