JCO connection in the Portal
Hi ,
I have made a Portal application in the NWDS.I have used JCO to coonect to the CRM system at backend.
The connection is successful but what our requirement is like the JCO connection values like User Id and Password should not be hardcoded in the Portal application.
Is there any way we can achieve it without hardcoding.
Thanks & Regards,
Amarys
Hi Amarys,
1) Create the Backend System(CRM) in System configuration in Portal and configure Single Sign-On between Portal to Backend(CRM).
2) Create JCo destinations
Meta Data - You need to enter Service User ID/Password
Model Data - Select Login method as Certificate Login
If you configure correctly, you can call Webdynpro applications using SSO through Portal.
Thanks,
Naga
Similar Messages
-
To find No.of JCO connections in the ABAP stack
HI gurus!
How can we find the no of JCO connections in the ABAP stack ! is there any possibilty to find this .........its an urgent and solutions rewarded with points
regards,
S.RajeshkumarHi Rajesh,
You can not find no. of JCO connection fron ABAP Stack ......you have to login into JAVA Stack.
<b>
If useful ,Reward Points .</b>
Thanks,
Prashant. -
JCo connection for the application data
Dear All,
Now, we configure BP for MSS. When we set JCo connection for the application data, from this link http://help.sap.com/saphelp_erp2005/helpdata/en/29/d7844205625551e10000000a1550b0/frameset.htm we selected the method "Ticket".
When we run the page in "Team" area, we found some errors as follow:
- You do not have the authorization to start service sap.com/pcui_gp~isr/IsrStatusoverview
- You do not have the authorization to start service sap.com/mssreccand/CandidateStatusOverview
- Pages about "Employee Information" display Blank iViews.
But if we set JCo connection for application data by using "User/Password" method (UserID have "SAP_ALL" profile in back-end system), the application work fine.
Kindy advise us which method should be used to set JCo connection (Ticket or User/Password).
If the method should be "User/Password", please advise authorization and user type for UserID that be used to map JCo connection.
Thank you very much,
Anek.Hi,
Go through the contents in,
http://help.sap.com/saphelp_ep60sp2/helpdata/en/8f/67d27676ace84080964d4c4223bb3c/content.htm
Hope this helps !
Regards
Srinivasan T -
JCO connection without the use of HCM util.?
Hi Guru's!
I have developed a dynpage application where i call a function module inside sap, using the Sap Enterprise Connector.
I use this code to get the JCO connection, where "SystemIdentifier" is the System Alias parameter maintained in the portalapp.xml file eg. "SAP_R3_HumanResources"
the code looks like this:
public SapConnection(Object originator, IPortalComponentRequest request, String systemIdentifier) {
try {
IJCOClientPoolEntry poolEntry = Util.getJCoPoolEntry(originator, request, systemIdentifier);
client = poolEntry.getJCOClient();
} catch (BaseException e) {
System.out.println("Fejl BaseException: " + e.getMessage());
} catch (Exception e) {
System.out.println("Fejl Exception: " + e.getMessage());
Normally this code works well, but today we where trying to use the iView in a portal which doesnt have ESS or MSS installed.
And therefore the HCM_util.jar is not deployed on the server.
So my question is: Is it possible to connect to the sap system using a System Alias, but wihtout the HCM_Util.jar ?
Help is very much apreciated!
Br
RonniHi again.
Seems that i found another way to do this:
IJCOClientService clientService = (IJCOClientService)request.getService(IJCOClientService.KEY);
IJCOClientPoolEntry poolEntry;
try
poolEntry = clientService.getJCOClientPoolEntry(systemIdentifier, request);
Sorry for the commotion
Br
Ronni -
How can I connect to the portal homepage on a 9i Database
I successfully installed Oracle 9iAS on a MS Windows NT machine
and configured the Portal Server on an Oracle 9i Database on
another machine (Windows 2000).
But when I try to call the portal homepage (portal30.home), I
get the following error: "The preference path does not exist:
Oracle.Portal.Page (WWC-51000)".
I can successfully call the .../admin_/gateway.htm page and
connect over there to the database.
The shared_pool_size parameter is large enough (92274688).
I installed the portal server manually, without the GUI, because
the connection to the database during the installation was only
enabled as SYSDBA or SYSOPER.
How can I also get connected to portal homepage?
Thanks,
Reinaldocan i connect my roku box to the 2nd AE's ethernet port?
Yes
will it make any difference? (as opposed to the roku box, used for netflix, picking up it's signal wirelessly).
Probably not, since the AirPort Express is picking up its signal via wireless.
The same signal just appears at the Ethernet port. If anything, the signal at the Ethernet port will have a bit less bandwidth than the wireless signal since the Express must convert from wireless to Ethernet...and you always lose something in the conversion process.
Normally, you would use the Ethernet port if a device did not have wireless capability. -
Enable https connection to the portal
Dear all,
i tried to implement an https connection to my portal environment but i received this error:
"IisProxy.dll: 500 Internal Server Error
ProxyWorker(): IOException: SapSSLStart() failed: -30 (SSSLERR_SERVER_CERT_MISMATCH)
at SapConnection.cpp:719".
The connection is not made direct to the portal application enviroment on the port 50001 but through a reverse proxy.
Is there someone that can help to undesrtstand this error message ot could indicate how to find a guide to implement the https?
RegardsFirst, did you apply note 715303 for IIS 6.0?
Second, docs for IISProxy and J2EE are not the best in the world. I have docs from 6.20 that I still use today. I just scanned them and have them as jpg's in a 6 meg zip file. Go to my business card and e-mail me your e-mail address and I will send the docs. -
Integrating Adobe Connect into the portal
Anyone have any luck or experience with integrating Adobe Connect or another web conferencing software into the portal? We are potentially looking at integrating Adobe Connect.
Thanks Ashish. Yes, Connect is Adobe's new name for Breeze. I may give you a call soon because the customer is thinking about integrating to Connect or Windows Live soon, we're just evaluating feasiblity to integrating to each now.
Mike -
JCO connection for the metadata - account permissions????
Hello All,
This is our first try at adaptive RFC and I'm trying to instruct our security people to set up a user account for jco metadata and have forwarded lots of excerpts from docs like ESS setup, etc., and generally that this user needs access to a all DDIC function modules. Our security people aren't getting it, and I can find nothing specific in an documents I find on specifically how to set up that account, and don't want to give SAP_ALL.
Any help is appreciated.
Thanks,
DougHi Doug,
You are correct regarding the JCO destination metadata setup, and you can check the official SAP documentation for <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm">SAP JCO Destination Setup</a> (see section 5 for user authentication requirements)
Bottom line, you have to set up a user type 'System' (no dialog authorization) in the back end, and its authorizations must be set so that this user <u>can access all DDIC function modules</u>.
I would suggest that you either try to:
- Determine with your security group a new authorization profile that would allow a new system user to access all required DDIC modules
OR
- Check user 'SAPJSF' with role 'SAP_BC_JSF_COMMUNICATION' (if possible/compatible with your environment), and test if you can execute your application with this user initially.
If successful, then ask your security group to create a new system user, copy & customize the role 'SAP_BC_JSF_COMMUNICATION' and assign it to your new user so you can assign it for the JCO destination METADATA authentication configuration section.
Regards,
Joseph
Message was edited by:
Armin Reichert -
All the sytem objects & JCO connections not working in Portal
Hi,
Can any body tell me,
Last we we had copied the client copy from EIK 100 ( Production R3 server ) to EIT 900( Testing R3 server). From that movement.All the System object which are created in portal server to access the EIT 900 in R3 servers not giving the data .Even the JCO connections which are used to connect the the EIT 900 is not giving the data.
So , cany any body have idea where we need to check , how to trouble shoot this problem.
Regards
VijayHi Brad,
Thanks for the reply.
Can u please tell me , both the servers are have the sld connection.
SLD connections are in the following setup.
TestServer(Portal) ---> EIT900(R3 Test Server)
Production(Portal) --->EIK100(R3 Production Server)
Can u please tell where will be the problem how i need to trouble shoot.
i have added one image of the JCO connections, all the connections got disabled. wht might be the reason.
I have added the bitmap of JCO connections in the following path for your reference.
JCO connections disabled.gif
Regards
Vijay -
Problem Create System Object in the Portal for connecting CRM abap
Hi, i creating system in the portal (JCX) for connecting system ABAP CRM (CRX), after create system try run test connection and show messages error:
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
In the logs the portal (NWA) show messages:
Failed in creating the JCO Connection.
The logs operation system (log Security_audit.log)
Error> occured >Thu Jun 23 11:34:41,278<RfcException: message: 'mshost' missing Return code: RFC_INVALID_PARAMETER(19 Return code: RFC_INVALID_PARAMETER(19) error group: 101 key: FC_ERROR_PROGRAM
at com.sap.mw.rfc.api.RfcOptions.checkParameters(RfcOptions.java:438)
at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:688)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1079)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)
Plase help, any idea?message: 'mshost' missing Return
During the System Object Creating in System Landscape, there is any entry as Message Server Host: CRM MS HOST
and Message Server Port : sapmsSID and add this entry in etc/services --> bottom samsSID 36NN/tcp where NN is instance number.
Try this and let me know.
Thanks
SM -
Why can I not connect to the Enterprise Portal?
I downloaded & installed the free trial version of the Web AS 6.40 on my laptop. I developed some test portal application and want to deploy this on the WEB AS server. The message I get is each time :
Unable to connect to the Portal. Operation failed. Connection refused:connect. Please make sure the server localhost:8080 is running.
Settings J2EE Engine
"SAP J2EE Engine is installed on local host" checked
system:J2E
J2EE instance:0
SCS instance: 1
Settings Portal server:
alias: leen
host: localhost
Port: 8080
Login: administrator
Description: test
I started the SAP system with Start->Programs->SAP Management Console, right clicking the system node J2E and selecting start. Does this start also the EP??
What do I wrong?Leendert,
have you manually switched the port to 8080? By default, the j2ee engine's web server listens on port 50000 (or 50000+ system no*100 if system no != 00). The error "connection refused: connect" tells me, that there is currently no service listening on port 8080.
On windows you can check the currently listening ports by entering netstat -a on the command line. Does 8080 show up there after having started the J2ee engine?
Regards,
Dominik -
Connecting to the Third Party Applicatin through Portal
Hi,
Does anyone know how do we connect to the Third Party Application through Portal? WHat technology EP uses to connect to the third party application and retrieve data from the system to display?
ALso if i have 2 application connected to the portal and if I retrieve one record from one application, then i want Portal to bring information related to that record from another application. In that case, do we have to maintain referential information about the records in both the applications, so that Portal will know which record id to pull from another application? How does it work?
Thank you very much in advance.
ShakilHi ,
Have a searched sdn before posting this? have a look and post your message if your requirement dont match with below solution.
Want to access non SAP system from EP
Regards,
Koti Reddy -
How to see the JCO connections inthe ABAP Stack
Hi Gurus,
Is there any possible way to find the No.of JCO connections in the ABAP stack ,good solutions welocme and rewarded!
regards,
S.RajeshkumarHi,
JCO connections are just RFC calls.
If you know the user used by the JCO RFC calls, you can see the number of calls from ST03 RFC Server Profiles.
For example
In my XI (PI ) dual stack test system the JCO user is PI_JCO_RFC and I can see that last week there were 254 calls.
Regards,
Olivier -
Can't create JCO connection in Portal7 for ESS1.0
Hi,
I am in the Process of setting up ESS/MSS Rel 1.0 in Portal 7. The Portal is a WebAS ABAP+JAVA system.
First step after installing Portal, I configured the SLD and created the Technical systems. The sld is running and I have tested the sld from the Content Administrator->WebDynpro-> check SLD. It results sld successfully tested and I am able to start the sld also.
After that I deployed the Business packages for ESS/MSS and selfservices via SDM.
Now I am trying to create the JCO connection in the Content Administrator->WebDynpro->create/maintain JCO Connections, it throws the following error
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)
... 45 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Fri Aug 31 20:55:03 GMT+08:00 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_15-b02, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Tue Sep 11 17:54:15 GMT+08:00 2007 (Java Time: 1189504455341)
Web Dynpro Code Generation Infos
sap.com/tcwdtools
No information available null
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)
at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:236)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
This is very urgent, can any one of u help me on this....
ThanksHi,
I am running Netweaver 7 and ERP2005.
J2EE support pack is 9. The sap note that you mentioned is for NW2004 and our system is running on NW2004s.
Now I am trying to reconfigure the sld. In case if you can suggest me another solution, I will be very happy to try that out...
Thanks for your reply
Edited by: Rakesh Bothra on Apr 20, 2011 4:23 AM -
JCO connection error:Couldn't create JCOClientConnection for logical System
Hi All,
We are facing a production outage issue.
We have a Federated Portal Network setup where one of our producer goes down automatically (seems on heavy load).
On this Producer server we have 3 Web Dynpro applications deployed and default trace is full with JCO connection error saying Could not create JCOClientConnection for logical System: CSVMR_WD_MODELDATA_DEST.
We had issue with max allowed JCO connections so we changed the below mentioned parameters for JCO connection settings in portal:
u2022 Minimum value of JCo Pool Size in total = 80
u2022 Minimum value for CPIC_MAX_CONV per SAP Web AS = 320
u2022 Maximum Number JCo Connections = 160
Please let us know if we are missing on some settings, any help in this regard is appreciated.
Regards,
PriyankaHi,
As you have already increased the maximum number of connections/pool size but still you are facing this problem. I would suggest you to check the web dynpro application which might not be able to release/disconnect the JCO connection.
Please check this [Thread|How to close a model object connection for Adaptive RFC?; for more details.
Regards
Puneet
Maybe you are looking for
-
Where is my Premiere Elements File Stored
In My Documents folder I have xyz.prel . Am I correct that .prel files contain "the project" meaning references to all assets, and all editing decisions that were made? The original xyz.prel has not been modified according to the date, but there are
-
I have just bought an Apple TV device,how can I connect with latest IPAD and see the contents on IPAD on TV,but the manual along with the device does not clearly say how to do it
-
GARAGEBAND window lockup!
I am running OS 10.5.3 and Garageband 4.1.2. My problem is in relation to this error I am receiving in the console. Every time I go to change tempo the window is frozen. Can't edit anymore and menus just flicker down and back up again. Is this relate
-
How do you put doc into files?
I am new to Abode Reader and I can not organize my doc. W/o putting them into files. Can anyone help me?
-
Work flow of sd mm & fico with transaction codes
hai friends could u send me the work flow of "material management" and "sales & distribution" and "finance management" with their transaction codes ...................plz kindly send me the me details as soon as possible