Unable to make the Client Copy
Hi Team ,.
I am trying to make a client Copy after SCCL transaction is performed when we check the status
in SCC3 it's throwing an error
Error :
Client 200 logon locked
Client Copy probably cancelled
The Client could be the source client of a copy
Reset Lock Keep Lock Cancel
Please help
Regards ,
Madhu
I went through this Document
Client copy error :
RFC destination for client copy in systems with Financials Basis
(FINBASIS) component.
The system could not find any suitable RFC destination for processing
for client 001.
This note also appears if an RFC destination was found but this does not
work.
o RFC destination: 001
o Error text:
Proceed as follows to eliminate this error:
1. Start the wizard to create a new RFC connection
or perform the following steps manually:
1. Create an RFC destination with the target ZK>source client of client
copy (in this case 001).
2. Check whether the RFC destination works in transaction SM59.
To avoid errors when assigning the password or the authorizations of
the RFC user, use the authorization test Test -> Authorization.
3. Enter the RFC destination:
- Transaction: FINB_TR_DEST (Destinations for Transport Methods of
the Financials Basis)
- Client: 001
4. Start the client copy again.
SOLUTION:
Login to client 001
Go to sm59, create rfc connection type 3, give the rfc destination : FINBASIS_001
Logon and security--> give user id and password (of any user in client 000)(user should be a service user or communication user so as to avoid password lock situation)
Check Test connection: test ---à authorization test.
Login in to new client: 800
Run the tcode: FINB_TR_DEST
Click on new entries:
Give the client: 001 and destination as FINBASIS_001 and save .
Run Tcode: sccl
Source: 001
Target: 800
Run as background job. Go to sm37 & check the status.
Similar Messages
-
As much as the space in HD is necessary to be able to make a Client Copy??
Hi everybody!!
As much as the space in HD is necessary to be able to make a Client Copy??
After the installation, the still servant with approximately 11 GB of free space in C (Total 30 GB) and around 100 free GB in E (Total 190 GB) , in E installed SAP himself ECC6 along with the data base ( Oracle 10,0,2 ), when all tag aiming at the record E did installation itself, but in a minute to make the Client Copy he remains without space in the Drive C (38,3 MB Free)
The Client Copy is for the "Client 300 Test", the Client Copy in DEV with 3 Client ( 100 DEV, 120 QA DEV, 130 Sandbox ) it could come true trouble-free
thanks
Edited by: Manuel Sandoval on Aug 18, 2008 7:16 PM
Edited by: Manuel Sandoval on Aug 18, 2008 7:20 PMWhere do the "Client Copy" goes down the process in reviewing the "TCode ST22" I find the following:
Runtime Errors DBIF_SETG_SQL_ERROR
Date and Time 19.08.2008 06:21:19
Short text
SQL error occurred when accessing table.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manage
termination messages, in particular for long term reference.
How to correct the error
Database error text........: "ORA-03106: fatal two-task communication protocol
error"
Internal call code.........: "[SETG/GET /INDX_HIER ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_SETG_SQL_ERROR" " "
"SAPLSHI2" or "LSHI2U25"
"STREE_READ_BUFFERED_DATA_GENER"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "mts-qua"
Network address...... "192.168.1.48"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x Intel 80686"
Character length.... 16 Bits
Pointer length....... 32 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "MTS-QUA"
Database type..... "ORACLE"
Database name..... "ECQ"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "May 22 2007 00:14:27"
create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version. "OCI_10201_SHARE (10.2.0.1.0) "
Patch level. 111
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Memory consumption
Roll.... 8176
EM...... 2090448
Heap.... 0
Page.... 16384
MM Used. 1943008
MM Free. 145920
User and Transaction
Client.............. 300
User................ "SAP*"
Language key........ "E"
Transaction......... " "
Program............. "SAPLSHI2"
Screen.............. "SAPLSMTR_NAVIGATION 0100"
Screen line......... 2
Information on where terminated
Termination occurred in the ABAP program "SAPLSHI2" - in
"STREE_READ_BUFFERED_DATA_GENER".
The main program was "SAPLSMTR_NAVIGATION ".
In the source code you have the termination point in line 57
of the (Include) program "LSHI2U25".
Source Code Extract
Line SourceCde
27 DO_NOT_READ_DEVCLASS = 'X'
28 IMPORTING
29 * MESSAGE =
30 STRUCTURE_HEADER = STRUCTURE_HEADER
31 EXCEPTIONS
32 OTHERS = 0.
33 *
34 READ TABLE BUFFER_DATA WITH KEY TREE_ID = STRUCTURE_ID.
35 MODIFY_INDEX = SY-TABIX.
36 *
37 IF NOT STRUCTURE_HEADER-BUFFERVAR CS BUF_NODE.
38 GET_NODES = FALSE.
39 BUFFER_DATA-NODES_OK = FALSE.
40 ENDIF.
41 IF NOT STRUCTURE_HEADER-BUFFERVAR CS BUF_REF.
42 GET_REFERENCES = FALSE.
43 BUFFER_DATA-REFS_OK = FALSE.
44 ENDIF.
45 IF NOT STRUCTURE_HEADER-BUFFERVAR CS BUF_TEXT.
46 GET_TEXTS_LANGUAGE = SPACE.
47 BUFFER_DATA-TEXT_OK = FALSE.
48 ENDIF.
49 *
50 * get nodes and/or references
51 IF GET_NODES EQ TRUE OR GET_REFERENCES EQ TRUE.
52 SELECT SINGLE * FROM TTREELOADS WHERE TREE_ID EQ STRUCTURE_ID.
53 IF SY-SUBRC EQ 0.
54 CLEAR BUFFER_NODES. REFRESH BUFFER_NODES.
55 CLEAR BUFFER_REFS. REFRESH BUFFER_REFS.
56 IF GET_NODES EQ TRUE AND GET_REFERENCES EQ TRUE.
>>>>> IMPORT BUFFER_NODES BUFFER_REFS FROM DATABASE INDX_HIER(XX)
58 ID STRUCTURE_ID.
59 BUFFER_DATA-NODES_READ = TRUE.
60 BUFFER_DATA-REFS_READ = TRUE.
61 ELSE.
62 IF GET_NODES EQ TRUE.
63 IMPORT BUFFER_NODES FROM DATABASE INDX_HIER(XX)
64 ID STRUCTURE_ID.
65 BUFFER_DATA-NODES_READ = TRUE.
66 ELSEIF GET_REFERENCES EQ TRUE.
67 IMPORT BUFFER_REFS FROM DATABASE INDX_HIER(XX)
68 ID STRUCTURE_ID.
69 BUFFER_DATA-REFS_READ = TRUE.
70 ENDIF.
71 ENDIF.
72 * nodes[] = buffer_nodes[].
73 * references[] = buffer_refs[].
74 APPEND LINES OF BUFFER_NODES TO NODES.
75 APPEND LINES OF BUFFER_REFS TO REFERENCES.
76 ELSE.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 1
SY-DBCNT 1
SY-FDPOS 2
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE SAP Easy Access
SY-MSGTY E
SY-MSGID 01
SY-MSGNO 289
SY-MSGV1 SAP*
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080819
SY-UZEIT 062116
SY-XPROG
SY-XFORM
Active Calls/Events
No. Ty. Program Include Line
Name
10 FUNCTION SAPLSHI2 LSHI2U25 57
STREE_READ_BUFFERED_DATA_GENER
9 FUNCTION SAPLSHI2 LSHI2U14 82
STREE_READ_TOP_LINE_GENER
8 FUNCTION SAPLSHI1 LSHI1U12 73
STREE_STRUCTURE_READ_TOP_NODE
7 FUNCTION SAPLSHI1 LSHI1U14 47
STREE_STRUCTURE_READ_N_TOP_LEV
6 FUNCTION SAPLSHI6 LSHI6U08 38
STREE_HIERARCHY_READ
5 FUNCTION SAPLSMNU_NEW LSMNU_NEWU02 130
MENU_GET_MENU_TREE_PART
4 FUNCTION SAPLSMTR_NAVIGATION_MODULES LSMTR_NAVIGATION_MODULESU01 140
NAVIGATION_LOAD_MENU_DATA
3 FORM SAPLSMTR_NAVIGATION LSMTR_NAVIGATIONF11 14
HELP_FORM_LOAD_ALL
2 FORM SAPLSMTR_NAVIGATION LSMTR_NAVIGATIONF0I 511
CONTROL_INITIALIZE_TREE
1 MODULE (PBO) SAPLSMTR_NAVIGATION LSMTR_NAVIGATIONO01 10
STATUS_0100
Chosen variables
Name
Val.
No. 10 Ty. FUNCTION
Name STREE_READ_BUFFERED_DATA_GENER
GET_NODES
X
5
8
0
0
GET_REFERENCES
X
5
8
0
0
GET_TEXTS_LANGUAGE
2
0
0
0
STRUCTURE_ID
S000
53332222222222222222222222222222
30000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
NODES[]
Table IT_235[0x1102]
\FUNCTION=STREE_READ_TOP_LINE_GENER\DATA=INEXTLEVEL[]
Table reference: 44
TABH+ 0(20) = 00000000800EC451000000002C000000EB000000
TABH+ 20(20) = 000000004E040000FFFFFFFF046C0000F0080000
TABH+ 40( 8) = 08000000C1248001
store = 0x00000000
ext1 = 0x800EC451
shmId = 0 (0x00000000)
id = 44 (0x2C000000)
label = 235 (0xEB000000)
fill = 0 (0x00000000)
leng = 1102 (0x4E040000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000033
occu = 8 (0x08000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
shmTabhSet = Not allocated
id = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
shmVersId = Not allocated
shmRefCount = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = 0x00000000
collHook = 0x00000000
ext2 = 0x30F6BC51
>>>>> 2nd level extension part <<<<<
tabhBack = 0xC013B251
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x00000000
pb_handle = 0x00000000
REFERENCES[]
Table IT_236[0x516]
\FUNCTION=STREE_READ_TOP_LINE_GENER\DATA=REFERENCES[]
Table reference: 45
TABH+ 0(20) = 00000000C0F6BC51000000002D000000EC000000
TABH+ 20(20) = 0000000004020000FFFFFFFF046C000020120000
TABH+ 40( 8) = 10000000C1248001
store = 0x00000000
ext1 = 0xC0F6BC51
shmId = 0 (0x00000000)
id = 45 (0x2D000000)
label = 236 (0xEC000000)
fill = 0 (0x00000000)
leng = 516 (0x04020000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000082
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
shmTabhSet = Not allocated
id = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
shmVersId = Not allocated
shmRefCount = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = 0x00000000
collHook = 0x00000000
ext2 = 0x78F6BC51
>>>>> 2nd level extension part <<<<<
tabhBack = 0x0014B251
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x00000000
pb_handle = 0x00000000
TEXTS[]
Table[initial]
SY-REPID
SAPLSHI2
5454544322222222222222222222222222222222
310C389200000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
UP_NAME_USER_EXIT_2
USER_EXIT_2
5545545455322222222222222
5352F5894F200000000000000
0000000000000000000000000
0000000000000000000000000
REF_TABLE_NAME
2222222222222222
0000000000000000
0000000000000000
0000000000000000
I_TNODET[]
Table[initial]
TTREELOADS
S000 20060927073108G
53332222222222222222222222222222333333333333334
30000000000000000000000000000000200609270731087
00000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000
NODE_TYPE_STEXT_F_MODULE
STREE_NODE_TYPE_GET_STEXT_XXXX
555445444455554544555545555555
34255FEF45F4905F754F34584F8888
000000000000000000000000000000
000000000000000000000000000000
SY-SUBRC
0
0000
0000
BUFFER_NODES
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
BUFFER_NODES[]
Table[initial]
BUFFER_REFS
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
BUFFER_REFS[]
Table[initial]
TRUE
X
5
8
0
0
SYST-REPID
SAPLSHI2
5454544322222222222222222222222222222222
310C389200000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
INDX_HIER
XXS000 ############################################################
5553332222222222222222222222222222000000000000000000000000000000000000000000000000000000000000
8830000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INDX_HIER-CLUSTR
0
00
00
GLOBAL_TREE_REF_TYPE_STXT
STREE_GET_STEXT_FOR_RTYPE_XXXX
555445445555455544555555455555
34255F754F34584F6F2F24905F8888
000000000000000000000000000000
000000000000000000000000000000
PROPERTY_OWN_LONGTEXT
1
3
1
0
0
NODE_TYPES_WITH_OWN_LONGTEXT[]
Table[initial]
TRTYPEH
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_DUMMY$$
2222
0000
0000
0000
No. 9 Ty. FUNCTION
Name STREE_READ_TOP_LINE_GENER
DISPLAY_MODE
D
4
4
0
0
FILTER_ID
22222222222222222222222222222222
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
STRUCTURE_ID
S000
53332222222222222222222222222222
30000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
TABLE_NAME
TMENU01
544453322222222
4D5E50100000000
000000000000000
000000000000000
MESSAGE
000
2222222222222222222223332222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
PARENT_NODE
22222222222222222222222222222222
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
STRUCTURE_TOP_LINE[]
Table IT_233[0x1234]
\FUNCTION=STREE_STRUCTURE_READ_N_TOP_LEV\DATA=STRUCTURE[]
Table reference: 42
TABH+ 0(20) = 0000000030F1C151000000002A000000E9000000
TABH+ 20(20) = 00000000D2040000FFFFFFFF04640000900E0000
TABH+ 40( 8) = 08000000C1248001
store = 0x00000000
ext1 = 0x30F1C151
shmId = 0 (0x00000000)
id = 42 (0x2A000000)
label = 233 (0xE9000000)
fill = 0 (0x00000000)
leng = 1234 (0xD2040000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000063
occu = 8 (0x08000000)
access = 1 (ItAccessStandard) -
Does a factory reset delete all and make the new copy of OS completely fresh?
Hi all, so I forgot my book's passcode and I reset it from the Recovery mode. All is fine, but I was wondering does a factory reset delete all and make the new copy of OS completely fresh? All the chains, registries and all, just like a fresh copy of Windows ? Or did I mixed up all...
P.S. Strange after the factory reset and the system's downloading I got this as apps (of course some are downloaded by me)does a factory reset delete all and make the new copy of OS completely fresh?
Actually, the "delete all" part is done by your using Disk Utility to erase the partition, as part of your clean install. -
Possible ways to Imporve the client copy performance
Hi All,
Would you pleae suggest all the ways to improve the client copy performance and how I can improve teh Cc performance which is already started.
Thanks & Regards
Rajesh MedaI don't think is portal related. I suggest you ask in one of the admin forums.
-
Unable to join the client machine into domain in low banswidth 16kbps
Hi,<o:p></o:p>
I'm unable to join the client machine into domain which is in low bandwidth 16 kbps.but i can able join other machine into domain which is having
more bandwidth,please help me on this issue<o:p></o:p>Depending on the version of your domain, you could try an offline join.
http://technet.microsoft.com/en-us/library/offline-domain-join-djoin-step-by-step(v=WS.10).aspx
Paul Bergson
MVP - Directory Services
MCITP: Enterprise Administrator
MCTS, MCT, MCSE, MCSA, Security, BS CSci
2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
Please no e-mails, any questions should be posted in the NewsGroup.
This posting is provided AS IS with no warranties, and confers no rights.
I would say that it depends on the client OS (Windows 7 or Windows 8) if offline domain join could be used or not, not that much regarding the level of the domain, you can always use the
/downlevel switch to target a DC running Windows Server 2003 for example.
Enfo Zipper
Christoffer Andersson – Principal Advisor
http://blogs.chrisse.se - Directory Services Blog -
How to make the client connect to the server at the command prompt?
I found this code on IBM's website, it was a training session on servers and clients using java.
The code compiles fine and the server seems to start up properly when I use java Server 5000. I think whats happening is the server is running and listening for a connection on port 5000.
When I try to run the client I get the following error.
Exception in thread "main" java.lang.NoSuchMethodError: main
I see a start() method but no main. As far as I know, applications should all have main, it seems as if the person who wrote this kinda confused applets with application. Not that I would really know what happened.
If you have time, could you tell me if there's an easy fix for this? I would love to have this client/server working if it isn't too much trouble. As I have looked all over the net for a free client/server applet that will actually let me see the java code and none of the free ones do allow getting to their source.
Most of them allow you to customize them somewhat but also have built in advertising that can't be removed.
This is the closest I have come to finding one that lets me look under the hood. But alas it doesn't work out of the box and I don't know what to do to fix it.
Heres the code: Server:
import java.io.*;
import java.net.*;
import java.util.*;
public class Server
// The ServerSocket we'll use for accepting new connections
private ServerSocket ss;
// A mapping from sockets to DataOutputStreams. This will
// help us avoid having to create a DataOutputStream each time
// we want to write to a stream.
private Hashtable outputStreams = new Hashtable();
// Constructor and while-accept loop all in one.
public Server( int port ) throws IOException {
// All we have to do is listen
listen( port );
private void listen( int port ) throws IOException {
// Create the ServerSocket
ss = new ServerSocket( port );
// Tell the world we're ready to go
System.out.println( "Listening on "+ss );
// Keep accepting connections forever
while (true) {
// Grab the next incoming connection
Socket s = ss.accept();
// Tell the world we've got it
System.out.println( "Connection from "+s );
// Create a DataOutputStream for writing data to the
// other side
DataOutputStream dout = new DataOutputStream( s.getOutputStream() );
// Save this stream so we don't need to make it again
outputStreams.put( s, dout );
// Create a new thread for this connection, and then forget
// about it
new ServerThread( this, s );
// Get an enumeration of all the OutputStreams, one for each client
// connected to us
Enumeration getOutputStreams() {
return outputStreams.elements();
// Send a message to all clients (utility routine)
void sendToAll( String message ) {
// We synchronize on this because another thread might be
// calling removeConnection() and this would screw us up
// as we tried to walk through the list
synchronized( outputStreams ) {
// For each client ...
for (Enumeration e = getOutputStreams(); e.hasMoreElements(); ) {
// ... get the output stream ...
DataOutputStream dout = (DataOutputStream)e.nextElement();
// ... and send the message
try {
dout.writeUTF( message );
} catch( IOException ie ) { System.out.println( ie ); }
// Remove a socket, and it's corresponding output stream, from our
// list. This is usually called by a connection thread that has
// discovered that the connectin to the client is dead.
void removeConnection( Socket s ) {
// Synchronize so we don't mess up sendToAll() while it walks
// down the list of all output streamsa
synchronized( outputStreams ) {
// Tell the world
System.out.println( "Removing connection to "+s );
// Remove it from our hashtable/list
outputStreams.remove( s );
// Make sure it's closed
try {
s.close();
} catch( IOException ie ) {
System.out.println( "Error closing "+s );
ie.printStackTrace();
// Main routine
// Usage: java Server <port>
static public void main( String args[] ) throws Exception {
// Get the port # from the command line
int port = Integer.parseInt( args[0] );
// Create a Server object, which will automatically begin
// accepting connections.
new Server( port );
}CLIENT:
import java.io.*;
import java.net.*;
public class ServerThread extends Thread
// The Server that spawned us
private Server server;
// The Socket connected to our client
private Socket socket;
// Constructor.
public ServerThread( Server server, Socket socket ) {
// Save the parameters
this.server = server;
this.socket = socket;
// Start up the thread
start();
// This runs in a separate thread when start() is called in the
// constructor.
public void run() {
try {
// Create a DataInputStream for communication; the client
// is using a DataOutputStream to write to us
DataInputStream din = new DataInputStream( socket.getInputStream() );
// Over and over, forever ...
while (true) {
// ... read the next message ...
String message = din.readUTF();
// ... tell the world ...
System.out.println( "Sending "+message );
// ... and have the server send it to all clients
server.sendToAll( message );
} catch( EOFException ie ) {
// This doesn't need an error message
} catch( IOException ie ) {
// This does; tell the world!
ie.printStackTrace();
} finally {
// The connection is closed for one reason or another,
// so have the server dealing with it
server.removeConnection( socket );
}Thanks for your time.CLIENT:
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
public class Client extends Panel implements Runnable
// Components for the visual display of the chat windows
private TextField tf = new TextField();
private TextArea ta = new TextArea();
// The socket connecting us to the server
private Socket socket;
// The streams we communicate to the server; these come
// from the socket
private DataOutputStream dout;
private DataInputStream din;
// Constructor
public Client( String host, int port ) {
// Set up the screen
setLayout( new BorderLayout() );
add( "North", tf );
add( "Center", ta );
// We want to receive messages when someone types a line
// and hits return, using an anonymous class as
// a callback
tf.addActionListener( new ActionListener() {
public void actionPerformed( ActionEvent e ) {
processMessage( e.getActionCommand() );
// Connect to the server
try {
// Initiate the connection
socket = new Socket( host, port );
// We got a connection! Tell the world
System.out.println( "connected to "+socket );
// Let's grab the streams and create DataInput/Output streams
// from them
din = new DataInputStream( socket.getInputStream() );
dout = new DataOutputStream( socket.getOutputStream() );
// Start a background thread for receiving messages
new Thread( this ).start();
} catch( IOException ie ) { System.out.println( ie ); }
// Gets called when the user types something
private void processMessage( String message ) {
try {
// Send it to the server
dout.writeUTF( message );
// Clear out text input field
tf.setText( "" );
} catch( IOException ie ) { System.out.println( ie ); }
// Background thread runs this: show messages from other window
public void run() {
try {
// Receive messages one-by-one, forever
while (true) {
// Get the next message
String message = din.readUTF();
// Print it to our text window
ta.append( message+"\n" );
} catch( IOException ie ) { System.out.println( ie ); }
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.*;
public class ClientApplet extends Applet
public void init() {
String host = getParameter( "192.168.1.47" );
int port = Integer.parseInt( getParameter( "5000" ) );
setLayout( new BorderLayout() );
add( "Center", new Client( host, port ) );
}Sorry about that. Now when I run an html file with this applet I just get the x in the corner.
Thanks for looking. -
Steps should be taken to make a client copy say from dev to test using BDLS
Some one help to write up on real situation at any client site...by BASIS group
for SRM box..
Say client num in Dev is 100
and we want to copy all that to a test box where the client number is 101...
initially client 100 SRM box is pointing to R/3 say dev box 201
the new R/3 box is 202. And we have to point the 101 to 202. So I am just wondering the steps
taken by BASIS group to build the test env. 101 ---> 202Hello,
we had experienced some problems during client copy with SRM in our earlier project.
I am not a basis guy but i can give you some hint for yr situation:
- Copy R/3 client 101 to 202 with the profile SAP_ALL
- change the SID with BDLS
- Copy SRM client 100 to 101 with the profile SAP_CUST
- change the SID with BDLS
- Now download the masterdata from R/3 to SRM
SRM client should never be copied with SAP_ALL profile because ,if done so the logical system for product masters is copied that of old client.
This creates total chaos and nothing works.
BR
Dinesh
reward if helps -
UNABLE TO RETRIEVE THE CLIENT IP ADDRESS AND HOST NAME OF A PORTAL USER
I'm trying to retrive the client IP address and host name of a portal user
trying to access a portal page using APIs:
PortletRenderRequest portletRequest =
(PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
HttpServletRequest servletRequest =
(HttpServletRequest)portletRequest.getAttribute(HttpCommonConstants.SERVLET_REQUEST);
String l_szClientIPAddress = servletRequest.getRemoteAddr();
String l_szClientHost = servletRequest.getRemoteHost();
but i found that for all portal users on different machines IP addresses, the
returned IP is the same for all which is Portal middle tier IP address.
So how can retrive the IP addess of a portal user trying to access a portal
page ?Brijesh,
Do you mean how to see hostname/ip address of client requests processed by the server? If yes, depending on what's your front ending component - Web Cache or OHS, you can configure the access log format to have this information recorded in either of these component's access log file.
For Web Cache access log file, refer this:
http://download.oracle.com/docs/cd/B14099_19/caching.1012/b14046/diagnostics.htm#sthref2090
For OHS access log file, refer this:
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/servlog.htm#sthref439
By default, both Web Cache and OHS are configured to use Common Log Format (CLF) that does record hostname/ip address so if you haven't made any changes to log format, this info is already there for you. Look for $ORACLE_HOME/webcache/logs/access_log file for Web Cache and $ORACLE_HOME/Apache/Apache/logs/access_log file for OHS.
Thanks
Shail -
How to make the client automatically install jre using jnlp
my jnlp has The following,but not tip to install the client,why?
<j2se version="1.6+"
href="http://java.sun.com/products/autodl/j2se"
max-heap-size="128m" />Check out deployJava.js mentioned in [Java Web App Deployment Advice|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html].
-
Unable to sync the Digital Copy of movies I purchased to my IPhone
I have purchased several movies in the past few days that have "Digital Copy" with them. I put the movie (DVD) in my computer, told it "ITunes", and went through the steps requested by ITunes. They actually show up in my ITunes account. My issue is, when I tell my computer to "Sync" my IPhone, it says that it has completed the sync, and all of my music is on the IPhone, but the Digital Copy of the movies are not there. Is there something that I am missing?
Duh,,,, thank you
-
Unable to synchronise the client with the server
Hi Everyone,
I get the folllowing error while trying to sync my MI client for the first time.
Synchronization started.
Connection set up (without proxy) to: http://idesec7:50000/meSync/servlet/meSync?~sysid=ice&
Successfully connected with server.
Processing of inbound data began.
Internal server error; contact your system administrator.
any thoughts.....
Thanks in advance,
himaAfter synchronising with the server i am not able to start the MIclient it gives the error as <b>"start failed"</b>. But before synchronising, MIclient was working fine.This error has occured when i tried to download and start the aplication as an end user.in the webconsole the status is displayed as <u>"delete with next synchronisation"</u>.will this status in the webconsole matter.
the detailed information is as follows:
DEPLID E7D34F0264E5F64BBD740CCECB688CE0
INSTALLATION_IMAGE NO
JAVA_VERSION 1.4.2_06
JVM_VENDOR Sun Microsystems Inc.
MI_FULLNAME MI 25 SP 09 Patch 00 Build 200409101427
OSARCHITECTURE x86
OSNAME Windows XP
OSVERSION 5.1
PROCESSOR pentium i486 i386
RUNTIME TOMCAT
USERS_ON_DEVICE MISYNC-00; TEST; MI_ADMIN; MI_USER
USER_TIMEZONE Asia/Calcutta
can anybody help me in this.. -
Unable to do the Local Client Copy
Hi, Experts
I have created a new client, and i have logged on that client and doing the local client copy. When I see the client copy log the client copy got cancelled.
When i check the log i am getting a error saying "The System's Time Zone Cannot be Determined. Enter it Using STZAC."
The time zone maintained in INDIA.
Thanks & RegardsHello
Perform some checks
Please make sure that SAP time is same as the time on the operating system
Also make sure that u maintain time in the original client i.e the client which u r copying
Also I would recommend that you first delete the new client,then maintain all setting for time zone through the note 667169 and then again try client copy
hope it help
Rohit -
Unable to login to IDES system after client copy
Hi guys
the IDES system which i was using was working fine. I was trying CLient copy today morning and was trying to create a new client in the IDES system.
The client copy failed due to a shortdump in the process.
Now i am unable to login to the client 800 as it says the user password is incorrect.
How do i get back my 800 client? is there a way to get back the client 800 or do i have any other optionn to re-set the password without logging on to the client?
i do have access to client 000.
please guide me what should i do? i need the client 800 back and should be able to login too.hi,
i cannot login to client 800. I need to login first in the client 800 to go to su01 to re-set the password.
I want to login to client 800 which i am unable to do as a result of client copy. So the other option i am looking at is reset the password from client 000.
anyways thanks for your inputs
Hi guys,
any idea?
Edited by: Workflow learner on Jun 2, 2008 10:48 AM -
Unable to log in to newly create client copy
I 'm attempting to create a new client from a newly installed ECC 6.0 IDES system. I go into SCC4 and create a new lient '200' and log off.
I try to log in to client 200 using sap* and pass and get wrong username or password error.
I can see the client listed in scc4, but can't log into it.
Any ideas?
BobHello,
Having the previous question answered helped alot, but I do have another question:
Can I put the client copy on a different drive than the original?
I have SAP installed on the E: drive and would like to place the new copy client on the F: drive, can I do that?
Bob -
Does client copy erase all the data in the target client or?
hi
experts
does clientcopy erase all the data in the target client or except user master records.
regards
rajendra.It depends upon the profile you use for the client copy.
if you use SAP_ALL
All data is deleted from target client and source client data is copied.
and therefore you shall see the profiles and understand them .
SAP_ALL All Client-Specific Data w/o Change Documents
SAP_APPL Customizing and Application Data w/o Change Docs
SAP_APPX SAP_APPL w/o Authorization Profiles and Roles
SAP_CUST Customizing
SAP_CUSV Customizing and User Variants
SAP_CUSX Customizing w/o Authorization Profiles and Roles
SAP_PROF Only Authorization Profiles and Roles
SAP_UCSV Customizing, User Master Records and User Variants
SAP_UCUS Customizing and User Master Records
SAP_UONL User Without Authorization Profiles and Roles
SAP_USER User Master Records and Authorization Profiles
Hope it helps.
Thanks
Amit
Maybe you are looking for
-
Ipod nano not showing up in ITunes 9.2.1.5 on Windows XP
My mom has a 4GB 1st generation nano and I've been trying to add new songs via iTunes. I have tried all the suggestions for "iPod appears in Windows but not iTunes" article and I still cannot get her ipod to show up in iTunes. The computer I'm trying
-
Importing xml file from FCP 7.0 to 6.0
Hi all. I am sure many of you have figured this out, but after a few grey hairs today, I was finally able to open a clients project done in FCP 7.0 into my 6.0. In text editor you need to open the xml file and change: <xmel version= "5"> to "4". Then
-
Exploring the certificates with certmgr in a home laptop, I realize that some thrusted certificates are expired. What are the minimum certificates that a home computer browsing the internet should have? No inter home network activity. What is the p
-
I get this error when I try to run a report from a form on the web. The tricky part is that it doesn't happen always. I have noticed it happens only if the forms server is left idle for some time. The system specifications are Server O/s and version
-
Root.sh & multiple Oracle Homes
Hi guys Forgive me is this is a really stupid question but I am very new to Linux and just about done my 1st DB and iAS Install. My question is this: When installing the Database, the installer prompted me to run a root.sh script that created 3 files