Redwood Script - Application assignment issue
Hi,
Build version M33.104.
I'm trying to submit the SAP_BW_ImportProcessChains using Redwood Script and when i used the following code:
Application app = jcsSession.getApplicationByName("TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getName());
there is no output, the job definition doesn't get created in CPS.
I also tried the following alternatives:
Application app = jcsSession.getApplicationByName("GLOBAL.TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getName());
also
Application app = jcsSession.getApplicationByName("TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getUniqueId().toString()); //from the cookbook
Still no, output. and this time, when i checked the job parameters, it had an number value for the Application.
The application TEST is in the GLOBAL partition.
when i comment the above two lines of code , the import completes successfully.
I also experienced the same issue, when i tried to set the PARTITION parameter for Import Process Chains same way as above.
Please let me know how to correct my issue.
Thanks
Nanda
Hi Nanda,
These SAP Job definitions have hidden constraints. What I would do is submit a Simulate run with the parameters you want, the from the shell you do:
Long jid = new Long(123);
Job aJob = jcsSession.getJobByJobId(jid);
String val = aJob.getJobParameterByName("APPLICATION").getInValueString();
JcsOur.println(val);
I assume you will get something like GLOBAL.TEST$2, this is the business key, you use getBusinessKey() on the application to get the value.
You can have 100's of applications named Test. In different partitions, in different parent applications, and a combination thereof.
Regards,
HP
Similar Messages
-
If I go to YouTube, no matter what video I click on to watch, the error message "[Java Script Application] Error: Div is null" pops up. It started happening right after I updated to FF v6. I also have installed the latest version of Java. I submitted this question a few weeks ago, but never received a reply.
Thanks for any help you can provide to fix this.
Scott Cromwell
[email protected]hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
[[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] -
Collection assign issue in OID provisioning environment
Hy Tom,
I am interested in LDAP with OID PROVISIONING in portal 10g application.
we create a register procedure.
however. i got an error message as ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
After debuging, we found that issue result assign null value .
when we assign as
user_vals(counter2) := entry.attr(counter1).attrval(counter2);
It seems that that we can not assign entry.attr(counter1).attrval(counter2) to other var two time in procedure.
It is server configuration issue or code issue.
Thanks
Newweber
*********************** Code
PROCEDURE pre_add ( ldapplugincontext IN ODS.plugincontext,
dn IN VARCHAR2,
entry IN ODS.entryobj,
rc OUT INTEGER,
errormsg OUT VARCHAR2
IS
ret INTEGER;
l_portal_user wwsec_person.USER_NAME%type;
l_first_name wwsec_person.FIRST_NAME%type;
l_last_name wwsec_person.LAST_NAME%type;
l_email wwsec_person.EMAIL%type;
l_work_phone wwsec_person.WORK_PHONE%type;
l_mobile wwsec_person.MOBILE_PHONE%type;
counter1 pls_integer;
counter2 pls_integer;
retval pls_integer := -1;
s integer;
user_session DBMS_LDAP.session;
user_dn varchar(256);
user_array DBMS_LDAP.mod_array;
user_vals DBMS_LDAP.string_collection;
user_binvals DBMS_LDAP.blob_collection;
indx number := 1;
BEGIN
l_portal_user :=null;
l_first_name :=null;
l_last_name :=null;
l_email :=null;
l_work_phone :=null;
l_mobile :=null;
l_description :=null;
rc := 0;
errormsg :=null;
-- Create a mod_array
user_array := dbms_ldap.create_mod_array(entry.binattr.count + entry.attr.count);
-- Create a user_dn
user_dn := substr(dn,1,instr(dn,',',1,1))||'cn=users,dc=e-hms,dc=net';
FOR l_counter1 IN 1..entry.attr.COUNT LOOP
FOR l_counter2 IN 1..entry.attr(l_counter1).attrval.COUNT LOOP
ckerror('second loop get value--'|| entry.attr(l_counter1).attrname || '[' || l_counter1 || ']' ||'.val[' || l_counter2 || '] = ' ||entry.attr(l_counter1).attrval(l_counter2));
if entry.attr(l_counter1).attrval(l_counter2) is null then
ckerror('handle null attribule ');
else
-- get value
ckerror('get value2'||entry.attr(l_counter1).attrname);
IF entry.attr(l_counter1).attrname ='givenname' then
l_first_name :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('givename/firstname--'||l_first_name);
elsif entry.attr(l_counter1).attrname ='sn' then
l_last_name :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('sn/lastname--'||l_last_name);
elsif entry.attr(l_counter1).attrname ='mail' then
l_email := entry.attr(l_counter1).attrval(l_counter2);
ckerror(' email--'||l_email);
elsif entry.attr(l_counter1).attrname ='mobile' then
l_mobile :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('mobile--'||l_mobile);
elsif entry.attr(l_counter1).attrname ='telephonenumber' then
l_work_phone :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('work telphone--'||l_work_phone);
elsif entry.attr(l_counter1).attrname ='cn' then
l_portal_user :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('cn/username--'||l_portal_user);
elsif entry.attr(l_counter1).attrname ='description' then
l_description :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('description--'||l_description );
else
ckerror('handle other entry name--'|| entry.attr(l_counter1).attrname);
ckerror('handle other entry--'||entry.attr(l_counter1).attrval(l_counter2) );
end if;
end if;
ckerror('end compare at second loop');
ckerror('NULL ASSIGN ISSUE FOR 72 --'||entry.attr(counter1).attrval(counter2));
user_vals(counter2) := entry.attr(counter1).attrval(counter2);
END LOOP;
ckerror('end first loop');
--- put ldap
dbms_ldap.populate_mod_array(user_array,DBMS_LDAP.MOD_ADD, entry.attr(counter1).attrname,user_vals);
user_vals.delete;
END LOOP;
processs other (l_firstname...) vars in SQL sataement
EXCEPTION
WHEN OTHERS THEN
ckerror( 'Exception in PRE_ADD plugin. Error code is ' || TO_CHAR(SQLCODE));
ckerror( ' ' || Sqlerrm);
rc := 909;
errormsg := 'Error code:'|| rc||' exception: pre_add data';
END;Hy Tom,
I am interested in LDAP with OID PROVISIONING in portal 10g application.
we create a register procedure.
however. i got an error message as ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
After debuging, we found that issue result assign null value .
when we assign as
user_vals(counter2) := entry.attr(counter1).attrval(counter2);
It seems that that we can not assign entry.attr(counter1).attrval(counter2) to other var two time in procedure.
It is server configuration issue or code issue.
Thanks
Newweber
*********************** Code
PROCEDURE pre_add ( ldapplugincontext IN ODS.plugincontext,
dn IN VARCHAR2,
entry IN ODS.entryobj,
rc OUT INTEGER,
errormsg OUT VARCHAR2
IS
ret INTEGER;
l_portal_user wwsec_person.USER_NAME%type;
l_first_name wwsec_person.FIRST_NAME%type;
l_last_name wwsec_person.LAST_NAME%type;
l_email wwsec_person.EMAIL%type;
l_work_phone wwsec_person.WORK_PHONE%type;
l_mobile wwsec_person.MOBILE_PHONE%type;
counter1 pls_integer;
counter2 pls_integer;
retval pls_integer := -1;
s integer;
user_session DBMS_LDAP.session;
user_dn varchar(256);
user_array DBMS_LDAP.mod_array;
user_vals DBMS_LDAP.string_collection;
user_binvals DBMS_LDAP.blob_collection;
indx number := 1;
BEGIN
l_portal_user :=null;
l_first_name :=null;
l_last_name :=null;
l_email :=null;
l_work_phone :=null;
l_mobile :=null;
l_description :=null;
rc := 0;
errormsg :=null;
-- Create a mod_array
user_array := dbms_ldap.create_mod_array(entry.binattr.count + entry.attr.count);
-- Create a user_dn
user_dn := substr(dn,1,instr(dn,',',1,1))||'cn=users,dc=e-hms,dc=net';
FOR l_counter1 IN 1..entry.attr.COUNT LOOP
FOR l_counter2 IN 1..entry.attr(l_counter1).attrval.COUNT LOOP
ckerror('second loop get value--'|| entry.attr(l_counter1).attrname || '[' || l_counter1 || ']' ||'.val[' || l_counter2 || '] = ' ||entry.attr(l_counter1).attrval(l_counter2));
if entry.attr(l_counter1).attrval(l_counter2) is null then
ckerror('handle null attribule ');
else
-- get value
ckerror('get value2'||entry.attr(l_counter1).attrname);
IF entry.attr(l_counter1).attrname ='givenname' then
l_first_name :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('givename/firstname--'||l_first_name);
elsif entry.attr(l_counter1).attrname ='sn' then
l_last_name :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('sn/lastname--'||l_last_name);
elsif entry.attr(l_counter1).attrname ='mail' then
l_email := entry.attr(l_counter1).attrval(l_counter2);
ckerror(' email--'||l_email);
elsif entry.attr(l_counter1).attrname ='mobile' then
l_mobile :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('mobile--'||l_mobile);
elsif entry.attr(l_counter1).attrname ='telephonenumber' then
l_work_phone :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('work telphone--'||l_work_phone);
elsif entry.attr(l_counter1).attrname ='cn' then
l_portal_user :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('cn/username--'||l_portal_user);
elsif entry.attr(l_counter1).attrname ='description' then
l_description :=entry.attr(l_counter1).attrval(l_counter2);
ckerror('description--'||l_description );
else
ckerror('handle other entry name--'|| entry.attr(l_counter1).attrname);
ckerror('handle other entry--'||entry.attr(l_counter1).attrval(l_counter2) );
end if;
end if;
ckerror('end compare at second loop');
ckerror('NULL ASSIGN ISSUE FOR 72 --'||entry.attr(counter1).attrval(counter2));
user_vals(counter2) := entry.attr(counter1).attrval(counter2);
END LOOP;
ckerror('end first loop');
--- put ldap
dbms_ldap.populate_mod_array(user_array,DBMS_LDAP.MOD_ADD, entry.attr(counter1).attrname,user_vals);
user_vals.delete;
END LOOP;
processs other (l_firstname...) vars in SQL sataement
EXCEPTION
WHEN OTHERS THEN
ckerror( 'Exception in PRE_ADD plugin. Error code is ' || TO_CHAR(SQLCODE));
ckerror( ' ' || Sqlerrm);
rc := 909;
errormsg := 'Error code:'|| rc||' exception: pre_add data';
END; -
Java script application appearing everytime i open a new tab
Hi,
Everytime I open a new tab on my computer, a message pops up with Java script application in a box with a yellow triangle with an exclamation mark symbol. I have to click ok twice before I can continue using the internet.
Can you please tell me how to fix this, I think this happened after I upgraded my mozilla website.hello annap2677, you have quite a few malicious addons present. please try these steps:
# [[Reset Firefox – easily fix most problems|reset firefox]] (this will keep your bookmarks and passwords)
# afterwards go to ''firefox > addons > extensions'' and in case there are still extensions listed there, disable them.
# finally run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] and [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] to make sure that adware isn't present in other places of your system as well.
[[Troubleshoot Firefox issues caused by malware]] -
WLI Application Build issues - The apt.factory.path was not set
Hi,
I have been trying to execute the Workshop exported Ant Script on Remote machine. In my local machine where i have access to workshop i am able to run the ant script whithout any issues. But when i try the same script on Remote machine (unix) I ma getting the below exception.
In my application, there are two projects. One web application and one EJB project, and i am trying to makr Ear file out of this.
If any of you have faced this issue or if you have any inputs pl help me out.
/opt/buildserver/home/e0271019/WFM_1031_migrated_Source/Migrated_Code_With_AntScript/wfm/build.xml:340: The following error occurred while executing this line:
/opt/buildserver/home/e0271019/WFM_1031_migrated_Source/Migrated_Code_With_AntScript/wfm/build.xml:690: The apt.factory.path was not set, but the beehive annotation processors must be on the apt factory path.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Thanks
ChandranHi,
I have been trying to execute the Workshop exported Ant Script on Remote machine. In my local machine where i have access to workshop i am able to run the ant script whithout any issues. But when i try the same script on Remote machine (unix) I ma getting the below exception.
In my application, there are two projects. One web application and one EJB project, and i am trying to makr Ear file out of this.
If any of you have faced this issue or if you have any inputs pl help me out.
/opt/buildserver/home/e0271019/WFM_1031_migrated_Source/Migrated_Code_With_AntScript/wfm/build.xml:340: The following error occurred while executing this line:
/opt/buildserver/home/e0271019/WFM_1031_migrated_Source/Migrated_Code_With_AntScript/wfm/build.xml:690: The apt.factory.path was not set, but the beehive annotation processors must be on the apt factory path.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Thanks
Chandran -
As soon as I open Firefox the message box pops up. Java Script Applications uninstal set. I have to click on it about 10 times for it to close. Then I can click on one thing and it comes back. I have shutdown my computer and restarted it several times. I don't know how to get rid of this message.
This issue can be caused by an extension that isn't working properly.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Regarding Sun Java System Application Server Issue with JVM
Regarding Sun Java System Application Server Issue with JVM
Hi
I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6199: Generated servlet error:
[javac] javac: invalid target release: 1.5
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
I have cheked jvm version on both system the only difference is :
Solaris points to jdk 1.5.0_09
Windows point to jdk1.5.0_05
Even i tried to run blank jsp also but again i got the same error.
Can any help me to sort out the problem or give me any idea so i can do something by my own.
Thanks in Advance
GaganDo you have ANT installed and available?
Thanks,
Kedar -
When an FLV is playing and I want to download it. I click on the Ant download button. A little window appears reading ( Java Script Application "download error" message)
This works for me on YouTube.
Cancel the download and then immediately right click and choose retry. -
Script without assigning to the output type
hi
i have some doubts in scripts ple tell me
how can we execute the script without assigning the form & print program to output type in nace?Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting further.
-
Application Deloyment issue...
hi,
i am getting this Deployment error...
we got two servers one for developers at offshore and
one at the onsite...
the strange thing is that it is deploying n running fine on the offshore server.
but not getting deployed on the onsite server!!!
i have put the required references required and
checked them too...!!!
regards,
-Amol Gupta
Oct 18, 2007 11:11:04 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[004]Deployment aborted
Settings
SDM host : bp1xeuaa558
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/amolg/LOCALS1/Temp/temp26291bp.comexmplsupplier_lds_create_adobe.ear
Result
=> deployment aborted : file:/C:/DOCUME1/amolg/LOCALS1/Temp/temp26291bp.comexmplsupplier_lds_create_adobe.ear
Aborted: development component 'exmpl/supplier_lds_create_adobe'/'bp.com'/'LOKAL'/'0.2007.10.18.11.10.17'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application bp.com/exmplsupplier_lds_create_adobe.. Reason: Clusterwide exception: Failed to deploy application bp.com/exmplsupplier_lds_create_adobe. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application bp.com/exmpl~supplier_lds_create_adobe. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted>
I have oracle PL/SQL application performance issue. To open a screen populated with 7,000 records takes 5 minutes.
I have used SQL Analyze to get Index recomendation. Indexing did not help that much.Switch on a trace on a user who is just about to run that screen - let them rip.
Stop your trace. Get your trace file. Run it through TKProf.
Read the book by Cary Millsap that Sybrand recommends (or take a look
at Chris Lawson) - i.e. read up on trace files and looking at them.
Get the SQL that is run by the user and try running it from SQLPlus
on the server (no network or app issues) - set timing on.
That would be my approach.
Do you think upgrading or replacing with newer machine can improve performance? Getting a newer machine often satisfies the geek's primeval urge to
get his grubby little paws onto fancy shiny hardware - it may well
work for a while, however you're not tackling the underlying cause
of your problem, and it will (probably) reappear when the limits
of the new RAM/CPU have been hit.
If you what is suggested above, at least you'll be able to say
to your management - "well, if we get a new server, performance
will improve by this much, until we have (say) 14.000 records in
the table, when performance will go back to the way it was before".
Until you run a trace, you will have no idea if the problem will
scale linearly with the no. of records or how it will
behave into the future.
You cannon manage what you cannot measure.
Paul...
Taf -
As soon as I log on to Firefox this pop up appears on the screen saying Java Script Application and under neath it it says uninstal and beside uninstal is a yellow triangle with a exclamation mark inside of it. Every time I click the mouse the pop up reappears over and over. It's really a nuisance and I need your help.The word uninstal is spelled like you see it, even though it's spelled wrong.Thank you and God Bless
Other users have reported that this is caused by one of their add-ons. I suggest going to the Add-ons page and disabling everything that is not essential, and then restarting Firefox. Hopefully it's not caused by something you really rely on.
orange Firefox button ''or'' Tools menu > Add-ons
On the left side, click Extensions
Then disable as many as possible and restart Firefox.
Any luck? -
Spaces in shell script application?
how do I signify a space in the application name in the following script:
do shell script "/Applications/Plex Media Server.app/Contents/MacOS/Plex Media Scanner -s -r"You can escape spaces in the path with a backslash, but since the backslash is also the escape character you need to escape it as well, so you wind up with:
/Applications/Plex\\ Media\\ Server.app/Contents/MacOS/Plex\\ Media\\ Scanner
Usually it is easier to use quoted form of, and let the system figure it out:
set somepath to quoted form of "/Applications/Plex Media Server.app/Contents/MacOS/Plex Media Scanner"
do shell script somepath & " -s -r" -
Application redraw issue over Citrix and Terminal Server
Hi All,
We provide a client-server application which connects to a SQL Server database. The middle-tier is hosted on an application server (Windows Server 2008 R2) which in turn connects to the SQL Server database. The fat client can either be installed on user laptops/desktops
or published using Citix/Terminal services.
We have a long standing issue which frankly I just cannot fathom. A customer has published the client via Citrix to users and using roaming profiles. If an employee is using the application in London, the roaming profile is created on a server in London and
connects to the middle-tier in London. If an employee is using the application in Glasgow, the roaming profile is created in Edinburgh and the user connects to the middle-tier in London. The customer is also using DFS
The roaming profile consists of the 'My Documents', 'My Pictures', 'My Videos', 'My Music' and 'Windows' folder. Distributed File System (DFS) is used for roaming profile folder replication between offices. See http://technet.microsoft.com/en-gb/library/cc732863%28v=ws.10%29.aspx
The Edinburgh users are experiencing application redraw issue where the interface loads in chunks. For example, when a user scrolls up and down or left and right, the data loads immediately (from SQL Server) but the interface (GUI) loads in blocks. You can
actually see each segment of the GUI components loading. The issue also occurs if connecting via a Terminal Server where the application is also installed.
For London users, it all works fine. If an Edinburgh user comes to London, they have no issues.
The network connection is super fast between the various offices.
The application is built using C++ and Delphi and uses the GDI API to draw the objects.
Any guidance is appreciated.Hello partner,
Thanks for contacting Microsoft. This is Sophia who is going to help with this issue. From your description, I learnt that users from Edinburgh have application redraw issue. However, London users worked fine. Please let me know if I misunderstand your purpose.
Based on the information, it seems that the issue located in the middle-tier in London. Could you try building a middle-tier in Edinburgh and then test how the issue goes?
Besides, based on my experience and research, by default the allocation of the bandwidth is 70 percent for graphics data and 30 percent for virtual channel data, meaning when bandwidth usage is under pressure, graphics data is guaranteed to get 70 percent
of the available bandwidth. And we can tweak the settings a bit for some scenarios. To change the settings, we can set registry values. Please reference the information below.
===========================================================================================================================================
Note: For these settings to take effect, the computer must be restarted.
Following is the list of registry values that affect the bandwidth allocation behavior. These are all DWORD values under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD:
· FlowControlDisable: When set to 1, this value disables the new flow control algorithm, making it essentially First-In-First-Out (FIFO) for all packet requests. This provides results similar to Windows Server
2003. (The default for this value is 0).
· FlowControlDisplayBandwidth / FlowControlChannelBandwidth: These two values together determine the bandwidth distribution between display and virtual channels. You can set these values in the range of 0–255.
For example, setting FlowControlDisplayBandwidth = 100 and FlowControlChannelBandwidth = 100 creates an equal bandwidth distribution between video and VCs. The default is 70 for FlowControlDisplayBandwidth and 30 for FlowControlChannelBandwidth, thus making
the default distribution equal to 70–30.
· FlowControlChargePostCompression: If set to 1, this value bases the bandwidth allocation on post-compression bandwidth usage. The default for this value is 0, which means that the bandwidth distribution is applied
on pre-compressed data.
For more information about RDP Bandwidth, please reference the article below.
================================================
Bandwidth Allocation for Terminal Server connections over RDP
http://blogs.msdn.com/b/rds/archive/2007/04/09/bandwidth-allocation-for-terminal-server-connections-over-rdp.aspx
Top 10 RDP Protocol Misconceptions – Part 1
http://blogs.msdn.com/b/rds/archive/2009/03/03/top-10-rdp-protocol-misconceptions-part-1.aspx
If you have any concerns about the action plan above, feel free to let me know.
Best regards,
Sophia Sun
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
SAP script printout alignment issue
Hi Experts,
I have facing one Script Printout Alignment issue.
SAP Script Form printing some Values in Table format.
While debugging( in debug mode ), I am getting the correct Alignment ( Proper table format with values ).
But in printout the Alignment( The vertical and horizontal lines are not printed properly ) is not correct.
Thanks in Advance.HI Glen Anthony,
I am not using any printer details.
from the Spol (SP01) I am checking the print priview.
Success in debug mode but not in Print.
Please suggest.
Thanks -
When I use facebook, I keep getting this message [Java Script Application] Error: options is undefined whenever I try to return something, click on a link, or message, open a game, etc. ... I have Windows 7, addons of greasemonkey and better facebook (which seems to have disappeared)
== URL of affected sites ==
http://www.facebook.com/reqs.php#!/?ref=homeStart Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
Maybe you are looking for
-
Monitoring /var/adm/messages
Hello to all, we are developing system for monitoring of the servers trough reading of the /var/adm/messages file. Since there are numerous messages in this file we are wondering what regular expressions to use in order to extract serious/critical al
-
Parallels 9 and Windows 8 System Requirements?
I recently purchased Parallels9 and Windows 8 for my Imac Intel (early 2009) and received a message saying the computer wouldn't run this softwre. Is there a system requirement for this computer that isn't available?
-
Web Service XML not attaching namespace to value object
I have a web services that I have introspected into Flex. The web service has one operation that sends 4 objects to the server. The objects are: a number, an array of objects, a schedule object and a boolean. For some reason when the XML is sent, eve
-
Hi, I am drawing images on a form, but the form does not show anything on the form untill I refresh. Is their a way to automatically refresh the form on startup, I know there isn't a this.refresh() built into java. Thanks, Chris
-
Hello, URGENT HELP NEEDED ! Imac 2014 Retina 5k with 4ghz Intel Core and 16GB Ram Router : Netopia Have upgraded this morning my iMac Retina to Yosemite 10.10.2. Before upgrade Wifi worked great, now since upgrade, I lose the wifi connection after a