How to upload files in cluster without bringing down the cluster.
Hi,
Here is my problem:
My weblogic portal 7.0 application should run in 24x7 environment. The production
system is running in a cluster mode with external staging. Both the managed servers
are pointing to the same application sync database.
So to give a solution to this problem, we are trying to bring down one managed
server down and apply the patches into that managed server without bringing down
the other. Since webflow files and entitlements needs to be synchronized with
the portal database. If we perform a sync on the portal database, there might
be a chance that it might corrupt the existing portal database state. Our deployment
would not be complete unless we perform a sync on the other managed servers. So
we could not able to update the latest pathces into the cluster without bringing
down the cluster.
What I would like to know is "Is there any work around to get rid of this problem?".
I would be delighted if any one provides the solution.
Thanks & Regards,
Ratnakar
Hi Ratnakar,
When you perform sync you do it against the admin server which in turn does it
to the managed server. If you want to apply any changes to webflow you can do
it on the live system itself. I mean apply the new webflow and entitlements and
do the sync on the live system. Also while doing sync there are two modes. One
mode will sync only the modified changes and the other will apply all of it. You
can opt for the first option by which you can sync only the modified changes.
This may bring a small disturbance but it will be unnoticed.
The other option is to have two separate domains(each having one admin & one or
more managed servers) which may be having two separate portal databases. In this
way you can apply patches to one domain while other domain may provide the service.
Regards
Shaan
"Ratnakar Sonti" <[email protected]> wrote:
>
Hi,
Here is my problem:
My weblogic portal 7.0 application should run in 24x7 environment. The
production
system is running in a cluster mode with external staging. Both the managed
servers
are pointing to the same application sync database.
So to give a solution to this problem, we are trying to bring down one
managed
server down and apply the patches into that managed server without bringing
down
the other. Since webflow files and entitlements needs to be synchronized
with
the portal database. If we perform a sync on the portal database, there
might
be a chance that it might corrupt the existing portal database state.
Our deployment
would not be complete unless we perform a sync on the other managed servers.
So
we could not able to update the latest pathces into the cluster without
bringing
down the cluster.
What I would like to know is "Is there any work around to get rid of
this problem?".
I would be delighted if any one provides the solution.
Thanks & Regards,
Ratnakar
Similar Messages
-
How to upload file to mime without selecting any Transport request
Hi experts,
My Function Module is like billow.. It is asking Transport request for every file....
FUNCTION ZBAPI_FM_UPLOAD_IMAGES_TO_MIME.
*"*"Local Interface:
*" IMPORTING
*" VALUE(PATH) TYPE STRING DEFAULT 'SAP/PUBLIC/VIJAY/'
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRET2
DATA: lr_mime_rep TYPE REF TO if_mr_api.
DATA: lv_filename TYPE string.
DATA: lv_path TYPE string.
DATA: lv_fullpath TYPE string.
DATA: lv_content TYPE xstring.
DATA: lv_length TYPE i.
DATA: lv_rc TYPE sy-subrc.
DATA: lt_file TYPE filetable.
DATA: ls_file LIKE LINE OF lt_file.
data subrc type sy-subrc VALUE 0.
DATA: lt_data TYPE STANDARD TABLE OF x255.
DATA: l_fname TYPE string.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select Multiple Files to Upload'
default_extension = ' '
* default_filename =
* file_filter = 'Photos (*.jpg) | *.jpg | *.png | *.bmp '
* with_encoding =
* initial_directory =
multiselection = 'X'
CHANGING
file_table = lt_file
rc = lv_rc
* user_action =
* file_encoding =
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
others = 5
LOOP AT lt_file INTO ls_file.
CLEAR: lv_filename,l_fname.
lv_filename = ls_file-filename.
CALL FUNCTION '/SAPDMC/LSM_PATH_FILE_SPLIT'
EXPORTING
pathfile = lv_filename
IMPORTING
* PATHNAME =
filename = l_fname
CONCATENATE path l_fname INTO l_fname RESPECTING BLANKS.
cl_gui_frontend_services=>gui_upload(
EXPORTING
filename = lv_filename " Name of file
filetype = 'BIN'
IMPORTING
filelength = lv_length " File length
CHANGING
data_tab = lt_data " Transfer table for file contents
EXCEPTIONS
OTHERS = 19 ).
if sy-subrc = 0.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = lv_length
* first_line = 0
* last_line = 0
IMPORTING
buffer = lv_content
TABLES
binary_tab = lt_data
EXCEPTIONS
failed = 1
OTHERS = 2.
lr_mime_rep = cl_mime_repository_api=>if_mr_api~get_api( ).
lr_mime_rep->put(
EXPORTING
i_url = l_fname
i_content = lv_content
EXCEPTIONS
parameter_missing = 1
error_occured = 2
cancelled = 3
permission_failure = 4
data_inconsistency = 5
new_loio_already_exists = 6
is_folder = 7
OTHERS = 8 ).
commit work.
ELSE.
subrc = 1.
ENDIF.
ENDLOOP.
endfunction.
Please reply with any answers have..
thanks and regards
VijayThanks Leon,
My problem is solved, I was doing mistake now I have added one line of code and now it is working perfectly.
lr_mime_rep->put(
EXPORTING
i_url = l_fname
i_content = lv_content
i_dev_package = '$TMP' "Here i add package name as temp
EXCEPTIONS
parameter_missing = 1
error_occured = 2
cancelled = 3
permission_failure = 4
data_inconsistency = 5
new_loio_already_exists = 6
is_folder = 7
OTHERS = 8 ).
Thanks & regards
VIJAY
Edited by: VIJAY4vision on Feb 1, 2012 8:24 AM -
Cloning without shutting down the db
Hi,
Can you please suggest how to clone apps and db without shutting down the database? Apps is just copying the files, is there a recommended way to do the db cloning without shutting down the db.
Updating the instance details:
db - 10.2.0.4 on RHEL
apps - 11.5.10.2
-Jek
Edited by: 890397 on Feb 2, 2012 5:31 AMYou can find all the steps in the documentation (using RMAN or Hot backup).
Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1]
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=Rapid+AND+Clone+AND+Documentation&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Rapid+AND+Clone+AND+RMAN&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to upload file from Application Server?
Dear Friends,
How to upload file from Application Server?
Plz. with example...
Regards,
Dharmeshhi,
check the code for upload from application server.
tables: kna1.
types: begin of s_file,
customer type kna1-kunnr,
country type kna1-land1,
name type kna1-name1,
region type kna1-regio,
end of s_file.
*--Internal tables
data: it_file type s_file occurs 0 with header line.
*-- Selection screen
selection-screen: begin of block b1 with frame title text-001.
parameter: p_file type rlgrap-filename default 'C:/customer.txt'
obligatory.
selection-screen: end of block b1.
*-- At selection screen
at selection-screen on value-request for p_file.
perform file_help using p_file.
*-- Process File
start-of-selection.
perform upload_file using p_file.
*-- write File data to o/p
end-of-selection.
perform write_data.
*& Form file_help
form file_help using p_p_file.
data: l_filepath type ibipparms-path.
call function 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
importing
file_name = l_filepath
p_p_file = l_filepath.
endform. " file_help
*& Form upload_file
form upload_file using p_p_file.
call function 'WS_UPLOAD'
exporting
filename = p_p_file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = it_file
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11
if sy-subrc <> 0.
message i001.
endif.
endform. " upload_file
*& Form write_data
form write_data .
loop at it_file.
write:/ it_file-customer, it_file-country, it_file-name,
it_file-region.
endloop.
endform.
regards,
keerthi. -
How to upload file in a server
Hi,
How to upload file to server through reporting. Plz guide me and what would be the probable code.
ThanksHi,
Try this Report Program.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Regards,
Padmam. -
How to upload file in webdynpro abap alv
Hello Friends,
how to upload file in webdynpro abap alv
Regards
Narendra
Moderator message: please search for available information, post in correct "Web Dynpro ABAP" forum if still required.
Edited by: Thomas Zloch on Jun 6, 2011 11:55 AMHi Narendra,
You ahve to search before posting. This discussed many times.
You need to use file upload ui element to upload data. and display in alv.
Please go thorugh this..
http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
Re: Upload .xls file in WDABAP
http://forums.sdn.sap.com/click.jspa?searchID=72307893&messageID=5425671
Cheers,
Kris. -
How to upload files to dashboard obiee 11g
hi,
can anyone explain how to upload files to obiee dashboard.
thanks in advance..refer this link .
http://total-bi.com/2011/02/external-files-obiee-dashboard/ -
The uploaded file XX001.xml is invalid. The file should be in XSD form
Hi all,
i have developed rdf and registered as output xml and
when i am uploading xml file in data defination.
The uploaded file SCCCFA001.xml is invalid. The file should be in XSD format.
i have removed the comments and as well as same error i am geeting.
why xsd format.
oracle apps version r12 1.1.1
word 2007
bipuglisher 10g
Edited by: 979449 on Jan 27, 2013 3:13 AM>
i have developed rdf and registered as output xml and
when i am uploading xml file in data defination.
>
try:
- create executable as oracle report (your rdf file)
- create concurrent based on above executable and set output as xml
- create data definition (without any file)
- create template (layout of result report) as example in rtf
as example of concurrent based on rdf look at GLWACCTR
use appropriate forum in the next time
E-Business Suite - https://forums.oracle.com/forums/category.jspa?categoryID=3 -
Everytime I try to update to iOS5 on my iPhone 4 I get an error containing 0xE while it is backing up data from the iPhone before installing the new operating system. I have done everything suggested in Apple support with no success. I still get the error everytime (about 5 minutes into backing up iPhone data). How can I upgrade to iOS5 without losing all the data on my iPhone (the error message says that if I continue I will lose all data on the phone)? If I have already synced the phone before upgrading the OS, would I be able to restore my data after installing the new OS by syncing after the OS upgrade is complete? Any help would be greatly appreciated.
I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
Before you restore or reset, I would try that first. -
I Have a MacBook pro laptop. A mini-disc has got into the disc drive. The eject won't work. How do I get it out without damage to the disc drive?
Alternatively, you could try some of these suggestions (at your own risk of course):
https://www.ifixit.com/Discuss/thread/4563 -
The uploaded file CPSIDRPT.xml is invalid. The file should be in XML-DATA-T
can someone explain me why am I getting following error message when I'm trying to upload a data defination file?
The uploaded file CPSIDRPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format.
thanks........
ketki----Based on the detail (or lack of) that you have provided, your file is not in the right format.
Can you open the file in a internet browser? Is it well-formed XML?
Edited by: SIyer on Dec 1, 2009 4:33 PM -
How to capture file modification date and time over the web
HI!
I am creating a web based application and I am using webutil package for al lot of my work being that I ma working with renamin,deleting and uploading files for a users machine to the database. There is one functionality thing that I have to do in this application that webutil does not take care of and that is capturing the modification date and time from a file on the users machine. Please help me capture the date and time of a file on the users machine.
Thanks!Since webutil allows you to write file on client PC directory, then you first create a directive file, then host that directive file. the directive file content is just the command lines when you manually do it on PC.
Refer the ideas--just the ideas not the same built-ins in this URL:
Hyperlink in forms -
How i can see a page without logon to the portal
Who knows how i can see a pge without logon to the portal?
Thanks anywayi don't understand your, but
my users login to page by portlet on all pages or custom login page.
pl/sql portlet on all page:
put pl/sql portlet on page
pl/sql text:
begin
if portal.wwctx_api.is_logged_on then
htp.p('<center>logout<center><br>');
else
htp.p('<table BORDER="1" WIDTH="100%" CELLPADDING="2" CELLSPACING="0" class="RegionBorder">
<tr><td class="RegionHeaderColor" WIDTH="100%"><script TYPE="text/javascript">
<!-- Comment out script for old browsers
function loginsubmit()
document.LoginForm.uname.value =
document.LoginForm.ssousername.value;
document.LoginForm.pwd.value =
document.LoginForm.password.value;
document.LoginForm.ssousername.value = "";
document.LoginForm.password.value = "";
document.LoginForm.submit();
//-->
</script>
<form ACTION="PORTAL.wwptl_login.login_url" METHOD="POST" name="LoginForm" AutoComplete="Off" onSubmit="loginsubmit()">
<input TYPE="hidden" NAME="p_requested_url" VALUE="http://your.curent.name">
<input TYPE="hidden" NAME="p_cancel_url" VALUE="http://your.curent.name">
<input TYPE="hidden" NAME="uname" VALUE="">
<input TYPE="hidden" NAME="pwd" VALUE="">
<table ALIGN="center">
<tr>
<td><font class="PortletText1">name</font></td>
<td><input TYPE="text" NAME="ssousername" SIZE="10" MAXLENGTH="80" style="font-size:10px;"></td>
</tr>
<td><font class="PortletText1">password</font></td>
<td><input TYPE="password" NAME="password" SIZE="10" MAXLENGTH="255" style="font-size:10px;"></td>
</tr>
</table>
<center>
<input TYPE="submit" VALUE="Registration">
</center>
</form></td></tr></table>');
end if;
end;
set show directly in page.
good luck ?:( -
I have my ipod shuffle plugged into a diffrent computer associated with it for ittunes, but i cant figure out how to maually manage my music without erasing all the songs already on my ipod shuffle... so how do i do that? I've done it before with my old ipod before it broke. I really need help with this!
I have my ipod shuffle plugged into a diffrent computer associated with it for ittunes, but i cant figure out how to maually manage my music without erasing all the songs already on my ipod shuffle... so how do i do that? I've done it before with my old ipod before it broke. I really need help with this!
-
I just bought my cousin's ipod, and I want to update it on my computer. However, it needs authorization from his account to keep all the apps, and he's already authorized it on 5 computers. How can I update this ipod without losing all the apps?
You cannot use someone else's apps without violating the license agreement. The apps are tied to the owner (via Apple ID). The right thing to do would be to update and start fresh.
Maybe you are looking for
-
Problem in using asant tool in Sunone Apps Server 8.0 on Windows XP
Hi, I am using asant.bat tool to build example applications in j2eetutorial14. whatever taget i am using to build the examples in sample directory ie, <J2EE_HOME>/j2eetutorial14/examples/web/bookstore> asant build <J2EE_HOME>/j2eetutorial14/examples/
-
Portal integration with workflow and contracts
gurus, are there any whitepapers on the integration of the portal with oracle workflow and oracle contracts. it would be great help ... has anyone done this before ...? pls reply ... thanx a bunch ...
-
Urgent - Transfer Order Confirmation Error- Item category Type Not defined
Hi Gurus i need your help for an <b>urgent production issue</b> FYI we have full fledged Wm implemented the users are not able to confirm the TO's created and it shows an error that <b>ITEM CATEGORY NOT DEFINED, </b> i have checked in the STO in me23
-
hi, When I connect to database from client it says sqlplus is not recognized as internal or external command. The Path is set to correct directory though Client 10.2.0.3 on Windows 2003 Thanks Message was edited by: user604101 Message was edited by:
-
Every time i try to press new tab nothing happens it wont open, i need help on how to fix this
I'm unable to open a new tab in Firefox. I've tried restarting Firefox, pressing Ctrl t, and going to file and pressing new tab. but none of it is working. does anyone know ow to fix this