Error while using Remote object
Badri can you please put the code that we are using
The remoting-config.xml code is
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object"
class="flex.messaging.services.remoting.adapters.JavaAdapter"
default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="GISDBChart">
<properties>
<source>com.ge.gis.reports.GISDBChart</source>
<scope>application<scope>
</properties>
</destination>
<destination id="GISDBReport">
<properties>
<source>com.ge.gis.reports.GISDBReport</source>
<scope>application<scope>
</properties>
</destination>
</service>
The service-config.xml code is
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service-include file-path="remoting-config.xml" />
</services>
<security>
<login-command
class="flex.messaging.security.TomcatLoginCommand"
server="Tomcat"/>
<security-constraint id="basic-read-access">
<auth-method>Basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
</security>
<channels>
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint url="
http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
<channel-definition id="my-secure-amf"
class="mx.messaging.channels.SecureAMFChannel">
<endpoint
url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure"
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<!--HTTPS requests on some browsers do not work when
pragma "no-cache" are set-->
<add-no-cache-headers>false</add-no-cache-headers>
</properties>
</channel-definition>
<channel-definition id="my-polling-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint url="
http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-seconds>8</polling-interval-seconds>
</properties>
</channel-definition>
</channels>
<logging>
<target class="flex.messaging.log.ConsoleTarget"
level="Error">
<properties>
<prefix>[Flex] </prefix>
<includeDate>false</includeDate>
<includeTime>false</includeTime>
<includeLevel>false</includeLevel>
<includeCategory>false</includeCategory>
</properties>
<filters>
<pattern>Endpoint.*</pattern>
<pattern>Service.*</pattern>
<pattern>Configuration</pattern>
</filters>
</target>
</logging>
<system>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
</system>
</services-config>
The Error is
getFaultHandler: [FaultEvent fault=[RPC Fault
faultString="Send failed" faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 503: url: '
http://alpigedv4275.corporate.ge.com/portal/messagebroker/amf'"
messageId="06F0E133-07D6-FBCE-037C-DD26A718AE9D" type="fault"
bubbles=false cancelable=true eventPhase=2]
Please Guide me with this problem.... Its Urgentttttt
Similar Messages
-
Getting 'File not found' error while using server object model code
Hi,
I am using server object model code to pull list data in a console application. My machine has standalone installation of SP 2010. I am getting error 'File Not Found', however the same operation is working fine with client object model code.
Code I am using:
string strURL=http://servername/sites/sitename;
SPSite siteObj=new SPSite (strURL); //getting error here.
I have already checked the below,
1. Framework being used is 3.5.
2. I have proper access to site.
3. Running visual studio as admin.
Any help is much appreciated.
thanks
Tarique
thanks and regards Tarique AslamHello Tarique ,
Couple of pints need to check:
1. User running the console application needs to have at least read permission to the SharePoint databases
2. Set application by changing the "Platform target:" option on the "Build" to "Any CPU"
Also refer this similar thread:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2a419663-c6bc-4f6f-841b-75aeb9dd053d/spsite-file-not-found
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Error while using customizing object DNL_PLANT to download Plants
Hi All,
I am using customizing object DNL_PLANT to download plants from the R/3 system to the our CRM system.
From the table T001W (in R/3) to the table CRMM_LOCMAP (in CRM).
From this I am able to download the required Plants from the R/3 to CRM.
But the issue i am facing is that there are few entries (BP) defined as ( VERB- Affilated to Companies ) are also downloaded to the same table.
And these BP have been asssigned one more role other than VERB i.e. BBP003 now. These BP were intially present in the CRM system with role VERB only.Now they have two roles i.e. VERB and BBP003.
Is there anyway we can revert these entries from the table (CRMM_LOCMAP).
Or we remove the etra role (BBP003) added to the BP, by removing thses role by simply using BP transaction and removing the role.
Please suggest.
Cheers,
SharadHi,
is this a static class with an inner class you created: GlAccountClasses.GaclAcctType ? If not then this cannot be found. If you want to pass the reference to another View Object, use
a) a method exposed on the other VO Impl class
b) The ViewLink accessor
If you are using Groovy on a VO level then it doesn't help if you have accessors defined on the EO level
This may help too: http://blogs.oracle.com/raghuyadav/entry/groovy_samples
Frank -
Error while using remote-invocation-scheme
Hi
Can you please help us with the following exception while we are trying to fetch from a remote cache server instance using Extended*TCP (<remote-invocation-scheme>).
Please find below client n server cache-config.xml with client java code. Appreciate your response in this regard.
Thanks
vamsi
Client config.xml
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config/coherence-cache-config.xsd">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>example-local-cache</cache-name>
<scheme-name>example-local</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<local-scheme>
<scheme-name>example-local</scheme-name>
<eviction-policy>LRU</eviction-policy>
<high-units>10</high-units>
<low-units>3</low-units>
<unit-calculator>FIXED</unit-calculator>
<expiry-delay>10ms</expiry-delay>
<cachestore-scheme>
<class-scheme>
<class-name>com.test.dao.xx</class-name>
<init-params>
<!-- <init-param> <param-type>java.lang.String</param-type> <param-type>locations</param-type>
</init-param> -->
</init-params>
</class-scheme>
</cachestore-scheme>
<pre-load>true</pre-load>
</local-scheme>
<remote-invocation-scheme>
<scheme-name>extend-invocation</scheme-name>
<service-name>ExtendTcpInvocationService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>x.x.x.x</address>
<port>9099</port>
</socket-address>
</remote-addresses>
<connect-timeout>10s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
</initiator-config>
</remote-invocation-scheme>
</caching-schemes>
</cache-config>
Server config.xml
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config/coherence-cache-config.xsd">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>example-local-cache</cache-name>
<scheme-name>example-local</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<local-scheme>
<scheme-name>example-local</scheme-name>
<eviction-policy>LRU</eviction-policy>
<high-units>10</high-units>
<low-units>3</low-units>
<unit-calculator>FIXED</unit-calculator>
<expiry-delay>10ms</expiry-delay>
<cachestore-scheme>
<class-scheme>
<class-name>com.test.dao.xx</class-name>
<init-params>
<!-- <init-param> <param-type>java.lang.String</param-type> <param-type>locations</param-type>
</init-param> -->
</init-params>
</class-scheme>
</cachestore-scheme>
<pre-load>true</pre-load>
</local-scheme>
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>5</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9099</port>
</local-address>
</tcp-acceptor>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
Client code
===========
public class TestClient {
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
InvocationService service = (InvocationService)
CacheFactory.getConfigurableCacheFactory()
.ensureService("ExtendTcpInvocationService");
Map map = service.query(new AbstractInvocable()
public void run()
setResult(CacheFactory.getCache("example-local-cache").get("key"));
}, null);
int IValue = (Integer) map.get(service.getCluster().getLocalMember());
Exception -
Exception in thread "main" java.lang.IllegalArgumentException: Missing scheme for service: "ExtendTcpInvocationService"
at com.tangosol.net.DefaultConfigurableCacheFactory.findServiceScheme(DefaultConfigurableCacheFactory.java:722)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:330)
at com.test.dao.TestClient.main(TestClient.java:31)If you are pretty sure the code you posted was running on client side (if you accidently ran on server side, of course it couldn't find the service), check the IP address you specified on yoru client's cache config.
On your server, you were using localhost. If you are not using localhost in your client's cache config (i.e. running from different server), replace the localhost in your server's cache config and use the correct IP.
Or check the server's log to make sure the proxy service were started using matching IP. -
Error While calling remote object
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/Remote/messagebroker/amf'"]
This is the error I am getting when I am trying to call a method in java
This is java code
package demo;
public class Hello
public String sayHello()
System.out.println("1st Method is calledddddddd");
return "Hello World!";
public String sayHelloWithParam(String str){
System.out.println("2nd Method is calledddddddd");
return "You have typed "+str;
This is my mxml code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
public function sayHello(event:ResultEvent):void{
label1.text=event.result.toString();
public function sayHelloWithParameter(event:ResultEvent):void{
label1.text=event.result.toString();
]]>
</mx:Script>
<mx:RemoteObject id="hello" destination="helloworldclass" fault="mx.controls.Alert.show(event.fault.toString())">
<mx:method name="sayHello" result="sayHello(event)"/>
<mx:method name="sayHelloWithParam" result="sayHelloWithParameter(event)"/>
</mx:RemoteObject>
<mx:Label x="55" y="51" text="Label" id="label1"/>
<mx:Button x="253" y="49" label="Button1" click="hello.sayHello()"/>
<mx:TextInput x="55" y="106" id="t1"/>
<mx:Button x="253" y="106" label="Button2" click="hello.sayHelloWithParam.send();"/>
</mx:Application>
When I click the button I am getting that error..
Please help me in solving thisYour server code must be faulty. If things work well you should see a blank screen when you point your browser to the amf endpoint.
An Apache message like "The requested resource (/bpm-backend/whatever) is not available." indicates that something in your server app is not working properly or not mapped right. -
Error while using implicit remoting from Win 7 Client
Anyone who can help with below error while implicit remoting in exchange 2010, i have verified WinRM service, and currently using power-shell v2 both on client and server.
Error Code:
Connecting to remote server failed with the following error message : WinRM cannot process the request.
The following error occured while using Kerberos authentication: A specified logon session does not exist. It may alre
ady have been terminated.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
e HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information,
see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
eption
+ FullyQualifiedErrorId : PSSessionOpenFailed
Aditya MedirattaHi Aditya,
Please running following command to enable the CredSSP on both client and server:
Parameter Set: Default
Enable-WSManCredSSP [-Role] <String> [[-DelegateComputer] <String[]> ] [-Force] [ <CommonParameters>]
I found a blog for your reference in case I have anything misunderstanding:
How To Use The 2012 Active Directory PowerShell Cmdlets From Windows 7
http://blogs.technet.com/b/ashleymcglone/archive/2013/06/27/how-to-use-the-2012-active-directory-cmdlets-from-windows-7.aspx
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Error while creating Temse Object (W2 form in PU19)
Team,
When i try to create the w2 in PU19, i am getting the error statingthat ERROR WHILE CREATING TEMSE OBJECT HRLUS01A100900109026.Please advise me in this.(We are maintaining the HRSP-42).It is veryurgent,Expecting your valuable Guidance.Points sure for the answers.
Regards
Priya.KHi
let me know weather r u using any reference object which contain the routinee.
regards,
chandra. -
Error while creating PDF object
We are using Adobe Interactive Forms with Guided Procedures. Netweaver 7.0 SP14 (Dual stack Java & Abap). All was working well it appears until we configured SSL for ADS - don't know for sure if this caused the problem but it is the only change we can identify around the time that our problems began.
When we attempt to Create an Impersonalized Form we receive the following error -
Cannot retrieve template structure: Execution ended in an unrecognized state
When we attempt to test a callable object associated with an interactive form we receive -
Error while creating PDF object: PDF object could not be created; object returned from ADS is null.
In both cases the entries in the default trace log are the same -
Service XMLFormService: Native process (PID=0) /usr/sap/UFD/DVEBMGS02/j2ee/os_libs/adssap/XMLFormService/bin/XMLForm.exe terminated abnormally with error code 134
PDF object could not be created; object returned from ADS is null
com.sap.caf.eu.gp.base.exception.EngineException: PDF object could not be created; object returned from ADS is null
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.createInstanceDocument(AdobePDFAdapter.java:542)
at com.sap.caf.eu.gp.model.iforms.preproc.FormPreprocessor.execute(FormPreprocessor.java:507)
Like I mentioned earlier this functionality was working successfully in our environment at one time.
Any guidance in this matter would be greatly appreciated.
Thanks,
JoeJoe,
If you originally configured ADS without SSL, I would recommend going back through the ADS Configuration Guide for your NetWeaver stack and make sure all the necessary changes for SSL were made. I've seen another case where a step was missed in SSL configuration for ADS which caused a form to error.
If everything looks good based on your SSL configuration, I would recommend creating an OSS Note.
-Matt -
Hi,
I am getting the following oracle error while using exp,
can someone please suggest on this,
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SIEBEL
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SIEBEL
About to export SIEBEL's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SIEBEL's tables via Conventional Path ...
. . exporting table EIM_ACCDTL_TNT
EXP-00008: ORACLE error 904 encountered
ORA-00904: "MAXSIZE": invalid identifier
. . exporting table EIM_ACCNTROUTE
EXP-00008: ORACLE error 1003 encountered
ORA-01003: no statement parsed
. . exporting table EIM_ACCNT_CUT
EXP-00008: ORACLE error 904 encountered
ORA-00904: "MAXSIZE": invalid identifier
. . exporting table EIM_ACCNT_DTL
EXP-00008: ORACLE error 1003 encountered
ORA-01003: no statement parsedSatish is right, there exists bug for 11.1.0.6.
Look at metalink note 741984.1.
Bug number is 5872788 - there exists patch as well. -
3-1674105521 Multiple Paths error while using Bridge Table
https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
Customer Smiths Medical International Limited
Description: Multiple Paths error while using Bridge Table
1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
2. They found found out by adding these 3 joins, they ended with circular error.
[nQSError: 15001] Could not load navigation space for subject area GXODS.
[nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
Thanks
TeikThe strange thing compared to your output is that I get an error when I have table prefix in the query block:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
ORA-38500: Unsupported operation: Oracle XML DB not present
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
And if I remove it, it works:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "SYSADM"."TMP3" 5.406 KB 1 out of 2 rows
Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
Nicolas.
PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use. -
Run time error while using Class gcl_error
Hi All,
I am getting run time error while using class gcl_error
type REF to zsreport_error_handling:
'' Attempt to access a component using 'NULL' object reference (points to nothing).
An object reference must point to an object ( an instance of a class) before you can use it to access components ( variable : ''GCL_ERROR'').
Either the reference point has not yet been set or it has been reset to 'NULL' by a clear statement."
Can you please suggest any solution for this ?
Thanks in advance.Dear All
Its Resolved Thanks For your Valuable time Support
INCLUDE LV03VFB4 inside below code trigger error.
PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
WA_AVBBD-APOMOBILE
DA_SUBRC
DA_UPDKZ
DA_VVBBD_TABIX
0.
This Was the Error some how 0 was there we are removed the 0 now it is working fine
Rgds
Thomson -
Error : while Importing SAP Objects in ESR.
I am getting error, while importing SAP object in a scenario in ESR.
What can be the issue ? as we have configured all the beckend settings & sldcheck is also OK.
Also, we are using proxy scenarios are working fine on system.
The details are as below :
at com.sap.aii.ib.server.upload.UploadServiceBean.openSAPSource(UploadServiceBean.java:88)
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:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
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:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:43)
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_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
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:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
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:21)
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:16)
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:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy1366.openSAPSource(Unknown Source)Hello,
Have you used the notes to import ESR content?
Refer to one of them according to your system version:
PI 7.1X:
#1152640 - SAP NetWeaver 7.1 including EHP 1: Importing ESR content
XI 7.0:
#836200 - SAP NetWeaver 7.0: Importing Process Integration Content
XI 3.0:
#705541 - XI 3.0 (SP1 and higher): Importing XI Content
Regards,
Caio Cagnani -
Getting status as ERROR while instantiating Business Object in work flow?
Hi,
Getting status as ERROR while instantiating Business Object in work flow.
How to rectify it.
Tahnks in Advance.
Moderator message: please have a look at the dedicated Workflow forum on SCN.
Edited by: Thomas Zloch on Jan 19, 2012Hi,
Go to SWDD and create a new workflow. This workflow will have two steps. This is just for test purpose so we are not going to define any triggering event etc. First step will instantiate (creating a runtime object) a business object and second step will use that runtime object to execute one of its method. We know that to instantiate any BO we need the object key to be passed. Key uniquely identifies a runtime instance of Business Object (henceforth we will refer it as BO or business object interchangeably).
use Business Object SYSTEM and method GENERICINSTANTIATE to instantiate any Business Object in workflow -
I am getting a error while using CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
The error is class "CL_SSF_XSF_UTILITIES is unknown. How to correct that?? please help I am new to object oriented programming??
Edited by: priya singh on Nov 18, 2008 2:14 PMThis is my code.
REPORT ZSAVE_FUNCTION .
D A T A D E C L A R A T I O N S *
DATA: v_bitmap TYPE xstring, "graphic data
v_file TYPE string, "file name
v_length TYPE i. "length of binary file
DATA: BEGIN OF it_bitmaps OCCURS 0,
object TYPE tdobjectgr, "object
name TYPE tdobname, "name
id TYPE tdidgr, "id
tdbtype TYPE tdbtype, "graphic type
END OF it_bitmaps.
DATA: itab TYPE TABLE OF x.
*class cl_ssf_xsf_utilities definition.
public section.
methods : get_bds_graphic_as_bmp
DATA: L_GRAPHIC_XSTR TYPE XSTRING.
*method cl_ssf_xsf_utilities
S E L E C T I O N - S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p_object TYPE tdobjectgr, "object
p_btype TYPE tdbtype, "graphic type
p_name TYPE tdobname, "name
p_id TYPE tdidgr. "id
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p_file TYPE rlgrap-filename. "file name
SELECTION-SCREEN END OF BLOCK b2.
*A T S E L E C T I O N - S C R E E N O N V A L U E - R E Q U E S T *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_name.
*-- Creating f4 help for the parameters
PERFORM get_f4_object_name.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*-- Getting the current value entered
PERFORM get_current_value.
*-- Value Request Functionality For Input File Name
PERFORM f4_value_request.
S T A R T O F - S E L E C T I O N *
START-OF-SELECTION.
*--Getting the graphic as a BMP file
PERFORM get_graphic_bmp.
*--Convert the Xstring format to binary format
PERFORM convert_to_binary.
*--Download the graphic
PERFORM download_graphic.
*& Form get_current_value
Get the current file path entered
FORM get_current_value .
DATA: BEGIN OF li_dynp_value_tab OCCURS 0.
INCLUDE STRUCTURE dynpread.
DATA: END OF li_dynp_value_tab.
DATA: l_program_name LIKE d020s-prog,
l_dynpro_number LIKE d020s-dnum.
l_program_name = sy-cprog.
l_dynpro_number = sy-dynnr.
REFRESH li_dynp_value_tab.
li_dynp_value_tab-fieldname = 'P_FILE'.
APPEND li_dynp_value_tab.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = l_program_name
dynumb = l_dynpro_number
TABLES
dynpfields = li_dynp_value_tab
EXCEPTIONS
invalid_abapworkarea = 04
invalid_dynprofield = 08
invalid_dynproname = 12
invalid_dynpronummer = 16
invalid_request = 20
no_fielddescription = 24
undefind_error = 28.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE li_dynp_value_tab INDEX 1.
p_file = li_dynp_value_tab-fieldvalue.
ENDFORM. " get_current_value
*& Form f4_value_request
Provinding the f4 for the given path
FORM f4_value_request .
*-- if the file is to be downloaded to presentation server
CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
EXPORTING
pathname = p_file
CHANGING
pathfile = p_file
EXCEPTIONS
canceled_by_user = 1
system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " f4_value_request
*& Form GET_GRAPHIC_BMP
Get the graphic as a BMP file
FORM get_graphic_bmp.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = p_object
p_name = p_name
p_id = p_id
p_btype = p_btype
RECEIVING
p_bmp = L_GRAPHIC_XSTR
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " GET_GRAPHIC_BMP
*& Form CONVERT_TO_BINARY
Converting the xstring to binary format
FORM convert_to_binary .
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = v_bitmap
IMPORTING
output_length = v_length
TABLES
binary_tab = itab.
ENDFORM. " CONVERT_TO_BINARY
*& Form DOWNLOAD_GRAPHIC
Download the graphic
FORM download_graphic .
v_file = p_file.
CONCATENATE p_file '.BMP' INTO v_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_length
filename = v_file
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DOWNLOAD_GRAPHIC
*& Form GET_F4_OBJECT_NAME
Get F4 values for object names
FORM get_f4_object_name .
DATA: dynpfld_mapping TYPE STANDARD TABLE OF dselc WITH HEADER LINE,
return_tab TYPE STANDARD TABLE OF ddshretval WITH HEADER LINE.
*--Selecting the values to be provided as f4 help
SELECT tdobject
tdname
tdid
tdbtype
FROM stxbitmaps
INTO TABLE it_bitmaps.
*--To update the values in the remaining fields
dynpfld_mapping-fldname = 'F0001'.
dynpfld_mapping-dyfldname = 'P_OBJECT'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0002'.
dynpfld_mapping-dyfldname = 'P_NAME'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0003'.
dynpfld_mapping-dyfldname = 'P_ID'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0004'.
dynpfld_mapping-dyfldname = 'P_BTYPE'.
APPEND dynpfld_mapping.
*--Providing f4 help with the selected values
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TDOBNAME'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_NAME'
value_org = 'S'
TABLES
value_tab = it_bitmaps
dynpfld_mapping = dynpfld_mapping
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " GET_F4_OBJECT_NAME -
Duplicity & Google docs : Error while fetching remote entries
Hello, after hdd crashed in my home server I'm paying attention to make backups with duplicity now.
But when run duplicity command:
duplicity /path/to/folder gdocs://user:[email protected]/Backup/
I get this error:
Import of duplicity.backends.giobackend Failed: No module named gio
BackendException: Error while fetching remote entries: 'DocsClient' object has no attribute 'get_everything'.I had python-gdata installed as duplicity told me to do it. Python2-gobject2 fixed the first error but second one still remains.
Maybe you are looking for
-
One year on MacBook Pro (almost) - disappointed
For Christmas last year, I was offered a 15 inch MacBook Pro. It was, by far, the best present I ever got. Up until then, I was schlepping around a Dell Latitude. I had had it for six years and that Dell was a reliable little machine, even though it
-
Impact of adding new value fields in ongoing operating concern.
Hi All, Want to know the steps of adding new value fields in the existing operating concern in COPA? What is the overall impact of addition of New Value fields in the running Operating Concern? How do we test the addition of new value fields? Is the
-
I am having a problem relating camera roll album bugs
i am having a problem relating camera roll album bugs
-
Hello, is there a straightforward way, to display all materials which are currently in GR blocked stock (received with movement type 103, but not yet 105)? Many thanks in advance. Regards, Sergei
-
I have money one iTunes but it will or let me send it
I have money on iTunes and it is not letting me send it