B2B attachment filename having space in UNIX server.
Hello B2B Gurus,
I am working on B2B for Rosettanet.
It also sends the attachment picked from UNIX server along with PIDX format payload.
If the file name in the UNIX server has a space, Rosettanet along with attachment errors out with
B2B-51570-
Machine Info: (hou-ecmsoatst01.swn.com)
Description: Attachment error
If the file name does not have any space, the attachment logic works file.
I used the below link for reference, which was really helpful to attain attachment logic.
http://anuj-dwivedi.blogspot.com/2011/04/rosettanet-attachment-handling-in.html.
Can anyone help me to handle filename with space in UNIX server to be sent as attachment.
Thanks,
Sunil
Can you try to escape space with %20 ? For e.g. if file path is file:///b2b file/OrderBill.pdf then provide it as file:///b2b%20file/OrderBill.pdf
Regards,
Anuj
Similar Messages
-
File transfer from UNIX server to Windows server path
Hello Experts, (Gud Even Gud Aft & Gud Mor)
Is there a way to transfer file from UNIX server(Oracle database), to Windows server? All I know if Windows path. I am able to read the file as it is on server, however it does not recognize Windows directory at all.
If you can share some documents around this to study, I will be grateful.
Regards,34MCA2K2 wrote:
Is there a way to transfer file from UNIX server(Oracle database), to Windows server? All I know if Windows path. I am able to read the file as it is on server, however it does not recognize Windows directory at all.Yes it is possible. Samba on Unix sharing the directory containing the file. NFS on the Unix server sharing the directory containing the file. FTP server on Unix allowing the file to be read and copied. OpenSSH on the Unix allowing the file to be read and copied via scp (secure copy).
But seeing as this is an Oracle database forum (not an operating system forum), and the subject matter is the database server languages SQL and PL/SQL, here is a PL/SQL solution.
Create a table using the BFILE data type for referencing the files on the Unix o/s. Provide a web enabled procedure for downloading the files via HTTP using a web browser. This procedure will look something as follows:
--// URL example: http://my-server.my-domain.com/MyDAD/MySchemaName.StreamFile?fileID=1234
create or replace procedure StreamFile( fileID number ) AUTHID DEFINER is
mimeType varchar2(48);
fileName varchar2(400);
lobContent BLOB;
begin
--// read the LOB from a table (this example uses the
--// Apex file uploads table - change it to your own files table)
select
f.filename,
f.mime_type,
f.blob_content
into
fileName,
mimeType,
lobContent
from FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$ f
where f.id = fileID;
--// format a basic HTTP header that describes the file stream send
OWA_UTIL.mime_header( mimeType, FALSE ); -- e.g. text/csv text/plain text/html image/gif
HTP.p( 'Content-Disposition: attachment; filename='||fileName );
HTP.p( 'Content-Length: ' || DBMS_LOB.GetLength(lobContent) );
OWA_UTIL.http_header_close;
--// now write the BLOB as a mime stream using the Web Procedural Gateway's
--// doc load API
WPG_DOCLOAD.download_file( lobContent );
exception when OTHERS then
--// Decide what HTML to generate (if at all) if there is a failure
--// (usually not a good idea to show database errors to the
--// web browser client as that can provide technical details
--// that could be useful for exploiting the database)
HTP.prn( 'StreamFile() failed with '||SQLERRM(SQLCODE) );
end;
/ On Windows, IE can be used interactively to copy the file across. For automation (via PowerShell or console jobs), use a command like tool like wget* to download the file.
If you do not want to use SQL or PL/SQL as the file copy mechanism, then please close this thread (mark as answered) and take your question to an appropriate forum.
<i>* - see http://gnuwin32.sourceforge.net/packages/wget.htm</i> -
Write blob data from database to unix server
Hi all,
I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
I have searched the post and got lot information but not able to get succeed.
I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
What I did for writing file from database to unix server:
1:
CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
IS
BEGIN
FOR rec_picture IN (SELECT ID
FROM TMP.tpx_download_files
WHERE header_id = l_header_id
AND mime_type LIKE ('image' || '%'))
LOOP
DECLARE
l_out_file UTL_FILE.file_type;
l_buffer RAW (32767);
l_amount BINARY_INTEGER := 32767;
l_pos INTEGER := 1;
l_blob_len INTEGER;
p_data BLOB;
file_name VARCHAR2 (256);
BEGIN
SELECT blob_content, filename
INTO p_data, file_name
FROM tpx_download_files
WHERE ID = rec_picture.ID;
l_blob_len := DBMS_LOB.getlength (p_data);
l_out_file :=
UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
file_name,
'wb',
32767
WHILE l_pos < l_blob_len
LOOP
DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
IF l_buffer IS NOT NULL
THEN
UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
END IF;
l_pos := l_pos + l_amount;
END LOOP;
UTL_FILE.fclose (l_out_file);
EXCEPTION
WHEN OTHERS
THEN
IF UTL_FILE.is_open (l_out_file)
THEN
UTL_FILE.fclose (l_out_file);
END IF;
END;
END LOOP;
END;
2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
DECLARE
l_header_id NUMBER;
l_filename VARCHAR2 (200);
BEGIN
SELECT header_id, filename
INTO l_header_id, l_filename
FROM tpx_download_files
WHERE header_id = :p35_sr_header_id;
trx_blob_to_file (l_header_id);
END;
But it is not writing the file from database to unix server.
If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
3; I have given
GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
And
GRANT EXECUTE ON UTL_FILE TO PUBLIC.
Where I am doing wroung can anyone guide me or any other approach is appreciated.
I am already late so I need soon. Please help.Hi all,
I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
I have searched the post and got lot information but not able to get succeed.
I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
What I did for writing file from database to unix server:
1:
CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
IS
BEGIN
FOR rec_picture IN (SELECT ID
FROM TMP.tpx_download_files
WHERE header_id = l_header_id
AND mime_type LIKE ('image' || '%'))
LOOP
DECLARE
l_out_file UTL_FILE.file_type;
l_buffer RAW (32767);
l_amount BINARY_INTEGER := 32767;
l_pos INTEGER := 1;
l_blob_len INTEGER;
p_data BLOB;
file_name VARCHAR2 (256);
BEGIN
SELECT blob_content, filename
INTO p_data, file_name
FROM tpx_download_files
WHERE ID = rec_picture.ID;
l_blob_len := DBMS_LOB.getlength (p_data);
l_out_file :=
UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
file_name,
'wb',
32767
WHILE l_pos < l_blob_len
LOOP
DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
IF l_buffer IS NOT NULL
THEN
UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
END IF;
l_pos := l_pos + l_amount;
END LOOP;
UTL_FILE.fclose (l_out_file);
EXCEPTION
WHEN OTHERS
THEN
IF UTL_FILE.is_open (l_out_file)
THEN
UTL_FILE.fclose (l_out_file);
END IF;
END;
END LOOP;
END;
2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
DECLARE
l_header_id NUMBER;
l_filename VARCHAR2 (200);
BEGIN
SELECT header_id, filename
INTO l_header_id, l_filename
FROM tpx_download_files
WHERE header_id = :p35_sr_header_id;
trx_blob_to_file (l_header_id);
END;
But it is not writing the file from database to unix server.
If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
3; I have given
GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
And
GRANT EXECUTE ON UTL_FILE TO PUBLIC.
Where I am doing wroung can anyone guide me or any other approach is appreciated.
I am already late so I need soon. Please help. -
Can't import photos from camera to UNIX server in Mavericks
We have a mixed network in our office with a Windows 2008 server and a UNIX server. Before Mavericks, I was able to connect a camera or my iPhone to my MacBook Pro and download jpg files to either server. Since the upgrade to Mavericks, the files are transferred ok to the Windows server, but end up as 0k files on the UNIX box. Using one of the older computers running Snow Leopard, the photos download just fine.
If I use Image Capture to transfer direct from the camera to the UNIX box, I get no error mesage, but 0k files.
If I download to the Mac and then copy/paste to the UNIX box, I get the following error message, and no file transfer at all.
The Finder can’t complete the operation because some data in “P1050238.JPG” can’t be read or written.
(Error code -36)
Anybody any idea what is happening, and how to solve this issue?That's the latest version.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
How to display HTML file from Unix server on UI at runtime
Hi Experts,
My requirement is to display HTML files, related to some particular person, on UI. The file is existing on a separate UNIX server and a file related to one person may have a lot of attached files as well , as is the case generally with HTML files, including pictures etc. So it is no use transferring file on my CRM system, as the files are kept separately on this UNIX server which is particularly for this kind of storage.
I am able to show files residing on MIME repository ( I created some new HTML files ) of my CRM system on UI. but I don't know how to go ahead with this particular requirement.
One idea is that I can map one folder of my application server to that unix server so that I can see the HTML files in this particular folder. but I don't know how to map MIME repository folder to application server directory or directly to the UNIX server .
Please advise. Is my approach correct or is there any other way ?
thanks in advance.
Regards,
VikasMaybe this is too simple, but have you got an HTTP server on the UNIX machine? You could simply link the URL into you CRM application and display the contents directly from UNIX.
cheers Carsten -
Web Gallery created in Bridge not displaying first picture correctly on a Unix server
Hi Guys, Am really stumped by a problem that has surfaced after moving from a Windows web hosting server to a Unix hosting platform. The Web Galleries created in both Bridge CS4 and CS6 display and operate as expected on the Windows server. However, having moved to a Unix hosting platform, I observe an odd behavior when going to the Web Gallery page. When the gallery loads, it displays the first image offset. This is always the top left hand quarter of the picture, offset to show in the bottom left hand corner, leaving the top left and right quarters and the bottom left quarter black (I use quarters to best describe the situation, though it really does seem as if the view port of the Gallery is indeed quartered for this first image).
If I click on the second image in the series, it appears full size. The same happens if I click on the "Play" button. If I return to the first image manually, it displays full size.
The phenomenon is apparent in Firefox 19.0.2, IE9, Opera and Chrome, all of the latest build.
Can anyone throw some light on why this phenomenon is occurring and better still, suggest a cure?
Grateful for all and any help anyone can give.
Cheers, DaviddhgHi Guys, This turned out to be a Unix server-side issue. Apparently the compression software being used by the ISP on this server was in some way incompatible. The ISP turned the compression off and the problem was cured.
Cheers, Daviddhg -
Getting junk data in the output file in UNIX server due to UNICODE error.
Hi All,
I am working on an Upgradation project from 4.7 to mySAP ERP 2005.
IN 4.7 we are using
OPEN DATASET lv_filename FOR OUTPUT IN BINARY MODE. and getting the file as required.
In ECC 6.0 for the same OPEN DATASET statement ,the output file in unix server has the junk data having the characters like #<##d9{y#+G9###T>j(##^# #K## #q### #####.
Pls help me in this issue to proceed further .
Thanks,
Chakradhar.Hi Markus,
Below are the files data in both environments.
In ECC 6.0
001B2274001802007051 0 20070519CTLMEA RPTIME00043900 #
###9##;c_5####Tj#y#.##'###u###<#<##d9{y#+##G9###T>j(###^###K####q##########C##dA4####ձ###x##
R[#!#J##ڢw###u#-C#'Qho#箐}j##w%##/#'ZhW##s###nи#ڻ>-J#####Ж#tP}##Hu#}Q7###Sh_###C4<3nqk##i l#
####{############Qns###;####p##{si##y##@##ϰ0####C###,###2ύ#j̾########Q#f####;)k>lO#5#n###ܼ#
####M##S##IM#z0#o##ԭ####!#V#9###ں#?s##[#####V&#˴s#��[#l#s##뷢:#Զ{Ȥ��M-##v@#########v#߲###s##
9Q##!#d#####`#############Lc####J#######%?######E#HV3#(#N####Wl####}S#O######zA[##m####u/7#T
##2#s##Q#umF]##Z###}##݂###a######z1#`#####됞-###Q#o#####Q###x#######7Z[##?#V#e##nI####O1=u[#
##p##Kj#####]#####/5#20{####Ӝ##x##A#?###xa##/<^#Rj䅥#######xI#+j#%###$##$######p=##V#Ԋ
#######k#K##yI#yI#!/)#y#z##-y######"/#eڵ##/############*###"/_##-##+##/#y9#####5#9/#yI#A#
###################J/yih=####u4i#K##t####ܞ######=##AX###J##z#####KC믔## /###G{#K#####
In 4.7
001B2274001802007051 0 20070519CTLMEA RPTIME00043900
ãÔ?®zåÖ#Iï-_Î-ør7##*Ódöã ²äÐÁSjòä`ëÏ©"yÿï¾E#[µºEW#g#2éu##a±¸u~#ZäTéR¯F&o#C·¼åÈÝÁ%½ß´y6+##¿
íE#z!#â#ùG#>{#éJæ##jÅSM<±òxwÆüI¾jâ#µ#ù
íQ ÕÈ###dÝ#/«#ycãA¼#ø#7#¿#¼#íxãý#y«#o#â¡ùéËÖ_C¼½À4ðÀó#Ð8?qÊ#O½Î¿_##b#xjÛÓ#OÜ#×gÌ#×ós##
í¡ùh¿~ëÊÓü#ò#'¡#Á#â©#<áoú#'Ô®ü#»L»þ#y)hà#ç#Z[¡#'®Uy1?YC<Ýú#iÇÇ###Íç'Ô#§#Ù#O§#f<###B{#§##ñ
#0H}¬#^##6¨7V¨7VÚX#M9&#A#øG º'õxOù§ø #W¨Å+Ðb#ÉÇ7#SôRXß\u00A7à#wE"#mê#óÀd# ¼##gn###:ô#E<#######ú
ûJ¦H}#·¦Y½â>ºbò#xSSÿÿÕ«óG#ï#6²f´Ú¾fyqèhJÖçCOr´#Ý#S?##KËÄ×mâë¶x)º×ªh2Åw8&í####7 `Ùo#ö»#òöw$
½##Gê#ì#»#La)ì##Ý÷#{7í´éã»##ãî]¾[##{O#¾C##£¶G#û¼Eû#dL#ª:#PÉEÉ>Ó##ª:G#éaR^·BEµÏ+¹###y#N##ȱ
DÕ##5#"9Ní>#íFo##kp#ÂðÆè5¿ð½F®¯M##þð1#îi##Z #Z #Z#ô-¾#§èH»û¹ö9é#Ôä#001B2274001802007051
èÁ##<(#ÿ#¢²ÿ#è#éc#z¾vçÌá#¹#ý#x%ìÜ#çÌ##ùÍÙ#¹{ǯepmâí#¸Ö##¸=ÝÙ½¹uë·,ù#þ¼øl###£åg#,##-`q#ÿøæï
viÁ#]3#.O#þÊöèR##=##L#LÊk###¤à##ó#'V052 øé]+####ã!ÁC#s#q###åLj##Á¯Æ4#.àíT#¸Þ¹µ·¶É)ç#Ïå#<#/ð
Thanks,
Chakradhar. -
Oracle 11g on Unix server needs to write files (.csv) on Windows server
Hi,
Currently we are using Oracle 10g which is installed on a Unix server and on the same server there is a directory under which some files are being exported/downloaded by the db.
We are having DEDICATED DB INSTANCE on the SHARED server, and not a DEDICATED SERVER.
Now we need to migrate from Oracle 10g to 11g, but due to some complaince issue, we have been asked to create those directories on some other server. We have identified a Windows server and can create directories.
Now I request any expert to pls suggest/guide me that how can the db (on Unix server) export/write files on another Windows server?
I read in a thread that the server (where files should be exported) should be MOUNTED on the server where db is physically installed.
Pls help me here.....
Edited by: 950010 on Jul 31, 2012 7:00 AM950010 wrote:
As I wrote in my question that due to compliance issue we have been asked to create the directory (that is currently on the same unix server on which our db is physically installed) in any other server (no matter unix or windows).And if that remote server is not available? Or if network connectivity to the remote server fails? Or if there is severe network congestion between the Oracle server and remote server? What then?
How is the process on the local server suppose to deal with errors when it attempts to create a CSV file on the remote server? Or deal with network bottlenecks that results in severe performance degradation when trying to create a CSV file? Or if there lacks freespace for creating the CSV file?
What about security? How is the local Oracle server to authenticate itself with the remote server? How is the remote server to protect that directory share against unauthorised access?
How is this remote server going to provide access to authorised s/w to these CSV files?
Who (local or remote processes) is going to manage this directory share and ensure old CSV files are deleted and that there is sufficient freespace for new CSV files?
There are a LOT of questions that need to be asked... BEFORE deciding on HOW technically to do it. As the technical decision will be based on the functional requirements and how to best meet these.
Technically - there is Samba, NFS, FTP, SFTP, SCP, RDIST and a number of other methods that can be used. But without asking the above questions and getting proper business answers, selecting a specific technical method is very much premature.
You are asking the wrong questions, and in the wrong forum. You need to determine the business requirements first. -
Any function module to transfer File(Excel) from Appli Serveto Unix Server
Hi all,
Do you have any function module to transfer excel file from application server to Unix server.
Can anyone have some sample code for the same.
Thanks in Advance.
Sreedhar MarriHi,
There is no function module ,instead use open dataset command.
Syntax example,
data: e_file like rlgrap-filename.
data : txtstr type string.
concatenate searchpoints-dirname '/scm/' werks '/' filnam into e_file.
open dataset e_file for output in text mode encoding default.
loop at itab.
concatenate itab ',' into txtstr.
transfer txtstr to e_file.
endloop.
where itab is the contents u want to transfer.
Pls check for required authorisations with ur BASIS for open dataset command.
Regards,
Balakumar.G. -
FM to read files starting with TEST(for example) from Unix server
Hi all,
Is there a FM to read all the files which start with TEST (for example) from the Unix server?
Requirement is if we put TEST* in the selection screen for the filename, it should read all the files which start with TEST from the default Unix path.
Thanks and regards,
AnishurFunction Modules
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful.........
Minal -
How to deploy project in UNIX server
Dear Experts,
I have developed a class in ECLIPSE to do parse a text file & load data into oracle server using sql loader. I have completed this job in my local windows pc. I created a class file in eclipse & now everything ok.
My requirement is to run this class file in unix server. Please expalin me step by step todo list to deploy this class file in unix server. Please write elaborately since i am newbie in java.
THANKS IN ADVANCE.871270 wrote:
Hi masters.
Small info. requried..I worked on oracle with windows env. But I don't know unix exp. My question is
I want to connect to the sqlplus in unix server ? Please let me know...!!
Thanks in adv.
regards
SAthe answers you've received so far are all over the board. That's a result of the fact that your question is pretty vague. Is your problem that you are unsure of how to get a unix command prompt and launch sqlplus? Or are you having a specific problem related to actually connecting to a database? What have you done so far? What error messages (if any) are you seeing? -
Accessing a Resource Present in A folder Having Space In Name In weblogic
Hi All,
i am having a jsp page with name my.jsp present in folder "My Folder"(Space is there between My and Folder), when i try to access this jsp in WebLogic10.3 JDK6 WindowsXp server it is throwing the following JSPCompilation error
weblogic.servelt.jsp.CompilationException : Failed to compile JSP /My Folder/my.jsp
my.jsp:3:2: The declared package "jsp_servlet._my_32_folder" does not match the expected package "jsp_servlet._my_37_20folder"
url: http://localhost:7001/MyWebApp/My Folder/my.jsp
IE7 is converting this url to http://localhost:7001/MyWebApp/My%20Folder/my.jsp
Same is working fine in Tomcat5.5.17
Any configuration is required in weblogic to access a url having space??
Thanks in Advance......
Ravi.Gudise.Ravi wrote:
I didnt get any respone to that thread, that is the reason why i posted in this forum alsoGeesh. At this part of the world, where the most smart users and welwilling forum contributors walk around, it was around 2:38AM in the late night/early morning and you expected response sooner than a few hours? How rude can you be? Please wait at least 24 hours before impatiently crossposting or kicking up topics. -
Load XML data from UNIX Server Directly into Relational Database Tables
Is there a way I can load data from an XML File into Oracle Tables , without having the Input XML file in some Oracle Server Directory. My XML File resides on UNIX Application server. And I need to directly load the data into Database tables. Without loading them into the Database Directory.
Also I am looking for a solution that would not load my Database much and effect other running processes. Can it be done using SQL Loader ?
Oracle Database Version is : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionThanks for your reply ,
Please would you quote an Example about : 'Load the file into that table using SQL*Loader' (From UNIX Server) Or instance of some existing thread that relates to my situation.
The Size of the File would be about 3 GB. For a similar requirement one of my peers Code which used XMLTABLE and XPATH Approach consumed a lot of resources while running and caused the other Database Applications to slow down. Thus those guys have come up with an approach to :
Parse XML using a C Code using some STRING Functions => For a CSV or Fixed width .dat file and then use SQL Loader to just load the file into Tables.
This approach is efficient in terms of Resources and Time(Takes 5 mins). But I am not confident about parsing XML based on String based C Functions.
Please comment about this approach . Also if possible Suggest the best efficient way of doing this. -
Ways to Configure Which UNIX Server a PC Client Application Communicates With
We have several different MS VC++ "fat client" applications that we want to run
on the same NT 4.0 PC.
Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
located on a UNIX server.
Each application needs to communicate with a different UNIX server (e.g., application
A1 needs Tuxedo
service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
on UNIX server
S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
individual application
controls which server it uses. One way to do that is through registry entries
specific to each application.
We are looking for some documentation or tips on other/better ways to configure
which server the PC
application communicates with. We are also looking for some documentation or
tips on how to best
configure an application that needs to subscribe to services from several different
servers (e.g.,
application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
S2). Thanks.Matt,
This sounds quite unusual, and I am not sure why you want to do things this way.
Generally, I would expect that the services would be distributed on the server side over
different boxes as you describe, but the location would be transparent to a client app.
which would tpinit once, and Tuxedo would route the requests appropriately. Maybe that's
not how you want to do things because the apps are all logically independent? I'm not
sure about that though, since you describe needing services on different servers in
individual clients... Can you do the integration at the back end?
To do what you describe, however, you need to control the value of the WSNADDR
environment variable before you call tpinit() - it is the network address in this
variable that tells the client libraries which server to connect to. Simply set the
value (from a command line parameter, the registry, an ini file or wherever) with the
tuxputenv() API before you call tpinit()
In Tuxedo 7.1 and higher, it is also possible to connect to multiple different servers
simultaneousy by calling tpinit multiple times and having multiple contexts in the
client.
I hope that helps.
Regards,
Peter.
Got a Question? Ask BEA at http://askbea.bea.com
The views expressed in this posting are solely those of the author, and BEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness of the
information provided
and assumes no duty to correct, expand upon, delete or update any of the
information contained in this posting.
Matt wrote:
We have several different MS VC++ "fat client" applications that we want to run
on the same NT 4.0 PC.
Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
located on a UNIX server.
Each application needs to communicate with a different UNIX server (e.g., application
A1 needs Tuxedo
service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
on UNIX server
S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
individual application
controls which server it uses. One way to do that is through registry entries
specific to each application.
We are looking for some documentation or tips on other/better ways to configure
which server the PC
application communicates with. We are also looking for some documentation or
tips on how to best
configure an application that needs to subscribe to services from several different
servers (e.g.,
application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
S2). Thanks. -
How to make jar with from java code for the filenames containing spaces
I tried to make jar file using Runtime.exec method . The filenames have spaces in it .So i gave the filenames in double quotes.It works fine with windows and also from the command prompt.But when i run the same code in unix box , it creates a jar file with no content.Pls give some solution. I used the jdk1.2.2
Pls give some solution. Pls post your code
Maybe you are looking for
-
The play order on my DVD is not the order that I brought them into the document. I don't understand how this can happen. I have 9 movies and some cannot be navigated to. I can't even play them unless I play it on a computer with a mouse. I guess that
-
Do we need to point clients to internal SUS with Caching on OSX Server
It's my understanding that devices (iOS and OSX) on the same local network will grab content from the Caching Service in OSX Server automatically without any configuration. If that is correct, do we need to point our managed clients to that server fo
-
Information about class athenticator
hello; i am developing an aplication that ask authenticatin from user so i want to know if i have to build the Jdialog that it will be sent to user or just call this methode getPasswordAuthentication() and just this methode wil return to me login and
-
Music player NOT supported?!
okay, so I got my 5800, and when I click the quick access "XpressMusic" button, then the music icon, It says "aknnfysrv: feature not supported!" And here I thought this phone is suppose to support xpressmusic... And I tried clicking on the music play
-
PRELIMINARY_POSTING_FB01 Cuatomer Expenses Park
Hi Experts, We are trying to use mentioned FM to park customer expenses in SAP. Required entry as follows. Expenses Account Dr....... To Customer Account ........Cr..... While using the mentioned FM,docuemnt has been parked and saved in VBKPF table