CAF-Application Service not visible in GP
Hi ,
I've created a composite appliocatioon service which contains an entity service and an application service.
After deploying, I also tested it successfully.
Now I want to use this service in callable object in GP.
But I'm not able to see the application service there.
My application is visible there, but next two column(Service name and method name) remains blank.
Wat I've read from tutorials is that only application service can be used in GP.
It is showing service name and method name for caf.core and caf.tc,but not for my application.
Can anybody tell me the reason what is the possible cause for that ?
regards,
Piyush
Hi Dipankar,
I have already tested the service by the procedure you have mentioned.It is working fine from service browser window.
Is there anything else need to be done to use that service in CAF GP(some configurations etc)?
While creating CO, it is showing the service name and methods for caf.core but not for my Application.
Regards,
Piyush
Similar Messages
-
Error in executing RFC or CAF Application Service
Hello Everybody,
I am creating course approval process, in which I am calling RFC for user info and after course approval, calling CAF application service to persist this data.
But, both services are not working in process. I have tested callable objects for these services and tested successfully.
But, when I am attaching it in the process then process can't go forward from this point.
I have checked in Log viewer and found following error:
Path to object does not exist at com.sap.caf.eu.gp.model.pfw.local, the whole lookup name is sap.com/com.sap.caf.eu.gp.model.pfw.local/GPUWLBridge.
What should be the problem in this?
If I remove these services then whole process works fine.
Thanks in advance,
BhavikHello All,
Is there any concept like, I call perticular backgound object first time then I cannot call that object for some period of time?
I am getting same error in calling RFC callable object as well as CAF service callable object.
I can execute these callable objects in the process first time successfully. But, When I execute this process second time, these callable objects won't execute.
I can execute same process after 3 to 4 hours successfully once.
What should be the reason behind this? -
Unable to instantiate GP process from CAF application service
Hi,
I am trying to instantiate a process from my CAF application service as follows.
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("7CE44BF090BF11D99817000D60B211F1",user);
When the execution reaches this step, I am getting the following exception.
com.sap.engine.frame.core.load.SAPClassNotFoundException
I suspect that CAF runtime is not able to load GPProcessFactory class. Is there any settings that need to be done or I have to deploy something on the server?
Please help.
Thanks
RaghavHi Raghavendra,
It seems you are using SPS7 !
Check runtime reference for J2ee application in application-j2ee-engine.xml :
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">cafeugp~api</reference-target>
</reference>
Best regards,
Aliaksei -
Planning application is not visible in calculation manager
Hi,
I'm novice to EPMA.
I have successfully created and deployed an EPMA application,but when i'm unable to see the application(s) under planning node.
As per my knowledge EPMA application by default deployes in calculation manager,if so why the application is not visible.
any suggestions on this r helpful to me
thanksThe issue is resolved now.
The calculation manager service was set to automatic, set it back to manual and restarted calculation manager service.
It showed the application in calc manager.
Regards.
Ace -
CAF Application services project -Error
Hi
I'm creating in CAF Application services project
Application is deployed but go to the CAF UI Admin part get Bellow Error
Failed to get service module: error <null>
Failed to read configuration data from XML fail. Configuration name: <null> Error: Configuration does not exist.
Regards
Srinivasclosed
-
How to log Exceptions raised in CAF Application Services
Hi All,
When there is an Exception rasing in CAF Application Service custom method implementation what are the steps need to follow for send that exception details to log files & where those log files will be generated i.e either in server, local system, etc.
If we use following 2 different lines please explain me where that trace is going to written:
1) System.out.println(e);
2) e.printStackTrace();
Thanks in Advance,
Uday.Hi Uday,
Try this (in my case I'm using that in Background CO that implements IGPBackgroundCallableObject ):
public static Location logger =
Location.getLocation(<yourClass>.class);
Catch block:
} catch (GPInvocationException e) {
throw new GPTechnicalCallableObjectException(
logger,
resourceAccessor,
"ERROR_PARAMETERS",
e);
} catch (GPEngineException e) {
throw new GPTechnicalCallableObjectException(
logger,
resourceAccessor,
e.getMessage(),
e);
Reward points if it's helpful. -
Web Service and CAF Application Services - How to return a table
Hello,
I'd like to build a CAF Application Service and expose it as a Web Service. This service should return an array or table which I'd like to display in a Visual Composer model.
I understand that there're limitations at CAF regarding supported data types.
Does anyone know how to get a workaround?
Any information is very appreciated.
Kind regards
StefanHi,
You can return a list.
The standard way to do this is you have to create a complex data type for response.
Configure the cardinality of this data type to 1..n so as to accomodate a list.
In your implementation add your list to this response message and return the list.
This waly you can return collections.
Hope it helps.
Regards,
Srinivasan Subbiah -
Exception in CAF application service
Hi All
I am trying to access the BAPI bapi__mddataset__get__axis__info
from a CAF application service. But receive following exception. Any clue how to solve it.
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.createNewInstance(MessageEntityConverter.java:788)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.retrieveElementValue(MessageEntityConverter.java:494)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.retrieveMessageValue(MessageEntityConverter.java:447)
at com.ibm.cer_test.extsrv.MPConnector.process(MPConnector.java:65)
at com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.BAPI__MDDATASET__GET__AXIS__INFOBean.BAPI__MDDATASET__GET__AXIS__INFO(BAPI__MDDATASET__GET__AXIS__INFOBean.java:40)
at com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.BAPI__MDDATASET__GET__AXIS__INFOLocalLocalObjectImpl0.BAPI__MDDATASET__GET__AXIS__INFO(BAPI__MDDATASET__GET__AXIS__INFOLocalLocalObjectImpl0.java:115)
at com.ibm.cer_test.appsrv.mdapp.MdAppBean.getMdDataSet(MdAppBean.java:295)
at com.ibm.cer_test.appsrv.mdapp.MdAppLocalLocalObjectImpl0.getMdDataSet(MdAppLocalLocalObjectImpl0.java:115)
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:324)
at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.findByDataObject(ServiceWrapper.java:269)
at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.findByDataObject(CAFServiceAccessBeanImpl.java:223)
at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessLocalLocalObjectImpl20.findByDataObject(CAFServiceAccessLocalLocalObjectImpl20.java:875)
at com.sap.caf.rt.ui.cool.generic.AspectServiceAccess.findBy(AspectServiceAccess.java:275)
at com.sap.caf.rt.ui.cool.generic.Query.execute(Query.java:218)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.execute(TableViewCC.java:323)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.setup(TableViewCC.java:276)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.setup(InternalTableViewCC.java:192)
at com.sap.caf.ui.servicebrowser.components.visualizer.views.ServiceBrowserCV.onActionExecuteQuery(ServiceBrowserCV.java:180)
at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalServiceBrowserCV.wdInvokeEventHandler(InternalServiceBrowserCV.java:215)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
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:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
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)
Caused by: java.lang.ClassNotFoundException: com.ibm.cer_test.extsrv.bapi__mddataset__get__axis__info.output.AXIS__INFO
Loader Info -
ClassLoader name: [ibm.com/cer_test]
Parent loader name: [Frame ClassLoader]
References:
common:service:http;service:servlet_jsp
service:ejb
common:service:iiop;service:naming;service:p4;service:ts
service:jmsconnector
library:jsse
library:servlet
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:ejb20
library:j2eeca
library:jms
library:opensql
common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
interface:resourcecontext_api
interface:webservices
interface:cross
interface:ejbserialization
sap.com/cafruntimeear
library:com.sap.guid
library:com.sap.util.monitor.jarm
sap.com/com.sap.jdo
library:cafmetamodellib
sap.com/caf~core
library:cafruntimeconnectivity
library:cafruntimeconnectivity~base
service:applocking
interface:security
library:cafruntimeapi~lib
service:tcsecdestinations~service
interface:tcsecdestinations~interface
Resources:
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
src.zip
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
EJBContainer
applicationjars
ibm.comcer_testejbmodule.jar
C:
usr
sap
J17
JC01
j2ee
cluster
server0
apps
ibm.com
cer_test
EJBContainer
clientjars
clientibm.comcer_testejbmodule.jar
Loading model: {parent,references,local}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
at com.sap.caf.rt.bol.da.remote.MessageEntityConverter.createNewInstance(MessageEntityConverter.java:781)
... 50 more
Thanks in advance
SudipHi,
I too got an exception like that.
1. Instead of code
patentServiceLocal local = this.getpatentService();
local.update(OBJECT);
use the following
this.getpatentService().update(OBJECT);
I got by problem solved this way.
Regards,
Srinivasan Subbiah -
Accessing CAF application service from outside
Hi,
Can CAF application service be called from outside the CAF? Example from a pure JSP page?
MayukhYou can also call a CAF service via the EJB protocol from JSP. Each CAF Service gets deployed as a Stateless Session bean. You can view these in the IDE if you switch to the J2EE perspective in your CAF project.
-
Service not visible in Service Registry but log says published successfully
Hi,
We have configured our PI7.11 system's registry as central registry. We have configured our ECC EHP4 system to publish the service and endpoint.
When we publish it, physical system is published, i can see it but I am not able to see the service or endpoints. Log says
service and endpoints are published successfully.
Please ignore it. When I search the detailed log, it says some config was missing.
Edited by: Praveen Babu on Mar 29, 2010 3:46 PMHi Dipankar,
I have already tested the service by the procedure you have mentioned.It is working fine from service browser window.
Is there anything else need to be done to use that service in CAF GP(some configurations etc)?
While creating CO, it is showing the service name and methods for caf.core but not for my Application.
Regards,
Piyush -
SQL Server 2012 PowerPivot System Service not visible in Central Administration
Hi all,
I want to test PowerPivot 2012 on the following configuration:
- Windows Server 2008 R2
- Sharepoint 2010 - Enterprise edition
- SQL Server 2008 R2
- PowerPivot for Sharepoint<o:p></o:p>
As such, I downloaded SQL Server 2012 Evaluation and tried to upgrade SQL Server 2008 PowerPivot for Sharepoint instance to SQL Server 2012 PowerPivot
for Sharepoint. It didn't work as it's not possible to upgrade from Enterprise to Evaluation edition without a pid.
Next, I uninstalled the existing SQL Server 2008 PowerPivot for Sharepoint and I installed the SQL Server 2012 PowerPivot for Sharepoint.
I started to configure PowerPivot in Central administration (http://msdn.microsoft.com/en-us/library/ee210609.aspx) , but I got stuck at the 2nd step Create and Configure a PowerPivot
Service Application (http://msdn.microsoft.com/en-us/library/ee210685.aspx) in Central Administration.
The problem is that both SQL Integration Service and SQL Server PowerPivot System service are not visible in Central administration > Manage
services on server; however they are visible and running in Windows Administrative Tools > Services.
Do you think the services are missing in Sharepoint Central Administration because the Sharepoint configuration database is on SQL Server 2008, while the Powerpivot instance is on SQL Server 2012 ?Thank you for the suggestion.
Meanwhile I have managed to solve the problem. What I've done:
- remove PowerPivot configuration using the Power Configuration Tool
- uninstall PowerPivot
- reinstall PowerPivot
- run PowerPivot Configuration Tool - I still got the parent service error
- remove PowerPivot configuration using the Power Configuration Tool
- run PowerPivot Configuration Tool - this time I received another error regarding the user that runs SQL Server Integration services
- check Sql Server Analysis Service account in Central Administration > Security > Service accountsManage service account - it seems that it was running under Local System account, although in Administrative Tools > Services it appeared to
be run by my domain account
- set a domain account for Sql Server Analysis Service in Central Administration
- run the PowerPivot Configuration Tool - this time it went smoothly.
The following url provides very useful info related to this type of issue: http://whitepages.unlimitedviz.com/2012/09/troubleshooting-and-removing-a-failed-installation-or-upgrade-of-powerpivot-for-sharepoint/ -
Application Components not visible in SAP R/3 tree
Dear All,
We have standalone system and we have installed ECC 6.0 with BI Content. Harddisk is 320 GB with 2 GB RAM. We want to extract the data from R/3 to BW which are on the same system (As ECC 6.0 contains builtin BW).
In RSA1 the application components are not visible in the SAP R/3 tree under datasource tab. When I am replicating the entire SAP data source it is giving shortdump(STORAGE_PARAMETERS_WRONG_SET).
How can I replicate a particular data source to avoid the memory problems because I have only 2 GB RAM.You can also Replicate a single datasource w/o replicating the App Comp using a FM.
BW
SE37
RSAOS_METADATA_UPLOAD
Execute
Give Source System n Datasource - Execute
*Give Datasource Name - for I_O... & Source System for Logsys. -
Default Web Application is not visible in Weblogic Console
We are using Weblogic 5.1.0 SP7
We moved our Application from the Implicitly Defined Default Web
Application which is configurated by the
weblogic properties to a Web Application. Because we don't want to
change any URL in our Application, we
decided to deploy it as Explicitly Defined Default Web Application.
By this we recordniced that the weblogic.httpd.defaultWebApp property
worked not that way descibed in the
Weblogic Documentation. You have to write the path to the WebApp not the
name!
So we have the following Entry in the weblogic.properties:
weblogic.httpd.defaultWebApp=i:/if_home2/web
This works fine. The Server starts and serves the WebApp the way we
expected. But wenn we start the Weblogic
Console the WebApp ist not visible in the "myserver/HTTP/Servlet web
applications" folder. This one is empty
now! Previously the "General" Entry for the Implicitly Defined Default
Web Application was shown here, which
showed our Servlets and JSP's and their hit count and parameters.
So there is no chance to monitor the Servlets and JSP's of the default
Web Application.
I tried to deploy our WebApp a secound time with
weblogic.httpd.webApp.OurApp=i:/if_home2/web
but this create a second independent WebApp. OurApp is shown in the
Weblogic Console but it does not monitor
the hits to the default WebApp. So this is not a solution!
Any idea to make the default Web Application visible in the Weblogic
Console?
in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
please tell me what could be another workaround.
-
Default Web Application ist not visible in WebLogic Console
We are using Weblogic 5.1.0 SP7
We moved our Application from the Implicitly Defined Default Web
Application which is configurated by the weblogic properties to a Web
Application. Because we don't want to change any URL in our Application,
we decided to deploy it as Explicitly Defined Default Web Application.
By this we recordniced that the weblogic.httpd.defaultWebApp property
worked not that way descibed in the Weblogic Documentation. You have to
write the path to the WebApp not the name!
So we have the following Entry in the weblogic.properties:
weblogic.httpd.defaultWebApp=i:/if_home2/web
This works fine. The Server starts and serves the WebApp the way we
expected. But wenn we start the Weblogic Console the WebApp ist not
visible in the "myserver/HTTP/Servlet web applications" folder. This one
is empty now! Previously the "General" Entry for the Implicitly Defined
Default Web Application was shown here, which showed our Servlets and
JSP's and their hit count and parameters.
So there is no chance to monitor the Servlets and JSP's of the default
Web Application.
I tried to deploy our WebApp a secound time with
weblogic.httpd.webApp.OurApp=i:/if_home2/web
but this create a second independent WebApp. OurApp is shown in the
Weblogic Console but it does not monitor the hits to the default WebApp.
So this is not a solution!
Any idea to make the default Web Application visible in the Weblogic
Console?
Hello Nadar,
Tell me how are you starting server in the cluster, through nodemanager or commnadline.
Kuldeep -
Web service not visible in production
Hi all,
I have developed a web service in development server and it is working properly. When transported to production, it is not visible in service definitions. ( se80 -- enterprise services -- service definitions)
But in production, under repository information system, it is available.
My requirement is how to get this webservice from repository information system in to enterprise services-- service definitions?
Please help me
Thanks & regards,
Murali Krishna .THi Murali,
I hope you looking in Repository browser of SE80 and have chosen the correct package. Jut try to filter based on package and select the correct package used for development of the service.
Regards,
Avishek.
Maybe you are looking for
-
Airplay from quicktime movie does not work
I just updated my iPad2 to iOS5 and my ATV2 to the latest version (4.4, I believe). Both are working fine and runnin the new versions. Then I started Safari on the iPad2, loaded the page with the iPhone 4S presentation and played it. Plays fine on th
-
Using a single user name for RADIUS
I have a WLAN with 5 1200 Series AP (A/G) configured for Fast Roaming using the Cisco supplied documentation. Can I use one user name for all of my devices to connect to the Internal Radius Server? This would be similar to having a passphrase for WPA
-
How to reformat an external drive?
I have a 1 TB Lacie external drive. it was originally formatted as Mac OS Extended (Journaled, Encrypted). It also might have been formatted as a bootable drive, but I am not certain. Today I mounted the drive, entered the decrypt key and want to
-
My account can't buy adobe cloud photographer.
That error is "There was a problem processing your order, please contact our Customer Service team for assistance." Help me please.
-
how do you open a adobe document that i did on photoshop cc on ios. i want to do this because i want to post this photo on instagram@