Change files in distribuited application
I deployed my application (bc4j+adf 10.1.3) to my Oracle application server, i reinit the server and it's all right. My customer ask me to change the css i use in a page of this application and i make this changes. In this case, do i need to redeploy the application (making the new war and redistribuition) or is there a way to substitute just this file.css in any folder of my AS? And if so, how can i find this folder/s?
Thanks in advance
You can, ftping the file to the server (folder should be something like $IAS_HOME/j2ee/home/application...), but this is not really recommended. If you start modifying single files on the server, at some point you will forget which versions you've deployed, and if a users finds a bug, you will not exactly know what to fix.
You should create a build script which get a version of your software from version control, builds the application, and maybe automatically deploys the software. This way it will be easier to know in which version a bug is found, and how to fix it. (branching, etc).
Similar Messages
-
Changing file extension default application
Hello, I periodically change my .avi and .mpg movies default "open with" application to VLC, but although the association change in first place, in a few days the default application mysteriously turn back to QuickTime.
Is this a bug or an Apple QuickTime appropriative policy? Anyway, is there any way to change to VLC permanently?
Thanks in advance
iBook Mac OS X (10.4.4)Open one of your .avi or .mpg file's "Get Info" window. Pick a new "Open With" application and click the "Change All" button. Confirm your changes.
From this point on (until you change it again) any time you double-click to open any of these files your chosen app will be used to play the file.
You can temporarily override these settings by Control-clicking on a icon and choosing a different app from the pull down menu. -
How to change file type to application mapping
I switched from OpenOffice to iWork. Now when I double click a file with an extension .doc or .xls, still OpenOffice opens by default. I would rather have the defaults set to iWork, but without completely removing OpenOffice (yet). How can I accomplish this?
Tanks! SturziSelect a .doc file in the Finder, choose File -> Get Info (or hit command-i), then look in the Open With section of the info window and change the pop-up to read Pages. Then click the Change All button... from then on, all .doc files will be opened by Pages. Do the same with your Excel files.
-
How to change File Kind (not "how to assign an application to open a file?)
I build the toc.ncx file (part of the ePub setup) automatically, based on user input and source file content. It's fine, except that the file Kind (as shown in Finder Preview, for example) is Plain Text.
The Kind should be Unix Executable File (the actual description is "zmedia-type="application/x-dtbncx+xml") in order for the file to function correctly with the rest of the ePub generation.
I could set the file Kind in the program (I think!), except that I do not know what the code for such a Kind is.
Can you help?
Message was edited by: David Neale1
Message was edited by: David Neale1To make the file a Unix executable can be done as follows:
Open the Terminal application in the Utilities folder and enter the following:
sudo chmod 755 /pathto/filename
Press RETURN. Enter your admin password at the prompt; it will not be echoed. Alternatively put a space after "755" then drag the file's icon into the Terminal window.
If you want the Unix icon simply set the file's default application to Terminal by selecting the file then Press COMMAND-I to open the Get Info window. Change the default application in the Open With section. If you want all .ncx files the same way then click on the Change All button. -
Hello,
Please, help me!
I need to change "File Character" when I export application with Apex 4.2.1.00.08 version, but this option, is not possible. The ComboBox already select with
"Unicode UTF-8]', but I need "ISO-8859-1 - Europa Ocidental", how can I do change it?
ThanksPlease register for a "real" user account rather than the anonymous user7266483.
You can not change it on the export...this is simply set to whatever is in effect in the DB.
However, it is totally unnecessary to change it on export. If the database into which you need to import the exported application is "ISO-8859-1 - Europa Ocidental", at the time you begin to import, it will default to "ISO-8859-1 - Europa Ocidental". You need to change this to the character set under which it was exported. In this case, it was "Unicode UTF-8".
It does not matter that you export and import in the same character set. It only matters that you correctly set the import to match how it was exported.
-Joe -
How to see the file at the application server
HI TO ALL SDNERS ,
THIS IS MY CODE WHERE TO CHECK THE DOWNLOADED FILE AT THE APPLICATION SERVER.IN TCODE AL11 I HAVE SEEN THERE IS NO FILE GETTING CREATED.WHEN TRANSFERRING THE SY-SUBRC VALUE IS ZERO.
Program Name : ZME11_BDC.
Title : PURCHASE INFORMATION RECORD LOAD PROGRAM
Program Objective : THIS PROGRAM READS IN THE PURCHASE
INFORMATION FILE. IT CREATES A BDC SESSION TO
USE TO LOAD THE PURCHASE INFORMATION RECORDS
INTO SAP using the ME11 Transaction.
REPORT ZME11_BDC no standard page heading MESSAGE-ID ZHNC line-size 55.
constants declaration
constants: c_x value 'X',
c_sess type apqi-groupid value 'zcustomer',
c_xd01 type tstc-tcode value 'ME11'.
DECLARING VARIABLES
DATA: V_MSG(255),
V_ERREC TYPE I,"NO OF FAILED RECORDS
V_LINES."NO OF RECORDS
FLAG DECLARATIONS
DATA: FG_DATA_EXIST VALUE 'X',"CHECK FOR DATA
FG_SESSION_OPEN VALUE ''.
STRUCTURES AND INTERNAL TABLE DECLARATIONS
TYPES :BEGIN OF TY_PIR,
LIFNR TYPE EINA-LIFNR,
MATNR TYPE EINA-MATNR,
EKORG TYPE EINE-EKORG,
WERKS TYPE EINE-WERKS,
VERKF TYPE EINA-VERKF,"sales person
TELF1 TYPE EINA-TELF1,"telephone
URZLA TYPE EINA-URZLA,"country
REGIO TYPE EINA-REGIO,"region
APLFZ(5),"plan deleivery time
EKGRP TYPE EINE-EKGRP,"purchase group
NORBM(13),
NETPR(13),
END OF TY_PIR.
DATA : IT_PIR TYPE TABLE OF TY_PIR,
WA_PIR LIKE LINE OF IT_PIR.
DATA: BEGIN OF IT_BDCDATA.
INCLUDE STRUCTURE BDCDATA.
DATA END OF IT_BDCDATA.
DATA : BEGIN OF IT_BDCMSG.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA END OF IT_BDCMSG.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER : FNAME TYPE RLGRAP-FILENAME.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION ON VALUE REQUEST
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = FNAME.
START OF SELECTION
START-OF-SELECTION.
PERFORM F_GET_DATA USING FNAME
CHANGING IT_PIR.
PERFORM F_GENERATE_DATASET USING FNAME
CHANGING IT_PIR WA_PIR.
*& Form F_GET_DATA
text
-->P_V_FNAME text
<--P_IT_PIR text
FORM F_GET_DATA USING P_FNAME LIKE FNAME
CHANGING P_IT_PIR LIKE IT_PIR.
DATA: LV_FILE TYPE STRING.
LV_FILE = FNAME.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = LV_FILE
FILETYPE = 'DAT'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = P_IT_PIR
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF P_IT_PIR IS INITIAL.
FG_DATA_EXIST = ''.
ENDIF.
ENDFORM. " F_GET_DATA
*& Form F_GENERATE_DATASET
text
-->P_V_FNAME text
<--P_IT_PIR text
FORM F_GENERATE_DATASET USING P_V_FNAME LIKE FNAME
CHANGING P_IT_PIR LIKE IT_PIR
P_WA_PIR LIKE WA_PIR.
MESSAGE I001(ZHNC).
*OPENING FILE AT THE APPLICATION SERVER FOR WRITING
OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC EQ 0.
MESSAGE I002(ZHNC).
LOOP AT P_IT_PIR INTO P_WA_PIR.
SPLIT P_WA_PIR AT '*' INTO P_WA_PIR-LIFNR
P_WA_PIR-MATNR
P_WA_PIR-EKORG
P_WA_PIR-WERKS
P_WA_PIR-VERKF
P_WA_PIR-TELF1
P_WA_PIR-URZLA
P_WA_PIR-REGIO
P_WA_PIR-APLFZ
P_WA_PIR-EKGRP
P_WA_PIR-NORBM.
*TRANSFER THE FILE FROM INTERNAL TABLE TO APPLICATION SERVER
MESSAGE I003(ZHNC).
TRANSFER P_WA_PIR TO FNAME.
ENDLOOP.
*CLOSING THE FILE AT THE APPLICATION SERVER
CLOSE DATASET FNAME.
ENDIF.Hello,
I made a similar program. You can have a look at it.
*& Form write_to_app_server
text
--> p1 text
<-- p2 text
FORM write_to_app_server.
To get filename
PERFORM get_filename.
To write into the application server
OPEN DATASET g_filename_with_path FOR OUTPUT IN TEXT MODE.
IF sy-subrc = 0.
LOOP AT <l_table> INTO <l_line>.
TRANSFER <l_line> TO g_filename_with_path.
ENDLOOP.
CLOSE DATASET g_filename_with_path.
ELSE.
CLOSE DATASET g_filename_with_path.
ENDIF.
To send mail
PERFORM send_mail.
ENDFORM. " write_to_app_server
*& Form get_filename
text
--> p1 text
<-- p2 text
FORM get_filename.
DATA : l_log_path TYPE filepath-pathintern
VALUE 'Y28M_DOWNLOADS_BACKGROUND' .
CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
EXPORTING
client = sy-mandt
logical_path = l_log_path
operating_system = sy-opsys
file_name = p_fname
IMPORTING
file_name_with_path = g_filename_with_path
EXCEPTIONS
path_not_found = 1
missing_parameter = 2
operating_system_not_found = 3
file_system_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " get_filename
You may find it useful.
Regards,
Karuna. -
How to change font-size of application menu
I want to change font-size of application menu. How?
Hi,
To change the font size of the Application menu, you need to change main.css file.
at 'body, td, input, select, textarea' class.
For more detail about main.css, please refer Bookshelf
Siebel Developer's Reference at [8 Cascading Style Sheets].
Regards,
Joseph Arul Dass -
Various ways to place a File in the Application Server.
Hi all,
What are the various ways to place a file in the application Server.
Please classify them as shown below.
1. Use of ABAP Code.
2. Without the use of ABAP code.
RegardsHi
<b>1. Use of ABAP Code.</b>
by writing code like this
REPORT ZSD_EXCEL_INT_APP.
parameter: file_nm type localfile.
types : begin of it_tab1,
f1(20),
f2(40),
f3(20),
end of it_tab1.
data : it_tab type table of ALSMEX_TABLINE with header line,
file type rlgrap-filename.
data : it_tab2 type it_tab1 occurs 1,
wa_tab2 type it_tab1,
w_message(100) TYPE c.
at selection-screen on value-request for file_nm.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
* PROGRAM_NAME = SYST-REPID
* DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
STATIC = 'X'
* MASK = ' '
CHANGING
file_name = file_nm
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
start-of-selection.
refresh it_tab2[].clear wa_tab2.
file = file_nm.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = file
i_begin_col = '1'
i_begin_row = '1'
i_end_col = '10'
i_end_row = '35'
tables
intern = it_tab
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at it_tab.
case it_tab-col.
when '002'.
wa_tab2-f1 = it_tab-value.
when '004'.
wa_tab2-f2 = it_tab-value.
when '008'.
wa_tab2-f3 = it_tab-value.
endcase.
at end of row.
append wa_tab2 to it_tab2.
clear wa_tab2.
endat.
endloop.
data : p_file TYPE rlgrap-filename value 'TEST3.txt'.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*--- Display error messages if any.
IF sy-subrc NE 0.
MESSAGE e001(zsd_mes).
EXIT.
ELSE.
*---Data is downloaded to the application server file path
LOOP AT it_tab2 INTO wa_tab2.
TRANSFER wa_tab2 TO p_file.
ENDLOOP.
ENDIF.
*--Close the Application server file (Mandatory).
CLOSE DATASET p_file.
loop at it_tab2 into wa_tab2.
write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
endloop.
Here is a pseudo code for what you are looking for-
OPEN DATASET P_FLPTH FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC eq 0.
LOOP AT LT_TAB INTO LS_TAB.
TRANSFER LS_TAB TO P_FLPTH.
ENDLOOP.
CLOSE DATASET P_FLPTH.
if sy-batch = 'X'.
write:/ 'File uploaded successfully'.
else.
message sXXX with 'File uploaded successfully'.
endif.
Else.
if sy-batch = 'X'.
write:/ 'Error in File upload'.
else.
message sxxx with 'Error in File upload'.
endif.
LEAVE PROGRAM.
ENDIF.
<b>2. Without the use of ABAP code.</b>
CG3Y -
Appl to Presentation server
<b>Reward if useful</b> -
Is it possible to change file name policy in the JRE cache folder?
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
Thanks,
-Dimadgomel wrote:
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
I suggest you solve the real problem - big files.
There are two scenarios
1. Initial download
2. Updates.
The first takes as long as it takes. No way around it.
The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded. -
Use of Lookup Files in BI Applications
Hi,
Can any one tell the use of lookup files in BI Applications. While doing the configurations (for all modules) for these lookup files we get the data from the ERP database tables using the query provided by oracle and populate the file and then map with some domain values.
Why cant we directly populate the datawarehouse tables using the ERP tables instead of populating through the lookup files (which we any how populate with ERP tables). Also what is the use of domain values. Does these use in reporting puposes and anlyzing the data or business.
Thank You,For e.g, when you map the GL group account numbers, the predefined group codes such as 'CASH', 'AR', 'AP' , 'TAX' etc are the domain values. In the repository, the metrics are defined based on these domain values.
Say, you mapped your CASH accounts from 0011 through 0100, then OBIEE calculates the metrics related to CASH as summation (or some kind of calculation) on the accounts that have the group codes (domain values) as CASH.
It should be possible to update the domain values directly from ERP database tables but the ETL expects the mapping to be in files. Also in some cases we cannot change the default domain values, all we can change is the mapping to these domain values or create new domain values. At one client, we had to create a new account group code called 'FIXED ASSET' as the default domain values were not sufficient but then we had to change the repository to include new metrics and change existing ones to incorporate this new group code.
-Nilesh
http://www.appsbi.com -
Can I mass-change file associations?
On a Win7 I installed CS4 and CC. However, Bridge CC (although installed last) has *all* files associated with CS4. Which of course makes my life very difficult right now. Is there a way to massively change file associations in Bridge CC? I've done it many many times one-by-one in the past, and I really don't want to do it again.
ThanksYes, if you want to mess with registry. Try this solution for CS6, but use CS4. Will be slightly differenct as CS4 was 32 bit program.
HKEY_CURRENT_USER\Software\Classes\Applications\Photoshop.exe\shell\op en\command
This key was set to the path for Photoshop CS6 when it should have been set to Photoshop CC.
In other words, in my case, it was set to:
"C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1"
When I changed the CS6 to a CC, in other words, so the whole key reads:
"C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe" "%1" -
Opening SWF Files in the Application window
Hello Everyone,
We have a problem in opening .swf files in our application.
We had quick time movies(.mov) which we used to open and
play inside the application window, using QuickTime Framework APIs
in the code.
Presently we had converted these quicktime movies(.mov) into
.swf files and we are unable to open the same using Quick Time
Framework in MacOSX.
Can you please suggest me as how should I proceed, i.e which
framework should I use in the code to open and play .swf files in
the application window?
It will be better, if you can send me a small sample code to
use in my application for MacOSX.
Awaiting for your kind reply,
Thanking you,
With Best regards,
Anil.Hi Vaibhav,
I need to display the serarch results in the same window.
I have followed the steps mentioned by you in the thread
<i> Search Results in the Same Window..as we have in SDN</i>
Even after making changes to 2 PAR files mentioned in the above thread, on click
of Search button nothing happens.
It will be great if you can send me your modified PAR files, to identify where i am
going wrong. My mail id is [email protected]
Thanking you,
Vikas -
Simultanious access to DB file by several applications
I currently have Python application that deals with DBD XML database.
That application is being used 2 ways:
1. Apache + mod_python + Python application
2. wxPython or console + Python application
Web access is for read-only, so I don't really want to close/open container any request and would just reuse singleton connection object (with opened container in it) in all sessions. That arises the problem, DB is being cached into Apache process memory and does not aware of any changes done by other applications to physical DB file. I wonder if there is a standard way to detect if DB file was updated. The cached DB lives happily in Apache process even if physical file gets deleted.
I assume all connections in one process are reusing the same cached DB (nothing else makes sense) and just flash their changes to DB file time-to-time, but how to collaborate the same DB file between several processes?The standard mechanism is to use transactional access for sharing among threads and processes. As long as the processes are opening the same environment (directory), and using transactions properly, they'll be synchronized.
Another method, which is now available in 2.3 uses what DB calls "concurrent" applications, which allow multiple readers, but only a single writer. If you don't need transactions for other reasons (such as recovery), this model will work best for you because it's very simple to use.
In both cases, it's important to share the environment.
You should read the Berkeley DB Programmer's Reference:
http://www.oracle.com/technology/documentation/berkeley-db/xml/ref/toc.html
Particularly chapters 8 and 9 that talk about concurrent and transactional applications.
Regards,
George -
Can you open an existing illustrator file with the application default settings?
I need to open a customers illustrator files that he sends me with the default application settings, not the setting he saved with his file.
CS6 (Mac) but soon CC.
What is happening is they are saving the files with among other things, print scaling set to something other than 100%. If one of our operators does not catch it, the plate files are ripped at a smaller size than what they should be.
This customer does thier own production work and sends us "plate ready" files but sometimes forgets to change this setting back to 100% (he changes the scaling to something that will fit on a letter size page so he can check his separations).
I seem to recall (from years ago), there was a way to open a file using the applications default settings, not the settings saved within the file itself. -
Corrupted file in the applications folder and i cant get in
I have a half uncompress file in the applications folder and it wont let me in to that folder, not even as a root user, it just closes the folder and opens desktop instead, everything else is working fine now, i hope i just need to delete that file. (all this is happening in my imac 27" late 2011 mountain lion)
the file is a game that does work in my other machine (macbook pro early 2011 mountain lion)iOS: How to change the language when it's set to one you don't understand
http://support.apple.com/kb/HT2371
Cheers, Tom
Maybe you are looking for
-
How do I put videos and photos on my ipod?
I just got this ipod today and want to know how to put photos and videos on it. Thanks, Tyler N/A Windows XP Laptop
-
Hi All I am doing archiving of messages. When I go to Tcode SARA and setelet object as BC_XMB and then clicks the management button --> I could find a lot of entries under Archiving sessions Marked for deletion . When I checked the same It is telling
-
1. original 2. doubled horizontal size of the line Hello, I'm using scatter brush to draw multiple lines with random size and angle(image 1.), and trying to increase only the horizontal size(image 2.), keeping the interval the same. But when I do, th
-
How to back up to unix-based NAS
I have a very nice iomega ix2-200 NAS that advertised compatibility with Time Machine. In fact, this used to work. But at some point Apple apparently changed the AFP protocol and broke Time Machine compatibility in the last few versions of OS X. Is t
-
I just got a new battery in the mail today and it wont charge!! theres a battery icon with a red X through it . help! Amy Tice