Accept system call possible errors on tcp server side
What are the possible errors which can be returned by accept sytem call
accept(m_socket, (sockaddr*)(&temp_add), &len);
Try
man -s3socket accept
man -s3xnet accept(There are two versions of the command.)
Similar Messages
-
Problems with accept () system call in Solaris 10
We are doing some prototyping in Solaris 10/Zones using TCP sockets and have encountered the problem the "accept" system call in Solaris 10 always seem to return immediately without waiting for clients to connect to it. The same program works fine under Solaris 9 without any problems.
So in the following call:
ssock = accept( sockfd, (struct sockaddr*)bind_address, &alen );
if( ssock < 0 )
printf( "Accept failed: ...\n" );
the program always prints "accept failed: " continuously. Is this a known issue?The problem only occurs when we use INADDR_ANY to bind a socket. The program works as expected when we use real as well as virtual IP address configured for an interface on any Solaris Zone. When we use INADDR_ANY, error number is 14 (EFAULT, Bad Address).
Just wondering if we need to make any configuration changes in order to allow INADDR_ANY to work. -
Error getting the server-side naming service functionality
Hi all,
we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
upload system (IMP) -> DEV -> ACC -> QAS -> PRD
I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
File import canceled
When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
Kind Regards,
Nico van der Linden...Hello Nico,
I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
#1172252: CTS+, 'attach file': Troubleshooting Guide;
#1003674: Enhancement for non-ABAP systems in CTS;
#1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
Pay special attention to parameter NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
I hope this information helps.
Best regards,
Tomas Black -
How can i dispaly an Error Message from Server Side To form
Hi All,
How can i dispaly an Error Message from Server Side To form side .
i try several ways nothing succed.
i put the error in stack and after call the procedure from form i added
Qms$Trans_Errors.Display_Messages;
and because it is an error not informantional error the error screen displayed and enter
in infinite loop acts like flashing .
can any one help me please i use C/S Headstart6i and Designer 6i
thanks alot
radihi,
thanks alot lauri.
yr code work only using information message but in error message its still the same .
the error window still flash and enter in infinite loop of executeing the same triggers.
thanks again
radi -
[ASK] Duplicated Error Message on server side validation
I want to use server-side validation instead of client-side validation for my input form as suggested by John Stageman, by:
1). set required=false
2). set showRequired=true
3). Ensure that the attribute is mandatory in the model layer
It seems to work, except that the error message displayed by <af:messages> is kinda weird bcause they are repeated, for example;
Attribute Attr1 in MyAM.MyView is required
Attribute Attr2 in MyAM.MyView is required
- Attribute Attr1 in MyAM.MyView is required
- Attribute Attr2 in MyAM.MyView is required
Attribute Attr1 in MyAM.MyView is required
Attribute Attr2 in MyAM.MyView is requiredand the number of reduplication seems growing each time I click the Save button.
besides, for "value required" validation, the component related error message is not displayed (the red message under the component).
Any clues?
Thanks..
@John : I decide to open it as new thread bcause it seems to be different question..Hi, thanks for your fast response Frank,
My page has several iterator binding and I have tried to set all of their refresh options as you suggested, but the problem still remains the same T_T
Maybe somewhere, someone has put some additional manual validation, bcause it is a team project, I still dont know where to find those phantom codes..
Regards,
from island of gods -
Error message during server side process
Bonjour,
In my application's method i call a standard r/3 function for created an order in IS-MEDIA.
In certain cases this function send an message id type 'E'.
This message causes the error: HTTP 500 - on my BSP page.
Is-it possible to avoid this ?
Best regards.check this thread
https://forums.sdn.sap.com/click.jspa?searchID=3157097&messageID=70898 -
How to make system call remotely?
i am working on client- server application i want to execute a system call on cllient machine from server how should i do it?
If by "system call" you mean Runtime.exec(), then
Runtime.getRuntime().exec(theCommand)The command needs to be sent from the client. And read this:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
Error :server-side naming service functionality during getInitialcontext op
Hi Friends,
I am trying out Java Proxies Scenario(Asynchronous).
I am facing problem with the following error:
<b>Error getting the server-side naming service functionality during getInitialContext operation.</b>
Please help out to solve the above problem.
Sudheer.Hi Sudheer
Check the following thread,
Re: Problems When recieving Jms messages from XI
cheers
Sameer -
Server-side naming service functionality
Dear all,
I have this problem on my JCA connection:
###Exception #1#com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:238)
at ...etc etc....
The problem is on this part of code:
public void doProcessBeforeOutput() throws PageException {
TestJCABean myBean = new TestJCABean();
myBean.setStr(remoteStr);
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
this.setForward("TestJCA.jsp");
I really don't understand, any suggestion regarding this?
I will apprecciate a lot.
VipaHi Ravi,
here my code, thanks for your help.
-----TESTJca.java
public class TestJCA extends PageProcessorComponent {
public DynPage getPage(){
return new TestJCADynPage();
public static class TestJCADynPage extends JSPDynPage{
private final static String LOGGER = "NameJCA";
private final static ILogger log = PortalRuntime.getLogger(LOGGER);
private String remoteStr = "";
public void doInitialization(){
//Accedo il portal component profile per ottente il valore del system alias configurato per l'iview
//MNT è stato configurato da portal e sul file xml
log.info(this, "[doInitialization()]comincio");
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext compContext = request.getComponentContext();
IPortalComponentProfile userProfile = compContext.getProfile();
//Ritorna MNT che ho aggiunto in portalapp.xml
String sys = userProfile.getProperty("System");
log.info(this, "[doInitialization()]valore del system alias: "sys"");
//Utilizza la funzione per la connessione al sys di backend e reperimento dell'info necessarie
remoteStr = getRemoteString(request, sys);
log.info(this, "[doInitialization()]remoteStr: "remoteStr"");
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
TestJCABean myBean = new TestJCABean();
myBean.setStr(remoteStr);
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
// fill your bean with data here...
//log.info(this, "[doInitialization()]Setto il nome della jsp");
this.setJspName("TestJCA.jsp");
//this.setForward("TestJCA.jsp");
//IResource jsp = request.getResource(IResource.JSP, "pagelet/bannerOriginalle.jsp");
//response.include(request, jsp);
@param pgContext
@param response
@param compBean
@param cubeName
@param templateID
private String getRemoteString(IPortalComponentRequest request, String sapSystem) {
IConnection connection = null;
try {
// get the Connector Gateway Service
Object connectorservice = PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
IConnectorGatewayService cgService = (IConnectorGatewayService) connectorservice;
if (cgService == null) {
log.info(this, "[getRemoteString()]Error in get Connector Gateway Service
try {
IUser user = request.getUser();
ConnectionProperties cp = new ConnectionProperties(user.getLocale(), user);
connection = cgService.getConnection(sapSystem, (ConnectionProperties) request);
} catch (Exception e) {
log.severe(this, "[getRemoteString()]Connection to SAP system failed. Exception:" +e.getLocalizedMessage());
if (connection == null) {
log.info(this, "[getRemoteString()]Connection is null
} else {
log.info(this, "[getRemoteString()]Connection succesful");
} catch (Exception e) {
log.severe(this, "[getRemoteString()]Exception occured. Exception:" +e.getLocalizedMessage());
log.info(this, "[getRemoteString()]Iview: runFunction");
try {
// Get the Interaction interface for executing the command
IInteraction ix = connection.createInteractionEx();
// Get interaction spec and set the name of the command to run
IInteractionSpec ixspec = ix.getInteractionSpec();
//String functionName = "Z_ESTRAIDATA";
String functionName = "RPL_CUSTOMER_NAME_GET";
// Put Function Name into interaction Properties.
ixspec.setPropertyValue("Name", functionName);
// return structure - dovrebbe essere il nome del parametro di export della funzione
//cambiarlo di conseguenza
//String function_out = "ERRORE";
String function_out = "PE_NAME1";
String function_in_value = "1000010001";
RecordFactory rf = ix.getRecordFactory();
MappedRecord input = rf.createMappedRecord("input");
// put function input parameters
// input.put("ZSC_CUBE", cubeName);
// input.put("ZSC_PERVAL", selection);
// input.put("ZSC_UTENTE", user.getLogonUid());
input.put("PI_KUNNR", function_in_value);
//ottengo l'oggetto che mi rappresenta l'output della funzione
//lancio la RFM
MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
Object rs = null;
try {
Object result = output.get(function_out);
if (result == null) {
rs = new String(" ");
} else if (result instanceof IRecordSet) {
rs = (IRecordSet) result;
log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
return rs.toString();
// Do need all type here ?
else {
rs = result.toString();
log.info(this, "[getRemoteString()]rs ritornato: " + rs.toString());
return rs.toString();
} catch (Exception ex) {
log.severe(ex, "[getRemoteString()]Error getting function result. Exception:" +ex.getLocalizedMessage());
log.info(this, "[getRemoteString()]Codice errore ritornato: " + rs.toString());
} catch (Exception e) {
log.severe(e, "[getRemoteString()]Error getting function interaction. Exception:" +e.getLocalizedMessage());
return null;
-----TESTJcaBean.java
package ... ... ... ...
import java.io.Serializable;
public class TestJCABean implements Serializable {
private String str;
@return
public String getStr() {
return str;
@param string
public void setStr(String string) {
str = string; -
Updating form with server-side scripts
Hi
For security reasons, we want to do a web service call with only server side scripts. That way we have full control over the access to the wsdl and no problems with the security.
However, if I try to run the scripts on server-side I get no update of the data in the form... so what to do to solve that problem? Anybody with experience from that?To make a small update I've been messing around with various different things to be able to achieve the goal. One of the initial problems was that the Designer actually manages to create two different SOAP addresses, one of them is the correct and secure way and the other one is direct to the data source, which would be an unsecure and blocked route. That changed things a bit when I realized that.
But still, the problem remains. If I run the script Client-Side, it works but is not an acceptable solution. If I run it Server-Side, it can't read the data and doesn't recognize the call to SOAP.connect()...
Does anybody have any experience in webb service connection with server side scripts? -
Reappears Missing Server Side Dependencies in Sharepoint Foundation 2013 Health Analyzer
Hi all,
I am a little bit confused why I am getting missing server side dependencies again and again. The missing server side dependencies shows the errors of "MissingSetupFiles". When I click on "Reanalyze Now" button,
the error vanishes from the Health Analyzer page. But after one day it reappears again and shows "Missing Server Side Dependencies", When I again click on "Reanalyze Now" the error of "Missing Server Side Dependencies" goes
away.
But after one or two days, the error comes up again.
Can you please help me why this is happening.
Thanks for help.Hi Vishwajeet,
You are able to use SharePoint Feature Administration from Codeplex to clean up the Missing Features. You can do it by clicking here.
Also , you are able to use PowerShell to resolve it. More detailed information, click here.
Here are some similar posts for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/cc0b3ac7-1eb7-4e5b-9334-8c556e4c8b23/test-spcontentdatabase-errors-in-sharepoint-2010
http://www.jeffscorner.org/blog/post/SharePoint-2013-%E2%80%93-Missing-server-side-dependencies-%E2%80%93-MissingWebPart-Webpart-class.aspx
http://www.heyweb.net/2011/08/fixing-missing-server-side-dependencies-missingfeature/
I hope this helps.
Thanks,
Ketak -
Write to text file without server side
Hi,
I need to write data into a text file for saving data from my
flash movie, but I didn't have the possibility to use a
server-side.
Because my flash movies are stored on a CD and it must be
compatible with Windows and MacOS.
Is it possible to write data into a text file?
If no, can I use a third party software? Which one?
Regards
YamNetA SharedObject might work for you. Otherwise, you'll need a
'wrapper' app.
Adobe's own Director works very well for this, and AIR would
work as well.
There are also a good number of 3rd party apps, such as Zinc
and others.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
OWB 9.2.0.2.8 Server Side Install Run Time Assistant Components
Hi all,
I have Oracle 9.2. on a Solaris/ Sun server.
I have installed OWB 9.2.0.2.8 on the client desktop running WinXP.
After installing the Design Repository I was installing the Run Time assistant when I had the INS0034 error, requiring that server side components be installed first. So after going back to the installer I used the "Install Server Side option" which actually installed software to my windows Oracle home ??? After that still had the INS0034 error.
My question is. Do I need to use the OWB for Solaris disk and access the Sun server console to install the server side components ? I'm confused as I already have the OWB disk for Windows which is where I would like to install the client.
So not sure where to from here.
Get Solaris version of OWB and install on Sun Server ? Or have I missed an obvious option with the Windows install disk ?
Any help would be appreciated ... Project is stalled at this point.
Regards
NickHi Nick,
We have a similar configuration on my project. You will need to use the OWB for solaris disk if you intend to use OWB to deploy any object or run any mappings. OWB will need to be installed on any Sun server that you will be deploying your warehouse to (not necessarily where the OWB design repository is).
Run the installation from the Sun server console and choose the "Install Sun Server Side option". Once installed, you will also need to run the Runtime Assistant from the server console. Select the option to install the Runtime Repository. This ensure that the Runtime Platform Service is running. Without that you'll have trouble running the Deployment Manager.
Check out sections 2.5 and 2.6 of the Installation and Configuration guide for more details.
Cheers
Dave -
I fail to start the sap server with error:Operating system call recv failed
I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
R/3 Basis System: Operating system call recv failed (error no. 10053)
Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.trc file: "dev_disp", trc level: 1, release: "620"
Sun May 07 13:14:30 2000
kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
length of sys_adm_ext is 304 bytes
systemid 560 (PC with Windows NT)
relno 6200
patchlevel 0
patchno 674
intno 20020600
pid 3628
***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c 978]
shared lib "dw_xml.dll" version 674 successfully loaded
shared lib "dw_xtc.dll" version 674 successfully loaded
shared lib "dw_stl.dll" version 674 successfully loaded
Sun May 07 13:14:32 2000
WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
Sun May 07 13:14:37 2000
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3212]
MtxInit: -2 0 0
DpShMCreate: sizeof(wp_adm) 12784 (752)
DpShMCreate: sizeof(tm_adm) 1690816 (8412)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 192000 (384)
DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
DpShMCreate: SHM_DP_ADM_KEY (addr: 001E0040, size: 1977824)
DpShMCreate: allocated sys_adm at 001E0040
DpShMCreate: allocated wp_adm at 001E0560
DpShMCreate: allocated tm_adm_list at 001E3750
DpShMCreate: allocated tm_adm at 001E3778
DpShMCreate: allocated wp_ca_adm at 00380438
DpShMCreate: allocated appc_ca_adm at 00384A88
DpShMCreate: allocated comm_adm_list at 003861F8
DpShMCreate: allocated comm_adm at 00386210
DpShMCreate: allocated ca_info at 003B5010
DpShMCreate: allocated wall_adm at 003B5018
MBUF state OFF
Sun May 07 13:14:38 2000
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation std
<EsNT> Memory Reset enabled as NT default
<EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
<ES> 2457 blocks reserved for free list.
ES initialized.
***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c 9115]
CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6200, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 941]
DpMsgAdmin: Set patchno for this platform to 674
Release check o.K.
Sun May 07 13:15:18 2000
ERROR => W2 (pid 4776) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W2
Sun May 07 13:15:38 2000
ERROR => W5 (pid 4548) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W5
ERROR => W8 (pid 4592) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W8
ERROR => W9 (pid 4584) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W9
ERROR => W12 (pid 4676) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W12
ERROR => W13 (pid 4272) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W13
my types changed after wp death/restart 0xbf --> 0xb7
Sun May 07 13:15:58 2000
ERROR => W4 (pid 4888) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W4
ERROR => W6 (pid 4788) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W6
ERROR => W15 (pid 4596) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W15
Sun May 07 13:16:18 2000
ERROR => W1 (pid 4892) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W1
ERROR => W3 (pid 4904) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W3
ERROR => W7 (pid 4000) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W7
ERROR => W10 (pid 4864) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W10
my types changed after wp death/restart 0xb7 --> 0xb5
Sun May 07 13:16:38 2000
ERROR => W0 (pid 4900) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W0
ERROR => W11 (pid 4500) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W11
ERROR => W14 (pid 4636) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W14
ERROR => W16 (pid 3532) died [dpxxdisp.c 11523]
force unlock of wp_adm mutex W16
my types changed after wp death/restart 0xb5 --> 0x80
DP_FATAL_ERROR => DpEnvCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
DpModState: change server state from STARTING to SHUTDOWN
Sun May 07 13:16:42 2000
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 9341]
MBUF state OFF
MBUF component DOWN
***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c 7883] -
Error message from the source system, Caller 09 contains an error message.
Hi,
Guru's, i got an error massage when my process chain is running(Daily) in BIW 7.0, the error got in Data Loading from source to PSA or data targets. The errors having the below details
Error message from the source system
Diagnosis
An error occurred in the source system.
System Response
Caller 09 contains an error message.
Further analysis:
The error occurred in Extractor .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request. "
Can any body help me out of this situation what to do and how to resolv ethe problem.
Thanks and Regards,.
Taps....Caller 09 is a very common issue - please search the forums before posting....
Arun
Maybe you are looking for
-
Open letter to people who complain about not recei...
Dear fellow Nokia phone geeks, Hi and how are you. Let me start by saying I mean no disrespect to JimmyIreland, who's open letter was thoughtful and fair, but I despise "open letters" because they are the work of individuals who think they speak for
-
I would like to become an Apple user but before I pull the trigger to buy an Imac, I would like to know who provides a good dial up service. I live in Franklin, Wis. I was told AOL & Earthlink support Mac but is there anything else out there? I'm ask
-
Hi all, Is it possible to sort by a memo type field in WCC? Suppose I have a new custom metadata of type memo and I want to be able to sort by this metadata, what is it that I should do? I know how to enable sorting in the WCC browser interface but t
-
Is it possible to add new character set encodings?
Hello, is it possible to add new character set encodings in Mac OS? Practically, i need to add "Russian (DOS)" encoding to Tiger, but is it at all possible even in newer versions of Mac OS? Where to find the missing encodings and how to install them?
-
The most bizarre activity ever in CS5...HELP!
We yesterday have just upgraded all our Macs from CS4 Design Standard to CS5 Design Standard. We were running smoothly all afternoon but now we've encountered really strange faults now we have turned our machines on this morning. I'll try to list the