Production server Databse & Application Server hang
Dear ALlt ,
Yesterday , After whole Offline + redolog Backup finish successfully,
my Database and Application Servers becomes hang. ( Nobody User logn to
the SAP ).
I able to Login telnet , to see the Lnrctl status , is hang.
so ,using sqlpls shut down oracle nortmal, restart the server.
After the Reboot of Database and Application Server System works
Normal.Now I am unable to find out Why the Server becomes hang ?
So avoid this Error in future , Please suggest the solution.
We are running SAP Ecc 6.0 + Oracle 10.2.0.2 + Hp unix 11.23
Thanks is advance
Santosh
Hi,
I have seen such behavior only on windows systems that
have been rarely booted and used offline Backup via DB13
while SAP keeps running. After a while
lsnrctl services
may show an excessive number of comslots in use.
It is new for me that this can happen on Unix as well.
I have customers runnning one offline backup a week, and
in general, on W2K3 you'll get along for one and a half year.
So when you are tight on security fixes, in this amount of
time you generally have a reboot, so no problem occurs.
(But one of my customers is very lazy in this area, we had
two of these hangs at his site. Was with 9.2 and 10.2 of Oracle.)
Btw: on windows it does not help to simply restart the listener.
Allthough the amount of sevice connection drops instantly.
I think it has to be related with the re-connect retries SAP is doing
in offline backup, because system only doing online backups show
a lot less of these used slots.
Did not find anything to fix this since yet. And no, we did not log any
call for this, because noboy wants to wait for support reaction, when
a boot fixes it and it is comming only every 18 months.
Volker
Similar Messages
-
Files from FTP server to Application server
Hi All,
I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface. Actually the process is already established at clientsite for placing master data files like product, plant etc from FTP server to App server through FTP adapter. Now my requirement is to move transaction data file with completely different structure as master data to App server. If we place these trasaction data file in same folder/directory as master data files does SAP XI pick this file also. If not what are the steps I need to follow to achieve this. I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
Right now our process for master data files is SAP XI picks the files and deletes the file from FTP server folder. The master data file names are plant_attr.csv, product_attr.csv etc and transcation data file name is salestrasactiondata.csv. I need to move these files to application server on daily bases.
I appreciate your help .
Regards
Bob.> I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface.
Hello Bob,
Yes it is possible.
There can be two ways of doing it.
1. N:1 mapping, BPM will require for this.
N:1 Mapping refer this blog
IDOCs (Multiple Types) Collection in BPM
BpmPatterns CollectMerge
part1 BPM with Patterns explained Part-1
part2 BPM with Patterns explained Part-2
Second option
Create 3 scanarios in integration directory and correspondingly in integration repositoy create different data types, message types, mappings & interface mappings and then in each of scenario us different message interface and interface mapping.
> I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
>
If you are using N:1 scenario then use *.csv in your sender adapter under file name parameter and then all the files will be picked up from same directory.
If you are using second option (3 different scenarios) then also you can pick the different files from same directory. You will be having 3 sender adapters in this case, So, one for picking master data, and another for product data and the last one for transaction data.
So, in case of master data use "plant_*.csv" as a file name and directory name.
In case of product data, use "product_*.csv " as a file name and source directory will remain same.
similarly do it for transaction data.
So by this way all 3 sender adapters will perform their job to pick the different files from same source directory.
Regards,
Sarvesh -
Connection of oracle database in database server from application server
Hi,
I have two servers, one is application server and another one is database server…..
I want to connect oracle 10g database in database server to application server. In application server oracle 10g client is installed……In database server, I have set tnsnames.ora, Listener.ora …while checking in lsnrctl…the particular sid is running fine…
In application server, while I give as sqlplus
After giving username and password its showing error as
ORA-12545: Connect failed because target host or object does not exist
While surfing in net it shows check tnsnames.ora and listener.ora….. I have set the environmental variables here in application server…..
It’s connecting when I give
Sqlplus
Sql>username/password @ hostname: 1521/sid_name
Is it possible to connect with the username and password
I have set the host names in /etc/hosts….
If we are giving the hostname, port number and Sid name this connects without using tnsnames.ora…..
While pinging between two servers the connectivity is there between two servers…..
Could u pls help me out?
Thanks in advancehi,
as u said i have done that ..s.till the same problem persists...
lsnrctl>services
$ lsnrctl
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 08-FEB-2007 03:56:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "RBTT" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "RBTTXDB" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: emea, pid: 197076>
(ADDRESS=(PROTOCOL=tcp)(HOST=emea)(PORT=37484))
Service "RBTT_XPT" has 1 instance(s).
Instance "RBTT", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER -
Get files from Content server to Application server
I want to Get few files from Content server to Application server, I have the required Archive ID. It is a HTTP Content server type. Can you please suggest the suitable method for this.
Thanks
Purna> I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface.
Hello Bob,
Yes it is possible.
There can be two ways of doing it.
1. N:1 mapping, BPM will require for this.
N:1 Mapping refer this blog
IDOCs (Multiple Types) Collection in BPM
BpmPatterns CollectMerge
part1 BPM with Patterns explained Part-1
part2 BPM with Patterns explained Part-2
Second option
Create 3 scanarios in integration directory and correspondingly in integration repositoy create different data types, message types, mappings & interface mappings and then in each of scenario us different message interface and interface mapping.
> I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
>
If you are using N:1 scenario then use *.csv in your sender adapter under file name parameter and then all the files will be picked up from same directory.
If you are using second option (3 different scenarios) then also you can pick the different files from same directory. You will be having 3 sender adapters in this case, So, one for picking master data, and another for product data and the last one for transaction data.
So, in case of master data use "plant_*.csv" as a file name and directory name.
In case of product data, use "product_*.csv " as a file name and source directory will remain same.
similarly do it for transaction data.
So by this way all 3 sender adapters will perform their job to pick the different files from same source directory.
Regards,
Sarvesh -
Regaring file from FTP server to application server
Hi frnds,
Below is my code where i am transferring Presentation server file to FTP server.
Now i want to transfer that file from FTP server to application server.
any help. below i am providing my code.
<code>
*& Report demo
report z_demo_ftp.
Variables declaration
data : mi_handle type i,
pwd type char30,
slen type i,
key type i value 26101957,
it_file2 type filetable,
w_file2 like line of it_file2,
l_rc type i,
v_index type i,
v_file(30) type c,
v_path(100) type c,
v_path_tmp(100) type c.
*Internal table declaration
data: begin of mtab_data occurs 0,
line(132) type c,
end of mtab_data.
Selection scree parameters
parameters: p_file type string default 'C:\'.
Get the file path
at selection-screen on value-request for p_file.
data: p_file1 type string.
p_file1 = p_file.
call method cl_gui_frontend_services=>file_open_dialog
exporting
default_filename = p_file1
changing
file_table = it_file2
rc = l_rc
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
read table it_file2 into w_file2 index 1.
p_file = w_file2-filename.
clear w_file2.
refresh it_file2.
split p_file at '\' into table it_file2.
describe table it_file2 lines v_index.
read table it_file2 into w_file2 index v_index.
concatenate 'put' w_file2-filename into v_file separated by space.
delete it_file2 index v_index.
clear w_file2.
loop at it_file2 into w_file2.
if sy-tabix = 1.
v_path = w_file2-filename.
endif.
if sy-tabix ge 2.
concatenate v_path '\' w_file2 into v_path.
endif.
endloop.
concatenate 'lcd' v_path into v_path_tmp separated by space.
endif.
Start of selection
start-of-selection.
pwd = 'file456'.
slen = strlen( pwd ).
call function 'HTTP_SCRAMBLE'
exporting
source = pwd
sourcelen = slen
key = key
importing
destination = pwd.
Connect to FTP
call function 'FTP_CONNECT'
exporting
user = 'client'
password = pwd
host = 'saturn'
rfc_destination = 'SAPFTP'
importing
handle = mi_handle
exceptions
not_connected = 1
others = 2.
if sy-subrc = 0.
Excute FTP command
call function 'FTP_COMMAND'
exporting
handle = mi_handle
command = 'cd staff
tables
data = mtab_data
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 4.
Excute FTP command
call function 'FTP_COMMAND'
exporting
handle = mi_handle
command = v_path_tmp
tables
data = mtab_data
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 4.
Excute FTP command
call function 'FTP_COMMAND'
exporting
handle = mi_handle
command = v_file
tables
data = mtab_data
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 4.
if sy-subrc = 0.
loop at mtab_data.
write: / mtab_data.
endloop.
endif.
endif.
*FTP disconnect
call function 'FTP_DISCONNECT'
exporting
handle = mi_handle
exceptions
others = 1.call function 'FTP_DISCONNECT'
exporting
handle = mi_handle
exceptions
others = 1.
end-of-selection.
</code>
so what more code shuld i write.
regards,
kamalHi Che Eky ,
Actually the above code is for putting the presentation server file to FTP Server.
But now i need to Put the same file present in the FTP server to Application server.
So any help or code which will be helpful.
regards,
kamal -
Copy File from Presentation Server to Application Server in Background
Hi,
I need to copy Image file from Presentation Server to Application Server.
The below given code is workking fine in Foreground but whenevr I am trying to execute in Background, the job is cancelled and I am getting a dump.
data : wa_source type string,
wa_destination type string.
wa_source = 'C:\PARBIND.BMP'.
wa_destination = 'D:\PARBIND.BMP'.
start-of-selection.
call method cl_gui_frontend_services=>file_copy
exporting
source = wa_source
destination = wa_destination
* overwrite = SPACE
* EXCEPTIONS
* cntl_error = 1
* error_no_gui = 2
* wrong_parameter = 3
* disk_full = 4
* access_denied = 5
* file_not_found = 6
* destination_exists = 7
* unknown_error = 8
* path_not_found = 9
* disk_write_protect = 10
* drive_not_ready = 11
* not_supported_by_gui = 12
* others = 13
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
In backgound Error is....
Exception condition "CNTL_ERROR" raised.*
Any solution is appreciated.
Thanks
ArbindHi Arbind,
Just realize... when you run it in foreground, you have a foreground to capture the file location. so it runs fine..
but when you are running it in background, there is no foreground to check that is no gui present... how can it check where the C:\.... location is??
no need of reading any oss note... just see.. the name is cl_GUI_FRONTEND_service.. its only for front end..
u need open dataset, read dataset, close dataset kind of things while running in background. or RFCs to read the file... (search SDN). -
Diff between Transaction Server Vs Application server
Hi,
What is the difference between Transaction Server Vs Application server..?
Cheers,
Raj
Helpful answers are always rewardedHope these two will help you
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4bc4e290-0201-0010-eba9-dc6a507d3220
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9318c990-0201-0010-1b8e-e3cfae0a1939
Regards,
PP -
Function module for f4 help in presentaion server and application server.
hi guys,
I need to create a function module that will get the file or folder name by f4 help for the file in the presentation server or application server based on the location selected.
For this function module what are the minimum impot parametrs and export parameters required.
i have tried with 'f4_filename' for presentation server
and '/SAPDMC/LSM_F4_SERVER_FILE' for application server.
but i am not able to get this.
can any one help me in this regard ?
cheers,
kumar.hi use like this ..
if p_presvr = 'X'.
*-- if the file is to be downloaded to presentation server
call function '/SAPDMC/LSM_F4_FRONTEND_FILE'
changing
pathfile = p_file
exceptions
canceled_by_user = 1
system_error = 2
others = 3.
if sy-subrc <> 0.
if sy-batch = 'X'.
message id sy-msgid type 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into v_msg.
write / v_msg.
clear v_msg.
stop.
else.
message id sy-msgid type 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endif.
else.
*-- if the file is to be downloaded to application server
call function '/SAPDMC/LSM_F4_SERVER_FILE'
exporting
directory = '/'
filemask = '*'
importing
serverfile = p_file
exceptions
canceled_by_user = 1
others = 2.
if sy-subrc <> 0.
if sy-batch = 'X'.
message id sy-msgid type 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into v_msg.
write / v_msg.
clear v_msg.
stop.
else.
message id sy-msgid type 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endif.
endif. -
How to connect message server with application server?
How to connect message server with application server?
Hello Damodar,
The connection is established at the time of installation only !!. At the time of installation you need to specify the Central Instance(message server in most cases unless you have a dedicated message-enque server).
Regards.
Ruchit. -
Difference between web server and application server
Hi Everybody
Could anybody expain difference between web server and application server?
SharadHi there
The difference I know is the application servers provides the containers for the applications to run which is not provided by the web servers.
For example the containers can be an EJB container or JSP container etc -
Differences between Web server and Application server
Differences between Web server and Application server:
We use Tomcat web server or sun Application server to deploy web applications . What is the differeences between these two servers?http://en.wikipedia.org/wiki/Web_server
http://en.wikipedia.org/wiki/Application_server -
From Forms Product Management - Oracle Application Server 10g for Windows
I've updated http://otn.oracle.com/products/forms with links to the Oracle Application Server 10g and Oracle Developer Suite 10g for Windows (which has just be released).
You can check out the new features this version of the product bring for Forms at:
http://otn.oracle.com/products/forms/pdf/10g/frm10gnewfeatures.pdf
Regards
Grant Ronald
Forms Product ManagementNice - thanks!
-
Administration of Oracle HTTP Server in Application Server 10.1.3.1
Hi
Can anyone tell me how to administer the Oracle HTTP Server from the Application Server Control not directly from the configuration files in Oracle Application Server 10.1.3.1.
I have followed the instructions given but the link for the HTTP Server is not activated and can't be clicked in the System Components table in Oracle Application Server Control page.
In the instructions given by the Oracle HTTP Server Admin guide was mentioned an user : ias_admin. But I haven't found it. All the users listed are oc4jadmin and something like JRAadmin.
Can anyone tell me how to proceed to make possible HTTP Server Administration, Configuration and Mainteinance directly from the Application Server Control in Enterprise Manager.
Best regards
DriniHi
First of all, I am using the application server right now. I have deployed there a Java Web Service.
In the directory that you specified it wasn't something like setupinfo.tx but readme.txt the contents of which I am pasting below
////////Readme.txt////////////////
The installation of Oracle Application Server 10g 10.1.3.1.0 was successful.
These instructions are located in D:\product\10.1.3.1\OracleAS_1\install\readme.txt for your future reference.
You can view the status of the server with the following command:
D:\product\10.1.3.1\OracleAS_1\opmn\bin\opmnctl status
Access the Welcome Page with the following URL:
http://server:8888/
Access the Oracle Enterprise Manager 10g Application Server Control via the following URL:
http://server:8888/em
Installation Details:
Installation Directory: D:\product\10.1.3.1\OracleAS_1
Installation Type: J2EE Server and Web Server
Installed Components: Oracle HTTP Server, Oracle Containers for J2EE (OC4J), and Oracle Process Manager & Notification Server (OPMN)
Instance Name: as10gamf2.server
Administrator Username: oc4jadmin
The log file containing the details of Configuration Asistants is located in D:\product\10.1.3.1\OracleAS_1\cfgtoollogs
\\\\ End of Readme.txt \\\\\\\\\\\
i have tried before the opmnctl status command and it says that the HTTP_Server and the OC4JGroup are alive. Only ASG is down. This is by default in all iAS installations I have done.
Best Regards
Drini -
Download file from FTP Server to Application Server
Hi Friends,
Using the standard SAP Program RSFTP002, I was able to download the file to my local PC. But my requirement is to download the file from FTP to application server.
For RSFTP002, I am passing the username, password, host and in command 1 I am passing lcd :\temp, command 2 get filename. The file gets downloaded into c:\temp. If I do the same passing the app server path in command 1 as /usr/sap/tmp I get an error that pass cannot be found.
Anyone please help me how to donload the file from ftp to app server.
Thanks,
DeepthiIf I remember correctly the activation type on the technical settings tab must be set to "start on application server" in transaction SM59 for the RFC destination for the FTP server. This should allow the files to be transferred to/from the application server.
Regards,
Steve. -
Windows 2003 server and application server 8.2
I trying to install application server 8.2 and the installation stop and says me this:
INFO - archivo jar descomprimido: activation.jar.pack
INFO - archivo jar descomprimido: appserv-assemblytool.jar.pack
INFO - archivo jar descomprimido: appserv-cmp.jar.pack
INFO - archivo jar descomprimido: appserv-ext.jar.pack
INFO - archivo jar descomprimido: appserv-jstl.jar.pack
INFO - archivo jar descomprimido: appserv-rt1.jar.pack
INFO - archivo jar descomprimido: appserv-rt2.jar.pack
INFO - archivo jar descomprimido: appserv-rt3.jar.pack
INFO - archivo jar descomprimido: appserv-rt4.jar.pack
INFO - archivo jar descomprimido: appserv-tags.jar.pack
INFO - archivo jar descomprimido: commons-launcher.jar.pack
INFO - archivo jar descomprimido: commons-logging.jar.pack
INFO - archivo jar descomprimido: deployhelp.jar.pack
INFO - archivo jar descomprimido: j2ee-svc.jar.pack
INFO - archivo jar descomprimido: j2ee.jar.pack
INFO - archivo jar descomprimido: jaxr-api.jar.pack
INFO - archivo jar descomprimido: jaxr-impl.jar.pack
INFO - archivo jar descomprimido: jaxrpc-api.jar.pack
INFO - archivo jar descomprimido: jaxrpc-impl.jar.pack
INFO - archivo jar descomprimido: jsf-api.jar.pack
INFO - archivo jar descomprimido: jsf-impl.jar.pack
INFO - archivo jar descomprimido: mail.jar.pack
INFO - archivo jar descomprimido: relaxngDatatype.jar.pack
INFO - archivo jar descomprimido: saaj-api.jar.pack
INFO - archivo jar descomprimido: saaj-impl.jar.pack
INFO - archivo jar descomprimido: sun-appserv-ant.jar.pack
INFO - archivo jar descomprimido: xsdlib.jar.pack
INFO - archivo jar descomprimido: sun-as-jsr88-dm.jar.pack
INFO - n?mero de entradas jar fusionadas: 2741
INFO - n?mero de entradas jar fusionadas: 1430
INFO - n?mero de entradas jar fusionadas: 2473
INFO - n?mero de entradas jar fusionadas: 776
INFO - n?mero de entradas jar fusionadas: 646
INFO - Iniciar la configuraci?n del servidor principal.
ERROR - la creaci?n predeterminada de dominios devolvi? la siguiente excepci?n: abnormal subprocess termination: Detailed Message:"?" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
any idea?
thanksapplication server 8.2
http://java.sun.com/j2ee/1.4/download.html
thanks for your help
If you want send me a mail, or talk with messenger or
likeI would in that case try to contact Sun. The error message seems a bit odd. The installation is trying to execute some command, tool or applications which can't be found by the OS. The error indicates that that command has a very odd name.
Kaj
Maybe you are looking for
-
Hi, I am sure you have heard this a million times but I'm going to ask because I have run out of options and have never asked it here. I like to play Facebook games on my computer which is a 32 bit windows 7 version operating system. Anyway it crash
-
How do you use voice and data at same time?
I'm on a call and need to look up data from a file also on my phone. What's the simplest and most effective way to simultaneously do this? Thanks in advance.
-
Using Sql Functions in Crystal Reports
Can SQL table-valued functions be used in Crystal Reports? The only options I see in the Database Expert are Tables, Views, and Stored Procedures.
-
SBO2005SP01PL04: Copy UDO's of Type Masterdata from one DB to another
Hi Is this possible somehow? Thanks for any Tipps
-
I have a 40 gb ipod that suddenly and for no reason I can think of stopped connecting to my ibook. It doesn't connect in discmode or in itunes and resets itself every time it goes out of rest mode. From what I can tell the files are still there becau