Change to begin_date
I know this is not documented or supported, but want to see if anyone can help with this workaround.
I made a change to a lookup code and saved the new diagram which is Version 6.
I changed the begin_date for an existing process (Version 5) so that it could use the new diagram with it's new lookup code and transitions, but I received an error: ORA-01422 'exact fetch returns more than requested number of rows'.
I tried using AddItemAttr to add the new lookup code to Version 5 but it still errored out.
Any ideas?
James,
The current workflow engine preserves the versioning of an active process and cannot be changed.
Changes to the begin_date will not be supported
Raja
Similar Messages
-
On change of statement - Urgent
Hi Friends ,
I have an internal table say itab with the fields begin_date and end_date.
Now my requirement is ..I need to write some logic if any of the dates either 'begin_date' or 'end_date' in the table itab change.
Can i use the following code :
Loop at itab
on change of begin_date end_date.
...some logic....
endon.
endloop.
Please tel me the correct code for that.
Regards,
Vishnu.Hi Vishwanth,
Control break ON CHANGE OF is obsolete.
Try to use AT NEW which again is a control break statement and should be used inside a LOOP.
Before looping on the internal table, sort it by begin_date end_date.
See below:
Field-symbols: <itab> like line of itab.
sort itab by begin_date end_date.
Loop at itab assigning <itab>.
AT NEW end_date.
"write your logic here
END AT.
endloop.
Keep in mind that a value change in any of the fields left of end_date will trigger the control break AT NEW end_date. So, the best strategy is to have only the fields to the left of the end_date that are there in the sort statement.
In your case, any change in begin_date will trigger the break AT NEW end_date as it is left to end_date and work as you want it to be.
Hope this helps.
Thanks
Sanjeev -
How to create change set in 9i r2 ?
I created new change source and new change set , not use 'SYNC_SOURCE' and 'SYNC_SET'.
after I created change table and activated change set, I update source table's data.
but I can't find any recored in change table.
please help, thanks.
//create change source
begin
dbms_cdc_publish.create_change_source(
change_source =>'hr_change_source',
source_description=>'Change source for hr test_source',
logfile_suffix => '',
logfile_location => ''
end;
//create change set
begin
dbms_cdc_publish.create_change_set(
set_name => 'hr_change_set',
change_source_name => 'hr_change_source',
begin_date => sysdate,
end_date => sysdate+5,
tablespace_name => 'ts_cdcpub',
ignore_ddl_events => 'y',
rollback_seg_name =>' ');
end;
//create change table
begin
dbms_cdc_publish.create_change_table(
owner => 'cdcpub',
change_table_name => 'hr_ct',
change_set_name => 'hr_change_set',
source_schema => 'hr',
source_table => 'cdc_test',
column_type_list => 'id integer, name varchar2(10)',
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'n',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => 'tablespace ts_cdcpub');
end;
//activate change set
begin
dbms_cdc_publish.alter_change_set(
set_name => 'hr_change_set',
advance_enable => 'y',
ignore_ddl_events => 'n',
rollback_seg_name => '');
end;
//source table
create table hr.cdc_test(
id integer,
name varchar2(10),
primary key(id)
);Dear Niranjan
the WWI design of a cover letter is very "company" specific. In most cases data like:
- which material number was "delivered" is shown e.g. with material text
- some contact adress data from the company shipping the MSDS is shown
etc.
Most of the information printed are retrieved using a parameter symbol. Some data might come from information in CVD1; some data is retrieved by using the data from CVD1; e.g. Customer adress information etc. (here data is retrieved from business partner information)
The parameter symbols you are showing are "standard"; therefore you can use option of Ralph to try to identify the "source" of the data as retrieved.
There are not many threads related to cover letter topic in this FORUM; I believe not more than 10 threads are related to this topic. I participated in discussion of one of these threads; i was not able to find the thread; sorry
Only as a hint: don't only concentrate on WWI design; identify as well how you need to "link" the cover letter to a specific "process"; this is done via customizing; e.g. refer to the SDS distribution OSS in which the whole SDS process is described; the process is described well how to "link" the cover letter to a shipment process
Topic is explained on "very" high level here:
Cover Sheet Template (DBV) - Basic Data and Tools (EHS-BD) - SAP Library
So I believe the best option is to us the proposal of Ralph and trying to understand the standard symbols etc.
C.B.
PS: after oce again trying to find additional threads I found only these:
Coverletter - Output of material data
Parameter Symbols not appearing in Coversheet and/or Acknowledgement Receipt
How to create Cover letter -
Event for Material Change and Delete
Experts,
Is any Standard events available to trigger the workflow when the material is changed or deleted from the material master.First check any event is getting Triggered or not. If yes job done use it if not then find user Exit from which you can trigger event by writing code.
You can make use of FM
SAP_WAPI_CREATE_EVENT
SWE_EVENT_CREATE
to trigger custom event.
You can check this code
FUNCTION zwf_process_honorarium .
""Local Interface:
*" IMPORTING
*" VALUE(I_EMP_NUMBER) TYPE PERNR_D
*" VALUE(I_EMP_NAME) TYPE ENAME
*" VALUE(I_BEGIN_DATE) TYPE BEGDA
*" VALUE(I_CURRENT_SAL) TYPE ANSAL
*" VALUE(I_HON_SAL_GRD) TYPE TRFGR
*" VALUE(I_HONORARIUM_SAL) TYPE ANSAL
*" VALUE(I_JUSTIFICATION) TYPE CHAR100
*" VALUE(I_PERCENT_DUTY) TYPE INT1
*" VALUE(I_END_DATE) TYPE ENDDA
INCLUDE <cntn01> .
DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
wa_request TYPE p0001, "Workarea for Employee details
v_country_grp TYPE molga, "Country SubGrouping
v_object_key TYPE sweinstcou-objkey, "Key for the buisness object ZWOBUSHONO
v_request_det TYPE zwf_ms_honorarium. "PCR data
CONSTANTS: c_bo_hono TYPE swo_objtyp VALUE 'ZWOBUSHONO',
c_event_hono TYPE swo_event VALUE 'HonReq',
c_infy_type_1 TYPE infty VALUE '0001'.
Event Container declaration
swc_container i_event_cont.
swc_create_container i_event_cont.
Reading the INFO TYPE 0001 to obtain the
Employee details
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = i_emp_number
infty = c_infy_type_1
begda = sy-datum
endda = sy-datum
TABLES
infty_tab = i_emp_details
EXCEPTIONS
infty_not_found = 1
OTHERS = 2.
SY-SUBRC check is not required as the error
handelling will be done by WorkFlow rule
resolution.
Filling up the PCR data in structure v_request_det
which will be passed to event container.
v_request_det-emp_number = i_emp_number.
v_request_det-name = i_emp_name.
v_request_det-begin_date = i_begin_date.
v_request_det-current_sal = i_current_sal.
v_request_det-hon_grade = i_hon_sal_grd.
v_request_det-hon_grd_sal = i_honorarium_sal.
v_request_det-justification = i_justification.
v_request_det-percent_duty = i_percent_duty.
v_request_det-end_date = i_end_date.
CLEAR wa_request.
READ TABLE i_emp_details INTO wa_request INDEX 1.
IF sy-subrc = 0.
Retrieving the Country SubGrouping for the employee
SELECT SINGLE molga
FROM t001p
INTO v_country_grp
WHERE werks = wa_request-werks
AND btrtl = wa_request-persk.
ENDIF.
Sending the relevant data to event container
swc_set_element i_event_cont 'RequestData' v_request_det.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'PersonalArea' wa_request-werks.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
Raising the event to trigger the workflow
v_object_key = i_emp_number.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = c_bo_hono
objkey = v_object_key
event = c_event_hono
TABLES
event_container = i_event_cont
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
No Processing needed.
ENDIF.
COMMIT WORK.
Thanks
Arghadip -
Ora-31437: duplicate change set
Hi,
I am getting ora-31437 when creating change sets of the same name across different CDC publisher, sharing the same tablespace.
Can there no two change sets with the same name, even if they are owned by different schema's ?
I am using 10.2.02. db.
Method to create change set is:
dbms_cdc_publish.create_change_set(
change_set_name => 'TEST_CHANGE_SET',
description => 'Test change set',
change_source_name => 'HOTLOG_SOURCE',
stop_on_ddl=>'n',
begin_date=>sysdate,
end_date=>null);
Thx,
RakeshI also tried it in 11g . but again i got same error . Is this a bug or i have a mistake ?
for example after execute
BEGIN
DBMS_CDC_PUBLISH.alter_change_set(
change_set_name => 'SCOTT CHANGES',
recover_after_error => 'y',
remove_ddl => 'Y',
enable_capture => 'y'
END;
i have in my alert log :
Streams CAPTURE CP01 for CDC$C_SCOTT CHANGES started with pid=33, OS id=19614
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_cp01_19614.trc (incident=7468):
ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
Streams APPLY AP01 for CDC$A_SCOTT CHANGES with pid=36, OS id=19604 stopped
Streams CAPTURE CP01 for CDC$C_SCOTT CHANGES with pid=33, OS id=19614 stopped
Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_cp01_19614.trc:
ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
in trace file :
*** 2009-01-03 15:35:27.784
*** SESSION ID:(120.138) 2009-01-03 15:35:27.784
*** CLIENT ID:() 2009-01-03 15:35:27.784
*** SERVICE NAME:(SYS$USERS) 2009-01-03 15:35:27.784
*** MODULE NAME:(STREAMS) 2009-01-03 15:35:27.784
*** ACTION NAME:(STREAMS Capture) 2009-01-03 15:35:27.784
DDE: Problem Key 'ORA 600 [kwqbgqc: bad state]' was flood controlled (0x2) (incident: 7468)
ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
*** 2009-01-03 15:35:27.784
Begin knlcDumpCapCtx:*******************************************
Error 600 : ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
knlcDumpCapCtx: Capture Context is uninitialized
End knlcDumpCapCtx:*******************************************
*** 2009-01-03 15:35:29.794
ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
---- -
BADI for changing fields during Creation of BP in CRM
Hello to everyone,
I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.Hi
If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
Cheers
Dom -
How to restrict manual changing of free goods in sales order
Hi ,
Goodmorning ,
We have some requirement : In sales order free goods quantity determination by system should not be allowed to change manually , where can we do this ?
Looking for your inputs
Thanks and regards
VenkatAs per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
Hope this helps.
Thanks,
Jignesh Mehta -
Sy-tabix value has changed...
Hi Gurus,
I am using a code like dis...this is not the actual code m using instad m sendin u a sample program so that u can understand the problem
There is a selecvtion for Customer.
sort itab by kunnr.
loop at itab.
on change of itab-kunnr.
wkunnr = itab-kunnr.
read table zitab with key kunnr = itab-kunnr.
endon.
if itab-kunnr = wkunnr.
wdmbtr = wdmbtr + itab-dmbtr.
endif.
at end of kunnr.
ftab-kunnr = wkunnr.
ftab-dmbtr = wdmbtr.
append ftab.
endat.
endloop.
Now my problem is that AT END OF Kunnr is working fine for the first customer or say for single customer but when there are multiple customers AT END OF kunnr is triggring for each entry.......
In debug MOdei can see that as soon as read table syntax is used the tabix value is changed....
So Can anyone suggest what is the solution....
Regards,
RamanThis is the Declaration
DATA: BEGIN OF ITAB OCCURS 0,
KUNNR LIKE BSID-KUNNR,
BELNR LIKE BSID-BELNR,
BUKRS LIKE BSID-BUKRS,
GJAHR LIKE BSID-GJAHR,
BUZEI LIKE BSID-BUZEI,
SHKZG LIKE BSID-SHKZG,
VALUT LIKE BSID-ZFBDT,
SGTXT(70) TYPE C,
ZFBDT LIKE BSID-ZFBDT,
ZBD1T TYPE BSID-ZBD1T,
ZBD2T TYPE BSID-ZBD2T,
ZBD3T TYPE BSID-ZBD3T,
REBZG TYPE BSID-REBZG,
NETDT TYPE BSID-BUDAT,
ZUONR LIKE BSID-ZUONR,
BLART LIKE BSID-BLART,
DMBTR LIKE BSID-DMBTR,
SPART TYPE VBRK-SPART,
DAY TYPE RFPOSX-VERZN,
FLAG TYPE C,
CITY TYPE KNA1-ORT01,
NAME1 TYPE LFA1-NAME1,
CR_DR1(4) TYPE C,
PSWSL LIKE BSID-PSWSL,
ZTERM LIKE BSID-ZTERM,
VBELN LIKE BSID-VBELN,
UMSKZ LIKE BSID-UMSKZ,
KLIMK LIKE KNKK-KLIMK,
VTEXT LIKE TVZBT-VTEXT,
ADV LIKE BSID-DMBTR,
REBZT TYPE BSID-REBZT,
XBLNR LIKE BSID-XBLNR,
VTEXT1(70) TYPE C,
FKLIMK LIKE KNKK-KLIMK,
ABC(4) TYPE C,
AGRO(4) TYPE C,
BIO(4) TYPE C,
SKFOR LIKE KNKK-SKFOR,
SSOBL LIKE KNKK-SSOBL,
CTLPC LIKE KNKK-CTLPC,
OEIKW LIKE S066-OEIKW,
OLIKW LIKE S067-OLIKW,
OFAKW LIKE S067-OFAKW,
NAME1 LIKE LFA1-NAME1,
BUDAT LIKE BKPF-BUDAT,
D_DMBTR LIKE BSID-DMBTR,
S_DMBTR LIKE BSID-DMBTR,
VORGN LIKE BSEG-VORGN,
WERKS LIKE BSEG-WERKS,
NAMESO LIKE KNA1-NAME1,
NAMEAM LIKE KNA1-NAME1,
NAMERM LIKE KNA1-NAME1,
NAMEDR LIKE KNA1-NAME1,
END OF ITAB. -
ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS
Dear Guru's,
I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
Hope to get reply soon.
Regards,
Himanshu RangappaHi,
There is no system Fields for it.
But your requirement can be done with 'AT NEW' and 'AT END' statement.
Refer this sample example,
loop at otab.
at new module.
move otab-module to otab2-module.
ENDAT.
at END OF effort.
sum. "Do your calculations here
move otab-count to otab2-count.
append otab2.
endat.
endloop. -
How to change SSO Partner Application Login_url and Logout_url
As part of a deployment in a different data centre, we needed to change the domain name of an application using SSO for authentication. We have gone through the process of re-registering the SSO server but this does not update the domain name
By using diagnostic tools from Oracle we have discovered that the file 'osso.conf' in $ORACLE_HOME/Apache/Apache/conf/osso contains incorrect entries for login_url and logout_url.
These settings are of the form:
login_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_login
logout_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_logout
Please can anyone tell me how these settings can be changed.Hi,
[Solved] SSO fails to show success page you can find some information on re registering mod_osso.
Hope it helps. -
Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?
Did you check the Zoom setting?
Have you tried a reset (reboot)? Hold HOME and SLEEP until an Apple logo appears.
If it isn't Zoom and a reboot doesn't help try Settings/General/Reset - Reset all settings -
Email address change--how does this affect laptop and nook?
I use my Adobe ID only to authorize my laptop and Nook. I need to change my email address which seems easy on the FAQs, but how do I then reauthorize my laptop and Nook? And, if I do this, are all my existing library books unreadable since they were downloaded by what the Nook thinks is a different user? I'm almost sure I won't be able to return any books in ADE on my laptop, but I can live with that if I can still read the books on the Nook.
Thanks in advance.The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application. -
when i contol click on the downloads icon in the dock i get the gris view . I thought if you control click, you are able to change the view to fan or list. am I doing something wrong.? Icheck to make sure the contol key is working by doing a screenshot and it works there. What am I doing wrong?
Needs to be a Stack ?
-
If I chose the wrong folder as defaulf for downloads to go to, how can I change it?
I use download manager. I hit '''yes''' when asked if I wanted to make the folder shown as the default for future downloads of that type. I did not mean to do that. How can I change the default folder?
Hi belladonna82,
You should take a look at the [[Downloads window]] and [[Options window - General panel]] Knowledge Base articles. They will give you all the details you need. Unless you are talking about the default action and not the actual download folder? If so, you should look at [[Options window - Applications panel]].
Hopefully this helps! -
How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?
Some of our installations use the Sun Web Server 7.0 (update 1, usually)
for hosting some of the public resource and reverse-proxying other parts
of the URI namespace from other backend servers (content, application
and other types of servers).
So far every type of backend server served a unique part of the namespace
and there was no collision of names, and the backend resources were
published in a one-to-one manner. That is, a backend resource like, say,
http://appserver:8080/content/page.html would be published in the internet
as http://www.publicsite.com/content/page.html
I was recently asked to research whether we can rename some parts of
the public URI namespace, to publish some or all resources as, say,
http://www.publicsite.com/data/page.html while using the same backend
resources.
Another quest, possibly related in solution, was to make a tidy url for the
first page the user opens of the site. That is, in the current solution when
a visitor types the url "www.publicsite.com" in his or her browser, our web
server returns an HTTP-302 redirect to the actual first page URL, so the
browser sends a second request (and changes the URL in its location bar).
One customer said that it is not "tidy". They don't want the URL to change
right upon first rendering the page. They want the root page to be rendered
instantly i the first HTTP request.
So far I found that I can't solve these problems. I believe these problems
share a solution because it relies on ability to control the actual URI strings
requested by Sun Web Server from backend servers.
Some details follow, now:
It seems that the reverse proxy (Service fn="service-passthrough") takes
only the $uri value which was originally requested by the browser. I didn't
yet manage to override this value while processing a request, not even if
I "restart" a request. Turning the error log up to "finest" I see that even
when making the "service-passthrough" operation, the Sun Web Server
still remembers that the request was for "/test" (in my test case below);
it does indeed ask the backend server for an URI "/test" and that fails.
[04/Mar/2009:21:45:34] finest (25095) www.publicsite.com: for host xx.xx.xx.83
trying to GET /content/MainPage.html while trying to GET /test, func_exec reports:
fn="service-passthrough" rewrite-host="true" rewrite-location="true"
servers="http://10.16.2.127:8080" Directive="Service" DaemonPool="2b1348"
returned 0 (REQ_PROCEED)My obj.conf file currently has simple clauses like this:
# this causes /content/* to be taken from another (backend) server
NameTrans fn="assign-name" from="/content" name="content-test" nostat="/content"
# this causes requests to site root to be HTTP-redirected to a certain page URI
<If $uri =~ '^/$'>
NameTrans fn="redirect"
url="http://www.publicsite.com/content/MainPage.html"
</If>
<Object name="content-test">
### This maps http://public/content/* to http://10.16.2.127:8080/content/*
### Somehow the desired solution should instead map http://public/data/* to http://10.16.2.127:8080/content/*
Service fn="service-passthrough" rewrite-host="true" rewrite-location="true" servers="http://10.16.2.127:8080"
Service fn="set-variable" set-srvhdrs="host=www.publicsite.com:80"
</Object>
I have also tried "restart"ing the request like this:
NameTrans fn="restart" uri="/data"or desperately trying to set the new request uri like this:
Service fn="set-variable" uri="/magnoliaPublic/Main.html"Thanks for any ideas (including a statement whether this can be done at all
in some version of Sun Web Server 7.0 or its opensourced siblings) ;)
//JimSome of our installations use the Sun Web Server 7.0 (update 1, usually)please plan on installing the latest service pack - 7.0 Update 4. these updates addresses potentially critical bug fixes.
I was recently asked to research whether we can rename some parts of
the public URI namespace, to publish some or all resources as, say,
http://www.publicsite.com/data/page.html while using the same backend
resources.> now, if all the resources are under say /data, then how will you know which pages need to be sent to which back end resources. i guess, you probably meant to check for /data/page.html should go to <back-end>/content/page.html
yes, you could do something like
- edit your corresponding obj.conf (<hostname>-obj.conf or obj.conf depending on your configuration)
<Object name=¨default¨>
<If $uri = ¨/page/¨>
#move this nametrans SAF (for map directive - which is for reverse proxy within <if> clause)
NameTrans.. fn=map
</If
</Object>
and you could do https-<hostname>/bin/reconfig (dynamic reconfiguration) to check out if this is what you wanted. also, you might want to move config/server.xml <log-level> to finest and do your configuration . this way, you would get enough information on what is going on within your server logs.
finally,when you are satisfied, you might have to run the following command to make your manual change into admin config repository.
<install-root>/bin/wadm pull-config user=admin config=<hostname> <hostname>
<install-root>/bin/wadm deploy-config --user=admin <hostname>
you might want to check out this for more info on how you could use <if> else condition to handle your requirement.
http://docs.sun.com/app/docs/doc/820-6599/gdaer?a=view
finally, you might want to refer to this doc - which explains on ws7 request processing overview. this should provide you with some pointers as to what these different directives mean
http://docs.sun.com/app/docs/doc/820-6599/gbysz?a=view
>
One customer said that it is not "tidy". They don't want the URL to change
right upon first rendering the page. They want the root page to be rendered
instantly i the first HTTP request.
please check out the rewrite / restart SAF. this should help you.
http://docs.sun.com/app/docs/doc/820-6599/gdada?a=view
pl. understand that - like with more web servers - ordering of directives is very important within obj.conf. so, you might want to make sure that you verify the obj.conf directive ordering is what you want it to do..
It seems that the reverse proxy (Service fn="service-passthrough") takes
only the $uri value which was originally requested by the browser. I didn't
yet manage to override this value while processing a request, not even if
I "restart" a request. Turning the error log up to "finest" I see that even
when making the "service-passthrough" operation, the Sun Web Server
still remembers that the request was for "/test" (in my test case below);
it does indeed ask the backend server for an URI "/test" and that fails.
now, you are in the totally wrong direction. web server 7 includes a highly integrated reverse proxy solution compared to 6.1. unlike 6.1, you don´t have to download a separate plugin . however, you will need to manually migrate your 6.1 based reverse proxy settings into 7.0. please check out this blog link on how to set up a reverse proxy
http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy
feel free to post to us if you need any futher help
you are probably better off - starting fresh
- install ws7u4
- use gui or CLI to create a reverse proxy and map one on one - say content
http://docs.sun.com/app/docs/doc/820-6601/create-reverse-proxy-1?a=view
if you don´t plan on using ws7 integrated web container (ability to process jsp/servlet), then you could disable java support as well. this should reduce your server memory footprint
<install-root>/bin/wadm disable-java user=admin config=<hostname>
<install-root>/bin/wadm create-reverse-proxy user=admin uri-prefix=/content server=<http://your back end server/ config=<hostname> --vs=<hostname>
<install-root>/bin/wadm deploy-config --user=admin <hostname>
now, you can check out the regular express processing and <if> syntax from our docs and try it out within <https-<hostname>/config/<hostname>-obj.conf> file and restart the server. pl. note that once you disable java, ws7 admin server creates <vs>-obj.conf and you need to edit this file and not default obj.conf for your changes to be read by server.
>
I have also tried "restart"ing the request like this:
NameTrans fn="restart" uri="/data"
ordering is very important here... you need to do this some thing like
<Object name=default>
<If not $restarted>
NameTrans fn=restart uri from=/¨ uri=/foo.
</If>
Maybe you are looking for
-
Billing info for free apps?
Why apple wont let me download free apps if i dont have money on my credit card?I dont get that,they only accept the billing info if "you" have ballance on that credit card,thats not right.For paid apps its normal,but for free???
-
HI, Some super_id is wrong or null in my #cred table and I want to update with the correct super_id. The best way is to COUNT max 'super_id' on the basis of column-'b_id' and 'bid_code'. Query condition should be based on 'b_id' and 'bid_code'. Pleas
-
tunes is stating that my ipod has space but when i sync it itunes says i need an additional 1.32GB
-
DAC task with Informatica mapping and stored procedure (very slow)
Hello, We have a DAC task that launch an Informatica Workflow with a simple query and stored procedure, like this: SQL QUERY ========================== SELECT W_ACTIVITY_F.ROW_WID, W_AGREE_D.AGREE_NUM, W_PRODUCT_D.ATTRIB_51, W_SRVREQ_D.ATTRIB_05, W_O
-
If I define a type of object and create a view using it: +++++++++ create view v1 as select cast(multiset(select m.name as mName, m.id as mId from mtable m as mlist) mlst from sometable +++++++++ is it possible for me to select the above view by usin