Accessing EAR file or its contents in an Oracle App Server

We deploy a single ear file on multiple servers (test, user acceptance, production) and would like to, at start up, read every .JSP file in that ear looking for certain tags. It is no problem in dev to walk the directory structure to read the JSPs, but this is before they are all packaged into an ear file.
Can I reliably locate the ear at runtime and open it to traverse its contents? Or, are the JSP extracted to a searchable location?
Thank you very much,
Dave

Ear are extrated into, *$OH/j2ee/containername/applications/app_name/app_name/...* as well, into the first app_name foler, you may see the ear file that was uploaded in this place.
Greetings

Similar Messages

  • How to create new .dat file and its contents?

    Hi There
    Can anybody let me know the procedure of how to create new .ctl or .dat file to load data to tables.
    i working on 2day dba chapter 8. it shows me how to creat table and use .dat file to load data. but doesnot giv any clue how new .dat file and its contents can be created. please help.
    thanks in advance.

    Thanks for ur help
    I ve created txt file in notepad and saved it as dat file. tried to load that data thru Enterprise manager. used load data from User files everything went well and job was showing suceeded but dont know why that data is not showing in the table. i ve tried it now for three four times. used right table and pathe but dont know. has anybody got idea why that ll be?
    Thanks

  • How to displays the standard open file dialog box in Oracle Apps Server

    Hi,
    I am having a form, where i am opening a file and putting that file content in a text box.
    This is my code written in WHEN-BUTTON-PRESSED trigger:
    declare
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(8000);
    filename VARCHAR2(30);
    BEGIN
    filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
    in_file := Text_IO.Fopen(filename, 'r');
    LOOP
    Text_IO.Get_Line(in_file, linebuf);
    :text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
    END LOOP;
    EXCEPTION
    WHEN no_data_found THEN
    Text_IO.Put_Line('Closing the file...');
    Text_IO.Fclose(in_file);
    END;
    I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
    "FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
    I think the GET_FILE_NAME function is not supported in the Apps Server.
    Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
    Pls let me know.

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

  • Error while trying access video file in KM Content

    Hi All,
    I are having an issue while trying to access video files located in KM.
    When we try to access the file we get and error : getting content of document failed: /usr/sap/pa8/SYS/global/config/cm/ep/content/73/47/6176162974773.CONTENT (no such file or directory)
    The file is a .wmv file and has a size of 49 MB. Whereas some other files of size 34 MB opens up with no issues.
    This is happening on production environment but the same works fine in pre prod environment.
    I am trying to access the file from Content Administration -> KM Content
    This issue is happening for multiple files of larger size in that environment. Please suggest how to rectify the issue.
    Regards,
    Somnath.

    Hi Somnath
    The issue you are facing is dealt in the below Note. Kindly check if you are at the specified SP and
    Patch level as per your Portal Version according to the note or not.
    1849886 - Content could be lost when using DBFS repository
    Regards
    Santarshi Samanta

  • Can applet access a file on its server????????

    i have ana applet that needs to access a file on the server from which it was downloaded. it worked when i changed the security permissions at IE to allow an UNSIGNED applet to access ALL FILES.
    now this is a problem for me. is there a way i can move around this or maybe signing the applet would work, though i don't know how....
    help would be highly appreciated.
    sam

    File access (read) on the server should be possible as long as you are accessing the file and applet using HTTP. IE will not see this as an access violation. Sending updates to the file is a different story. You either need to create a servlet running on the server to accept the updated file or access the server via FTP. Browsers do not interpret direct file access as coming from the same server even if it does. I think this has something to do with the fact that you are using the local file system to access the server even if it is on a networked drive or location.
    And yes, signing the applet would resolve the issue.

  • Unable to create ear after installing Visual Cafe plug-in for app server 6 sp3.

    Installed WebGain plugin for app server 6 sp3. Now anytime I attempt to add a war to an ear in the deployment tool I get the following: xml file or ias xml file missing. Make sure that source archive "d:\......war" is saved before dragging. Obviously I have done this, but has this IDE plugin changed the xml parsers to a different version that could be causing this? Has anyone else ran across this error?

    Hi,
    Can you confirm to me, if you are using Visual Cafe Enterprise 4.5.1
    and iAS 6.0 SP3. Also let me know the the name & version of O/S please.
    Regards
    Raj
    Bob Pfingsten wrote:
    Installed WebGain plugin for app server 6 sp3. Now anytime I attempt
    to add a war to an ear in the deployment tool I get the following: xml
    file or ias xml file missing. Make sure that source archive
    "d:\......war" is saved before dragging. Obviously I have done this,
    but has this IDE plugin changed the xml parsers to a different version
    that could be causing this? Has anyone else ran across this error?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • File picking and placing in same dir App server of SAP XI using NFS.

    Hi All,
    As I am new to XI,
    I am using XI 3.0,
    My scenario is  File ->XI-> File.
    This is just a pass through data that is no IR objects.
    I need to pick the file from App server(AL11) of R/3 sys , we have a dir as "/sai/output"
    so in order to pick file from the App server of R/3 sys using NFS,
    the dir "/sai/output" is mounted into the App server(AL11) of XI ie.., there is a same dir in AL11 of XI as "/sai/ouput".
    so when ever the file(sai.txt) is placed in the "/sai/output" in r/3  App server , i am able to see the file(sai.txt) in the "/sai/output" in XI App server.
    what i am trying to do is pick the file(sai.txt) and place the file(kumar.txt) it in same dir " /sai/output" of XI Appserver using NFS.
    sender cc parameters are like these :
    Transport protocol : NFS
    source dir :    \sai\output\
    filename :      sai.txt
    Qos : Exactly once
    Poll intervel : 10sec
    processing mode : delete
    Receiver cc parameters are like these:
    Transport protocol : NFS
    target dir :     \sai\output\
    filename :      kumar.txt
    So my questions are
    1) can i place the file in  App server (AL11) dir "/sai/ouput" of XI where i am picking the file it from the same location ie.., App server (AL11) dir "/sai/output"
    2) If so, the procedure(cc parameters) which i have shared is correct.
    Correct me if am wrong.
    Thanks
    Sai

    Hi Sai,
        The files need rwx bits to be set before being picked up by channel
    Thus you need to use "chmod +777 sai.txt" before the file is picked up.
    Thus you can try set up the parameter "operating system command before processing" to "chmod +777 sai.txt" in the channel.
    you can look into this link for setting this parameter
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    How are you accessing the file directory? if you are using WINSCP, you can right click on the file and check the read, write, execute bits on for the file.
    "/out/output " is perfectly ok for UNIX/LINUX operating system.
    Now in RWB pls check the polling of communication channel.
       and check in SXMB_MONI whether some messages are being received or not.
    regards
    Anupam
    Edited by: anupamsap on Aug 5, 2011 1:01 PM

  • UnDeploying EAR from Oracle App server using Ant Script

    I am trying to deploy & undeploy the ear file using the ant script.
    I am using the following script to undeploy the application
              <target name="undeploy" description="Undeploy Application">
              <java jar="${OCM_DIR}/jdev/lib/oc4j_remote_deploy.jar" fork="true">
                   <arg value="http://${ias.host}:${ias.em.port}/${ias.dcmservlet}/"/>
                   <arg value="${ias.admin}"/>
                   <arg value="${ias.admin.password}"/>
                   <arg value="undeploy"/>
                   <arg value="${ias.oracle.home}"/>
                   <arg value="${app.name}"/>
                   <arg value="${ias.oc4j.instance}"/>
              </java>
         </target>
    & getting the following error
    [java] Initializing log
    [java] Servlet interface for OC4J DCM commands
    [java] Command timeout defined at 600 seconds
    [java] Executing DCM command...
    [java] Executing command undeploy /oramp01/app/oracle/product/devmid01 jisdev JIS_sandbox_dev UNDEFINED
    [java] Command = UNDEPLOY
    [java] Opening connection to Oc4jDcmServlet
    [java] Setting userName to ias_admin
    [java] Sending command to DCM servlet
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command was successfully sent to Oc4jDcmServlet
    [java] Receiving session id from servlet to check command status
    [java] Session id = aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Please, wait for command to finish...
    [java] Checking command status...
    [java] Setting userName to ias_admin
    [java] Setting Cookie to JSESSIONID=aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Checking command status
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command has finished
    [java] Receiving command exit value
    [java] Receiving command output
    [java] **** No output was received from command
    [java] Closing connection to Oc4jDcmServlet
    [java] #### DCM command did not complete successfully (-8)
    [java] #### HTTP return code was -8
    [java] Java Result: -8
    Can you please let me know what is the problem and how can we fix it.
    Both the oracle as well as the jdev/lib/oc4j_remote_deploy.jar are of the version 10.1.2.
    Thanks,
    Vishnu

    I think you need:
    <arg value="-undeploy"/>
    (notice the -)
    Have you had any luck?

  • OIA jobs.xml constrain execute of file import on only one of two app server

    I am trying to get the jobs.xml and scheduling-context.xml files to fire an import job on one of the two app servers. There are two application servers utilizing the same shared database. Files to import into OIA reside on one of the two application servers file systems only and we want to use the jobs.xml and scheduling-context.xml files on one of the app servers to setup the imports.
    I have these two beans enabled
    <ref bean="usersImportJob"/>
    <ref bean="usersImportTrigger"/>
    This is a snippet from the jobs.xml file
    <bean id="usersImportTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail">
    <ref bean="usersImportJob"/>
    </property>
    <property name="cronExpression">
    <value>0 0/5 * * * ?</value>
    </property>
    </bean>
    <bean id="usersImportJob" class="org.springframework.scheduling.quartz.JobDetailBean">
    <property name="name">
    <value>Users Import</value>
    </property>
    <property name="description">
    <value>Users import Job</value>
    </property>
    <property name="jobClass">
    <value>com.vaau.rbacx.scheduling.manager.providers.quartz.jobs.IAMJob</value>
    </property>
    <property name="group">
    <value>SYSTEM</value>
    </property>
    <property name="durability">
    <value>true</value>
    </property>
    <property name="jobDataAsMap">
    <map>
    <!-- only single user name can be specified for jobOwnerName (optional)-->
    <entry key="jobOwnerName">
    <value>REPLACE_ME</value>
    </entry>
    <!-- multiple user names can be specified as
    comma delimited e.g user1,user2 (optional)-->
    <entry key="usersToNotify">
    <value>REPLACE_ME</value>
    </entry>
    <entry key="IAMActionName">
    <value>ACTION_IMPORT_USERS</value>
    </entry>
    <entry key="IAMServerName">
    <value>FILE_SERVER</value>
    </entry>
    <!-- Job chaining, i.e. specify the next job to run (optional) -->
    <entry key="NEXT_JOB">
    <value>rolesImportJob</value>
    </entry>
    </map>
    </property>
    </bean>
    QUESTION:_
    Is the IAMServerName value suppose to have the literal hostname of the application server (ex. "oia.bluebird.com") configured in place of the default "FILE_SERVER" text?
    Your insite is greatly appreciated

    Hi Meg,
    I have to say that I've only seen the jobs.xml be defined for data feeds only. It does not make calls out to app/DB servers OOTB.
    The alternative solution are the following:
    1. Use your IDM provisioning connector to the application then pull the data from the IDM product into OIA
    2. Extract the data from the app server using the ETL functionality/engine within the OIA product to extract the data into a data feed (then OIA will pick that up)
    3. Construct some extracting functionality (like a java class) instead of ETL
    Hope this has helped
    Regards,
    Daniel Redfern
    Technicalconfessions.com

  • Unable to start oracle app server 10g through opmnctl file Red Hat linux

    Hi gurus,
    I have a VM (Red Hat Linux based). I am not able to start my application server 10g through opmnctl file (exists in opmn/bin folder).
    I open that folder opmn/bin through terminal and write the following command
    opmnctl startall
    nothing is happening... is there any way to start the server through GUI?
    can you please guide me.
    Thanks

    process has been started now..Please post the result of$ $ORACLE_HOME/opmn/bin/opmnctl status
    after that when I run the it from browser nothing is comming..Don't you get any error ?
    for app server admin i wrote http://pcname:port/
    This should work. Is port the correct one ? Check out $ORACLE_HOME/install/portlist.ini. Did you try IP address, instead of pcname ? Do you have any active firewall on your linux server ?
    for simple form run http://pcname:port/frmservlet/
    This one should be http://pcname:port/forms/frmservlet

  • Oracle App Server limit user access

    Hi guys!
    Is there such function in OAS where I can limit a users access to a certain page?
    I have registered my users in OID and I want to set limits to specific pages (limiting which user can access which page or not)...
    Appreciate any help..

    They are different. Oracle Application Server is Oracle's application server prior to the BEA acquisition. WebLogic Server is a completely separate product and will be the strategic application server going forward at Oracle, although Oracle Application Server will still be maintained and supported.

  • File adapter modules : Access to file data before content conversion

    I have a file sender channel for which content conversion in applied. The incoming file has data in comma separated values format.
    e.g.
    102366,Amol Joshi,DEPT1
    107752,XYZ PQR,DEPT2
    I want to access the the actual data in the file before content conversion takes place. Is it possible to access this data inside the adaper module? I tried creating an adapter module and put it before CallSAPAdapter,it still gets the XML after content conversion as the input data to the module.
    Any pointers?

    Hi Amol,
    I dont know if it is the right approach.
    But if u r not able to meet ur requirement u can do one work around.
    Use Message Transformation Bean to convert it once again in to CSV (flat file structure) and then proceed with ur module.
    There should be a better way than this.
    Hope we could find a better solution in the forum.
    Regards,
    Sudharshan

  • Firefox will not display my HTML file as its contents - only displays the HTML text (firefox 5.0).

    I can download a file as a Firefox file (zipped) and it displays successfully. Then I can save the file as a text file and see the HTML text.
    When I work on the HTML text file and then try to display the modified file in Firefox 5.0 and Windows XP, Firefox will only show the HTML text, not the display of the contents of the file.

    Make sure that the file has a .html file extension if you want Firefox to render the content.
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How to upload file from local machine to oracle apps server.

    Hi all,
    Can somebody tell me how to create a OAF page to reads a window based file and writes to UNIX? (similar to FTP but using a OAF page as the interface)
    Thanks in advance!!
    Bhupendra

    Bhupendra
    Read Developer guide"File Upload and Download" section.It shows how to use messageUploadBean.
    Hope it helps!!!
    Thanks
    AJ

  • File encoding problen (charset) on glassfish / Sun App Server

    Hi all!
    I hope someone here can point me the right way since I am trying to solve my problems for quite some time now. First my setup: Suse Linux Box with Glassfish V2. I am creating files for users of our website with an EnterpriseBean in an EJB-Module. The users are supposed to be able to choose the file encoding themselves. The files are created from lucene index files that are UTF-8 encoded. When writing a result file I use a OutputStreamWriter with a CharsetEncoder Object and the user-chosen encoding. This works perfectly when the result is utf-8 too. But whenever I try to generate ISO-8859-1 files the encoding in the output files is messed up. It's neither utf-8 nor Latin 1 or any other valid encoding. On my development windows machine it seemed to work just fine.
    So thanks in advanve and many greetings from germany!
    Phil

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

Maybe you are looking for