Send data from html to flash action script
Hi,
I would like my flash to act differently depending on what
html page it is on. Can I send information from html code to action
script?
Hi,
Yes you can, by using FLASHVARS. Refer the attached code for
example. Also you can use Javascript setVariable method of Flash
object to set values in between i.e. after the page has loaded, as
in case of FLASHVARS these are sent to flash just at the begining
i.e. once SWF loads. In the attached exmple i've sent 2 variables
to Flash one is 'username' and other is 'userId', thse will be
fetched inside flash movie as _root.username and _root.userId.
Note: I've added flashvars as PARAM and also as an attribute
for EMBED tag (used by Mozilla, NS etc)
Hope this helps.
Thanks,
Sumeet
Similar Messages
-
Help... link URL from XML to Flash Action Script 2
I am trying to link a different URL to each of my files in XML and use this XML in Flash were I created a carousel. In the carousel, when you click on a picture I would like to insert a specific URL. Each picture will have a different URL (http://------------).
Here are my codes:
XML:
<icons>
<icon image="icon1.png" tooltip="Planning" />
<icon image="icon2.png" tooltip="Investments" />
<icon image="icon3.png" tooltip="Education" />
<icon image="icon4.png" tooltip="Insurances" />
<icon image="icon5.png" tooltip="Mortgages" />
<icon image="icon6.png" tooltip="Retirement" />
<icon image="icon7.png" tooltip="Business Owner" />
<icon image="icon8.png" tooltip="Banking" />
</icons>
Flash Action Script 2:
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 250;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.01;
var perspective:Number = 60;
var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.ref.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
function over()
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
function out()
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function released()
function moveTip()
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover ()
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) / (centerY+radiusY-perspective);
this._xscale = this._yscale = s * 100
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
speed = (this._xmouse-centerX)/10000;
Thanks so much for the help.You should be able to add that data into your xml tags and then extract it in the AS2 onLoad function...
XML:
<icons>
<icon image="icon1.png" tooltip="Planning" linkURL="http://www.someURL.com/somePage.html" />
AS2:
xml.onLoad = function()
etc....
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.urlLink = nodes[i].attributes.linkURL;
etc... -
Send data from c# to flash
Hi,
I know that is possible to send strings from and to flash in
c# with the fscommand-function.
But is it possible to send a kind of dataset or array(list)
to flash?
Grtz
Annihil8>>Are you hosting a flash player within a c/c++
program?
No, they are seprate bascially i am trying to send data to a
seprate c/c++ file.
>>need more info about what you're trying to do
>>and why before we can give you an answer
I have liitle flash programme that I have built that acts
like a language book (something for GCSE revision) for french and
german (so far i have only built the german). Because you have to
type in your oen answer, it had to be long term so i couldn't use
Shared Objects and so i wanted flash to create a new file so
on the owners pc as i don't really have that much mermory on my
server. I know that flash was not able to create a file so i looked
at different scripts.
I have not decided weather it will be downloaded or it runs
in a pop - up browser or in the browser; so i want to keep it as a
.swf for now. I knew that c/c++ did what i want but how do you get
it onto the server and work? (i decided i have to get it working on
the server first before i do anthing else).
EDIT: just remembering something. flash is going to send an
array to c++ which will write over that array in file. I probabl
have separate all the arra that is going to be edited?
Thanks for your reply as well
at least it looks like one person knows of
c/c++ -
Send data from flash to a popup ASP page
how can I send data from a flash webpage to an ASP page which
has to open in a popup window.
I can do them both seperatly, but how to integrate those 2 in
1....
Here's my script...I'm not sure if this will work, so you'll have to forgive me
if I'm way off here. I use php for all my server-side goodness. I
recently was doing sort of the same thing, but what I did to solve
it was this (oversimplified of course)...
variableSTRING =
"?variableA=valueONE&variableB=valueTWO";
getURL("javascript:popup('
http://test.php"+variableSTRING+"
','myPopUp',800,600)");
does that help? -
Can access c++ library from flash action script by using SWC lib?
We want to develope a Flash application based on Windows CE 6.0 R3. The application aims to communicate with middleware libraries written in C/C++. Is it possible to create SWC file using the c++ library file so that we can load this as a component in fla project for accessing the library functions from flash action script 3.0? OR Is there any simple way to access c++ library from action script?
Thanks,
SauminiI don't think Alchemy will help you. The reason is Alchemy does not give socket capabilities beyond what Flash provides.
-
How do you auto reconnect a live video stream broadcast in flash action script 3?
how do you auto reconnect a live video stream broadcast in flash action script 3?
so i don't have to ask people to refresh the page if the connection drops
i copy pasted the live video stream broadcast files and script from here;
http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
/node_1278314297096/file.res/beginner_live_fms3.zip
i don't know what i'm doingWhy don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?
-
I want to send data from One server to another
Hi all,
My requirement to send data from one server's application server path(data in one directory in Al11 of the source server) to another server's application server(TO another directory in Al11 transaction of the destination server).
What are all the ways to achieve this task.
Thanks in Advance.
RajaWhile the FTP option mentioned above is workable, both servers should have some form of FTP service running with reference to this solution.
I suggest two more options, just to give you an idea. I am not getting into details as it is important to get the big picture first before working on details.
1: Through RFC destinations:
You can define two RFc destinations, each pointing to the specific application server. Assuming the server names are SOURCE and TARGET, you can have two RFC destinations where you differentiate the servers by specifying the host name or IP address.
Once the destinations are defined, you need to develop two RFC enabled function module, one will be used to read the file and return it in form of internal table. The other will be get the internal table as input and should save it on server (using abap commands open dataset etc.)
Now you can have an ABAP program where you first call the function which is reading the file. In call function you mention the RFC destination of source server.
Once the file is read, you than call the second function module with destination to target server and save the internal table to a file.
2: Through Background job programming
While scheduling a background job, you can specify target system which forces the background job to run on that target application server. The basic idea here is to have two abap programs, one would be used to read file and export it to database table like INDX (we can call it ZPRG1), the other will import from the table INDX and write it as a file (we can call it ZPRG2).
Now you can define a job through SM36, using ZPRG1 as program, and target system as the first application server. This job you can schedule to run periodically.
Also define a second job through SM36, using ZPRG2 as program and target system as the second application server. For this job, the starting condition you can put as After completion of job1.
Another method one can be by using FMs used in tcode SM49 but for that I think your sysadmin might have to create a batch file/script first. Which you can later call from ABAP.
Cheers. -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
Send data from doPost() in servlet to AJAX
Hi
I need to send data from my servlet to my html(which contains AJAX), so as per the motivation of the AJAX, this should be done without my webpage reloading / refresh.
my code on the ajax side is something like this:
var xmlHttp = false;
function getXMLHttpRequest(val) {
try{
xmlHttp = new XMLHttpRequest();
}catch(err1){
try{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
catch(err2){
try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");}
catch(err3){ request = null;}
if (xmlHttp == false) {
alert("Error creating request object !!");
else if(xmlHttp != false){
return xmlHttp;
var xmlhttp = new getXMLObject();
function ajaxFunction() {
if(xmlHttp) {
var value1 = document.getElementById("value1");
xmlHttp.open("POST","ajax_controlller",true); //getname will be the servlet name
xmlHttp.onreadystatechange = handleServerResponse;
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.send("value1=" + value1.value); //Posting txtname to Servlet
function handleServerResponse() {
if (xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
// document.myForm.message.innerHTML=xmlHttp.responseText;
alert(xmlHttp.responseText); //Update the HTML Form element
else {
alert("Error during AJAX call. Please try again");
}and the servlet (doPost()) looks like this :
if(request.getParameter("value1") != null){
value = request.getParameter("value1");
else
value = "";
response.setContentType("text/html");
response.getWriter().write("helllo");I however, do not understand what is wrong, do I need to specify the name of the html file just like we do in case of RequestDispatcher() methods. I dont think that is the case here ?The problem is: My value is passed correctly from my HTML(ajax) file to the servlet but I am not able to send the result(or data) from the servlet to the HTML (ajax) file, I know I can do this easily by session management but I need to establish this without the session management , In the servlet I use
response.setContentType("text/html");
response.getWriter().write("helllo");
and in the HTML file I use
function handleServerResponse() {
if (xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
alert(xmlHttp.responseText); //Update the HTML Form element
else {
alert("Error during AJAX call. Please try again");
}so as per the logic I should get the alert as the result sent by the servlet on the same html page, but instead the servlet writes the hello on the new page, the URL of this page is the address of the servlet itself, so I conclude that I am not able to establish the connection between the servlet and the html file. Could you clarify this please ? -
Send data from producer to consumer
Hi,
I am trying on a sampe project with weblogic as both producer and consumer. I could send the data from consumer to producer to using Interceptors. Now, my requirement is to send data from producer back to consumer. I can do this using SimpleStateHolder, but I want a generic way like passing information in cookies/HTTP Request Headers from producer...etc and to retrieve them at consumer. This is because in my actual implementation the producer will be websphere.
So, please can anyone tell me how to send data from producer to consumer ???
Thanks,
AnuHello Anu,
I believe WLP 10.2 requires some patches to get the consumer
interceptor to properly access cookies coming from the producer, so
that is probably why you aren't seeing the cookies. After reading your
use-case, I don't think you will need to get these patches to get your
use-case to work, but if you are still interested in the patches, I can
find out the details for you.
The reason the redirect code you posted isn't working is because the
response has already been committed during the getMarkup operations and
it is too late to redirect the page to a different URL, so the redirect
is being ignored.
The good news is that the functionality you want should all be fairly simple to implement.
When the user opens the remote portlet, makes a selection and then
submits it, the first thing that will happen is a WSRP
BlockingInteraction call to the producer, to let the remote portlet
know that a user has interacted with it. This happens before the
GetMarkup operation, during a time when it is still legal to redirect
to a different URL. In fact, the portlet on the producer is allowed to
send a response indicating that the page should be redirected to a
different URL.
So in your remote portlet, you can have it look at the form values that
were submitted during the BlockingInteraction call, and if the user
selected the particular value that should be redirected to another
portlet, the remote portlet can request a redirect. The only problem
here is that your remote portlet doesn't know the URL to the portlet it
wants to redirect to on the consumer side, but you can handle that in
an interceptor on the consumer.
So, rather than implement the IGerMarkupInterceptor, use the IBlockingInteractionInterceptor. For example:
public sampleInterceptor implements IBlockingInteractionInterceptor
// Other methods need to be implemented to do nothing...
public Status.PostInvoke postInvoke(<code>IBlockingInteractionRequestContext requestContext,
IBlockingInteractionResponseContext responseContext)</code>
String redirectUrl = responseContext.getRedirectURL();
if(redirectUrl != null)
// The producer portlet wants to redirect- substitute the right consumer URL
PageURL pageUrl =
PageURL.createPageURL(requestContext.getHttpServletRequest(),
requestContext.getHttpServletResponse),
"voipTrunk_portal_page_11_page_12_page_13");
responseContext.setRedirectURL(pageUrl.toString());
This should be all that you need to do on the consumer side. It will
automatically redirect for you to the URL you set in the interceptor,
since the producer portlet requested a redirect.
On the producer side, you will need to have the portlet send the
redirect request during the BlockingInteraction operation. How you do
this depends on what portlet type you are using and what producer you
are using. For example, in WLP using a JSP portlet, you would need to
use a backing file on the portlet, and have that class implement the
JspBacking class:
http://edocs.beasys.com/wlp/docs102/javadoc/com/bea/netuix/servlets/controls/content/backing/JspBacking.html
Then, in the handlePostbackData method you would look for the special value and redirect if it exists, such as:
public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response)
String paramValue = request.getParameter("paramName");
if((paramValue != null) && (paramValue.equals("specialValue"))
// Need to send a redirect request
PortletBackingContext pbc = PortletBackingContext.getPortletBackingContext(request);
pbc.sendRedirect("http://anyUrlWillWork");
return(true);
return(false);
Since the consumer interceptor is changing the redirect URL, any
redirect URL the producer sends will work- it just needs to look like a
valid, absolute URL to pass some simple checks on the producer.
Backing files are documented here: http://e-docs.bea.com/wlp/docs102/portlets/building.html#wp1077130
As I mentioned before, different portlet types and producers would do
this differently. For example, I don't think WebSphere has backing
files, and in JSR168 portlets a backing file is not needed- you would
do the equivalent code in the JSR168 portlet's processAction() method
(using javax.portlet.ActionResponse.sendRedirect(String URL) to send
the redirect request). JSR168 portlets should work in both WLP and
WebSphere, but I don't know the details of the portlet type you want to
use on the WebSphere producer; if it isn't a JSR168 portlet, WebSphere
must have some way equivalent to the backing file's handlePostbackData
method to participate in a WSRP BlockingInteraction operation and
request a redirect.
No cookies or headers are required though, so I don't think you would
need the patches to WLP 10.2 for the interceptor dealing with cookies.
Hope this helps,
Kevin -
Send data from handlers to service component
Hi,
Is there a way to send data from handlers to end service component. I have a
requirement in my Doc Literal service method to get some data from handlers for
further processing. What is the best way to get this?
Any help will be deeply appreciated.
Thanks,
Ranjith Pillai.Hello,
Using the handler doesn't explicitly restrict your normal J2EE
development efforts. There are some general guidelines on creating
backend components in the docs [2]. My personal preference is using JMS
[1] to queue, persist and transport the data, but knowing only a
sentence of your design, it's hard to say if it is the bast way in your
case.
Hope this helps,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/jms.html#1067060
[2]
http://edocs.bea.com/wls/docs81/webserv/design.html#1067421
RanjithPillai wrote:
>
Hi,
Is there a way to send data from handlers to end service component. I have a
requirement in my Doc Literal service method to get some data from handlers for
further processing. What is the best way to get this?
Any help will be deeply appreciated.
Thanks,
Ranjith Pillai. -
How to send data from internal table to the shared folder in ABAP
Hi experts,
My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is "
xxx\y\z....".
I do not have any idea on how to send data from internal table to the shared folder path.
can anybody please help me out how to do this?
Thanks & Regards
Sireesha.Where that folder is located, its on presentation server i.e. desktop or application server.
If its on presentation server, use FM GUI_UPLOAD.
If its on application server, then use DATASET functions. Have a look at below link.
[File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
I hope it helps.
Thanks,
Vibha
Please mark all the useful answers -
Problem with Runtime Workbench and with sending data from XI to SLD
Hello<br>
<br>
Could I have a little help, a hint in the two following topics:<br>
<br>
1. I run Runtime Workbench -> Component Monitoring -> Display All and I get this error:<br>
<br>
Error during communication with System Landscape Directory: User credentials are invalid or user is denied access<br>
<br>
In filesystem log I can find like this:<br>
<br>
XIRWB.com.sap.aii.mdt.frames.jsp_error [SAPEngine_Application_Thread[impl:3]_40] Fatal: Error during communication with System Landscape Directory: User credentials are invalid or user is denied access<br>
Thrown:<br>
MESSAGE ID: com.sap.aii.rwb.agent.server.rb_LCRAgent.landscapeCommunicationError<br>
com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: User <br>credentials are invalid or user is denied access
at com.sap.aii.rwb.agent.server.SLDAgentBean.convertException(SLDAgentBean.java:1472)
at com.sap.aii.rwb.agent.server.SLDAgentBean.buildSLD(SLDAgentBean.java:773)
at com.sap.aii.rwb.agent.server.SLDAgentBean.provideSld(SLDAgentBean.java:269)
at com.sap.aii.rwb.agent.server.SLDAgentBean.getXIDomain(SLDAgentBean.java:711)
at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0_0.getXIDomain(SLDAgentObjectImpl0_0.java:375)
at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getXIDomain(SLDAgent_Stub.java:436)
at com.sap.aii.rwb.agent.client.EJBAgent.getXIDomain(EJBAgent.java:255)
at com.sap.aii.rwb.util.web.model.AppMainModel.getSelectedDomain(AppMainModel.java:138)
at com.sap.aii.rwb.util.web.model.DomainRep.build(DomainRep.java:121)
at com.sap.aii.rwb.web.componentmonitoring.model.ObjectIdentificationTree.getComponentTree(ObjectIdentificationTree.java:117)<br>
at jsp_component_monitoring1321125174985._jspService(jsp_component_monitoring1321125174985.java:217)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doGet(CmPageProcessor.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at jsp_FC_Secure1321125169379._jspService(jsp_FC_Secure1321125169379.java:24)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
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:160)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
Root cause:<br>
com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access<br>
at com.sap.lcr.api.cimclient.HttpRequestSender.processResponse(HttpRequestSender.java:577)
at com.sap.lcr.api.cimclient.HttpRequestSender.send(HttpRequestSender.java:341)
at com.sap.lcr.api.cimclient.CIMOMClient.send(CIMOMClient.java:280)
at com.sap.lcr.api.cimclient.CIMOMClient.performBatchOperation(CIMOMClient.java:1251)
at com.sap.lcr.api.cimclient.CIMClient.performBatchOperation(CIMClient.java:2268)
at com.sap.aii.utilxi.sld.MRSldProxy.stage1(MRSldProxy.java:989)
at com.sap.aii.utilxi.sld.MRSldProxy.loadComponents(MRSldProxy.java:918)
at com.sap.aii.utilxi.sld.MRSldProxy.loadSld(MRSldProxy.java:907)
at com.sap.aii.utilxi.sld.SubSystemFactory.createSldFromSld(SubSystemFactory.java:373)
at com.sap.aii.utilxi.sld.SubSystemFactory.createSldFromSld(SubSystemFactory.java:434)
at com.sap.aii.rwb.agent.server.SLDAgentBean.buildSLD(SLDAgentBean.java:764)
at com.sap.aii.rwb.agent.server.SLDAgentBean.provideSld(SLDAgentBean.java:269)
at com.sap.aii.rwb.agent.server.SLDAgentBean.getXIDomain(SLDAgentBean.java:711)
at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0_0.getXIDomain(SLDAgentObjectImpl0_0.java:375)
at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getXIDomain(SLDAgent_Stub.java:436)
at com.sap.aii.rwb.agent.client.EJBAgent.getXIDomain(EJBAgent.java:255)
at com.sap.aii.rwb.util.web.model.AppMainModel.getSelectedDomain(AppMainModel.java:138)
at com.sap.aii.rwb.util.web.model.DomainRep.build(DomainRep.java:121)
at <br>com.sap.aii.rwb.web.componentmonitoring.model.ObjectIdentificationTree.getComponentTree(ObjectIdentificationTree.java:117)
at jsp_component_monitoring1321125174985._jspService(jsp_component_monitoring1321125174985.java:217)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doGet(CmPageProcessor.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at jsp_FC_Secure1321125169379._jspService(jsp_FC_Secure1321125169379.java:24)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
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:160)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
<br>
<br>
<br>
I don't know what is wrong.<br>
I have configured:<br>
- SLDCHECK work properly,<br>
- none of the users PI* type not lock,<br>
- password to the PI* users in exchangeProfile entered correctly,<br>
- In VA in the JCo RFC Provider I have properly configure: AI_RUNTIME_JCOSERVER, LCRSAPRFC, SAPSLDAPI_SID - from the ABAP I can connect to this programs ID<br>
- In VA in SLD Data Supplier I have properly configure bookmarks HTTP Settings and CIM Client Generation Settings. CIMClient Test is OK<br>
<br>
I do not know what else I can see, what else I have properly configured ... I looked at the notes:: 936093 jak i 721548...<br>
<br>
<br>
2. I can't send data from XI to SLD, ie makes me a system definition in Web As Abap and Web as Java but nothing appear to me in Exchange Infrastructure. Exchange Infrastructure is empty - what is wrong??<br>
I carried out the recommendation by 764176 and 1031321 notes<br>
<br>
I restart below applications (no effect)...<br>
com.sap.xi.directory (Integration Builder/Configuration)<br>
com.sap.aii.af.app (Adapter Engine)<br>
com.sap.xi.rwb (Runtime Workbench)<br>
com.sap.xi.repository (Integration Builder/Design)<br>
<br>
Can I ask for help and guidance in these topics?<br>
<br>
Regards<br>
RP<br>I increased logging in the NWA (Configuration -> Log Configuration) - and increased the some things here to log ALL. So that from the NWA (Monitoring -> Logs and Traces) I see a little more information (but does not follow that with which the user is a problem).<br>
<br>
Here are some interesting logs ...<br>
I was most rash or irritation of those that say about the lack of credentials u2013 I must use Viusal Administrator and set good service ...<br>
<br>
What do I have done:<br>
In the Visual Administrator -> Cluster -> Server -> Services -> SLD Data Supplier<br>
I have set in the HTTP Settings tab the host and port SLD, the user name and password is also entered as it is in the SLD. To be sure, already have set for the user entered here such roles as:<br>
SAP_SLD_ADMINISTRATOR<br>
SAP_SLD_CONFIGURATOR<br>
SAP_SLD_DEVELOPER<br>
SAP_SLD_GUEST<br>
SAP_SLD_ORGANIZER<br>
Maybe we are talking in this place about a different user?<br>
<br>
Similarly, when it comes to tab CIM Client Generation Settings - here's all the same thing done. CIMClient test shows that everything is OK.<br>
When I click the button: This trigger the transfer of data to the SLD gets the message that everything was shipped correctly. Indeed, I received an instance of JAVA in SLD<br>
Also clicked on this icon: Assign application roles to user group - got information that everything is attached properly.<br>
<br>
By ABAP side, the connections: INTEGRATION_DIRECTORY_HMI, SAPSLDAPI, LCRSAPRFC, AI_RUNTIME_JCOSERVER and AI_DIRECTORY_JCOSERVER work correctly, ie I can perform the test - which means that programs ID are properly positioned in JCO Provider in VA.<br>
<br>
Puzzling is this message:<br>
The SLD data is inconsistent.<br>
<br>
Strange also that the message (from the ABAP everything is available in SMGW no errors):<br>
Connect to SAP gateway failed<br>
<br>
And what is this error:<br>
<br>
could not sync ExchangeProfile: <br>
Thrown:<br>
com.sap.rprof.dbprofiles.DBException: Connect to SAP gateway failed<br>
Connect_PM TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
<br>
LOCATION CPIC (TCP/IP) on local host with Unicode<br>
ERROR partner 'saptest2:sapgw60' not reached<br>
TIME Thu Feb 23 07:28:07 201<br>
RELEASE 700<br>
COMPONENT NI (network interface)<br>
VERSION 38<br>
RC -10<br>
MODULE nixxi.cpp<br>
LINE 2513<br>
DETAIL NiPConnect<br>
SYSTEM CALL connect<br>
ERRNO 79<br>
ERRNO TEXT A remote host refused an attempted connect operation.<br>
COUNTER 2<br>
<br>
<br>
Below is a list of some interesting logs ...<br>
<br>
###########<br>
<br>
Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.<br>
<br>
#############<br>
<br>
SLD is not accessible. Check SLD Data Supplier service settings.<br>
<br>
###########<br>
<br>
"Warning","2012-02-22","07:53:50:986","Data get on com.sap.sldserv.data.GetSAPBCCentralServiceInstance class processing failed. htThe SLD data is inconsistent. This is an internal processing problem.","/System/Server/SLDService","com.sap.sldserv.DataCollector","n/a","saptest2","Server 0 60_36694",<br>
<br>
#########<br>
<br>
com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access<br>
<br>
################<br>
<br>
Full Message Text
CPA Cache not updated with directory data, due to: Couldn't open Directory URL (http://saptest2.unx.era.pl:56000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.xit.saptest2), due to: HTTP 503: Service Unavailable
<br>
##################<br>
<br>
Full Message Text <br>
<br>
could not sync ExchangeProfile: <br>
Thrown:<br>
com.sap.rprof.dbprofiles.DBException: Connect to SAP gateway failed<br>
Connect_PM TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
<br>
LOCATION CPIC (TCP/IP) on local host with Unicode<br>
ERROR partner 'saptest2:sapgw60' not reached<br>
TIME Thu Feb 23 07:28:07 201<br>
RELEASE 700<br>
COMPONENT NI (network interface)<br>
VERSION 38<br>
RC -10<br>
MODULE nixxi.cpp<br>
LINE 2513<br>
DETAIL NiPConnect<br>
SYSTEM CALL connect<br>
ERRNO 79<br>
ERRNO TEXT A remote host refused an attempted connect operation.<br>
COUNTER 2<br>
<br>
Connect_PM TYPE=A ASHOST=saptest2 SYSNR=60 GWHOST=saptest2 GWSERV=sapgw60 PCS=1<br>
<br>
LOCATION CPIC (TCP/IP) on local host with Unicode<br>
ERROR partner 'saptest2:sapgw60' not reached<br>
TIME Thu Feb 23 07:28:07 201<br>
RELEASE 700<br>
COMPONENT NI (network interface)<br>
VERSION 38<br>
RC -10<br>
MODULE nixxi.cpp<br>
LINE 2513<br>
DETAIL NiPConnect<br>
SYSTEM CALL connect<br>
ERRNO 79<br>
ERRNO TEXT A remote host refused an attempted connect operation.<br>
COUNTER 2<br>
<br>
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)<br>
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1015)<br>
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3238)<br>
at com.sap.rprof.dbprofiles.DBProfiles.getProfile(DBProfiles.java:101)<br>
at com.sap.rprof.dbprofiles.RemoteProfile.readRemoteProfileFromMedia(RemoteProfile.java:1288)<br>
at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfileFromFactory(RemoteProfile.java:195)<br>
at com.sap.aii.utilxi.prop.rprof.ExchangeProfilePropertySource.readProfile(ExchangeProfilePropertySource.java:177)<br>
at com.sap.aii.utilxi.prop.rprof.ExchangeProfilePropertySource.sync(ExchangeProfilePropertySource.java:165)<br>
at com.sap.aii.utilxi.misc.api.AIIProperties.sync(AIIProperties.java:582)<br>
at com.sap.aii.af.service.sld.SLDAccess.syncExchangeProfile(SLDAccess.java:43)<br>
at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:52)<br>
at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:167)<br>
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)<br>
at java.security.AccessController.doPrivileged(AccessController.java:219)<br>
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)<br>
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
<br>
##############<br>
<br>
Full Message Text <br>
<br>
Import of software component version list from component repository failed<br>
Thrown:<br>
com.sap.lcr.api.cimclient.LcrException: User credentials are invalid or user is denied access<br>
at com.sap.lcr.api.cimclient.HttpRequestSender.processResponse(HttpRequestSender.java:577)<br>
at com.sap.lcr.api.cimclient.HttpRequestSender.send(HttpRequestSender.java:341)<br>
at com.sap.lcr.api.cimclient.CIMOMClient.sendImpl(CIMOMClient.java:198)<br>
at com.sap.lcr.api.cimclient.CIMOMClient.send(CIMOMClient.java:146)<br>
at com.sap.lcr.api.cimclient.CIMOMClient.enumerateInstancesImpl(CIMOMClient.java:443)<br>
at com.sap.lcr.api.cimclient.CIMOMClient.enumerateInstances(CIMOMClient.java:747)<br>
at com.sap.lcr.api.cimclient.CIMClient.enumerateInstances(CIMClient.java:980)<br>
at com.sap.lcr.api.sapmodel.JavaCIMObjectAccessor.enumerateInstances(JavaCIMObjectAccessor.java:211)<br>
at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateInstances(SAP_SoftwareComponentAccessor.java:204)<br>
at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateSAP_SoftwareComponentInstances(SAP_SoftwareComponentAccessor.java:239)<br>
at com.sap.aii.ibrep.server.sldaccess.interfaces.CRAccess.getSwcLinks(CRAccess.java:82)<br>
at com.sap.aii.ibrep.server.extobjects.SwcAccessor.getEoLinks(SwcAccessor.java:59)<br>
at com.sap.aii.ib.server.extobjects.EOAServiceImpl.getEoLinks(EOAServiceImpl.java:75)<br>
at com.sap.aii.ib.sbeans.extobjects.EOAServiceBean.getEoLinks(EOAServiceBean.java:66)<br>
at com.sap.aii.ib.sbeans.extobjects.EOAServiceRemoteObjectImpl1_0.getEoLinks(EOAServiceRemoteObjectImpl1_0.java:527)<br>
at com.sap.aii.ib.sbeans.extobjects.EOAServiceRemoteObjectImpl1_0p4_Skel.dispatch(EOAServiceRemoteObjectImpl1_0p4_Skel.java:232)<br>
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)<br>
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)<br>
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)<br>
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)<br>
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)<br>
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)<br>
at java.security.AccessController.doPrivileged(AccessController.java:219)<br>
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)<br>
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)<br>
<br>
##############<br>
<br>
Full Message Text <br>
<br>
An exception was thrown in the UME/ABAP user management connector. Message: Connect to SAP gateway failed<br>
Connect_PM TYPE=A ASHOST=localhost SYSNR=60 GWHOST=localhost GWSERV=sapgw60 PCS=1<br>
<br>
LOCATION CPIC (TCP/IP) on local host with Unicode<br>
ERROR partner '127.0.0.1:sapgw60' not reached<br>
TIME Thu Feb 23 07:28:06 201<br>
RELEASE 700<br>
COMPONENT NI (network interface)<br>
VERSION 38<br>
RC -10<br>
MODULE nixxi.cpp<br>
LINE 2513<br>
DETAIL NiPConnect<br>
SYSTEM CALL connect<br>
ERRNO 79<br>
ERRNO TEXT A remote host refused an attempted connect operation.<br>
COUNTER 16<br>
<br> -
How is the best way to send data from local database into remote database ?
Hi all,
I need to send data from local Oracle database into remote oracle database. Both sites connected via 128 kbps frame relay connection.
The sending need to be done once a week, can be done nightly.
How is the best way to do this ?
Thank you very much,
xtantoHow is the best way to do this ?How much are you planning to send?
You can use COPY command. Ensure that you have valid database link between two databases.
Available options are:
create - creates a new table. errors out if the destination table exists.
replace - drop the destination table and re-creates with data.
insert - inserts data if the destination table exists.
append– appends data into an existing table.
use set arraysize 5000 -The arraysize specifies the number of rows that SQL*Plus will retrieve from the database at one time.
copy from scott/tiger@ORCL to scott/tiger@ORCL92 create new_emp using select * from emp; -
I would like to use DDE to send data from a Lookout Server to an Excel
Hello National Instruments,
I would like to use DDE to send data from a Lookout Server to an Excel
Spreadsheet.
I have Lookout 6.1 on a server connected to 4 client workstations
The operating system on the server is Windows Server 2003 R2; Standard Edition;
Service Pack 2
I have opened DDE Share but after filing in Share Name; Static Application
Name; Static Topic Name
I get a message, "Can't bind to DSDM service"
I also get this message when I press add a Share
What are the steps to setting up this type of communications link?
Thanks,
David Lopez
Scada Functional AnalystRyan,
I have followed the steps on the Knowledge Base "How do I use DDE To Send Data Across the Network To Excel From Lookout?" but what I am seeing is that the computer with excel (Computer B)hangs up displaying an hour glass continuously leaving me no option but to go into task manager to stop excel. It appears to me that the dde share is not working properly on my windows xp where lookout resides or I do not have a certain service turned on. I do have the DDE services turned on both computers. I have my computer set up as computer A with Lookout and Process1 as the process with a pot set up as pot1. On my computer (Computer A) I also have the dde share set up per the KB example.
On computer B I have the dde services turned on and I am typing the following into an excel worksheet Cell ='\\TAG23232\NDDE$'|'Process1$'!Pot1
TAG 23232 is Computer A's Name
Do you have any suggestions???
Maybe you are looking for
-
I purchased my 4500 for the classroom about 8 weeks ago. It was great for about a week. Now after a few printings I will hear a knocking sound like the print cartridges are trying to line up but can't. The next time I go to print, nothing happens.
-
I want to sync my phone with my lap top. I can't remember my user name, I've requested my user name several times, I've received nothing from firefox. I'm getting frustrated with your service. I set up a Firefox Sync account a while ago. Please help.
-
Hi Guru's, We are facing an error,while installing the data base instance.We have done central instance installation sucessfully. It's giving an error message as Drive:/xxx/xxx/DATA files doen n't find. This is actual path, where we have kept our ins
-
Since Adobe Reader 9 we have a problem with the "find" (search the content of pdf files). Sometimes it works fine and sometimes the search result highlights incorrect words. We use now Adobe Reader 9.1.2 but had the same problem on 9.1.0. It seems th
-
How to upgrade 6i form to 11g forms which includes OLE container ?
How to upgrade 6i form to 11g forms which includes OLE container ?