cancel
Showing results for 
Search instead for 
Did you mean: 

JCO error

Former Member
0 Kudos
67

Hi ,

I am running on EP6.0 SP2.WHen i am executonh an iview using JCO connection .I am getting the following error.

<b>Error during Service Call</b>

When i am exceuting the same program on WAS,its able to show the result.

Can anyone suggest where i am getting problem in execution of JCO in EP6.0 SP2.In this i am using JCO 2.0.9 version.

Need urgent reply

regards

USman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

can you post your stack trace.

Former Member
0 Kudos

Here is log file.

<b>com.sapportals.portal.prt.component.PortalComponentException 40 : >>

> com.sapportals.portal.prt.component.PortalComponentException

com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component

Component : Connect.Bapi_getlist

Component class : pkg.Bapi_getlist

at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:310)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)

at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)

at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)

at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

at java.security.AccessController.doPrivileged(Native Method)

at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

> Caused by: java.lang.NoClassDefFoundError

at pkg.Bapi_getlist.doContent(Bapi_getlist.java:68)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)

at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)

at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)

at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

at java.security.AccessController.doPrivileged(Native Method)

at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

</b>

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi All,

We are trying SSO using SAP LOGON tickets,for EP & SAP R/3 System.

We have done the steps specified in the documents, now we are getting the error" Invalid Host name for issueing ticket"

Usman, we are trying the same scenario at which you are successful, as we saw the reply" Problem Solved"

please guide us regarding the same.

Thanks in ADVANCE

Former Member
0 Kudos

I'm thinking that maybe the problem is different from mine now. Can you post the code which is in your Bapi_getlist.java at line 68 and the surrounding lines?

Johan

Former Member
0 Kudos

Is Bapi_getlist.java in the same portal archive as the code from which you use it?

Do you have source code in src.api AND in src.core?

If both of the above are true, the try moving all source code from src.core to src.api (so all code is in your src.api folder). Rebuild the project and deploy in the portal. This worked for me...

If bapi_getlist.java is in a different portal archive then you need to add a reference to it in your portalapp.xml. You have to add the name of the portal archive in which the class resides to the SharingReferences.

The name of the portalarchive is the name of the par file without the .par extension.

Johan

Former Member
0 Kudos

I've experienced the same problem, somehow your class can not be found. In my case, half of the classes were in the src.api folder, and half were in the src.core folder. After I put everything in the src.api folder, everything worked.

If the class which is not found is in another portal archive, you need to add it to your portalapp.xml.

Johan

Former Member
0 Kudos

Hi John,

The same program when i am executing in some other portal(WAS) its running properly.Its not running in EP6.0sp2.

where may be the problem.I think there is no error in source code.

May be some JCO related problem.

CAn u guide me where may be

Former Member
0 Kudos

Hi ,

I solved problem myself.Thanks lot for u r resposes.The problem is one .dll file missing in JCO configuration