Configuring Logon groups for JAVA instances using NWA method
Hello,
we have a BI dual System landscape ( CI ABAP+ JAVA plus 2 dialog instance ABAP+JAVA, based on NW04s. I have set up a Web Dispatcher to do a load balancing for JAVA instances. I configured the logon groups according this documentation using NWA (http://help.sap.com/saphelp_nw04/helpdata/en/45/3dbe11a82b6bf1e10000000a1553f6/content.htm).
The following points are still quite unclear for me:
1. according documentation I should specify the following profile parameters:
[Define the special HTTP URLs, which SAP Web Dispatcher uses to send to the AS Java to retrieve the logon groups information]
wdisp/J2EE/group_info_location = [?] /JavaEE/public/icf_info/icr_groups
wdisp/J2EE/url_map_location = [?] /JavaEE/public/icf_info/icr_urlprefix
Wich values should i take here actually? These one or /J2EE/icr_groups and /J2EE/icr_urlprefix ?
2. Also I have to configure (in visual administrator) the GroupInfoRequest and UrlMapRequest properties of the HTTP Provider service running on server processes. They recommend to use /J2EE/icr_groups and /J2EE/icr_urlprefix. Should it be the same values as defined in those profile parameters?
3. I have defined the instance IDs and exacte Alias in the groups definitions in nwa. Is it possible to proof somehow while using my URL http://<host>:<port>/TestApp~test/<application_resource> either im web dispatcher (traces?) or on a web site on which DI I actually land to be sure that my load balancing works properly and i don't land on my Central Instance?
Thanks a lot in advance for your advices.
best regards,
Polina
Understood, Install the web dispatcher and configre the ABAP Message Server Port and ms/http_port (T-CODE:SMMS). Test this link
http://host:port/sap/public/icf_info/icr_groups
and this would retrieve the list of ABAP (SMLG) cofigured groups.
For java load balancing, icm of that host will send the incoming requests to JAVA Dispatcher. The load balancing happens on the basis of server nodes and can be found in the web dispatcher session dispatching table.
There are no necessary parameters required for java load balancing except the number of server nodes you'll hookup to that dispatcher.
There is an option called service based, where we configure the j2ee hosts to accept the connections for the services which are running but I haven't seen much customers using this option.
Bottom line: No changes are required for java side and enable the "ext rfc" option for abap logon groups and rest will be taken care by Web Dispatcher.
Use connection pooling and high timeouts to acheive the better througput and use the SSL termination on Web Disp.
Similar Messages
-
Logon groups configuration for JAVA instances using NWA method
Hello guys,
we have a BI dual System landscape (CI ABAP+ JAVA plus 2 dialog instance ABAP+JAVA, based on NW04s. I have set up a Web Dispatcher to do a load balancing for JAVA instances. I configured the logon groups according this documentation using NWA (http://help.sap.com/saphelp_nw04/helpdata/en/45/3dbe11a82b6bf1e10000000a1553f6/content.htm).
The following point is still quite unclear for me:
I have defined the instance IDs (of DIs installed on linux servers) and exacte Alias in the logon groups definitions in NWA. Is it possible to proof somehow (while accessing my URL http://<host>:<port>/TestApp~test/<application_resource> ) either in web dispatcher ->Web Administration Interface(Application Server Monitor ?) or somewhere else on which Dialog Instance I actually land to be sure that my load balancing works properly and i don't land on my Central Instance?
Thanks a lot in advance.
best regards,
Polinaok, I have understood what you ment in the first passage Thanks!
When I put javascript:document.cookie in my Internet Explorer Address Bar i got the following information:
PortalAlias=portal; saplb_STD_JAVA=(sapt20p_T20_20)207175450; JSESSIONID=(sapt20p_T20_20)ID1892984750DB11747115157906231437End; saplb_test=(lx003207_T20_20)206509050; saplb_*=(lx003207_T20_20)206509050
what does here saplb_STD_JAVA mean?
you can use following URLs to access any particular Java Server node of any server.
https://<host name>:<https port>/irj/portal;saplb_*=<Java serer node number> https://<host name>:<https port>/irj/portal;sapj2ee_irj=<Java server node number>
What is the difference between saplb_* and sapj2ee_irj?
Thanks in advance.
regards,
Polina -
How to create Logon groups for JAVA Systems
Hi,
I am implementing an BI JAVA Landscape. We do have 1 Central Instance(CI) and 2 Dialog Instances (DI) JAVA Standalone. Everything based on NW04s
I have set up a Web Dispatcher to do a load balancing. The Web Dispatcher is connected to the Message Server (MS) of the JAVA CI to get all the information about the Engines.
I am now looking to create Logon groups to distibute the load according the application used applications. I am not sure if there is a possibility to set up logon groups (server groups) directly somewhere in the J2EE engine, or if I have to set this up in the WebDispatcher konfiguration files?!
Thanks in advance and best regards,
DominikWe're trying to do something similar with NetWeaver CE 7.1.
According to [this documentation|http://help.sap.com/saphelp_nwce10/helpdata/en/45/3dbe11a82b6bf1e10000000a1553f6/frameset.htm] there are 3 steps to doing this for NetWeaver CE 7.1:
1. Logon Groups
2. Web Dispatcher profile changes
3. HTTP Provider property changes
We've set up a Logon Group in the NetWeaver nwa and associated the two instances (one host) with it.
"[Configuring Logon Groups Using Configuration Files|http://help.sap.com/saphelp_nwce10/helpdata/en/45/3c3f0cad9f4c2de10000000a1553f6/frameset.htm]" says: "...to create the files using HTTP Provider service."
There it doesn't say exactly how to generate those 3 text files; it says: "1. Create the icrgroups.txt and urlinfo.txt files that define the logon groups. For more information, see the documentation of SAP Web Dispatcher." ; but, has no link to what it says to see. So, I manually go to ["SAP Web Dispatcher", "Assigning Logon Groups"|http://help.sap.com/saphelp_nwce10/helpdata/en/b4/9aa8862e714e6db8e74e48e5d3283b/frameset.htm]. But, it all pretty much breaks down there because it's referring to apparently non-NetWeaver CE 7.1 stuff (as near as I can tell); for instance, how do the transactions SMLG and SICF relate to NetWeaver CE 7.1, or am I in the wrong place?
I tried to press ahead with files similar to the examples here, but I hit this error in the Web Dispatcher:
[Thr 5132] *** WARNING => ICT: path prefix /Curam/ not allowed in this context. Only prefix / allowed. [ictxxptab.c 764]
[Thr 5132] *** WARNING => When a file is specified in wdisp/J2EE/url_map_location only URL prefix '/' is supported. See also SAP note 1033470. [icrxx.c 2925]
The note reference looks hopeful, but I cannot read it; I get:
Note 1033470
The requested SAP Note is either in reworking or is released internally only
Does anyone have a copy of this Note or knows if it's helpful?
Has anyone done this with NetWeaver CE 7.1?
Tahnks,
William -
How to change host name entry for java instance using config tool
Hi Gurus,
We are trying to invoke DR for dual stack SAP PI system.Strategy followed is BR Tool backup and restore method.
We are able bring up ABAP stack and it is still pointing to production Java stack.
Could any one please guide us with step by step procedure to change entries and bringing up java stack for DR system.
While bringing up java instance we are facing below issues
From starting framework it goes back to collecting data stack.
Thanks,
Avadhesh Sharma
+91-8095226536Hi Avadhesh,
For dual stack systems backup/restore method is not recommended procedure for DR.
As it will have hostnames from Production.
Good approach will be to have export of Production Java stack and import the same into DR OR
Have the DR system installed using virtual hostnames which are similar to Production hostname.
When DR needs to be operational enable these virtual hostnames.
Hope this helps.
Regards,
Deepak Kori -
Logon Group for Background proccess. Is posible?
Hello,
I've a SAP system with 5 aplication servers. Users connect to them through logon groups . The logon groups work perfectly for the processes of dialogue.
This is what I'm looking for:
The background jobs are running on the server unless charged. But I want some JOBS run on servers 0, 1 and 2, and will not run on servers 3 and 4.
How can I do it. Are there logon groups for background processes or JOBs?.
Note: There are background processes in All application servers.
Thans in advance.HI
Yes you can do that , you can define the background logon group in SLMG , same way u have done for dailog process and you can assigh the logon group to a particular job , that way job will run on the server which has highest quality in SLMG ie in which there are more free workprocess provided you have background work process defined on those servers like
server 123 you can use for dailog and define tht in SLMG and use 145 for background jobs
you can use servers for both background and dailog provided you have defined enough no of background and dailog work process .
before you make background logon group check out the background workprocesses in all application server ,
Hope this will help you ,,
Cheers
dEE -
How to create an instance for RemoteSession without using create() method
How to create an instance for RemoteSession without using create() method?
What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?
-
Persistenance for Java Objects Using Toplink
Hi All Happy New Year
I am trying the a tutorial in Jdeveloper 10.1.3.0.4 called
Provide Persistenance for Java Objects Using Toplink.
I have followed the instructions and get the following error.
com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
at __Proxy1.persistEntity(Unknown Source)
at acme.ejb.session.EmpSessionClient.main(EmpSessionClient.java:29)
oracle.oc4j.rmi.OracleRemoteException: Invocation error: java.lang.NoSuchMethodException: acme.ejb.session.EmpSession.persistEntity(java.lang.Object)
The release notes mention TopLink POJO's Must Implement java.io.Serializable When Returned From a Session Bean's Remote Interface (4902787) When creating a session bean facade for TopLink POJO objects, you must implement java.io.Serializable for each of the TopLink POJO objects returned from the SessionBean facade through a remote interface. This is typically required when using ADF Swing, a EJB Sample Client, or when your EJB Session Bean resides on a separate application server from the client. You can also tell you you need to implement java.io.Serializable when you get the following exception:
com.evermind.reflect.UndeclaredExceptionTypeException:
/oracle.oc4j.rmi.OracleRemoteException/
at __Proxy1.[Your Class Name Here] (Unknown Source)
The workaround is to manually edit each POJO object to implement java.io.Serializable.
I have only one POJO which is declared as follows:
public class EmpInfo implements Serializable {
Can anybody help me understand what I need to do to get it to work?
Many Thanks in AdvanceHi,
can you send me your test scenario/project at anuj dot k dot jain at oracle dot com. I tried reproducing this but was unable to do so.
Thanks,
anuj dot k dot jain at oracle dot com -
SQL Server Management Studio - Configuring the environment for first time use
Hi
I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
Management Studio them loads and I can continue without problem.
I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
ThanksHi,
There is bug report of this issue:
http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
"SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
if any of these files are not available or unusable, SSMSE will generate new ones."
Hope this helps.
BR,
JoukoK -
i have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier
I have recently started having this problem in PSE8. The Adobe workaround
did work, but I don't fancy having to re register each time I use it.
What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
Hope this helps -
Specific logon Group for Http logins
Hi
I just wondering whether we can have Logon group in SMLG specifically for http logins to use only 3 app server out of 6.
In my case,we have given one of the app server in the Iviews so all http logins goes to it, But as I see this server is idle most of the times and my other app servers are overloading and hanging sometimes so to allow GUI users on this and distribute http logins to use only 3 servers.
And If I use the generic load balancing then all the request would come to Central instance and then go to app server,which I don't want because I restricted any users login to central instance .so What I am looking is, to distribute Http logins to 3 app servers only .
Can this be acheived???
Any ideas are welcome.
ThanksHello,
you can create a logon group in SMLG with those 3 application servers, then set the flag ""Ext. RFC-enabled" in SMLG.
If you use the Message server for Http load balancing you should activate the services sap/public/icf_info/logon_groups and sap/public/icf_info/urlprefix in SICF transaction.
You could as well assign specific logon groups to url's in transaction SICF.
There are some restrictions when using the message server for Http load balancing (depending of your scenario), see SAP Note 1040325. That's the reason is recommended to use SAP Webdispatcher
http://help.sap.com/saphelp_nw04/helpdata/EN/de/89023c59698908e10000000a11402f/frameset.htm
Kind regards,
Mercedes -
System copy for ABAP+JAVA system using SAPINST method
Dear support,
We have recently upgraded to ECC 6.0 system and we have been still doing system copy by using backup and restore method. I know its<b> wrong</b>.
which involves below steps , this old methos works fine for ABAP engine and evreything looks ok.But java engine will not work.
So we need to use SAPINST method as described in note 785848 and system copy guide available on OSS. But i am really not able to understand sequence
for tasks to be carried out in this SAPINST method.
<b>Can anybody list few sequence along with step by step procedure as i mentioned below for old system copy procedure.</b>
Is it really difficult to make that for <b>SAPINST</b> as everybody says refer to standard guide and note ?
Anybody if possible can make the same way as i did below , i think it would rather be small as far as my understanding after reading those docs.
Simple old system copy procedure works for ABAP is as:
Run the following command on source system.
a. Login as <sid>adm
b. svrmgrl
c. connect internal
d. alter database backup controlfile to trace;
e. exit;
f. Above command will generate a .trc file in /oracle/P01/saptrance/usertrace directory.
g. Copy the text from CREATE CONTROLFILE until the ( and paste it in to any new .sql or controlfile.sql file.
h. Copy the controlfile.sql to target system.
i. Edit the file and replace the entire source SID to target SID.
j. Edit the reuse database command with the set database command
Copy the aft generated during the backup file from the source system to target system. (/oracle/<SID>/sapbackup)
a. Change all the source <SID> to target <SID>.
b. Only don't change the backup volume name it must be target system <SID>.
c. Copy the above aft file name line from the source back<SID>.log to target<SID>.log file.
5. Shutdown the target server instance.
6. From this onwards all the command on the target system only.
a. Login as <SID>adm
b. run the SAPDBA
c. select J (Restore/Recovery)
d. select B (Full restore and recovery)
e. select A (Select backup of type)
f. Select the offline backup which you want to restore.
g. It will take some time to restore.
h. Once the database is restored login as <SID>adm and run the
i. svrmgrl
j. connect internal;
k. startup nomount (if the database is already mounted shutdown it using the shutdown command)
l. run the following command
m. @controlfile.sql (file name of the control file contains the CREATE CONTROLFILE statement)
n. After the run the above command it should give the "Statement Processed)
o. alter database open resetlogs.
I am really looking forward to see anybody take some time out to prepare this kind of step by step procedure.
It would be of greate help for all of us for performing system copy with sapinst method.
Looking forward for your support.
Best Regards,
AjitRHi,
As per the guide you need to do source system Technical Preparations, in that running the export preparation is also one. You need to run this first before you start the export, if and only if export will successful if preparation is successful.
Yes you need to create the export directory to take the export copy of source system, it may be any where in your server. It should be having 6 to 8 GB free space.No need to create the export directory in target system, after export is completed in the source system you copy the export directory to the target system.
<b>Target system</b>
Yes you need to take the back up file system and delete all the contents of the directory.
Yes it can be considered as fresh system installation but copy of source system.
Yes the process follows after you giving the export directory path .
Next screen you will get the database drop and recreate screen chouse the drop and recreate method
Next J2EE user name and password
Next DDIC password
Next you have to give kernel and oracle client dvd path
Next Parameter checking screen here if you are selected database drop and recreate you have to revise the oracle database system option
If you are selecting review next screen is database advance option you have to select the advanced option
Next you have to select following option to recreate
1 Sapdata directory mapping
2 Database instance file system
3 Create database parameter
4 Create tablespace
Next screen sapdata directory creating
Next screen you can just click next no need to change any setting
Next table creation
Next screen specify oracle instance directories
Next again parameter checking and last this is last screen
Next will be the execution screen
Reward points if usefull -
Logon Load Balancing / Configuring Logon Groups problem
In existing system setting:
One Logon group (PUBLIC) and point to one instances. This setting is work and SAP LOGON default clinet no is 320.
I try to install one more instances on other server and add to same Logon group (PUBLIC).
Install compent as below:
SAP ERP 2005 Support Release 2 -> SAP systems -> MS SQL, Server -> High available system -> Base on ABAP System -> Dialog System
The instance has been installed and start and stop this instance is successful.
Add instance into logon group (PUBLIC)
Logon system via logon group, the logon redirect to new instanace server. But the default client no has been changed from 320 to 001. Change client from 001 to 320 and logon. But no response from new instance server.
Any suggestion to solve this problem.
Thanks!I found the profile in profile directory as below:
default.1.pfl
COQ_D02_BSSPI11 (New Instance)
START_D02_BSSPI11 (New Instance)
COQ_DVEBMGS02_bssco11 (existing Instance)
START_DVEBMGS02_bssco11 (existing Instance)
I strat the new instance and add to Public group and logon successful.
The problem is in transaction RZ10.
I cannot select COQ_D02_BSSPI11 and START_D02_BSSPI11 profile from Profile field.
how to fix it.
Thanks! -
Is there a way to create different groups for my contacts using the installed contact app
I am trying to make a group on my contacts. So that it's easier to just make messages to people and not having to make group messages every single time. For example, making a group for a sports team so that I can just message everyone in the group at once.
No not possible but you can create contact groups at www.icloud.com and if you have contact synced thru cloud the groups you make at www.icloud.com will appear on your phone
-
Creation of SP Groups for a site using javascript
Hi,
I need to create four SP Groups for a website.
Here is my code to create a website:
$(document).ready(function () {
createSite();
function createSite() {
var context = SP.ClientContext.get_current();
var collWeb = context.get_web().get_webs();
var strMasterPageUrl = '/_catalogs/masterpage/oslo.master';
var webCreationInfo = new SP.WebCreationInformation();
webCreationInfo.set_title('TestSite27');
webCreationInfo.set_description('Description of new Web site...');
webCreationInfo.set_language(1033);
webCreationInfo.set_webTemplate('STS#0');
webCreationInfo.set_url('TestSite27');
webCreationInfo.set_useSamePermissionsAsParentSite(false);
var oNewWebsite = collWeb.add(webCreationInfo);
oNewWebsite.set_customMasterUrl(strMasterPageUrl);
oNewWebsite.set_masterUrl(strMasterPageUrl);
oNewWebsite.update();
context.load(oNewWebsite);
context.executeQueryAsync(Onsuccess, onfail);
function Onsuccess() {
//Creation of groups
function onfail(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
Here i need to create four groups:
TestOwners
TestMembers
TestVisitors
TestExpert.
The owner of the groups should be TestOwners
Please help.
Thanks,
SachinHi Sachin,
Below link will be helpful to you
http://msdn.microsoft.com/en-us/library/office/hh185014(v=office.14).aspx
Thanks
Somnath Matere -
Setting value for attribute 'PO_NUMBER_SOLD' using setter method
Hi Experts,
I need to set the value of a screen field according to some condition. I am using setter method of this attribute to set the value but it is not getting changed.
I have written following code in DO_PREPARE_OUTPUT method of implementation class ZL_ZZBT131I_ZCREDITCHECK_IMPL using setter method of attribute
Get Referral Authorization Code
lv_val1 = me->typed_context->crechkresph->get_po_number( attribute_path = 'PO_NUMBER' ).
me->typed_context->crechkresph->set_po_number( attribute_path = 'PO_NUMBER'
value = ' ' ).
while debugging I found that in method set_po_number set_property method has been used:--
current->set_property(
iv_attr_name = 'PO_NUMBER_SOLD' "#EC NOTEXT
iv_value = <nval> ).
In set_property method following code is getting executed
if ME->IS_CHANGEABLE( ) = ABAP_TRUE and
LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY.
if <VALUE> ne IV_VALUE.
if ME->MY_MANAGER_ENTRY->DELTA_FLAG is initial.
first 'change' -> proof that entity is locked
if ME->MY_MANAGER_ENTRY->LOCKED = FALSE.
if ME->LOCK( ) = FALSE.
return.
endif.
endif.
flag entity as modified
ME->MY_MANAGER_ENTRY->DELTA_FLAG = IF_GENIL_CONTAINER_OBJECT=>DELTA_CHANGED.
endif.
ME->ACTIVATE_SENDING( ).
change value
<VALUE> = IV_VALUE.
log change
set bit LV_IDX of ME->CHANGE_LOG->* to INDICATOR_SET.
endif.
else.
check if it is a real read-only field or a display mode violation
assert id BOL_ASSERTS subkey 'READ-ONLY_VIOLATION'
fields ME->MY_INSTANCE_KEY->OBJECT_NAME
IV_ATTR_NAME
condition ME->CHANGEABLE = ABAP_TRUE.
endif.
and in debugging I found that if part ( ME->IS_CHANGEABLE( ) = ABAP_TRUE and
LV_PROPS_OBJ->GET_PROPERTY_BY_IDX( LV_IDX ) ne IF_GENIL_OBJ_ATTR_PROPERTIES=>READ_ONLY) fails and hence else part is getting executed and hence my field a real read-only field or a display mode violation is happening according to comments in code.
What shall I do so that I would be able to change the screen field value?
Any help would be highly appreciated.
Regards,
VimalHi,
Try this:
data: lr_entity type cl_crm_bol_entity.
lr_entity = me->typed_context->crechkresph->collection_wrapper->get_current( ).
lr_entity->set_property( iv_attr_name = 'PO_NUMBER' value = '').
Also, make sure the field is not read-only.
Regards
Prasenjit
Maybe you are looking for
-
Hey Guys, Here's my set up, please tell me where I am going wrong: I have 2 22" LCD Monitors that I use for my main work. I added a second card to my MacPro so that I could add an additional monitor. Now I have a DVI to HDMI cable going to my Plasma
-
How to get all users in a given domain ?
Hi, I need to get all user names in a machine given the domain name. Is it possible ? kaushalya
-
I have an iPod Nano - 4th gen. How do I get music (which I didn't purchase on iTunes) from my iPod into my iTunes?
-
DFSR - Deleted files not being deleted on remote servers
Hi All, I have a central file server replicating its data to 2 remote files servers with read only shares. When a file is deleted on the central server, the files are not being deleted on the remote servers. New files on the central server are repli
-
Error -2147220733 occurred at DAQ Assistant (in Measurement and Automation Explorer)
Ok! Just before the weekend I figured out how to make channels in Measurement and Automation Explorer for inputs through a couple different NI input devices (USB-9211A & PCI-6229 DAQ). Things were going well. Loaded up the computer today, added a