HTTP Connections to Ext. Server - SM59 - Application Server
Hi Experts,
first of all its my first post, I hope I can provide any infos you need to give me some advice.
Well, I've setup in SM59 a new connection-type "HTTP Connections to Ext. Server" (Type G). It is a stupid webserver in our LAN that returns a simple "hello world" (i've setup this webserver as first step to test the functionality of this connection type). No authentication or any other specialities like proxies or SSL.
Now, if i test the connection out of the central instance, everything runs fine, I receive an answer.
BUT: if i make this test from one of our application servers i get nothing at all. No output, no failure, simply nothing which means in my opinion that its not working.
What do you think about this?
Thanks in advance
Edited by: Stefan Gruber on Feb 4, 2009 1:25 PM
>ah, I see! There has to be running a service "icm/server_port_xxx = PROT=HTTP, PORT=NNNN".
Exactly !
I usually put this parameter in the DEFAULT profile because I want all my application servers to listen to the same HTTP port.
>Merci beaucoup!
You are welcome !
Olivier
Similar Messages
-
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 -
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. -
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 -
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 -
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 -
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 -
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). -
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 -
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. -
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 -
Run Form in HTTPS or SSL mode without installing Application Server
Hi all,
I have installed Oracle Database 10g and Oracle Developer suite 10g in my PC (Window XP). Now I want to implement SSL or running forms in HTTPS mode instead HTTP and I don't want to install Application server.
Any workaround is there to run Forms in HTTPS mode without installing Application server.
Thanks,
OmerPerformance issue? How old is your hardware? I am running OAS 10.1.2.3 on a Server 2003 VM which basically consumes 512MB RAM and ludicrous amounts of CPU/IO.
In any case: as said if you want to test SSL in a real life scenario then enabling SSL in OC4J is not what you want to do. In production the configuration is completely different, as there you would configure Apache to run your forms via SSL.
What comes to my mind would be to install Apache 1.3 (this would be the version OAS 10.1.2 uses), configure mod_oc4j there and configure it with SSL. On the other hand this also isn't the configuration you have in production so this also is not exacly what you want.
If you want to verify if your forms application will run via SSL then most certainly it will run without changing your sources. The only things you might have to change would be if you do HTTP Requests from the database to your application server via utl_http or from the client to the application server via java beans or via the java importer.
But for tests I'd strongly recommend doing it via an application server installation, and not via developer suite.
cheers -
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 -
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 -
Setting up http connection for ADS in sm59
I have a problem setting up the http connection.
I created ADSUser and ADScallers role, but when i click on test connection in sm59, first i get a popup window: response from web server contains cookies. Accept?
I didn't get this window before, this looks strange.
I have to click twice on yes, to proceed, which is also weird.
Then i get an enter logon data window:
enter your user name and ID
Resource: WS Navigator
Username:
Password:
I tried the ADSUser username/pwd here, but it did not work
Which username/pwd should i use and how can i set those?
This already worked once before, and this is the simplest thing, I don't know why it doesn't work anymore.
If this would work, then i coud try FP_PDF_TEST_00 report, and then go on with configuring ADS.
Can anyone help please?There are many ways.
The easiest would be over the useradmin:
http://<your_javaserver>:5xx00/useradmin
Murat
Maybe you are looking for
-
Standard Report on Profitability Segment in SAP
I need standard report based on profitability segment in SAP or any report in SAP having information related to profitability segment. Any thread is welcome.
-
Moving: G3 to Intel & wireless to wired?
Hello all, I am due to order my 2 new 24" iMacs this week (yipee!) and will be, in effect moving from a G3 iBook and G3 iMac on an Snow ABS. Currently I have 8Mb broadband. I am wondering, given that these 2 are desktops, whether I need/should to upg
-
Problems with solving a JMF - JFFMpeg/gstreamer/fobs4java mpeg4 - stream
hi! im doing a final at univerity, the aim is to enable JMF to play AND stream mp3, mpeg4, aac im already trying to get more than the basic JMS-stream (h.263) to work, for a couple of days of intensive work. only things i know now, is, that it is a l
-
Why is the cursor inserting within other sentences
Every single time I go to type my cusor inserts itself wherever it want to on a previous sentence. I did have this problem once before and I thought I uninstalled the touchpads driver but that is not working this time. But it was someone in here who
-
Storing passwords/usernames
how can i create a database to store password and logon usernames and then create a place where people can type in thuere login and password to acsess sertain pages