Com.sapportals.connectors.SAPCFConnector.
Hi ALL,
When I am trying to call RFC which returns four tables in output i am getting
TAB1=com.sapportals.connectors.SAPCFConnector.execution.structures.RecordSetWrapper@5a5068, TAB2=com.sapportals.connectors.SAPCFConnector.execution.structures.RecordSetWrapper@550177, TAB3=com.sapportals.connectors.SAPCFConnector.execution.structures.RecordSetWrapper@5350ba
Does any have any faced the same situation?
Thanks in advance
Message was edited by: J H
Problem is fixed.
Use the interface IRecord instead of RecordWrapper or IRecordSet instead of RecordSetWrapper
Similar Messages
-
Jar File for com.sapportals.connector
Can some one please tell which jar file I have to add to my project to be able import, I have tried all Jar Files possible still not able to find the right any help would really be great:
import com.sapportals.connector.ConnectorException;
Best Wishes,
John Bray.
Message was edited by: John BrayHello Patrick,
Thanks a lot, got the required class files.
Best Wishes,
John.
PS: I have rewarded the points. -
How to refer the class package "com.sapportals.connector" for MDM API?
Hi,
Iam trying to execute one example mdm api program in dynpro/ejb.
I could not refer the class package com.sapportals.connector.
What SCA or build path package needed for dev time and runtime and where do i get that.
Please help me.
Thanks
HariHi Armin,
Sorry that I still got problem on importing and make use of the class for knowledgemanagement. I can found the cooresponding .jar file in folder "jakarta-tomcat-3.3.2\webapps\irj\WEB-INF\plugins\portal\services\knowledgemanagement\lib". And added the services reference as "ServicesReference=htmlb, knowledgemanagement". However, I still can't use the class for KM.
I have read those code sample from KM in SDN, but they are mentioning the programming part and not the setting. Can you suggest the detail steps and code on adding the KM class into my customize class?
I am using Eclipse as my development tools.
Thanks & Regards
Sam
Message was edited by: Sam Choy -
Dear friends,
I am facing a strange problem
I am using JCA connection to call RFC functions.
I am able to connect and call RFC with an user in an iView
i have another user created.
Using that user at SAPGUI, i could able to logon and work.
But if i map my EP user to the second one,
i am unable to make connection with R/3.
The error it is giving is
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: Nested Exception. Failed to get connection
I don't understand the problem
can anybody have solution on the same.
plz reply thanx in advance
KanthaHi Kantha,
There is a nice log file called
dev_rfc.trc
for all the connections exceptions made to R/3. it's under usr->sap->xxx->j2ee->cluster->server. Can you read the trace file, if you trouble figuring out the problem from trace file then can you post the trace file. thank you. -
Hi All,
I am getting the following Portal Runtime error while accessing the KM Content on Content Administration.
In the error log following class is involved com.sapportals.wcm.portal.component.base.ControllerComponent
The error caused by: Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/util/pcr/PortalComponentRequestCache
Can you pls help me on this ?
Detailed error log
<< item 0 : >>#1.5#0013725D3B3B00690000011D0000EF74000435FB36917386#1185252975455#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#10268883#40896##MB1ES1005.idcsap_EC6_11485350#10268883#f6cefb3039a111dc95b40013725d3b3b#SAPEngine_Application_Thread[impl:3]_22##0#0#Error#1#/System/Server#Java###Exception ID:10:26_24/07/07_0201_11485350
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.km.AdminContent/com.sap.km.AdminContentExplorer/com.sap.km.AdminExplorer
Component class : com.sapportals.wcm.portal.component.base.ControllerComponent
User : 10268883
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)
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)
Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/util/pcr/PortalComponentRequestCache
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:72)
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:328)
... 29 more
Thanks in advance and warm regards
PurnenduHi,
Redeploy the <b>com.sap.netweaver.bc.util.par</b> file and check if <b>bc.util.private_api.jar</b> file is present on your server.
c:usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.netweaver.bc.util\lib\bc.util.private_api.jar
Greetings,
Praveen Gudapati -
Com.sapportals.htmlb.FileUpload;
Hi Experts,
I am building this file upload utility.
Following is my code"
package com.xyz.ws.di;
import java.io.Serializable;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import com.sapportals.htmlb.event.Event;
import com.sapportals.htmlb.rendering.IPageContext;
import com.sapportals.htmlb.rendering.PageContextFactory;
import com.sapportals.htmlb.FileUpload;
import com.sapportals.portal.prt.component.*;
import com.sapportals.wcm.repository.AccessDeniedException;
import com.sapportals.wcm.repository.Content;
import com.sapportals.wcm.repository.ICollection;
import com.sapportals.wcm.repository.IResource;
import com.sapportals.wcm.repository.NotSupportedException;
import com.sapportals.wcm.repository.ResourceContext;
import com.sapportals.wcm.repository.ResourceException;
import com.sapportals.wcm.repository.ResourceFactory;
import com.sapportals.wcm.util.uri.RID;
import com.sapportals.portal.security.usermanagement.IUser;
public class FileUpload implements Serializable{
protected IPortalComponentRequest request;
protected IPortalComponentResponse response;
protected IPortalComponentSession session;
protected IPortalComponentContext context;
protected IPortalComponentProfile profile;
protected String userId;
protected String fileName;
private DAO DAO = null;
private final static int INITIAL_STATE = 0;
private final static int ERROR_STATE = 1;
private int state = INITIAL_STATE;
public void uploadUtility(IPortalComponentRequest request, IPortalComponentResponse response)
String mimetype;
String resourceName;
String repository;
FileInputStream sourceFileInput = null;
session = request.getComponentSession();
DAO = new DAO();
DAO = (DAO)session.getValue("DAO");
IUser epUser=DAO.getEpUser();
System.err.println("berry + Getting Iuser from inside UploadUtility SAI " + epUser);
/* IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = wdUser.wdUser.getSAPUser(); */
// IUser epUser=(IUser)request.getUser().getUser();
System.err.println("epUser - " + epUser);
ResourceContext ctx = new ResourceContext(epUser);
repository = "/Folder1/new";
RID rid=RID.getRID(repository);
System.err.println("getting RID :- " + rid);
IPageContext context = PageContextFactory.createPageContext(request,response);
// PageContext context = PageContextFactory.createPageContext(request, response);
Event event=context.getCurrentEvent();
if(null!=event)
String event_name=event.getAction();
if(null!=event_name && event_name.trim().equalsIgnoreCase("upload_file"))
FileUpload fileUpload = (FileUpload)context.getComponentForId("fileupload");
if(null !=fileUpload && null!=fileUpload.getFile())
mimetype = fileUpload.getFile().getContentType();
resourceName = fileUpload.getFile().getFileName();
System.err.println("resourceName inside fileUploadUtility :- " + resourceName);
//sourceFileInput = new FileInputStream(fileUpload.getFile().getFile().getAbsolutePath());
fileName = resourceName;
System.err.println("filename :- " + fileName);
try {
sourceFileInput = new FileInputStream(fileUpload.getFile().getFile().getAbsolutePath());
} catch (FileNotFoundException fnf) {
state = ERROR_STATE;
System.err.print("FileNotFoundException Occured " + fnf.toString());
Content content = new Content(sourceFileInput, mimetype, -1L);
IResource resource = null;
try {
resource =(IResource) (ResourceFactory.getInstance().getResource(rid, ctx));
} catch (ResourceException resexp) {
state = ERROR_STATE;
System.err.print("Resource Exception Occured for IResource" + resexp.toString());
ICollection aCollection=(ICollection)resource;
//IResource newResource = aCollection.createResource(resourceName, null, content);
try {
IResource newResource = (IResource) aCollection.createResource(resourceName, null, content);
} catch (NotSupportedException e2) {
state = ERROR_STATE;
System.err.print("Not Supported Exception Occured" + e2.toString());
} catch (AccessDeniedException e2) {
state = ERROR_STATE;
System.err.print("Access Denied Exception Occured" + e2.toString());
} catch (ResourceException e2) {
state = ERROR_STATE;
System.err.print("Resource Exception Occured for ICollection" + e2.toString());
}//end of catch
}//end of innermost if
}//end of 2nd if
}//end of 1st If
DAO.setFileName(fileName);
DAO.setState(state);
session.putValue("DAO", DAO);
}// end of uploadUtil
I am getting a complie error in my NWDS at the following line:
FileUpload fileUpload = (FileUpload)context.getComponentForId("fileupload");
The error is : Cannot cast from component to FileUpload.
Also, I am getting an error on the following Import statement:
import com.sapportals.htmlb.FileUpload;
The error is : The import import com.sapportals.htmlb.FileUpload conflicts with a type defined in the same file.
Any Idea why this would be happening?
Thanks
S.Bimport com.sapportals.htmlb.FileUpload;
is conflicting with the class name. Both are same.
Change the class name.
Thread closed. -
Jar file for com.sapportals.wcm.service.propertyconfig
Hi all,
Where can i find the jar file for <b>com.sapportals.wcm.service.propertyconfig</b>.
<b></b>
If anyone can send that to my mail id(<b>[email protected]</b>) it would be very useful.
Points will be rewarded for helpful answers.
Regards
Rajeev.Hi Rajeev,
the files should be under /usr/sap/<SID>/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.km.cm.service.base
or you can find it in the par file com.sap.km.cm.service.base.par
Regards,
Pascal -
How to make use of package "com.sapportals.wcm.repository"
Dear all,
I am trying to make use the package "com.sapportals.wcm.repository" in my SDK development. But when I entered "import com.sapportals.wcm.repository.*;" in my class, a error given out "The import com.sapportals.wcm cannot be resolved.". What should I do?
Thanks
SamHi Armin,
Sorry that I still got problem on importing and make use of the class for knowledgemanagement. I can found the cooresponding .jar file in folder "jakarta-tomcat-3.3.2\webapps\irj\WEB-INF\plugins\portal\services\knowledgemanagement\lib". And added the services reference as "ServicesReference=htmlb, knowledgemanagement". However, I still can't use the class for KM.
I have read those code sample from KM in SDN, but they are mentioning the programming part and not the setting. Can you suggest the detail steps and code on adding the KM class into my customize class?
I am using Eclipse as my development tools.
Thanks & Regards
Sam
Message was edited by: Sam Choy -
Com.sapportals.wcm.WcmException:TREX Name Server Error
Hi,
I have developed a Customised Search Iview using the STD KM Search Iview
But I getting the following error while I input a search criteria and click on the Search Button :
"Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)"
Please can anyone let me know why is this error been thrown.
Regards,
Vaishali.Hi.
I am having the same error, i already check the monitor and it shows the same error:
Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217).
There are two machines accessing TRX and one is working fine the other one does not. I made a ping from epweb to trx and does not respond. If i make de ping from epprd to trx it responds fine. What can i do?.
TRX is up and working fine.
Thanks for the help.
Edited by: Juan Pablo Toledo Corredor on Apr 16, 2009 8:13 PM -
Com.sapportals.wcm.WcmException:multi-server search failed
Hi Friends,
I am getting the below error when i use search option in portal.
Search Failure
Error during search occurred - com.sapportals.wcm.WcmException: multi-server search failed on some of the servers;error=1999,index=zhsea_helpdesk_doc,location=hsea-pdc-s019:30103;error=1999,index=zhsea_helpdesk_doc,location=hsea-pdc-s019:30103;error=1999,index=zsccc_io_ep,location=hsea-pdc-s019:30103;error=1999,index=zsccc_io_ep,location=hsea-pdc-s019:30103;error=1999,index=zsccc_io_ep,location=hsea-pdc-s019:30103;error=1999,index=zsccc_io_ep,location=hsea-pdc-s019:30103;error=1999,index=zsccc_bpp,location=hsea-pdc-s019:30103;error=1999,index=zsccc_elibrary_fulltext_search,location=hsea-pdc-s019:30103;error=1999,index=zsccc_elibrary_fulltext_search,location=hsea-pdc-s019:30103;error=1999,index=zapcm_user_forum_database,location=hsea-pdc-s019:30103 (Errorcode 2975)
An unexpected severe error occurred during the search call. If the situation persists, inform your system administrator.
I tried to create indexing but it is not happening,If i check TREX logs i found some errors please analyze the problem and advice
[6052] 2009-02-02 21:48:16.325 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[6052] 2009-02-02 21:48:16.325 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[6052] 2009-02-02 21:48:26.325 e TREX_C_STORE CSFile.cpp(00717) : open('
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header',ab) failed with error 106 (last file open failed and handle is not okay), 13 global open files
[6052] 2009-02-02 21:48:26.325 e TREX_C_STORE FileHandle.cpp(00638) : ERROR: checkAndSetVersion(): reading index version from file failed
[6052] 2009-02-02 21:48:26.325 e TrexStore IndexSettings.cpp(00518) : could not read maxtermcounter zsccc_io_epen
[6052] 2009-02-02 21:48:26.325 e TrexStore IndexSettings.cpp(00251) : crashed in CSIndexSettings::open zsccc_io_epen
[6052] 2009-02-02 21:48:26.325 e TrexStore IndexSettings.cpp(00647) : CSIndexSettings not opened zsccc_io_epen
[6052] 2009-02-02 21:48:26.325 e Trex_SE FuzzyExceptions.cpp(00130) : caught ... exception in blobInfo.open() for zsccc_io_epen
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epen (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epde (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epsh (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epth (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_bppen (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_elibrary_fulltext_searchen (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_elibrary_fulltext_searchth (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zapcm_user_forum_databaseen (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zhsea_helpdesk_docen (rc = 1999)
[6052] 2009-02-02 21:48:26.325 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zhsea_helpdesk_docth (rc = 1999)
[5384] 2009-02-02 21:52:12.922 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:52:12.922 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:52:12.922 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:52:12.922 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:52:22.922 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:52:22.922 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:52:22.922 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:52:22.922 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:52:32.922 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:52:32.922 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:52:32.922 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:52:32.922 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:52:42.922 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:52:42.922 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:52:42.922 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:52:42.922 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:52:52.922 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:52:52.922 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:52:52.922 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:52:52.922 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:53:02.923 e TREX_C_STORE CSFile.cpp(00741) : GetLastError: 5=Access is denied.
[5384] 2009-02-02 21:53:02.923 e TREX_C_STORE CSFile.cpp(00324) : fopen
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header (21) failed
[5384] 2009-02-02 21:53:02.923 e TREX_C_STORE CSFile.cpp(00332) : GetDeviceFileName() failed.
[5384] 2009-02-02 21:53:02.923 e TREX_C_STORE CSFile.cpp(00336) : sleeping 10 seconds and trying again...
[5384] 2009-02-02 21:53:12.923 e TREX_C_STORE CSFile.cpp(00717) : open('
ephasapgrp\TXP_SHARE\TXP\index\zsccc_io_ep\en\settings.header',ab) failed with error 106 (last file open failed and handle is not okay), 13 global open files
[5384] 2009-02-02 21:53:12.923 e TREX_C_STORE FileHandle.cpp(00638) : ERROR: checkAndSetVersion(): reading index version from file failed
[5384] 2009-02-02 21:53:12.923 e TrexStore IndexSettings.cpp(00518) : could not read maxtermcounter zsccc_io_epen
[5384] 2009-02-02 21:53:12.923 e TrexStore IndexSettings.cpp(00251) : crashed in CSIndexSettings::open zsccc_io_epen
[5384] 2009-02-02 21:53:12.923 e TrexStore IndexSettings.cpp(00647) : CSIndexSettings not opened zsccc_io_epen
[5384] 2009-02-02 21:53:12.923 e Trex_SE FuzzyExceptions.cpp(00130) : caught ... exception in blobInfo.open() for zsccc_io_epen
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epen (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epde (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epsh (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_io_epth (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_bppen (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_elibrary_fulltext_searchen (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zsccc_elibrary_fulltext_searchth (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zapcm_user_forum_databaseen (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zhsea_helpdesk_docen (rc = 1999)
[5384] 2009-02-02 21:53:12.923 e SERVER_TRACE DeltaIndexManager.cpp(03987) : search: failed for main index zhsea_helpdesk_docth (rc = 1999)
[2528] 2009-02-02 22:05:02.666 e SERVER_TRACE TRexApiIndexDocuments.cpp(02494) : indexLocal zsccc_elibrary_fulltext_search: <zsccc_elibrary_fulltext_search> is already prepared (3=TPCS_PREPARED). Index call not allowed!
Kind Regards
SudhakarI know this is an old thread, but in my case the problem was solved after i patched the TREX 7.10 revision 40 to revision 50...
Cheers Michael -
Com.sapportals.wcm.WcmException: TREX Name Server
Hello SAPMAN;
When try search in Portal show this error,
Search Failure
Error during search occurred - com.sapportals.wcm.WcmException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)
An unexpected severe error occurred during the search call. If the situation persists, inform your system administrator.
In Visual Administrator the trex service is ok.
Regards.Trace error,
[290512] 2010-04-23 12:52:19.643 e TNS TNSClient.cpp(00599) : sendRequest to spcp1appitr01:30301 failed with NetException. data=[getvalue](S)client_id=spcp1appitr01:0/291980/1920...
[290512] 2010-04-23 12:52:19.643 e TNS TNSClient.cpp(00497) : nameserver spcp1appitr01:30301 not responding after 1 retries. giving up.
[290512] 2010-04-23 12:52:19.643 e TrexNet EndPoint.cpp(00087) : ERROR: failed to create Endpoint 10.130.14.15:0 reason: invalid port
[290512] 2010-04-23 12:52:19.643 e AlertServer TRexAlertMonitor.cpp(00598) : An exception occured while getting configuration from the active master (name) alert server!
[291500] 2010-04-23 12:53:10.174 e NameServer TREXNameServer.cpp(00542) : shared memory not initialized after 10 retries (state=Reinit). disabling shared memory
[291500] 2010-04-23 12:53:11.143 e TrexNet EndPoint.cpp(00243) : ERROR: failed to open channel 10.130.14.15:30301! reason: connection refused
[291500] 2010-04-23 12:53:11.143 e TNS TNSClient.cpp(00599) : sendRequest to spcp1appitr01:30301 failed with NetException. data=[getvalue](S)client_id=spcp1appitr01:0/292784/1920...
[291500] 2010-04-23 12:53:11.143 e TNS TNSClient.cpp(00497) : nameserver spcp1appitr01:30301 not responding after 1 retries. giving up.
[291500] 2010-04-23 12:53:11.143 e TrexNet EndPoint.cpp(00087) : ERROR: failed to create Endpoint 10.130.14.15:0 reason: invalid port
[291500] 2010-04-23 12:53:11.143 e AlertServer TRexAlertMonitor.cpp(00598) : An exception occured while getting configuration from the active master (name) alert server!
Regards. -
Upon clicking the SEARCH button, we are encountering the below error:
"Error during search occurred - com.sapportals.wcm.WcmException: An operation has failed on a file (create, delete, copy, move, ...);location=gb2ap320dia27:30013,location=gb2ap320dia27:30003 (Errorcode 16)"
Can anyone give me any idea about this error?Hi robert, many thanks for your response.
I have checked on the Component Monitoring and everything is green. I find it weird, I am a newbie in TREX Search and Classification. Upon checking again on the error, it is pointing in the two locations for the error. Will I be able to find it in TREX Admin tool?
Another problem is that old files after TREX upgrade cannot be indexed anymore. I've tried assigning the data source to a newly created Index ID, but still only new files are indexed.
Many thanks for your help! -
I cant import com.sapportals.htmlb.*
Hi!
I just installed netweaver and started out by making a new portal application project. After that I made a new portal application object but when I compile my java-file I get errors regarding the following imports.
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.*;
import com.sapportals.htmlb.event.*;
import com.sapportals.htmlb.page.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
Error: The import com.sapportals.htmlb cannot be resolved.
I know that the error might be about me missing af reference to some jar-file which contains the packages. Am I wrong?
Regards AndersHi Anders,
Have you downloaded the PDK plugin for EP6? If so, assign yourself the Java Developer role, and download the required jar files. Login to the portal Java Development>Development>Downloads. Download and unpack the Portal Archive Wizards into your eclipse\plugins directory. Then create classpath references to the required jar files in your par file .classpath file. For example, htmlb.jar
<classpathentry kind="lib" path="C:/portal/eclipse/plugins/com.sap.developmentTools.libs_1.2.0/htmlb.jar"/>
Hope this helps,
Marty
PS.
If you dont have the pdk plugin, here is a workaround (assuming you have a portal installed). You can copy the jar files to your local directory in order to successfully compile a par project. For example the following three jar files to your eclipse\plugins directory on your local machine. Then in your classpath, create entries for the ones you require (in your case, htmlb.jar). So something like:
<classpathentry kind="lib" path="C:/portal/eclipse/plugins/com.sap.developmentTools.libs_1.2.0/htmlb.jar"/>
Under your portal, C:\usr\sap\<instance>\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.htmlb\lib contains an htmlb.jar and an htmlbbridge.jar
C:\usr\sap\<instance>\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\system\lib contains a prtcore.jar file -
Runtime exception: NoClassDefFoundError: com/sapportals/htmlb/Component
Hi,
I'm trying to use htmlb to have some javascript in my page:
Button myButton = (Button) view.getElement("DNMO.MainWindowView.testButton");
myButton.setJsObjectNeeded(true);
but at run time this exception is raised:
java.lang.NoClassDefFoundError: com/sapportals/htmlb/Component
Libraries com.sap.portal.htmlb_api.jar and htmlb.jar are in my project java build path.
Has anyone seen this problem before?
Thanks for your help,
RomainOK, so:
- In SAP NW developer studio, project properties -> Web Dynpro References -> Sharing References tab, if I add the htmlb reference there, next time I deploy my application, portalapp.xml is generated with that line:
<property name="SharingReference" value="htmlb"/>
- but I've got this warning when deploying:
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application arch.com/portal and wait. Reason: Clusterwide exception: server ID 27977350:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application XXX for startup. Reason=Clusterwide exception: Failed to start application XXX: The referenced application htmlb cannot be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?
at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1507)
- On the server, in the Visual Administrator, Services > Deploy selected in the left-hand pane, I can see sap.com/com.sapportals.htmlb.ear is deployed and started in the servlet_jsp container, but not in the webdynpro container
Is this my problem? If so, do you know how to deploy this application in the webdynpro container? I've been playing a bit with this visual admin tool but I can't find a way to do it...
Thanks
Edited by: Romain83 on Mar 18, 2010 11:12 AM -
Source for library com.sapportals.htmlb.*
Hi,
I would be most grateful if anyone could point me to a source for the com.sapportals.htmlb.* library. This would enable me to attach it to the Java build path of my SAP NWDS project and get it to compile.
I am unable to find it anywhere in our portal. It is not in the PDK either.
Thanks in advance,
John
Edited by: John Kuriakose on Jun 9, 2009 3:32 PMYou are right, Michael.
I found it on the Portal server and in the PDK.
Would also like to refer an earlier thread:
Re: where to find source code for PDK
Thank you.
John
Maybe you are looking for
-
IYou have not intergrated with Yahoo's toolbar and that is a problem for me. My mail will not open. It is only one of many pages, which when I click on, crashes your entire system. In short, nothig works.
-
ITunes Restore to Replacement iPhone Did Not Work
Hi, My iphone died Wednesday night. It would not start anymore, even with the hard reset sequence. Last night I took it to the Apple Store and was amazed that they replaced it on the spot. No loaner. No forms to fill out. Just sign here ... and here
-
The number of photos next to folder- how to?
In AP3 I can see the number of pictures in each project on the right hand side of each project. My projects are organized in folders, but I can not see the total amount pf photos in each folder. Is this possible?
-
Hello all In my orchestration I have a Call Stored Procedure task that accepts a bunch of XPath expressions as its parameters (obviously) The problem arises when the values contain apostrophes/single quotes like : ' insertion fails because they cause
-
List/Tracking all forms in the system
Hello, I'd like to ask if there is a way to list all forms that currently are in the system and track the form was updated or removed with timestamp? If so, can you please show me how to have it done. Thanks in advance, HD