JCO Callbacks
Is it possible using JD and OAS 4.0 to do callbacks from the JCO.
If it is please would you give a simple example e.g.
client registers with JCO. Then JCO calls a sendmessage("hello")
method call to the client.
Apologies if this is not the correct group, Please point me in
the right Direction.
Thanks
Dave
null
mark tomlinson (guest) wrote:
: This was brought up internally a bit earlier, here is what the
: response was from the OAS group:
: "At the moment we do not provide a notification mechanism.
: Clients are defined to act in a request response kind of
manner.
: Looking into the future and the move to EJB, there is no
: callback mechanism there either, at least not in the tipical
: CORBA way. The proposal there is to use JMS (messaging) as the
: way to deal with notifications.
: So I do not think that callbacks will be in the picture any
time
: soon. The only posibility is to do polling in order to check if
: the notification has arrived."
Please correct me if I'm wrong but I thought you in CORBA had
both synchronoys and asynchronous method invocation (with
callback of notification)?
null
Similar Messages
-
Hi,
I'm not sure if there may be a better forum for my problem as I'm not using JCO on an application server (but I couldn't find a better one).
I'm currently trying to call some function modules that use callbacks. in order to have a easy understandable example I tried to call the function "STFC_CONNECTION_BACK". Well, as soon as I request a callback the program terminates with some kind of error (the error itself doesn't help me).
Has anybode here ever tried to implement necessary RFC-Callbacks using JCO? I'm curious that i couldn't find any documentation about callbacks regarding JCO while LIBRFC or .NET-Connector seem to cover that topic.
Any helpful answer will be rewarded,
thanks in advance,
MichaelHi,
After getting the value list from the r/3 you need to addthe value list into an arraylist and then set the arraylist in the application scope.
Now use the html:options collection tag :
eg
<html:select property="selectedItem"> <html:options collection="customers" value="id" label="name" /></html:select>
Where customers is the bean name.
This is will solve the problem
Thanks
Ritu -
Problems with Unicode in extending JCo with JNI/librfc
Hello,
Problem:
We are using JCo for communication with a SAP-System. We have an extension written in C using JNI for handling callbacks. Let's call it cb.dll.
This extension is not unicode enabled. Now we have to connect to an unicode SAP-System. We do it with JCo, so the connection is in unicode mode. The result is, that our cb.dll does not work.
If you want to enable the dll to handle unicode, the last step beside reengineering the C-code, is to link it against the librfc32u.dll.
But then the communication in the cb.dll with SAP does not work, because the initial connection was made with JCo an JCo is using librfc32.dll. The cb.dll uses the RFC-handle from JCo.
Question:
How communicates JCo with a unicode SAP-System using librfc32 (non unicode) ?
How can I use this method for our own dll ?
thanks in advanceThe current settings are
select * from nls_database_parameters
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.1.0.3.0
20 rows selected
I use NVARCHAR2 as Datatype.
My problem is as follows ...
I use the oracle Table as external Data Table in Access. When I copy a russian text from an Access Table in the oracle Table I see only ??????. In the Access Table I see the correct russian text. -
Integrate BI7.0 to EP6.0 step12 failure with "Unsupported callback"
I met a problem when i Integrate BI7.0 to EP6.0 at step 12 in the report RSPOR_SETUP, that is "System failure". Then i use diagtool (see note 957666) to check, find that the first error is "Authentication stack: evaluate_assertion_ticket]. [EXCEPTION] javax.security.auth.callback.UnsupportedCallbackException: Unsupported callback! ", and then login successful, but then getLoggedInUser:no user, so Re-authentication, because there is no ticket, so at the end the System failure.
Why Unsupported callback?
Thanks!
==========content of the log file====================
10/17/2007 11:38:34:970 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.imp.AbstractUserAccount][md=constructor][cl=20636] exiting
10/17/2007 11:38:34:970 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] exiting
10/17/2007 11:38:34:970 Info Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas SAP Authentication Assertion Ticket contains authentication scheme [default]. Authentication stack: [evaluate_assertion_ticket].
10/17/2007 11:38:34:970 Error Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Authentication stack: [evaluate_assertion_ticket].
[EXCEPTION]
javax.security.auth.callback.UnsupportedCallbackException: Unsupported callback!
at com.sap.engine.services.rfcengine.security.impl.RFCCallbackHandlerImpl.handle(RFCCallbackHandlerImpl.java:49)
at javax.security.auth.login.LoginContext$5.run(LoginContext.java:836)
at java.security.AccessController.doPrivileged(AccessController.java:260)
at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:832)
at com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule.removeSSOHeader(EvaluateAssertionTicketLoginModule.java:739)
at com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule.login(EvaluateAssertionTicketLoginModule.java:390)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:154)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:69)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:170)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:60)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
10/17/2007 11:38:34:971 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with true
10/17/2007 11:38:34:972 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.commit() Entering method
10/17/2007 11:38:34:972 Info Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Added principal [Administrator] of class [class java.lang.String] to Subject.
10/17/2007 11:38:34:973 Debug Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas SAP Authentication Assertion Ticket added to private credentials.
10/17/2007 11:38:34:973 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with true
10/17/2007 11:38:34:973 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] entering
10/17/2007 11:38:34:973 Debug Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] Found uniqueID for logonId Administrator
10/17/2007 11:38:34:973 Path Guest SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] exiting
10/17/2007 11:38:34:974 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.security.authentication.logincontext LOGIN.OK
User: Administrator
Authentication Stack: evaluate_assertion_ticket
Login Module Flag Initialize Login Commit Abort Details
com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule REQUIRED ok true true
Central Checks true
10/17/2007 11:38:34:976 Info Administrator SAPEngine_Application_Thread[impl:3]_16 System.out handleRequest(RSWR_RFC_SERVICE_TEST)
10/17/2007 11:38:34:976 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.portal.RFCLogger [RFCEngineService]: handleEvent RSWR_RFC_SERVICE_TEST
10/17/2007 11:38:34:977 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.logon.imp.SAPJ2EEAuthenticator][md=getLoggedInUser][cl=20979] no user in session, relogin
10/17/2007 11:38:34:977 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.security Re-authentication requested.
10/17/2007 11:38:34:978 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@52ba52ba)
10/17/2007 11:38:34:978 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [ticket] authentication stack are: [{ume.configuration.active=true, trustediss1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN, trustedsys1=BT1,135, trusteddn1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN}].
10/17/2007 11:38:34:978 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.constructor(Map, Properties, boolean) Entering method with ({System-ID=ES1, sap.security.auth.configuration.name=ticket, sap.security.auth.context.object=Security Context : session (621) for Administrator created at Wed Oct 17 11:38:34 CST 2007}, <null>)
10/17/2007 11:38:34:978 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas got [ume.configuration.active]: [true]
10/17/2007 11:38:34:979 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@ea10ea1
10/17/2007 11:38:34:979 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.getMergedOptions() Entering method
10/17/2007 11:38:34:979 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@192f192f
10/17/2007 11:38:34:979 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [ticket] authentication stack after merge with UME properties are: [{ume.configuration.active=true, trustediss1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN, system=ES1, client=000, j_authscheme=basicauthentication, inclcert=0, trusteddn1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, trustedsys1=BT1,135, password=}].
10/17/2007 11:38:34:980 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of EvaluateTicketLoginModule in [ticket] authentication stack after adding the default values are: [{ume.configuration.active=true, trustediss1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN, system=ES1, client=000, j_authscheme=basicauthentication, inclcert=0, trusteddn1=CN=BT1,OU=I0020106605,OU=SAP Web AS,O=SAP Trust Community,C=CN, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, sap.security.auth.configuration.name=ticket, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, trustedsys1=BT1,135, password=}].
10/17/2007 11:38:34:980 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method
10/17/2007 11:38:34:981 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.initialize() Entering method with (Subject:
, javax.security.auth.login.LoginContext$SecureCallbackHandler@52ba52ba, {System-ID=ES1, sap.security.auth.configuration.name=ticket, sap.security.auth.context.object=Security Context : session (621) for Administrator created at Wed Oct 17 11:38:34 CST 2007}, {ume.configuration.active=true})
10/17/2007 11:38:34:981 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [ticket] authentication stack are: [{ume.configuration.active=true}].
10/17/2007 11:38:34:981 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.constructor(Map, Properties, boolean) Entering method with ({System-ID=ES1, sap.security.auth.configuration.name=ticket, sap.security.auth.context.object=Security Context : session (621) for Administrator created at Wed Oct 17 11:38:34 CST 2007}, <null>)
10/17/2007 11:38:34:981 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas got [ume.configuration.active]: [true]
10/17/2007 11:38:34:981 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@43064306
10/17/2007 11:38:34:981 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.getMergedOptions() Entering method
10/17/2007 11:38:34:981 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with [Ljava.lang.Object;@65816581
10/17/2007 11:38:34:982 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [ticket] authentication stack after merge with UME properties are: [{ume.configuration.active=true, system=ES1, client=000, j_authscheme=basicauthentication, inclcert=0, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, password=}].
10/17/2007 11:38:34:982 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas The options of CreateTicketLoginModule in [ticket] authentication stack after adding the default values are: [{ume.configuration.active=true, system=ES1, client=000, j_authscheme=basicauthentication, inclcert=0, ume.logon.httponlycookie=TRUE, alias=SAPLogonTicketKeypair, sap.security.auth.configuration.name=ticket, ume.logon.security.enforce_secure_cookie=FALSE, validity=8, keystore=TicketKeystore, password=}].
10/17/2007 11:38:34:982 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method
10/17/2007 11:38:34:982 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.login() Entering method
10/17/2007 11:38:34:982 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Received no SAPLogonTicket. Authentication stack: [ticket].
10/17/2007 11:38:34:982 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with <null>
10/17/2007 11:38:34:983 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.security No user name provided.
10/17/2007 11:38:34:985 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.login() Entering method
10/17/2007 11:38:34:985 Info Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas No authenticated user found.
10/17/2007 11:38:34:985 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with false
10/17/2007 11:38:34:985 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.security Unsuccessful login: no login module succeeded. The size of the used authentication stack ticket is 3.
10/17/2007 11:38:34:987 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.security Exception : No login module succeeded.
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1141)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:253)
at com.sap.engine.services.security.exceptions.BaseLoginException.<init>(BaseLoginException.java:134)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:190)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:170)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:86)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:303)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.retrieveUser(RFCEngineService.java:330)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:225)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:118)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
10/17/2007 11:38:34:988 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.abort() Entering method
10/17/2007 11:38:34:988 Debug Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Internal Login Module data has been reset.
10/17/2007 11:38:34:988 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with true
10/17/2007 11:38:34:988 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas.abort() Entering method
10/17/2007 11:38:34:988 Path Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.server.jaas Exiting method with true
10/17/2007 11:38:34:989 Warning Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.security.core.imp.[cf=com.sap.security.core.logon.imp.SAPJ2EEAuthenticator][md=getLoggedInUser][cl=20979] null
[EXCEPTION]
com.sap.engine.services.security.exceptions.BaseLoginException: No login module succeeded.
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:190)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:170)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:86)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:303)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.retrieveUser(RFCEngineService.java:330)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:225)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:118)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
10/17/2007 11:38:35:005 Error Administrator SAPEngine_Application_Thread[impl:3]_16 com.sap.engine.services.ejb
[EXCEPTION]
com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method processFunction.
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:127)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.lang.NullPointerException
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:315)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.retrieveUser(RFCEngineService.java:330)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:225)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:118)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
10/17/2007 11:38:35:007 Error n/a Thread[JCO.ServerThread-5,5,SAPEngine_System_Thread[impl:5]_Group] com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal() com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method processFunction.
10/17/2007 11:38:35:007 Error n/a Thread[JCO.ServerThread-5,5,SAPEngine_System_Thread[impl:5]_Group] com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal() com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method processFunction.
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:127)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.lang.NullPointerException
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:315)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.retrieveUser(RFCEngineService.java:330)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:225)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0.processFunction(PRTRFCRemoteObjectImpl0.java:118)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy77.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:100)
at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113)
at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
10/17/2007 11:38:37:074 Path Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] entering
10/17/2007 11:38:37:074 Debug Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] Found uniqueID for logonId Guest
10/17/2007 11:38:37:075 Path Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] exiting
10/17/2007 11:38:37:076 Path Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] entering
10/17/2007 11:38:37:076 Debug Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] Found uniqueID for logonId Guest
10/17/2007 11:38:37:076 Path Guest Thread[JMSPolling,5,SAPEngine_Application_Thread[impl:3]_Group] com.sap.security.core.imp.[cf=com.sap.security.core.imp.UserAccountFactory][md=getUserAccountByLogonId][cl=20636] exiting
[Info] Oct 17, 2007 11:48:28 AM Total: 189 log recordsHi,
Check these.
http://help.sap.com/saphelp_nw04s/helpdata/en/a3/7b583c2439e66fe10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a
/thread/826292 [original link is broken]
/message/3945089#3945089 [original link is broken]
Configuring EP for connecting to BW
Regards. -
JCo client calls as background processes (avoiding timeouts)
Hi Guys!
Could you please assist us to resolve a simple issue:
Our JCo Client call takes sometimes longer than the given timout for sap dialog processes (so, it's now clear, the jco client simply uses the dialog processes and not something smarter/more flexible).
My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?
Is also a JCo server component needed to implement some callback functionality from SAP system by using the tRFC, or it could be enough to poll the server and implement the timeout on the client level (it could be for us the best solution if we realy must use the tRFC).
Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout. The tRFC is not necessary by use cases now.
Any help would be appreciated!
Many thanks, GenaHi Gena,
so, it's now clear, the jco client simply uses the dialog processes and not something smarter/more flexible
Well, that's a feature of the underlying RFC protocol: All RFC calls are executed in dialog work processes, thus also the runtime limitations for dialog processes apply.
My question is, ho to entice the jco client call to run without runtime timeout and take as long time as necessary. If the only possibility is, to use the tRFC, does anybody have an example for tRFC usage from JCo Client?
The JCo client cannot do anything about it, it's a profile parameter in SAP, i.e. rdisp/max_wprun_time. But as this parameter applies to all dialog processes (so dialog users and RFC calls), so it shouldn't be changed to make a single RFC application work. Anyhow, tRFC won't help you in this case, because all RFC calls are processed in a dialog process no matter of the type of RFC.
Once again, we want to run the JCo client calls unlimited time (as long as needed) without the annoying dialog process timeout.
Impossible without making any changes in SAP. In theory one could modify the RFC function so that it resets the "runtime counter" and thus having the capability to run longer than rdisp/max_wprun_time. I'd recommend though not to do that, especially since a very long running RFC seems rather questionable. Long running tasks should be processed in background.
Cheers, harald -
An error has occurred:Invalid postback or callback argument in InfoView
Hi Friends,
When i try to change the parameter values and click OK button while scheduling a report in InfoView, i am getting the following error:
An error has occurred:Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager. RegisterForEventValidation method in order to register the postback or callback data for validation.
Till now i have not find any good solution for this. Please help in providing any better solutions to fix this.
Edited by: Shivananda Puli on Aug 6, 2010 11:55 AM
Edited by: Shivananda Puli on Aug 6, 2010 11:55 AMThis forum is for questions in regards to using the SDK within a custom application, since you are using Infoview, please post this in the applicable forum under the [Business Objects|/community [original link is broken]; section
-
Error while selecting Load Balancing in JCO creation
While creating JCO i am facing this error.It is working fine with Single server connection,but when i chose Load balancing i error comes out.Please tell me the solution.
I have read couples of forum mentioned you need to start both Portal and ECC.
For you information my Portal and Java are both on diffrrent Box.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=olameccpdvr GROUP=PUBLIC R3NAME=DVR MSSERV=sapmsDVR PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsDVR' unknown TIME Thu Feb 24 12:19:54 201 RELEASE 701 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 5Is your backend system configured correctly in your SLD ?
Go to transaction SMMS on your backend system that your are connecting to. Click on Goto=>Parameters=>Display. Look for "server port" value.
This should give you the TCP/IP port for your message server. It could be 3600 or 3601 (36NN - where NN is the instance number).
In your services file, if you made the entry at the end of the file, press Enter (Return) after your entry.
Try restarting your server after making the above changes.
- Shanti -
Error in creation of JCO with Load balancing server
Hi,
We are using a ABAP user base for our WEBAS server 6.40 (with ABAP+JAVA). i have created a Public group in concerned ECC 5.0 system. I have already configured SLD, and then i maintain data supplier bridge in SLD and run RZ70 in ECC 5.0 system to load system information.. i can see details in SLD ..
now i am trying to create JCO connections .. here i am unable to create JCO with load balancing option.. i get
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=<servername> GROUP=PUBLIC R3NAME=SID MSSERV=sapms<SID> PCS=1 ERROR service 'sapms<SID>' unknown TIME Fri Jun 16 12:41:20 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 MODULE ninti.c LINE 505 DETAIL NiPGetServByName2: service 'sapms<SID>' not found SYSTEM CALL getservbyname_r COUNTER 1
i am able to create single server JCO, but it fails in load balancing.. is there anything i have missed out in settings...
Thanks and regards,
SudhirThanks, Bogdan Rokosa
I have the same problem,and solved it following the steps provided by Bogdan Rokosa :
you must insert an entry for your R3 system
(like: sapms<SID> 3600/tcp)
in services file
(C:\WINDOWS\system32\drivers\etc\services) on Java WAS.
I test the Jco successful without restart J2EE Engine. -
Hi All,
After two years of CTS+ working without issue, in the last fortnight JCO_ERROR_LOGON_FAILURE has occurred. I have reviewed all the configuration in document http://scn.sap.com/doc/DOC-30177, and it all looks fine. The user configured also checks out fine as well. The user id that is causing all the trouble is CTS_<SID>. We chose this option so we could determine which user in case of future issues. We have two development paths, Project and BAU. So at anyone time transports that have started in the BAU development system will need to be imported into the Project development system (using transport express) and vice versa. Attached is the security authentication log from the system showing authentication failure. I have also checked the transport routes defined for the business systems in the SLD and these look fine as well. Roles assigned to the user are SAP_CTS_PLUS,
SAP_J2EE_ADMIN, SAP_XI_CMS_SERV_USER, SAP_XI_CONFIGURATOR, SAP_XI_DEVELOPER, Z_CTS_PLUS_ADDITIONAL. I have also checked the permissions on the file at the operating system level.
Any suggestions/advice gratefully received as this really has me scratching my head.
Log:
!REPOSITORY_ERROR_CHECK_STACKTRACE!
[EXCEPTION]
com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon) on DXI mshost strsap31
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:662)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1364)
at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:731)
at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)
at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:293)
at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)
at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:262)
at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:509)
at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:533)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:30)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:603)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:27)
at com.sap.cts.jco.tms.TmsJCoAdapter.initializeJCo(TmsJCoAdapter.java:76)
at com.sap.cts.jco.tms.TmsJCoAdapter.<init>(TmsJCoAdapter.java:57)
at com.sap.cts.jco.EpsFileReader.<init>(EpsFileReader.java:76)
at com.sap.cts.jco.EpsFileReaderController.doImport(EpsFileReaderController.java:90)
at com.sap.cts.core.ImportManager.execImport(ImportManager.java:102)
at com.sap.cts.ejb.DeployBean.execImport(DeployBean.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: RfcException: [null]
message: Name or password is incorrect (repeat logon) on DXI mshost strsap31
Return code: RFC_SYS_EXCEPTION(3)
error group: 103
key: RFC_ERROR_LOGON_FAILURE
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:219)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1331)
... 87 more
Caused by: RfcException: [DXI|strsap31]
message: Name or password is incorrect (repeat logon)
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
Exception raised by DXI|strsap31
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2034)
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:187)
... 88 more
Caused by: com.sap.conn.rfc.exceptions.RfcGetException: Name or password is incorrect (repeat logon)
at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1157)
at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)
at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)
at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1981)
... 89 moreUser id missing in client 000
-
Hi Everyone
My Connection Pool parameters JCO api.
client=300
user=SISGERAL_RFC
passwd=******
ashost=14.29.3.120
sysnr=00
size=10
I have these parameters on my Connection Pool and sometimes appear these wrongs in my application:
1.
2006-01-07 13:20:37,414 ERROR com.tel.webapp.framework.SAPDataSource - ##### Time limit exceeded. LOCALIZED MESSAGE = Time limit exceeded. KEY = RFC_ERROR_SYSTEM_FAILURE GROUP = 104 TOSTRING = com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Time limit exceeded.
2.
2006-01-07 14:01:31,007 ERROR com.tel.webapp.framework.SapPoolConnectionManager - Timeout
Id like to know if is happening.
Are there something wrong with my connection pool?
What can be happening?
ThanksRaghu,
Thanks for your response.
Yes, the pool connections are in place according to the sAP note mentioned above.
Regards,
Faisal -
JCO connection pool is exhausted
hi
I am using RFC module in my web dynpro application. When the application is used for sometime, the JCO connection will get exhusted. The JCO connection will not release itself. I can't find any method in web dynpro to release the connection manually. How can I solve this problem?Hi,
What is scope of the connection. View properties of MODELDATA and METADATA destinations.
You can change the scope of the connection..
or
wdContext.current<BAPI INPUT>Element().modelObject().modelInstance().disconnectIfAlive();
For more ways , give a forum search.. There are a lot of close forum posts.. Gud luc..
Regards
Bharathwaj -
Problem with JCo Connection Pool
Hi,
I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.Hello,
You need to increase the pool size via Visual Administrator.
Server 0 -> Services -> JCO RFC Connections.
Change the pool size from there. I believe a restart is in order.
Regards,
Jan -
Hi All,
Can anyone help me to connect to SAP from JCO using logon group....appericate if you can give some example such as sample code on how to connect using logon group. Its is urgent.
thanks!
prabHi Pardeep,
Thanks a lot!!!
It seems now the connection is working. I passed the parameters u have told and now I am not getting any connection error.When I print
System.out.println(myClient.getAttributes());
It returns me the following with correct IP address:
OWN_HOST: bpcbz6n
PARTNER_HOST: 172.30.xxx.xxx
SYSTNR: 02
SYSID: TS1
CLIENT: 203
USER: CPIC-DIS-BPC
LANGUAGE: E
ISO_LANGUAGE: EN
OWN_CODEPAGE: 1100
OWN_CHARSET: ISO8859_1
OWN_ENCODING: ISO-8859-1
OWN_BYTES_PER_CHAR: 1
PARTNER_CODEPAGE: 1100
PARTNER_CHARSET: ISO8859_1
PARTNER_ENCODING: ISO-8859-1
PARNER_BYTES_PER_CHAR: 1
OWN_REL: 640
PARTNER_REL: 620
PARTNER_TYPE: 3
KERNEL_REL: 640
TRACE:
RFC_ROLE: C
OWN_TYPE: E
CPIC_CONVID: 385948
So this means connection is working?
But when I call the RFC, it is returning me null value. When I call the following RFC, the functionTemplate instance is returning the "null" value. What can be the cause of it?This RFC exists in the SAP. I hope connection is working?
IFunctionTemplate functionTemplate = aRepository.getFunctionTemplate("Z_RFC_PLANTS");
thanks! -
Adaptive RFC 2 gives error: com/sap/ide/jco/service/internal/R3Service
Hi,
I've run into the following problem about NWDS. This happens as I create a Model. It appears there is a new version of the Adaptive RFC Model, which is called Adaptive RFC 2 Model.
1. Right click on Models, and select Create.
2. Double Click on Adaptive RFC 2 Model
3. The error pops up. It says "An error has occurred. See error log for more details. java.lang.NoClassDefFoundError". Then if you click details you get "An error has occurred. See error log for more details. com/sap/ide/jco/service/internal/R3Service "
If you know which log to have a look, or what this error is about please let me know urgently. Any help if much appreciated.
Thanks,
Ogeday IsiklarHi,
I am also getting same problem. Waiting for solution
Regards,
Pradeep Kumar -
Hi,
I am having an issue with SAP adapter configuration. It throws below error in log files :
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin]
java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
Invoking SAP targets from bpel or iwafjca test servlet fails with "java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO."
I am able to connect from Application Explorer(AE) and browse through idocs and bapis. I tried to check the class loading pattern for AE using Jconsole :
1. Started the AE
2. /opt/apps/Oracle/jdk1.6.0_19/bin/jps
15279 BseFlashScreen
3. /opt/apps/Oracle/jdk1.6.0_19/bin/jconsole 15279
Enabled verbose output on class loading page and connected to SAP target from AE
4. The verbose output shows below :
Loaded com.sap.mw.jco.JCO from file:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib/sapjco.jar
I have added the above path to my LD_LIBRARY_PATH
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
I also added the path to WEBLOGIC_CLASSPATH in commEnv.sh file.
The sapjco.jar, libsapjcorfc.so and librfccm.so files are also available under below directories
WL_HOME/server/lib
MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
MW_HOME/user_projects/domains/base_domain/lib
Any suggestions will be really helpful.
Regards
SubhankarHi Manoj,
I have added the libsapjcorfc.so and librfccm.so files to below locations:
WL_HOME/server/lib
MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
MW_HOME/user_projects/domains/base_domain/lib
And also set the LD_LIBRARY_PATH and WEBLOGIC_CLASSPATH in commEnv.sh file.
Eg:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
Is there any other location where these need to be added ? I hope library path/system path refers to the WEBLOGIC_CLASSPATH ?
Regards
Subhankar
Maybe you are looking for
-
Displying wrong data after entering estimated cost while creating travel request.
Hi Team, We are facing an issue while creating travel request from portal. When we are entering estimated cost and after clicking on save and send button we are getting data is saved as correct.But after clicking on display form button the data is sh
-
Does anyone know if CISCO has an OEM plugin for their routers, firewalls et
I need to know if there is support for CISCO whitin OEM. thansk Amadeo
-
Hello, The User Menu for a particular User is disabled. He can only see the SAP Menu. How to enable the User Menu? Thanks in advance
-
SSRS with out installing Sql Server 2008 R2
Hi, I have installed Sql server 2008 R2 for creating/accessing SSRS reports. Can I create or access reports without installing Sql server 2008 R2 since it is expensive to be installed sql server in all developer machines ? Is there any Sql client to
-
Insance Caging and Resource Manager Plan
I want to test the instance caging feature of oracle 11g database on Solaris Sparc 64-bit O.S. I have configured two rac dbs on a server which has 2 processors. Now, i want to use over-provisioning technique for that CPU_COUNT is already set as 2 on