Multiple abap datasource?
hello,
is it possible to have multiple abap datasource for authentificating users in the portal?
if so, how to do that?
best regards
Hi,
I would say that this is not possible. You can of course use a CUA in order to "span" multiple ABAP systems and access the CUA, but I don't think that you can modify the dataSourceConfiguration to access multiple ABAP systems (compared with the way you can do it with LDAP Directories)
Regards,
Holger.
Similar Messages
-
Export and Import of Users with ABAP datasource to target standalone EP.
Hi Friends,
My customer is having
Source System:BS2
ABAP+ JAVA --- usage type : BW, EP
datasource -- ABAP
now, they need datasource as LDAP
so i have suggested as attached SOW
1.Install New Instance BS3 with JAVA,EP,EP Core
2.Patching BS3 to SP15 level
3.Import PCD from BS2 to BS3
4.Configure SSO between BS2 and BS3
5.Configure Data source to LDAP
6.Testing the Configurations
7. Uninstall JAVA DATABASE from BS2
Target System:
Standalone JAVA-- only EP
datasource -- LDAP configured
I have completed all steps successfully from 1 to 5
In source system, 45 users are there with ABAP datasource and ABAP roles... Now how can i import those users with ABAP roles into target System ( Standalone EP)
Any Usermapping is required to configure.
Please suggest me to workaround on this.
Regards,
Venkat.You have to do this manually. In theory you can make a specially formatted text file to create the users and assign their portal groups, but it is quicker to just add them using the useradmin tool. If you export a user from the Java useradmin tool you can see the format of the text file. I ahve written an ABAP in the past to do the text file creation, but I can't find it now
-
ORA-01002: fetch out of sequence using multiple XA datasources
Hi,
I have a problem accessing multiple XA datasources :
- launch an sql request on datasource 1
- rs.next() on the resultset
- use the data to launch another sql request on datasource 2
After 10 iterations, the next() method throws an SQLException (ORA-01002: fetch out of sequence).
After further investigation, I noticed that :
- the problem doesn't occur if the same datasource is used for the 2 requests
- if I set the fetch size to 15 for the first request, the exception is thrown after 15 iterations (but I can't use this as a workaround because the number is potentially above the million).
Anyone experiencing the same problem ?
Thanks in advance
Nicolas
Here's my configuration :
- Weblogic 8.1 SP4
- JDK sun 1.4.2_04 (we have the same problem with various JDKs including JRockit)
- Oracle 10g
- Oracle thin driver xa 10.1.0.2.0
A JSP I use to reproduce the problem :
<pre><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.ArrayList,
java.sql.Connection,
java.sql.PreparedStatement,
java.sql.ResultSet,
java.sql.SQLException,
javax.naming.InitialContext,
javax.naming.NamingException,
javax.sql.DataSource,
javax.transaction.UserTransaction"%>
<%!
public void launchTest() throws Exception {
Connection cnx =null ;
try {
getUserTransaction().begin();
// SQL access #1
cnx = getConnection("jdbc/xaDatasource1");
PreparedStatement stmt = cnx.prepareStatement("SELECT test_col from test_table");
ResultSet rs = stmt.executeQuery();
// iterate on resulset from SQL 1
int i=1;
while (rs.next()){ // SQL exception after 10 iterations
System.out.println(i + "");
i++;
// SQL access #2
Connection cnx2 = getConnection("jdbc/xaDatasource2");
// problem occurs even if we don't request
cnx2.close();
// end SQL access #2
getUserTransaction().commit();
} catch (Exception e) {
e.printStackTrace();
try {
getUserTransaction().rollback();
} catch (Exception e1) {
e1.printStackTrace();
throw e;
} finally {
try {
if (cnx != null && !cnx.isClosed())
cnx.close();
} catch (Exception e1) {
e1.printStackTrace();
private UserTransaction getUserTransaction() throws NamingException {
return (UserTransaction) new InitialContext().lookup("java:comp/UserTransaction");
private Connection getConnection(String jndiName) throws NamingException, SQLException {
DataSource ds = (DataSource) new InitialContext().lookup(jndiName);
return ds.getConnection();
%>
<%
launchTest();
SQL CODE :
CREATE TABLE TEST_TABLE ( TEST_COL NUMBER(2));
insert into test_table values(1);
insert into test_table values(2);
insert into test_table values(3);
insert into test_table values(4);
insert into test_table values(5);
insert into test_table values(6);
insert into test_table values(7);
insert into test_table values(8);
insert into test_table values(9);
insert into test_table values(10);
insert into test_table values(11);
%>
</pre>Nicolas Mervaillie wrote:
Hi,
I have a problem accessing multiple XA datasources :
- launch an sql request on datasource 1
- rs.next() on the resultset
- use the data to launch another sql request on datasource 2
After 10 iterations, the next() method throws an SQLException (ORA-01002: fetch out of sequence).
After further investigation, I noticed that :
- the problem doesn't occur if the same datasource is used for the 2 requests
- if I set the fetch size to 15 for the first request, the exception is thrown after 15 iterations (but I can't use this as a workaround because the number is potentially above the million).
Anyone experiencing the same problem ?Hi. This is a known weakness of Oracle. If the XA transactional context of a connection
changes during a result set processing, even if it is switched back correctly, the result
set is aborted. If the oracle driver has fetched 10 rows, that's all you get. The next
call to next() that needs real DBMS communication will fail.
By spec, an XA connection should be able to be swapped out and enlisted in different
transactions at a per-call granularity, so our pools allow that by default. Try setting
the KeepXAConnTillTxCOmplete setting in your pool.
When a connection is put back in the pool, if it is an XA connection we will suspend
any user tx, and test it with our own test tx, then re-enlist and re-start the user
tx in flight. This may be the context switch that kills the oracle result set.
Joe
>
Thanks in advance
Nicolas
Here's my configuration :
- Weblogic 8.1 SP4
- JDK sun 1.4.2_04 (we have the same problem with various JDKs including JRockit)
- Oracle 10g
- Oracle thin driver xa 10.1.0.2.0
A JSP I use to reproduce the problem :
<pre><%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.ArrayList,
java.sql.Connection,
java.sql.PreparedStatement,
java.sql.ResultSet,
java.sql.SQLException,
javax.naming.InitialContext,
javax.naming.NamingException,
javax.sql.DataSource,
javax.transaction.UserTransaction"%>
<%!
public void launchTest() throws Exception {
Connection cnx =null ;
try {
getUserTransaction().begin();
// SQL access #1
cnx = getConnection("jdbc/xaDatasource1");
PreparedStatement stmt = cnx.prepareStatement("SELECT test_col from test_table");
ResultSet rs = stmt.executeQuery();
// iterate on resulset from SQL 1
int i=1;
while (rs.next()){ // SQL exception after 10 iterations
System.out.println(i + "");
i++;
// SQL access #2
Connection cnx2 = getConnection("jdbc/xaDatasource2");
// problem occurs even if we don't request
cnx2.close();
// end SQL access #2
getUserTransaction().commit();
} catch (Exception e) {
e.printStackTrace();
try {
getUserTransaction().rollback();
} catch (Exception e1) {
e1.printStackTrace();
throw e;
} finally {
try {
if (cnx != null && !cnx.isClosed())
cnx.close();
} catch (Exception e1) {
e1.printStackTrace();
private UserTransaction getUserTransaction() throws NamingException {
return (UserTransaction) new InitialContext().lookup("java:comp/UserTransaction");
private Connection getConnection(String jndiName) throws NamingException, SQLException {
DataSource ds = (DataSource) new InitialContext().lookup(jndiName);
return ds.getConnection();
%>
<%
launchTest();
SQL CODE :
CREATE TABLE TEST_TABLE ( TEST_COL NUMBER(2));
insert into test_table values(1);
insert into test_table values(2);
insert into test_table values(3);
insert into test_table values(4);
insert into test_table values(5);
insert into test_table values(6);
insert into test_table values(7);
insert into test_table values(8);
insert into test_table values(9);
insert into test_table values(10);
insert into test_table values(11);
%>
</pre> -
Configuring Multiple LDAP Datasources in VDS
Hi,
I'm trying to configure multiple LDAP Datasources using VDS, one talking to AD and other to Novell eDir from VDS, my LDAP connection strings works well but when I start the service in VDS the service will never startup all I see is Exception null, it does not throw any exception at the same time it doesn't start up the service. I've tried configuring with signle Datasource which works fine. This is failing when I combine those two datasources into one configuration. Have any configured multiple datasources with in VDS. Not sure if you have encountered any problems.
Thanks,
Joe.PAre you just trying to bring in two LDAP data sources or do a join between them?
Actually both I believe are considered types of joins.
You cannot just define two datasources and expect them to show up. -
One JAVA and multiple ABAP Instances
Hello All,
Till now i have done configurations for Billerdirect on one Java instance and one ABAP instance.
Now my situation in production we have multiple ABAP (1 CI + 4 Dialog) and only one production Java instance.
So in XCM configuration using method group_connect i have created XCM configuration this is working fine.
so here is our problem after doing this .
For self user Registration we have created JCO_RFC_Server in XCM this configuration is working only in one situation.
Since JCO_RFC_SERVER can be created only for one instance when ever self user registration goes to other instance it fails , which is happening frequently
Can anyone please help me understand in creating XCM configuration for multiple ABAP instances so that i can create multiple JCo_RFC servers.
Over View:
From one Java instance i want to establish multiple connection to ABAP (CI + DI) so that i can create one JCO_RFC server for each connection.
When i want to access system i will access using XCM connection name at the end.
eg some thing like this.
http://myserver:53000/bd/public/frameset_top_html.jsp?SYS=MYSYS1
http://myserver:53000/bd/public/frameset_top_html.jsp?SYS=MYSYS2
Please help in moving forward.
Thanks in advance.
Regards,
Vardhan.Hello All,
Could you please help me in getting to an logical solution on this approach .
Thanks,
Vardhan. -
Sending Multiple Abap List by email
Dear All,
I am using SO_NEW_DOCUMENT_ATT_SEND_API1 func module to send abap list via email.
Program logic is like this .
with in a loop of purchase group(PG) For each value a report is submitted for list is send to receiver.
submit ZMM_PREQ_SEND3 WITH EKGRP = itab-EKGRP
exporting list to memory and return.
and then using LIST_FROM_MEMORY function to read from memory.
This code is working fine for single entry but for more than one PG only last generated abap list is received.
How i can sent multiple lists.
Thanks
ShantanuHi,
Check out this code .
Pls reward if useful.
REPORT ZSD_YJTEST1 .
DATA: ST1 TYPE STRING VALUE 'YATIN'.
DATA: CR(2) TYPE X VALUE '0D0A'.
DATA: ST2 TYPE STRING VALUE 'JOSHI'.
DATA IT_LIST TYPE STANDARD TABLE OF ABAPLIST WITH HEADER LINE.
SUBMIT ZAA_TABW_LISTE EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = IT_LIST
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
DATA: LT_ASCI TYPE STANDARD TABLE OF SOLISTI1 WITH HEADER LINE.
CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
LIST_INDEX = -1
TABLES
LISTASCI = LT_ASCI
LISTOBJECT = IT_LIST
EXCEPTIONS
EMPTY_LIST = 1
LIST_INDEX_INVALID = 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 LT_ASCI.
IF SY-TABIX > 1 .
CONCATENATE CR LT_ASCI-LINE INTO LT_ASCI-LINE.
MODIFY LT_ASCI.
ENDIF.
ENDLOOP.
DATA LISTTAB_OUT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
IN = IT_LIST
OUT = LISTTAB_OUT
EXCEPTIONS
COMPRESS_ERROR = 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.
DATA: DOC_DATA LIKE SODOCCHGI1,
DOC_INFO LIKE SOFOLENTI1.
DOC_DATA-OBJ_LANGU = SYST-LANGU.
DOC_DATA-OBJ_NAME = 'Report-Liste'(001).
MOVE 'EEEE' TO DOC_DATA-OBJ_DESCR.
DATA: P_DTP TYPE SOODK-OBJTP .
P_DTP = 'RAW'.
CALL FUNCTION 'SO_DOCUMENT_INSERT_API1'
EXPORTING
FOLDER_ID = 'FOL18 4 '
DOCUMENT_DATA = DOC_DATA
DOCUMENT_TYPE = P_DTP
IMPORTING
DOCUMENT_INFO = DOC_INFO
TABLES
OBJECT_HEADER =
OBJECT_CONTENT = LT_ASCI
contents_hex =
OBJECT_PARA =
OBJECT_PARB =
EXCEPTIONS
FOLDER_NOT_EXIST = 1
DOCUMENT_TYPE_NOT_EXIST = 2
OPERATION_NO_AUTHORIZATION = 3
PARAMETER_ERROR = 4
X_ERROR = 5
ENQUEUE_ERROR = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: LS_ATT LIKE SOATTCHGI1.
DATA: LT_AHD TYPE STANDARD TABLE OF SOLISTI1 WITH HEADER LINE.
LS_ATT-OBJ_NAME = 'MYTEST'.
LS_ATT-OBJ_DESCR = 'URTEST'.
LS_ATT-OBJ_LANGU = 'DE'.
LS_ATT-ATT_SIZE = DOC_INFO-DOC_SIZE.
DATA: LS_AINF TYPE SOATTINFI1.
CALL FUNCTION 'SO_ATTACHMENT_INSERT_API1'
EXPORTING
DOCUMENT_ID = DOC_INFO-DOC_ID
ATTACHMENT_DATA = LS_ATT
ATTACHMENT_TYPE = 'TXT'
IMPORTING
ATTACHMENT_INFO = LS_AINF
TABLES
ATTACHMENT_HEADER = LT_AHD
ATTACHMENT_CONTENT = LT_ASCI
contents_hex = listtab_out
EXCEPTIONS
DOCUMENT_NOT_EXIST = 1
ATTACHMENT_TYPE_NOT_EXIST = 2
OPERATION_NO_AUTHORIZATION = 3
PARAMETER_ERROR = 4
X_ERROR = 5
ENQUEUE_ERROR = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LS_ATT-OBJ_NAME = '2MYTEST'.
LS_ATT-OBJ_DESCR = '2URTEST'.
LS_ATT-OBJ_LANGU = 'DE'.
LS_ATT-ATT_SIZE = DOC_INFO-DOC_SIZE.
CALL FUNCTION 'SO_ATTACHMENT_INSERT_API1'
EXPORTING
DOCUMENT_ID = DOC_INFO-DOC_ID
ATTACHMENT_DATA = LS_ATT
ATTACHMENT_TYPE = 'TXT'
IMPORTING
ATTACHMENT_INFO = LS_AINF
TABLES
ATTACHMENT_HEADER = LT_AHD
ATTACHMENT_CONTENT = LT_ASCI
contents_hex = listtab_out
EXCEPTIONS
DOCUMENT_NOT_EXIST = 1
ATTACHMENT_TYPE_NOT_EXIST = 2
OPERATION_NO_AUTHORIZATION = 3
PARAMETER_ERROR = 4
X_ERROR = 5
ENQUEUE_ERROR = 6
OTHERS = 7
DATA: REC TYPE STANDARD TABLE OF SOOS1 WITH HEADER LINE.
REC-RECEXTNAM = '[email protected]'.
REC-RECESC = 'E'.
REC-SNDART = 'INT'.
REC-MAILSTATUS = 'E'.
REC-SNDPRI = '1'.
APPEND REC.
DATA: FLAG TYPE C .
FLAG = '1'.
IF FLAG = '1'.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = ' '
FOLDER_ID = 'FOL18 4 '
FORWARDER = ' '
OBJECT_FL_CHANGE = ' '
OBJECT_HD_CHANGE = ' '
OBJECT_ID = DOC_INFO-OBJECT_ID
OBJECT_TYPE = 'ALI'
OUTBOX_FLAG = ' '
OWNER = ' '
STORE_FLAG = ' '
DELETE_FLAG = ' '
SENDER = SY-UNAME
CHECK_SEND_AUTHORITY = ' '
CHECK_ALREADY_SENT = ' '
GIVE_OBJECT_BACK =
ORIGINATOR = ' '
ORIGINATOR_TYPE = 'J'
LINK_FOLDER_ID = ' '
IMPORTING
OBJECT_ID_NEW =
SENT_TO_ALL =
ALL_BINDING_DONE =
OFFICE_OBJECT_KEY =
ORIGINATOR_ID =
TABLES
OBJCONT =
OBJHEAD =
OBJPARA =
OBJPARB =
RECEIVERS = REC
PACKING_LIST =
ATT_CONT =
ATT_HEAD =
NOTE_TEXT =
LINK_LIST =
APPLICATION_OBJECT =
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
X_ERROR = 20
OTHERS = 21
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
WRITE DOC_INFO-DOC_ID. -
Multiple multi-datasource to failover
We have a heavy architecture in mind:
Multiple servers would connect to one Oracle RAC in a datacenter. Another Oracle RAC would be set in Standby in another datacenter for Disaster and Recovery.
If the first datacenter is down, the idea is to automatically promote the RAC of the other datacenter as the Primary, so that the application can switch to connect to the other Oracle RAC.
On Weblogic 10.3.2, I know it is possible to failover between nodes of a multi datasource.
However, is it possible to failover from one multi-datasource (pointing the the first Oracle RAC) to another one (pointing to the second Oracle RAC) when the first multi datasource is down?
We do not want to open connections on the second multi-datasouce if the first one is active.
I hope this is clear...
Thank youBut what if, instead, we defined the first Datasource to connect to all the nodes of the first RAC:
jdbc:oracle:thin:@(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=*host1*)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=*host2*)(PORT=1521)))
(LOAD_BALANCE=yes)
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=SID)
(FAILOVER_MODE=(TYPE=select)(METHOD=basic)(RETRIES=5)(DELAY=2))))
and the other datasource to connect to all the servers of the second RAC?
jdbc:oracle:thin:@(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=*host3*)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=*host4*)(PORT=1521)))
(LOAD_BALANCE=yes)
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=SID)
(FAILOVER_MODE=(TYPE=select)(METHOD=basic)(RETRIES=5)(DELAY=2))))
And to have the multi datasource to have the failover protocol managed between the two datasources.
Would it be possible?
Is it what you were mentioning, Ravish Mody?
Thanks,
Pierre
Edited by: user3415297 on Apr 8, 2011 8:27 AM
Edited by: user3415297 on Apr 8, 2011 8:33 AM -
Multiple Kodo Datasources in WebLogic 8.1 using JCA - How?
Greetings
I am trying to set up WebLogic (8.1) such that I can deploy a single Kodo
JCA connector but use it to access multiple data sources. Assuming that the
JCA adaptor has been deployed to the Server with a name and jndi key of
"kodo", I believe that the way to do it is to deploy a second copy of the
weblogic-ra.xml and ra.xml files and use an <ra-link-ref> tag to refer to
the primary deployed JCA adaptor. The second ra.xml has different kodo
config-property-values for connection URL, Username/password, etc from the
primary ra.xml.
This seems to work - to a point. Accessing the second "adaptor" ("kodo2")
does work and seems to link to the primary one, but the ra.xml
config-properties which are used appear to be from the primary deployment :(
not the second one as I hoped.
Can anyone point me in the right direction? Below is a copy of the
secondary weblogic-ra.xml file:
<!DOCTYPE weblogic-connection-factory-dd PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>kodo2</connection-factory-name>
<jndi-name>kodo2</jndi-name>
<ra-link-ref>kodo</ra-link-ref>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>8</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<security-principal-map>
</security-principal-map>
</weblogic-connection-factory-dd>
Thanks
..droo.Drew-
It should be possible to use two separate Kodo JCA configurations in the
same application server. Could you post your two configurations (without
the license keys, please) so we can take a look of the different places
where you are configuring the sequence table names? I suspect that there
might be a simple misconfiguration or type somewhere.
In article <BD4AB2EE.8DA%[email protected]>, Drew Lethbridge wrote:
I think I have partially figured this out. Actually I shouldn't have ra.xml
in the second JCA adaptor, instead I can specify different config properties
in weblogic-ra.xml such as:
<map-config-property>
<map-config-property-name>Schemas</map-config-property-name>
<map-config-property-value>FRED</map-config-property-value>
</map-config-property>
I am still getting some weird behaviour though. For example, I currently
get an exception when trying to to an update because kodo2 tries to get the
sequence from the wrong schema, i.e.:
com.solarmetric.jdbc.ReportingSQLException: ORA-00942: table or view does
not exist
{prepstmnt 7569347 SELECT SEQUENCEX FROM MARY.JDO_SEQUENCEX WHERE PKX = ?
FOR UPDATE [reused=0]} [code=942, state=42000]
at
kodo.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:227)
Etc...
It should be getting the sequence from FRED (kodo2), not MARY (kodo).
Any tips about how to configure multiple kodo JCA properties in Weblogic 8.1
would still be very much appreciated.
Cheers!
.droo.
On 19/8/04 2:39 PM, in article BD4A6C2D.7A0%[email protected], "Drew
Lethbridge" <[email protected]> wrote:
Greetings
I am trying to set up WebLogic (8.1) such that I can deploy a single Kodo
JCA connector but use it to access multiple data sources. Assuming that the
JCA adaptor has been deployed to the Server with a name and jndi key of
"kodo", I believe that the way to do it is to deploy a second copy of the
weblogic-ra.xml and ra.xml files and use an <ra-link-ref> tag to refer to
the primary deployed JCA adaptor. The second ra.xml has different kodo
config-property-values for connection URL, Username/password, etc from the
primary ra.xml.
This seems to work - to a point. Accessing the second "adaptor" ("kodo2")
does work and seems to link to the primary one, but the ra.xml
config-properties which are used appear to be from the primary deployment :(
not the second one as I hoped.
Can anyone point me in the right direction? Below is a copy of the
secondary weblogic-ra.xml file:
<!DOCTYPE weblogic-connection-factory-dd PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>kodo2</connection-factory-name>
<jndi-name>kodo2</jndi-name>
<ra-link-ref>kodo</ra-link-ref>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>8</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<security-principal-map>
</security-principal-map>
</weblogic-connection-factory-dd>
Thanks
.droo.
Marc Prud'hommeaux
SolarMetric Inc. -
What is multiple intilazation datasources
intilazation datasources
Sometime we do Multiple Infopackage for intilazation,
For Example 0FI_GL_10 Datsource, If "FAGLFLEXA" Table which is source for 0FI_GL_10 contain huge records. Then we are creation Infopackages with intilazation "Yearwise" using restriction in Data Selection for Fiscal Period.
Example
Init Infopackage for 2010 (001.2010 to 016.2010)
Init Infopackage for 2011 (001.2011 to 016.2011)
And So On
Such way your delta loading performance work perfectly, Risk of delta corrupt error also minimise.
Regards,
Sushant -
Password Reset Form for Multiple ABAP and Java Systems IDM 8.0
Hi Friends,
i have created Password reset form in IDM 8.0 , now i am able to reset password in systems but when i am resetting password IDM will reset password in ALL Connected server where his id is present.
now i need that user can able to select system where he want to reset password through password reset form.
Thanks,
MohinderHi Tero,
I tried both query and it worked for me,
select right(mcattrname, len(mcattrname) - 7)
from idmv_vallink_basic
where mskey = %usermskey% and left(mcAttrName, 7) = 'account'
select rep_name from MC_REPOSITORY where rep_name in (select right(mcattrname, len(mcattrname) - 7) from idmv_vallink_basic with (nolock) where mskey = %usermskey% and left(mcAttrName, 7) = 'account')
May be Mohinder did not copy paste properly.
Password reset task with option to select repository seems to be coming from many ppl. Will you be able to create a blog with details on how to achieve this, as it is your idea in 1st place?
Kind regards,
Jai -
Are Multiple (Concurrent) ABAP Data Sources for AS Java UME Possible?
Hi All,
We have a solution which is using a JAAS logon module for partner authentication. for reason's I won't go into we have decided that it is best to use an ABAP data source. We will also be using the same JAAS approach for other ABAP applications in the future. Ideally we would configure the same JAAS server to use ABAP UME data sources from ABAP server 1 and ABAP server 2.
I see there are provisions in the documentation for multiple UME data sources of different types but it doesn't clearly say about different concurrent data sources. IS this even possible? If so is it wise?
Thanks,
DougJulius,
Thanks again for your reply. This is confusing. We have an existing .Net logon application where we centrally administer accounts and where users log in. On successful login they are issued a .net Auth cookie. Our JAAS module takes that cookie, does a web service call back to .Net and authenticates them. So authentication is done on the basis of the .Net cookie, not the java UME. We simply need a java ume to allow users to execute the application that invokes the JAAS module. The application invokes the JAAS module and if they successfully authenticate they are forwarded to the requesting SAP application. So the JAAS ume is really just needed to allow various users to run the JAAS invoking application starter. Ideally we'd use the same starter application for users of SAP Application 1,2,3, etc.
So that's where the question came from on multiple ABAP UME data sources for a single Java instance.
Hope that makes sense. Regardless the answer I guess is not possible but you see the method to our madness. And yes it is madness.
Thanks,
Doug -
Connecting EP to an ABAP+Java datasource
Hi,
I am a SAP newbie.
I have EP on a standalone Java (I implemented the EP using rapid installer), and right now, it is using the file dataSourceConfiguration_database_only.xml as its datasource configuration. I want to change the datasource to an existing ABAP system. However, this existing ABAP system has a ASJava-Addin (BW was installed on this ABAP). If I want to use different users for each of the two Java systems, how should I deal with the communication, administrator, and guest users on both of the J2EE engines? (ie. Do I need to change the admin and guest usernames (ie. j2ee_admin) for the portal to avoid conflicting with that of the Java-Addin for the ABAP? How do I change the j2ee adminstrator username btw? And if I were to change it, do I need to change it in other places as well, such as in the connection factories of the default JMS provider?)
Thanks for all your help, this is quite urgent, and points will be awarded
CharlesHi Charles,
<<1>>
We are having the same problem for other users(for normal uses),since some of the portal users are already existing in the ABAP System.When we try to login on to the portal server using one User ID which is already existing on both the ABAP System and Portal System then we will get "User authentication Failed" message.
The same error message is being displayed for those portal users which are included in the J2EE Administrators Group and are in the ABAP System.So i think, this exception may arise in your case also.In our landscape, unfortunately the Portal System is stand alone java(administrator) and backend system is stand alone ABAP system.Just create another user and add this user in the Administrator group before doing this configuration.
<<2>>
While doing this configuration, it is mandatory to mention a system user and password for the communication between UME and the ABAP Stack.In the case of dual stack installation this user will be created automatically during the installation time.For dual stack installations this system user is SAPJSF by default with SAP_BC_JSF_COMMUNICATION_RO role.In your case this user will be there. But if the ABAP System is a stand alone system, then we will have to manually create the user and assign the role.(either SAP_BC_JSF_COMMUNICATION or SAP_BC_JSF_COMMUNICATION_RO).The naming convention for the user is SAPJSF__<SAPSID_of_AS_Java>.
The first role will give the read/write capability to the system user and the second role can only give read permission.When the AS Java starts, the UME checks the roles assigned to the system user and if it finds no roles or only the role SAP_BC_JSF_COMMUNICATION_RO, the UME switches to read-only access for users located in the ABAP system.
Just refer this link also
http://help.sap.com/saphelp_nw04s/helpdata/en/49/9dd53f779c4e21e10000000a15
50b0/content.htm
If you are changing the role for your system user in the ABAP system, then it is recommended to restart the J2EE server (UME).
If your system user has the read/write permission on UME, then u can create/modify/delete the users both from the Portal and ABAP stack.<b>But the modification to the particular Portal user(already there) will be going to Java Stack(UME - Portal server) and the modification to the ABAP user will be going to the ABAP Stack(Dual Stack Server.). But all the new users created from both the portal and ABAP(dual stack) sever will only be going to ABAP Stack(Dual Stack).Just keep this thing in your mind.</b>
<<In the SAP Library, they recommand the SAP_BC_JSF_COMMUNICATION_RO role, but didn't give reasons for it.
>>
If we assign the SAP_BC_JSF_COMMUNICATION role to the system user, then we can change the UME data from both the Java System and from the ABAP system.In that case conflicts can arise.Inorder to keep the data consistency it is recommended to assign this read only role to the system user. Even in the case of dual stack installations, by default for the system user(SAPJSF) only this read-only role is present.
<<
understand that if I use user mapping for SSO, I can delete either one of the identical users from the portal or the backend as I will be m
>>
The main thing you have to keep in your mind is, for SSO using logon-ticket, in normal case (without this configuration), the user names in both the systems (Portal and R/3) should be same.
For example , If the Portal User ID = testuser , then R/3 user name should be testuser.For one portal user, if there is no identical R/3 name , then SSO using logon ticket will not work. In this case you will have to use SSO using User ID/Password Mapping.In this case your portal user can only access those back end objects(like RFC) on which your mapped user has got authorization.I think this part is clear to you.
Then after this configuration(UME as ABAP Datasource), if the same userid is existing in both portal and ABAP system, you can see 2 identical users while doing a user search in portal .(one portal user and one abap user) ,provided u have logged on to portal using another user with User Admin. If you try to login on to portal using this ID, then you will get 'User Authentication Failed' error message,since the same user is both in portal and ABAP.So your this scenario wont make any sense.. Right?...
If the user ID is coming from the ABAP system, then in the portal you will have to enter the ABAP user name and password to login on to the portal.This time, this user will acts as the portal user and the back end user is already there. So SSO using logon-ticket would works here. Hope you got it!!!!!...
If you have very large number of portal users, then it is better to go for SSO using logon-ticket rather than SSO using User/Password, since you will have to do the User mapping for all the users.You will have to change the Mapping details in the portal once we change the ABAP user's password.This is a very bad approach.SSO using logon-ticket is a one time configuration. So this is the best option for you...
I could also improve my knowledge on this after answering your question.I have also gone through so many help links to find out best answers to your doubts..ha ha..
From the help,
<i>Existing users in the AS Java database remain in the database after you configure the AS ABAP as the data source. When you log on to the AS Java, the UME searches both data sources simultaneously. Before you configure UME to use the AS ABAP as the data source, make sure the AS ABAP user management does not include any users with the same logon ID as users in the AS Java database. <b>The UME refuses to authenticate any user with a nonunique logon ID</b>.</i>
http://help.sap.com/saphelp_nw04s/helpdata/en/9e/fdcf3d4f902d10e10000000a114084/content.htm
Regards,
Kishor Gopinathan -
Can create Webi report using multiple universe (multiple datasource)
Hi All,
Can we create a Webi report from multiple universe (can say multiple dataprovider & datasource)?
Please suggest.
Regards,You can bring as many sources together into one report as you like.
However, to use them together you must have some common dimension, such as a particular Sold To Party, Business Partner, etc. You can then use merge dimensions to develop your report but you will need to be aware that dimensions that are NOT Common to both data providers cannot be used in a table combining two data providers.
So, if data provider one has dimensions Resort, Product and Year and a measure object Sales Value
while data provider one has dimensions Resort and Year and a measure object Cost Value, you cannot use Product in a report but you can display Resort, Year, Sales Value and Cost Value together to show you how much revenue each resort is generating each year and how much it is costing you to do so. To have product in the report table, you would need to add it to data provider two.
Hope that clears it up for you.
Regards,
Mark -
Portal, BW and Datasources for users
Hello,
Our current system toplogy looks like this:
We have a Portal and BW (NW04s) which share one Java Application Server.
Since the main work is creating BW reports and presenting them at the portal, the users are being created at the BW System, the roles are being built over there and everything is exported to the portal. The Application Server is not an ABAP one but since the users created in BW and transported to the portal they are considering as an ABAP Datasource. This means that the main feed of the portal are users created on the BW.
What we would like to do is change the main feed of the portal to our Active Directory server which will handle user creation/deletion/modification. This means that the portal and the BW will no longer share the same Datasource and my questions are:
1. Is our current work procedure correct?
2. How can we reflect this change to the BW as well, so it will "know" the new toplogy? Do we need to maintain now two sets of users, one for the portal and one for the BW system?
3. What will happen with all the users already created on the BW and transported to the portal and their authorizations?
4. At this new toplogy, who will be in charge of creating the roles and managing the authorizations, the BW side or the portal side?Hi Roy,
according to SAP it is possible. Unfortunately, I have not done it yet. But at SAP TechEd 2006 in Amsterdam Gerlinde Zibulski and Frank Buchholz gave an interesting presentation of "Identity Management in Heterogeneous System Landscapes: the SAP Solution". There they talked about the synchronization at great length. Furthermore you find quite some information in the SAP Library. Even how to enable Windows authentication if the user's ids in ADS and ABAP user management do not match. See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/4c3725aeaf30b4e10000000a11466f/content.htm">Configuring the UME when Using Non-ADS Data Sources</a>.
@Michael: Sounds like you have got some experience regarding the synchronization process. Could you please elaborate why you do not recommand it!
Best regards,
Martin -
Hi,
There are similar threads to this and I have read both thread IDs 187875 and 476229. We have been able to customize the datasource XML file to include LDAP, ABAP and the private UME database. The portal can be started, and we are able to logon with administrator access. On the portal, we can even see users from all three datasources. However, user authentication is not working for us. At the moment, we have a USERA in LDAP and in ABAP.
1. Is it possible that because USERA is NOT UNIQUE in the user datasources, authentication is failing?
2. How do we go about having USERA authenticate using LDAP but gets the ABAP roles assigned to him from ABAP?
I will also post a follow up message with the owner of thread ID 476229. In the meantime, any feedback would be welcomed.
Thank You.Hi,
Please note that we have verified that USERA is not able to logon because his login ID is not unique on the portal (since USERA exists in both the LDAP and ABAP datasources).
Thank You.
Maybe you are looking for
-
My coworker has a fairly new iPad with retina display. She has an error message that the iPad has not been backed up and needs to back up when locked, on wifi, and connected to a power supply. It has an ok button to acknowledge the message. Every
-
Plz tell me how to use JSpinner with JTable
I have retrieve records from database but as the number of records(rows) are more than 1000 , i want to use JSpinner with JTable . plz solve my problem by giving the appropriate code for the same.
-
Switching Sun Ray to one of two exicting servers
I have the same problem as (bugjuice )-I need to switch session on Sun Ray terminal between two servers depending wich card been insrted...I searched all sun blogs,read this posts but still can understand how to cinfigure AMGH and scritp,official man
-
Problem with data in debugging
Hi friends, I have a file text file in one of my directory in application server. Now iam using dataset concept and reading the data and appending into another internal table Iam facing a problem here. i have the data in text file in the directory a
-
Hi, Is it possible to map an entire structure into a message body ? We would normally map to a structure but in this case it will just a message body so we have an structure to go into an unstructured message body. For example we have a structured f