Redirec from welcome-list and Local Director
Hi all,
We've been facing a very painfull problem in my company. Basically, it relates
to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured in front
of our farm, with stickness enabled, the damn think locks for 3+ seconds before
sending the also weird '0000' characters (that I suppose, indicate the page or
transaction was completed). This 0000 comes from Weblogic itself (we notice it
sends that even when we are not behind local director). We are also expiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo
One other thing ... using URL with openConnection we found that we had to
end-pad the stream with two additional bytes (ignored) to get the full
message committed. Could be the same freaky thing.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Rodrigo Rosa" <[email protected]> wrote in message
news:3c5f0dcb$[email protected]..
>
Hi all,
We've been facing a very painfull problem in my company. Basically, itrelates
to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured infront
of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
sending the also weird '0000' characters (that I suppose, indicate thepage or
transaction was completed). This 0000 comes from Weblogic itself (wenotice it
sends that even when we are not behind local director). We are alsoexpiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo
Similar Messages
-
Retrieve Title field values from multiple lists and add into another list
Hi , Iam trying to retrieve Title field value from multiple lists. and add them into another list. using Javascript. Can any one help me in doing this. Below is the code.. function save() { clientContext = new SP.ClientContext.get_current(); oWebsite = clientContext.get_web(); oList = clientContext.get_web().get_lists().getByTitle('MainList'); clientContext.load(oList); clientContext.executeQueryAsync(OnSucceeded, onQueryFailed); } function GetListItemValue(listName, fieldName) { var list = oWebsite.get_lists().getByTitle(listName); var eventValue = document.getElementById(fieldName).value; eventValue = eventValue.replace(",", ""); var camlQuery = new SP.CamlQuery(); var filterdata = '<view><query><where><eq><fieldref name="Title/"><value type="Text">' + myreqValue.trim() + '</value></fieldref></eq></where></query></view>'; camlQuery.set_viewXml(filterdata); listItems = list.getItems(camlQuery); clientContext.load(list); clientContext.load(listItems, 'Include(Id)'); clientContext.executeQueryAsync(Succeeded,Failed); } function OnSucceeded() { itemCreateInfo = new SP.ListItemCreationInformation(); oListItem = oList.addItem(itemCreateInfo); oListItem.set_item('Title', 'My New Title'); var deptItemLookupField = new SP.FieldLookupValue(); //Problem in below line...I was unable to get ID var getId = GetListItemValue("Listname1", "txtboxname1"); alert("ID" + getId); if (getId != undefined) { deptItemLookupField.set_lookupId(getId); } var getId12 = GetListItemValue("Listname12", "txtboxname12"); alert("ID" + getId12); if (getId12 != undefined) { deptItemLookupField.set_lookupId(getId12); } oListItem.update(); clientContext.executeQueryAsync(itemadded, itemFailed); } function itemadded() { alert('Item added successfully'); } function itemFailed(sender, args) { alert('Item added itemFailed' + args.get_message() + '\n' + args.get_stackTrace()); }
RajHi,
For this requirement, you will need to retrieve all the lists objects you want firstly, then execute the requests one by one to get the value of the Title column using CAML or
LINQ.
How to: Retrieve Lists Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185009(v=office.14).aspx
About
retrieve list items:
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
You can use
Promise in your script to make your requests sequentially:
http://www.shillier.com/archive/2013/03/04/using-promises-with-the-javascript-client-object-model-in-sharepoint-2013.aspx
http://www.learningsharepoint.com/2013/08/13/using-deferred-and-promise-to-handle-async-calls-in-sharepoint-client-object-model/
Best regards
Patrick Liang
TechNet Community Support -
HelloI download Imovie 11 but accidently erased it from purchase list and i canot download it again how can i get it back?, Hello I download Imovie 11 but accidently erased it from purchase list and i canot download it again how can i get it back?
Go to your Spotlight search. (Swipe from left to right at your primary home screen.)
Type in 'Facebook'.
You should see your Facebook app.
Unless you held down an app icon until it 'wiggles', then hit the black 'x' to delete it, you didn't delete the app. -
Safari Extention "Security 1.0" do not uninstall from the list and is crashing Safari. I cant even open it. I have to turn off the extensions in order to use Safari.I delete all extensions from the /Library/Internet Plugins and ~/Library/Safari/Extensions except for this extension
WebSecurity.plugin WebSecurity32bit.plugin and WebSecurity.safariextz respectively.
If I tried to uninstall it it crash my Safari and when it reopens, it is still there.
The most anoying is this question for every site. Any help?Uninstall the whole worthless "WebSense" product.
Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
I never install system modifications myself, and I don't know how to uninstall them. You'll have to do your own research to find that information.
Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmymac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button.
Back up all data before making any changes.
You will generally have to reboot in order to complete an uninstallation. Until you do that, the uninstallation may have no effect, or unpredictable effects.
If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
WARNING: Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" such as "AppCleaner" and the like that purport to remove software. -
Currently running process name list and local port list display using java
HI
I have for truble to display Process name list and that process running local port number...
like this output from java
process localport
======= ========
ccApp 1096
orbd 1050
postmaster 5432
skype 443
MSTask 1051
can help any one with sample code Explain sample code wtih , this thread or . if you found sample code please send me [email protected]
Best Regards
P.SASIKUMARIf it's possible for C++ ,. can you give me the best sample and how to interact to java todisplay this result....
-
Weblogic's redirect and Local Director session stikiness.
Hi all,
We've been facing a very painfull problem in my company. Basically, it relates
to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured in front
of our farm, with stickness enabled, the damn think locks for 3+ seconds before
sending the also weird '0000' characters (that I suppose, indicate the page or
transaction was completed). This 0000 comes from Weblogic itself (we notice it
sends that even when we are not behind local director). We are also expiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
and faced the same problem? We are desperate here.
Thanks,
RodrigoOne other thing ... using URL with openConnection we found that we had to
end-pad the stream with two additional bytes (ignored) to get the full
message committed. Could be the same freaky thing.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Rodrigo Rosa" <[email protected]> wrote in message
news:3c5f0dcb$[email protected]..
>
Hi all,
We've been facing a very painfull problem in my company. Basically, itrelates
to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured infront
of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
sending the also weird '0000' characters (that I suppose, indicate thepage or
transaction was completed). This 0000 comes from Weblogic itself (wenotice it
sends that even when we are not behind local director). We are alsoexpiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo -
Redirect, Weblogic and Local Director... unfortunate combination.
Hi all,
We've been facing a very painfull problem in my company. Basically, it relates
to the fact that weblogic 'uselessly' makes a redirect to index.jsp everytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured in front
of our farm, with stickness enabled, the damn think locks for 3+ seconds before
sending the also weird '0000' characters (that I suppose, indicate the page or
transaction was completed). This 0000 comes from Weblogic itself (we notice it
sends that even when we are not behind local director). We are also expiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a local director,
and faced the same problem? We are desperate here.
Thanks,
RodrigoOne other thing ... using URL with openConnection we found that we had to
end-pad the stream with two additional bytes (ignored) to get the full
message committed. Could be the same freaky thing.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Rodrigo Rosa" <[email protected]> wrote in message
news:3c5f0dcb$[email protected]..
>
Hi all,
We've been facing a very painfull problem in my company. Basically, itrelates
to the fact that weblogic 'uselessly' makes a redirect to index.jspeverytime
somebody tries to reach our website.
The redirect itselve is bad, but when we have Local Director configured infront
of our farm, with stickness enabled, the damn think locks for 3+ secondsbefore
sending the also weird '0000' characters (that I suppose, indicate thepage or
transaction was completed). This 0000 comes from Weblogic itself (wenotice it
sends that even when we are not behind local director). We are alsoexpiriencing
some premature session timeoffs... very weird.
Did anybody even configured WL 6.1 SP2 as the main webserver under a localdirector,
and faced the same problem? We are desperate here.
Thanks,
Rodrigo -
How to get distinct values from a list and display in a ListView webpart.
Hi,
I have a requirement in which I need to pull unique/distinct values from a custom list and then display it via a listview webpart. Can any one suggest how this can be done.
If possible please share the CAMEL query to fetch distinct values from a custom list.
Thanks,
AnkitHi Ankit,
Is there any particular reason that the values need to be shown in a list view web part? Are you going to use that web part for filtering via web part connections?
I ask because the enterprise site collection features include the SharePoint List Filter web part, which may accomplish what you're looking for.
If you just need to display the values in a grid view, you might have more luck with the JavaScript Client Object Model. Try putting the following in a text file:
<style>
.CustomTableClass{display:table;table-layout:fixed}
.CustomRowClass{display:table-row;}
</style>
<div id="distinct_values_div" class="CustomTableClass">
<img src="/_layouts/loading.gif" />
</div>
<script language="JavaScript" type="text/JavaScript">
var siteUrl = '/sitecollection/web'; //use the actual subsite URL here
var listName = 'mylist'; // use the actual list name here
var field = "Title" // use the actual field you want to display here
var divToUpdate = document.getElementById("distinct_values_div");
var rowClass = "CustomRowClass";
ExecuteOrDelayUntilScriptLoaded(function(){
var clientContext = new SP.ClientContext(siteUrl);
var web = clientContext.get_web();
var lists = web.get_lists();
var list = lists.getByTitle(listName);
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml('<View><Query></Query><RowLimit>500</RowLimit></View>');
this.collListItem = list.getItems(camlQuery);
clientContext.load(collListItem,"Include ("+field+")");
clientContext.executeQueryAsync(
Function.createDelegate(this, this.onQuerySucceeded),
Function.createDelegate(this, this.onQueryFailed));
},"sp.js");
function onQueryFailed(sender, args){
divToUpdate.innerHTML = 'Unable to retrieve values: '+args.get_message());
function onQuerySucceeded(sender, args){
var allValues = [];
var listItemEnumerator = collListItem.getEnumerator();
divToUpdate.innerHTML = "";
while(listItemEnumerator.moveNext()){
var listItem = listItemEnumerator.get_current();
if(!containsString(allValues,listItem.get_item(field)){
var value = listItem.get_item(field);
allValues.push(value);
var newDiv = document.createElement("div");
newDiv.className = rowClass;
newDiv.innerHTML = value;
divToUpdate.appendChild(newDiv);
function containsString(strArray, text){
var contains = false;
for (var i=0; i<strArray.length; i++){
if(strArray[i]==text){contains = true; break;}
return contains;
</script>
Upload the text file to a library on the site, then add a content editor web part to a page where you want the distinct values to appear. In the content editor web part's properties, edit the Content Link so that it links directly to the text file. This
will cause the JavaScript to run on the page. -
Port based LB and Local Director
My customer would like to know whether the Local Director supports Load Balancing using the source port information. If this is possible any document on the configuration wouldbe highly appreciated.
Regards,
Maheshhttp://www.cisco.com/en/US/products/sw/iworksw/ps2769/products_maintenance_guide_chapter09186a008007d9fa.html#xtocid225795
as per this document i think the loadbalancing based on source port information cannot be done.
''The MNLB Services Manager makes the load-balancing decisions based on application availability, server capacity, and load distribution algorithms such as round robin or least connections, or the Dynamic Feedback Protocol (DFP).'' -
CSS and Local Director comparison
I am new to this technology and I want to know what are advantages and disadvantages of Local director over the CSS and vice versa besides the price. What functionality does one has that is not supported by the other ?
If you are looking at implementing a load balancer then I would suggest to go for the CSS. The CSS is the next generation of load balancer and will replace the Local Director. The CSS functionality and extensibility is far greater than that of the local director. Another point is that feature developement is far more aggessive on the CSS.
Phil -
Would love to see a way Spotify can search my local contact list and/or a specifiy gmail account contact list (with permission of-course) and send out short sweet Spotify friend requests. While your at it. Develop a program similar to "dropbox" for referrels. If you refer somebody and they sign up, you get a month free or the like.
Updated: 2015-07-31Marked as new idea and edited it to let it focus on 1 request.
Your other idea about a referral program has also been suggested here. ;) -
I had rented some movies on Itunes put them onto my Ipod classic, after I had watched them although they had expired they did not delete form the rentals list and almost one year later they are still there. The movies can not be watched and I have tried every thing I can think of, other than restoring the software ( that will probably be the answer ) What should I do?
That is stealing. Your friend has no right/licence to give the songs to you. It violates copyright law.
-
Drill down report:hide multiple line from basic list and disp in secon list
hi experts ,
I was using checkbox in basic list and user is suppose to check or tick the checkbox .
So in the secondary list I want to display only those row which which are selected (or checked) in checkbox by the user .
I had tried to use HIDE techineque but it is storing (or hiding) only single (the last which was checked) row and not multiple rows , thats why only single row is display on to secondary list .
So how to hide (or store) multiple row in secondary list to solve this problem .
thanks and warm regards ,
mehar .
Edited by: MEHAR RALEKAR on Sep 24, 2008 5:37 PMHi,
You can include the Checkbox field in your Internal Table of type i and when the AT LINE-SELECTION is generated, check for those entries in your internal table with the Checkbox = 'X'. Move them into a Separate Internal Table and Display them in your Secondary List.
Hope it was Helpful.
Thanks and Regards,
Venkat Phani Prasad Konduri -
Creating a collection from a list and joining the list to a database table
I would like to have opinions on good ways to process rows, based on a provided list of key values, joining the collected list against a source table to retrieve additional information related to the key. In this simple example, the procedure accepts a list of employee numbers. The goal is to print a list of names associated with those numbers. The method is to materialize the list of employee numbers as rows and join those rows to a source table to get the names. I have used BULK COLLECT. I don't know if this is a good approach and I would value suggestions. I would also like to understand why we cannot cast PLSQL tables using a type defined in the procedure's specification (why the type needs to exist as an object before we can cast it, like this:
SELECT * FROM TABLE ( CAST ( SOME_FUNCTION(&some parameter) AS SOME_TYPE ) );
Anyway, here is my demo SQL, which you should be able to execute against the SCOTT schema without any changes. Thanks for your help!
declare
type employee_numbers is table of emp.empno%type index by binary_integer;
type employee_names is table of emp.ename%type index by binary_integer;
type employees_record is record (empno employee_numbers, person_name employee_names);
records employees_record;
employees_cursor sys_refcursor;
employee_number_list varchar2(30) default '7369,7499,7521';
begin
open employees_cursor for
with t as (
select regexp_substr(employee_number_list, '[^,]+', 1, level) as employee_number
from dual
connect by regexp_substr(employee_number_list, '[^,]+', 1, level) is not null
) select emp.empno, emp.ename
from t join emp on (emp.empno = t.employee_number)
order by 2
fetch employees_cursor bulk collect into records.empno, records.person_name;
dbms_output.put_line('number of records: '||records.empno.count());
for i in 1 .. records.empno.count
loop
dbms_output.put_line(chr(39)||records.empno(i)||chr(39)||','||chr(39)||records.person_name(i)||chr(39));
end loop;
end;>
It looks like I have confirmation that BULK COLLECT is a good way to go collect rows for processing
>
Well maybe and maybe not. Bear in mind that those demos were only basic demos for the purpose of illustrating how functionality CAN be used. They do not tell you WHEN to use them.
BULK COLLECT uses expensive PGA memory and unless you know that only a small number of rows will be collected you can have some serious memory issues. Any heavy duty use of BULK COLLECT should generally have a LIMIT clause to limit the number of elements in the collection for each loop iteration.
Always use SQL if possible.
Also, for your use case you might be bette served using a PIPELINED function. Instead of collecting ALL rows into a nested table as in your example a PIPELINED function returns one row at a time but is still used as if it were a table using the same TABLE operator.
Here is simple example code for a PIPELINED function
-- type to match emp record
create or replace type emp_scalar_type as object
(EMPNO NUMBER(4) ,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7, 2),
COMM NUMBER(7, 2),
DEPTNO NUMBER(2)
-- table of emp records
create or replace type emp_table_type as table of emp_scalar_type
-- pipelined function
create or replace function get_emp( p_deptno in number )
return emp_table_type
PIPELINED
as
TYPE EmpCurTyp IS REF CURSOR RETURN emp%ROWTYPE;
emp_cv EmpCurTyp;
l_rec emp%rowtype;
begin
open emp_cv for select * from emp where deptno = p_deptno;
loop
fetch emp_cv into l_rec;
exit when (emp_cv%notfound);
pipe row( emp_scalar_type( l_rec.empno, LOWER(l_rec.ename),
l_rec.job, l_rec.mgr, l_rec.hiredate, l_rec.sal, l_rec.comm, l_rec.deptno ) );
end loop;
return;
end;
select * from table(get_emp(20)) -
Hi,
I'm Palanivel , In my site collection , I have 2 lists , In 1st list , i have id,name and Total Annual leave . In 2nd List i have ID,No of Days(taking leave),Balance Annual Leave.
My first task is,In List 2, get the value from list 1.total annual leave to list 2.balance annual leave. Next , i do some calculation ,that is (balance annual leave - no of days = balance annual leave) .
Now my updates working correctly . and the calculation also working but when next time applying leave , again the update process working , so balance annual leave becomes my total annual leave .
my question is how to do a update process only first time , next time only calculation task has to be performed .
how to do 2 task in a single workflow , the 1st task must run only one time .
please help ....
thanks in advanceAnyway-hopefully I am not talking to myself here.
The database i am using is Oracle 10 g version 1 and using vb2005 express.
As mentioned above the problem is the value of the parameter does not go into the query statement.
The same logic with changes made works for other major databases. So I do not think it is the logic.
Any suggestions?
Maybe you are looking for
-
help. am not a tech savvy person. i do art with a win vista computer filledwith photoshop cs3 and tons uf unbelievable plugins that were given to me by a now deceased ps wizard. that computer died. i now have a new computer, but it is of no value to
-
How can I display .bmp files with java?
-
FBCJ transaction - changes to the field tax type
Hello all, I have created a validation for the s-tcode FBCJ that for specific company code and transaction only some tax types (MWSKZ) are allowed. The validation is working only in case I want to post the line items but then when the error appears s
-
Certificates Error in nokia 5130 xpressmusic
when i want to download any application from mobile the error appeared ''certificates not on phone or sim''please help
-
Exit name for Enhancing 0VEN_COMPC_ATTR
I need to enhance this extractor in ABAP , please let me any user exit where i can populate data for fields i will be enhancing in structre. Like we have EXIT_SAPLRSAP_001 for enhancing some data sources, what will be exit in this case. Regards Taran