DataBind method call returns null in the WebCenter content filtering
Hello
I got code that has a problem and I am new to the WebCenter content and filters that can be added. We have a FileNameFilter class that begins with the code
/ public class CWEFileNameFilter implements FilterImplementor {}
public CWEFileNameFilter() {}
Super();
}
public int doFilter (workspace workspace, DataBinder dataBinder,
ExecutionContext executionContext) throw {DataException
Service string = dataBinder.getLocal ("IdcService");
....
}
}
However, service is sometimes return null and then filter throws a NPE.
My questions are:
(1) can we explain what dataBinder.getLocal ("IdcService"); is done and why it might come back as null
(2) anyone can provide links to documentation that explains the filters and a little more on the object DataBinder as the JavaDoc is not much help.
Thank you
Marc
Hi Marc,
Below the code will give the name of the service for which the filter is implemented LocalData
Service string = dataBinder.getLocal ("IdcService");
for example below
http://localhost:16200/cs/idcplg? IdcService = DOC_INFO_BY_NAME & dDocName = 1111111 & IsJava
This example displays the entire response including localdata data and results that are created in the execution of the service. Here is the code snippet
LocalData @Properties
DocUrl =https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf
IdcService = DOC_INFO_BY_NAME
If String = dataBinder.getLocal ("IdcService") service; Service = "DOC_INFO_BY_NAME."
Under blog will give an idea about the filter but the best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff
http://www.redstonecontentsolutions.com/technical-blog/UCM-service-handlers-and-javafilters
Also, I recommend reading ' WebCenter Content Services Reference Guide '
http://docs.Oracle.com/CD/E23943_01/doc.1111/e11011/TOC.htm
Kind regards
Amol Germain.
Tags: Fusion Middleware
Similar Questions
-
Get the value based on the column names for the custom of the Webcenter content metadata field
University Complutense of MADRID, I created a custom text metadata field. I then activated optlist this area. I fill the optList values, I use a view. The view has three columns. Let us call their ID, Key, Value. OptList shows keys in its list. I then create content (Content ID: MyContent) Webcenter content and choose the OptList values for my new field of metadata (MyField).
WebCenter portal, I'm filling a selectOneChoice with MyField values in the content ID: MyContent. Remember the previous step, the values entered in selectOneChoice lists them selected values from the field MyField optList. The optList is filled from view. After the user selects a value in selectOneChoice, in Javascript, I need to alert a message in this format "selected value - matching value from the view of the optList that fills MyField.
In my opinion, only an example will be useful:
This is a view that I created in Configuration Manager applet in Webcenter content Admin cmdlets :
ID | State | Capital
1. North Carolina | Raleigh
2. California | Sacramento
3. Illinois | Chicago
Then I create a custom field (name: MyField). MyField is an optList values are filled with view created above. Internal value and the display value are the two State. Then I have a new content with Content Id Check-In: MyContent. To MyContent, I select these values in OptList MyField: {North Carolina, Illinois}.
In my portal Webcenter application, I create a Taskflow presenter content. I have set up as single content item presenter. I attribute as content ID MyContent. Then, in templateView, I get all the values of MyField in MyContent and display as selectOneChoice. I created a javascript function that would get the value that the user selected in selectOneChoice. In the view created in the Webcenter content Configuration Manager (see above), there is a value corresponding to each displayed value. So, for the selected value, I need to get the corresponding Capital and display in my alert message.
Starting from Javascript, how can I get the value of the Capital, since I have the status value.
Hello.
The idea to reach your requirement is planned:
- Create an Assistant manage bean that will appeal as access map: #{stateUtil ['Calofironia']} (it will return Raleigh). This value will get calling GET_SCHEMA_VIEW_VALUES IDC service using RIDC in your managed bean.
- Pass the result of #{stateUtil ["statename"]} to your JavaScript function to help
I hope this information help you.
Kind regards
-
The search returns 'null' on the first search only
HR 8.0.2.208
Air Navigator help
When our help is installed on a clean machine, the first time that you are looking for, it returns "null". Then subsequent searches are functioning normally.
Anyone has any idea what this could be? I don't want to discourage users on their first try.
Thank you!
Hello
Please, try the solution below and see if it works for you or not. Output Browser Based AIR support.
Now open the generated output folder and open the whfhost.js file in the Notepad application. Look for the following strings in the file. you need to replace this function
function Query()
{
gbAIRSearchString = goOdinHunter.strQuery;
g_CurPage = 1;
context = new HuginContext();
Context.Reset ();
Context.push (goOdinHunter.query, goOdinHunter,
processHunterResult, null);
Context.Resume ();
}With this new feature
function isValidType (obj)
{
return ((typeof (obj)! = 'undefined') &&(obj!=null));
}function Query()
{
gbAIRSearchString = goOdinHunter.strQuery;
g_CurPage = 1;
If ((context) isValidType & isValidType (context.aTasks))
{
while(Context.aTasks.Length>0)
{
Context.Resume ();
}
}
context = new HuginContext();
Context.Reset ();
Context.push (goOdinHunter.query, goOdinHunter,
processHunterResult, null);
Context.Resume ();
}And try to run the output and see if you stilll faced the problem of null result search
If this problem is solved, then you can go to the location of the folder C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\WebHelp5Ext\template_stock and make similar changes to the whfhost.js file located in this folder.
Let me know if this fixes the problem or not.
Note: this should work fine for RH8 and RH9 times.
Thank you
Praful
Adobe RoboHelp team.
-
Some columns of the values of the selected line returns NULL in the table of the adf.
Hello..
My version of jdev 11.1.1.5.0
I have a vision with some columns. This view is mapped to a table of adf with some of the displayed columns. My task is to get the column values selected line (including the values of the column not displayed).
But I'm certain values such as null, although there are values present when I run the query from the view.
My code:
DCIteratorBinding tableVO = ADFUtils.findIterator ("myVO");
ViewObject voTableData = tableVO.getViewObject ();
Line rowSelected = voTableData.getCurrentRow ();
+ / / codeto display column and the values +.
int x = 0;
* for (the names of the objects: rowSelected.getAttributeNames ()) {*}
* for (int i = x; i < rowSelected.getAttributeValues () .length; i ++) {*}
* System.out.println (x + "." + name + "=" + rowSelected.getAttribute (i)); *
break;
*}*
x ++ ;
continue;
*}*
MY table:
* < af:table value = "#{bindings.myVO.collectionModel}" *.
* var = "row" rows = "#{bindings.myVO.rangeSize}" *.
* EmptyText = "#{Bindings.myVO.Viewable?" "{'No data to display.': 'Access Denied.'}". *
* fetchSize = "#{Bindings.myVO.rangeSize}" *.
* rowBandingInterval = "0."
* filterModel = "#{Bindings.myVO.queryDescriptor}" *.
* queryListener = "#{Bindings.myVO.processQuery}" *.
* filterVisible = "true" varStatus = "vs."
* selectionListener = "#{myBean.method_onRowSelect}" *.
* rowSelection = "single" id = "t1" styleClass = "AFStretchWidth."
"* partialTriggers =": sbcClose: sbcOpen: socWarehouse. "
* inlineStyle = "height: 217px;" / > *.
Thank youQuestion: the attributes are not null in the DB?
The attributes are part of the past of the query select?
And they are part of the binding of the tree?Timo
-
Socket connection WebCenter portal to the WebCenter content error
I'm trying to connect WebCenter Portal 11.1.1.6 to WebCenter content and I get the following error in my log of the Complutense University of MADRID:
[< 12 may 2012 2:32:12 PM CDT > < error > < Socket > < BEA-000403 > < IOException occurred in the socket: Socket[addr=/192.168.106.19,port=52721,localport=16200]
java.net.SocketException: recv failed: descriptor not a socket.
java.net.SocketException: recv failed: descriptor not a socket
at jrockit.net.SocketNativeIO.readBytesPinned (Native Method)
at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
at java.net.SocketInputStream.socketRead0 (SocketInputStream.java)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:988)
Truncated. check the log file full stacktrace
>
I followed the instructions to activate the Folders_g and all these other quirks, but it still does not. Here is my file config.cfg:
<? jcharset cfg = "Cp1252"? >
Properties of the #Server system
IDC_Name = webctr_4444
IdcProductName = idccs
InstanceMenuLabel = webctr_4444
InstanceDescription = Instance webctr_4444
SocketHostAddressSecurityFilter=192.168.106.19|127.0.0.1|0.0.0.0.0.0.0.1
Variable #Database
SystemDatabase:DataSource = CSD
SystemDatabase:UseDataSource = true
Variable #Internet
HttpServerAddress = webctr.domain .net: 16200
Mail = mail server
[email protected]
HttpRelativeWebRoot = / cs /.
UseSSL = No
#General option Variables
IsAutoNumber = Yes
AutoNumberPrefix = webctr_4444
UseAccounts = 1
Variable #Additional
AllowUpdateForGenwww = 1
registerStartMenuActions = 1
FileEncoding = UTF8
Web server = javaAppServer
IDC_ID = IpmNode
FsAutoConfigure = true
IntradocServerPort = 4444
And my settings in WebCenter for the connection of content repository:
Content administrator: weblogic
Root folder: /content
Application name: PortalContent
RIDC Type of Socket: Socket
Host: webctr.domain.net
Server port: 16200
Timeout: 300
Authentication method: identity Propagation
The root of context Server Web site: /cs/
Administrator username: weblogic
Administrator password: < disabled >
Any ideas that I might be missing? I tried to reboot several times.
Published by: dvmorris on May 12, 2012 12:41You try to connect using the web port.
A socket connection uses RIDC, which means you need to use the port of intradoc which 4444 in your case.
So to change the port number in your connection to 4444 and it should work. -
To access the webcenter content/imaging of documents using a URL
Hello
I would like to know if there is any possibility to access the content of WC by using a URL.
For example:
There is a document called "Invoice1232.pdf" in the content of the WC.
I want to download from a custom web application.
Can I open/download using a url similar to "http://myserver:, / Invoice1232.pdf?
Thanks in advance,
Marc. Insert documents, the web application at the WC. I guess with persistent URL or an IdcCommand... I don't know what is the best...
I would go with CRMI (if your application is written in Java) or web service (other languages). A sample of CRMI is available, for example, here: Re: how to check the file exists in the path specified in the content server or not
-
Customize the Web content filtering block Page
Does anyone how and where I can customize the block page on a SonicWall NSA 240 of web content filtering? Also, I can't using the details I thought I configured, what do you advise for this problem also?
Kind regards
RocknRollTim
You can customize the block page CFS in respect of Security Services > Content Filter > scroll down to bottom & customize it under 'block the Web page to display when '.
-
I have install the content server and the user interface based on the document https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=234453819733758 & id = 1618305.1 & _afrWindowMode = 0 & _adf.ctrl - state = n0sjjwur9_25
But when I run the UI with success. but when I try to access the user interface. I got an exception:
< 11 August 2014 3:26:39 PM PDT > < error > < oracle.wcc.adf.logger.Exception > < WCC-ADF-10900 > < required feature is not enabled on the content server instance 'Default' WebCenter Feature: 'FrameworkFolders', at least level: 2.1
oracle.wcc.adf.model.WccException: WCC-ADF-10900: necessary feature is not enabled on the content server instance 'Default' WebCenter Feature: 'FrameworkFolders', at least level: 2.1
at oracle.wcc.adf.model.WccException.getException(WccException.java:424)
at oracle.wcc.adf.model.WccException.getException(WccException.java:441)
at oracle.wcc.adf.model.ConfigurationManager.getEnvironment(ConfigurationManager.java:1030)
at oracle.wcc.adf.model.ConfigurationManager.areRequiredWccInstanceFeaturesAvailable(ConfigurationManager.java:489)
at oracle.wcc.adf.vc.WccServletFilter.doFilter(WccServletFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilterImpl.doFilter(AdfFacesCachingFilterImpl.java:116)
at oracle.adf.view.rich.webapp.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
is there only one had the same problem? or an idea of how manage it?
Thank you
Brilliant
Are you sure you properly patch?
You try to apply a patch WebCenter MLR oracle_common home:
Oracle home: \Oracle_CS\Middleware\oracle_common
I don't have the RLM 5 or 6 readily available readme, but I MLR4: it says:
2 pre-installation instructions
-------------------------------
a. set the ORACLE_HOME to ECM home environment variable.
The default location is: "[MW_HOME] / Oracle_ECM1".
You must read and follow the patch readme to make sure you are running the patch correctly and in the right place. Also, some patches have specific pre and/or post installation steps. You cannot go rogue on a patch process.
I hope this helps you
-ryan
-
We have improved our content WebCneter Imaging environment UAT yesterday from 11.1.1.7 to the 11.1.1.9 Version and then applied COE BP3 21631736 & 22231987 of IPM.
But after upgrade get us below error. Looks like a problem with custom code IPM.
No idea where to look? Appreciate your help.
"Unable to load the command UCM_Managed_Attachments with configured command class abccorp. UCMMaAfGrantAccessCommand ".
Thanks Amey.
We have found a solution. AXF_COMMANDS pointed to this class and change us back to the original "oracle.imaging.axf.commands.ucm.AfGrantAccessCommand".
-
ViewObject getCurrentRow() returns null for a particular VO
1. I use JDeveloper 12.1.2 and see that one of the VO does not return a current line in the module of the application.
Table of this VO has an another table foreign key relationship and corresponding EO mapping to a database table is defined.
I defined the Association and link display to be able to make the key relationship foreign mapping.
And moved VO belong to the corresponding data model of the parent object.
However, getCurrentRow running on this instance of VO returns null.
Runs the code SQL of VO same results as expected in the preview of the VO Editor.
Can someone further comment on what might cause some getCurrentRow() which returns null despite the lines for VO that corresponds to its definition of SQL or Timo.
2. one of the posts mentioned earlier setting the following will print the SQL used by VO in the console.
AddVMOption - Djbo.deguboutput = console
AddVMOption - Djbo.jdbc.trace = true
However, my console does not show the SQL code as such to run executeQuery on VO.
Can someone share your opinion on if these settings are changed in Jdev 12.1.2 charges.
Thank you
Rama
GetCurrentRow() may return null if the vo is not used in the user interface. In this case, the pointer of the current line is set before the first row so that you can browse all lines.
After execution of the vo, you must call premier() to get the first row, then next() to get the next line.
Timo
-
Get.get ('XML') returns Null
I use AJAX in my program to recover the city and the State of the ZIP Code entered. It used to work now it isn't and I don't know why. I have not changed at all the javascript or the application process. During the decoding of the javascript, I discovered that get.get('XML') returns NULL.
The javascript is as follows:<script language="JavaScript" type="text/javascript"> <!-- function pull_multi_value(pValue){ var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=SET_CITY_STATE',0); if(pValue){ get.add('TEMPORARY_APPLICATION_ITEM',pValue) }else{ get.add('TEMPORARY_APPLICATION_ITEM','null') } gReturn = get.get('XML'); alert('gReturn'+gReturn); if(gReturn){ var l_Count = gReturn.getElementsByTagName("item").length; for(var i = 0;i<l_Count;i++){ var l_Opt_Xml = gReturn.getElementsByTagName("item");
var l_ID = l_Opt_Xml.getAttribute('id');
var l_El = html_GetElement(l_ID);
if(l_Opt_Xml.firstChild){
var l_Value = l_Opt_Xml.firstChild.nodeValue;
}else{
var l_Value = '';
}
if(l_El){
if(l_El.tagName == 'INPUT'){
l_El.value = l_Value;
}
else if(l_El.tagName == 'SPAN' &&
l_El.className == 'grabber'){
l_El.parentNode.innerHTML = l_Value;
l_El.parentNode.id = l_ID;
}else{
l_El.innerHTML = l_Value;
}
}
}
}
get = null;
}
//-->
</script>
DECLAREThe on-demand process is as follows:
v_county VARCHAR2 (25);
v_city VARCHAR2 (25);
v_state VARCHAR2 (2);
v_zip varchar2 (5);
CURSOR cur_c
IS
SELECT the County, city, State, zip
OF ZIP
WHERE zip = v ("TEMPORARY_APPLICATION_ITEM");
BEGIN
HTP.p (: TEMPORARY_APPLICATION_ITEM);
C BY cur_c
LOOP
v_city: = c.city;
v_state: = c.state;
v_zip: = c.zip;
v_county: = c.county;
END LOOP;
OWA_UTIL.mime_header ("text/xml", FALSE);
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
OWA_UTIL.http_header_close;
HTP.prn ("< body >");
HTP.prn ("< desc > This XML genericly defines several elements < / desc > '");
HTP.prn ("< item id ="P2_CO_CITY"> ' |") v_city | ("< / item >");
-HTP.prn ("< option id ="P2_CO_STATE"value ="' | c.state |) '">' || c.State | ("< / option >");
HTP.prn ("< item id ="P2_CO_STATE"> ' |") v_state | ("< / item >");
HTP.prn ("< item id ="P2_COUNTY"> ' |") v_county | ("< / item >");
HTP.prn ("< item id ="P2_CO_ZIP"> ' |") v_zip | ("< / item >");
HTP.prn ("< / body >");
EXCEPTION
WHILE OTHERS
THEN
OWA_UTIL.mime_header ("text/xml", FALSE);
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
OWA_UTIL.http_header_close;
HTP.prn ("< body >");
HTP.prn ("< desc > This XML genericly defines several elements < / desc > '");
HTP.prn ("< item id ="P2_CO_CITY"> ' |") SQLERRM | ("< / item >");
HTP.prn ("< / body >");
END;
onChange = "pull_multi_value (this.value); »The javascript is run when someone tabs out of P2_CO_ZIP_LOOKUP. The HTML Form Element Attributes is:
I ran the SQL statement from the On-Demand Process (ODP) in SQL Workshop and it worked fine. It doesn't work using FF or IE7 at my company but iIt works fine on APEX.ORACLE.COM. I tried using Firefox but could not find the cause of the problem. Login Credentials: Workspace: RGWORK Application: Online Certification Application Prototype (21405) User: tester Password: test123 Page : 2 (Name and Address) Can someone help me? Thanks, Robert http:\\apexjscss.blogspot.com Edited by: sect55 on Mar 24, 2010 9:52 AM
Hello:
The AJAX call that happens from a public page? If so replace the '0' in the instantiation of the 'htmldb_Get' $v ('pFlowStepId').
CITY
-
Need help with ics. SQL return null
Hi experts WCS.
I have this ics. SQL statement that returns an IList as null and nothing in the errStr in debugging print.
IList rsATypes is ics. SQL (, sqlATypes, listName, limit, bCache errStr);
The code is in one of my jsp. He ran very well in my local JSK (HyperSQL Db), but returns NULL in the case of Test (Oracle DB, if this is another).
I got the sql statement println during execution and run it directly in Oracle DB (same instance) it returns the expected result set.
The code snippet:
System.out.println("## ics.GetSSVar(\"pubid\") : " + ics.GetSSVar("pubid")); // Get Attribute Types String sqlATypes = "SELECT DISTINCT assetpublication.assettype " + "FROM assetpublication " + "LEFT JOIN approvedassets " + " ON assetpublication.assetid = approvedassets.assetid " + "WHERE pubid = '" + ics.GetSSVar("pubid") + "' " + "AND (tstate is null OR tstate <> 'A') " + "AND (voided is null OR voided <> 'T') " + "ORDER BY assettype; "; System.out.println("##0126 sqlATypes : " + sqlATypes); String from = "AssetPublication, ApprovedAssets"; // String listName = null; String listName = "ATypesList"; int limit = -1; // boolean bCache = true; boolean bCache = false; StringBuffer errStr = new StringBuffer(""); ics.ClearErrno(); IList rsATypes = ics.SQL(from, sqlATypes, listName, limit, bCache, errStr); System.out.println("## rsATypes : " + rsATypes); if (rsATypes == null) { System.out.println("## NO DATA in rsATypes! errStr : " + errStr.toString());
}
The journal:
## ics.GetSSVar("pubid") : 1374097570685 ## sqlATypes : SELECT DISTINCT assetpublication.assettype FROM assetpublication LEFT JOIN approvedassets ON assetpublication.assetid = approvedassets.assetid WHERE pubid = '1374097570685' AND (tstate is null OR tstate <> 'A') AND (voided is null OR voided <> 'T') ORDER BY assettype; ## rsATypes : null ## NO DATA in rsATypes! errStr :
I got enclosing try catch block, who did not take any exception.
The funny thing is, in the same piece of code, an ics. Casea used already worked (which I noticed outside because there was not enough for what I want to do):
StringBuffer errSB = new StringBuffer(""); ics.SetVar("assetid", id); IList approvedAsset = ics.SelectTo("ApprovedAssets", "state,voided,tstate,locked,reason,treason", "assetid", null, -1, null, true, errSB);
Any help/ideas from anyone would be really appreciated.
Thanks Guddu1223, I discovered why.
The SQL statement cannot end with a semicolon (see line 11 of my original above codes). Delete who had back all the records provided for in my resultset in the IList.
The reason why it works in my local, but not stable instance that I guess is my local JSK + HyperSQL, in WCS + Oracle DB instance trying...
-
Hello
How to return NULL when the collection of type multiset return object empty. Below the example, if t_patient_add_t doesn't have the values it should ' t enter inside the pat.addre collection, because the java code checks to see non-null.
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
Thank you--DROP TYPE t_patient_obj; --DROP TYPE t_patient_add_tab; --DROP TYPE t_patient_add_obj; --DROP TABLE t_patient_t; --DROP TABLE t_patient_add_t; CREATE OR REPLACE TYPE t_patient_add_obj AS OBJECT (address varchar2 (100), zip varchar2 (30)); / CREATE OR REPLACE TYPE t_patient_add_tab AS TABLE OF t_patient_add_obj; / CREATE OR REPLACE TYPE t_patient_obj AS OBJECT (fname varchar2 (25), lname varchar2 (30), addre t_patient_add_tab); / CREATE TABLE t_patient_t ( patid number, fname varchar2 (25), lname varchar2 (30) ); / CREATE TABLE t_patient_add_t ( patid number, address varchar2 (100), zip varchar2 (30) ); / SET DEFINE OFF; INSERT INTO t_patient_t ( patid, fname, lname ) VALUES(1, 'FNAME', 'LNAME'); COMMIT; DECLARE pat t_patient_obj; BEGIN SELECT t_patient_obj (fname, lname, CAST (MULTISET (SELECT address, zip FROM t_patient_add_t a WHERE a.patid = b.patid ) AS t_patient_add_tab ) ) INTO pat FROM t_patient_t b WHERE patid = 1; DBMS_OUTPUT.put_line (pat.fname); DBMS_OUTPUT.put_line (pat.lname); IF pat.addre IS NOT NULL -- IF pat.addre.count <>0 THEN FOR i IN 1 .. pat.addre.LAST LOOP DBMS_OUTPUT.put_line (pat.addre (i).address); END LOOP; END IF; END;
AlenBelow the way that I do, I thought I can avoid to go twise.
You can, if you code something like this:
select deptno, case when cardinality (ename_list) = 0 then null else ename_list end ename_list from (select deptno, cast (multiset (select ename from emp where emp.deptno = dept.deptno) as sys.dbms_debug_vc2coll) ename_list from dept) /
-
[CFFUNCTION return null value
How can I return a null value when the return function is of type cfcUnfortunately ColdFusion doesn't have NULL values. Even if you return null from the database, it will make them in empty strings. If you return null from Java you will get variable is undefined errors.
-
doubt Doc-ID 1618305.1 How to install and configure the user interface with WebCenter content 11.1.1.8.0 content
The portal_domain field contains;
AdminServer (admin) and Enterprise Manager, (port 7001)
IBR_server1, (port 16250)
UCM_server1, (port 16200)
WC_Spaces1, (port 8888).
On the same machine, I have another weblogic, admin and for the ITS.
The case is that continued to develop for the upgrade to the new skin WebCenter content.
That's my goal.
Then I did some research and came to the following notes in support.
1 - how to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1()
and
2 - update of the 11.1.1.8.0 UI content after you apply the Patch of Bundle WebCenter content 3 (MLR 3) or higher (Doc ID 1617477.1()
The UCM_server1 has the following House / app / oracle / Middleware / Oracle_ECM1 /.
And the list of patches;
===================================================================================================
Installed products of higher level (1):
Oracle WebCenter content management install 11.1.1.8.0
There are 1 products in this House of Oracle.
Installed products (40):
Cloning of the 11g Application Server 11.1.1.8.0 component
Enterprise Manager Application Server Integrator Plugin - Management Service Support11.1.1.7.0
FMW Control Plugin for Oracle inbound refinery 11.1.1.8.0
FMW Control Plugin for Oracle WebCenter Capture 11.1.1.8.0
Component install SDK 11.1.0.9.0
Oracle Application Server Configuration 11.1.1.7.0
Part of Oracle 11.1.1.7.0 Bali
Oracle 11.1.1.8.0 capture
Common files Oracle WebCenter content management 11.1.1.8.0
Oracle Content Server 11.1.1.8.0
Content of Oracle 11.1.1.8.0 Server component
Content access Content Server Oracle 11.1.1.8.0
Access to the contents of the Oracle Content Server 11.1.1.8.0 files
Oracle Content Server Core 11.1.1.8.0
Oracle 11.1.1.8.0 server content distribution
Oracle extended Windowing Toolkit 11.1.1.7.0
Oracle Fusion Middleware Admin Config 11.1.1.6.0
Oracle Help for Java 11.1.1.7.0
Oracle Help for the Web - UIX 11.1.1.7.0
Oracle Help for the Web Shared Library 11.1.1.7.0
Oracle Help share library 11.1.1.7.0
Ice browser Oracle 11.1.1.7.0
Oracle IRM 11.1.1.6.0
Oracle extended JFC Windowing Toolkit 11.1.1.7.0
One-time correction of Oracle 11.1.0.9.9 installer
Oracle outside in technology 8.4.0.0.0
Oracle Remote Client of Intradoc 11.1.1.8.0
Component of Oracle 11.1.1.7.0 rules
Oracle SOA 11.1.1.7.0 workflow
Universal Oracle install 11.1.0.9.0
Oracle Upgrade Wizard 11.1.1.8.0
Oracle Upgrade Wizard 11.1.1.8.0
Upgrade Oracle WebCenter content management 11.1.1.8.0 Assistant
Oracle WebCenter Capture 11.1.1.8.0
Oracle Webcenter content - rights 11.1.1.7.0 documentalist
Oracle WebCenter content - Universal Content Manager 11.1.1.8.0
Oracle WebCenter content management install 11.1.1.8.0
Oracle WebCenter content 11.1.1.8.0 management product suite
Oracle WebCenter content: Imaging 11.1.1.8.0
OracleAS Documentation 11.1.1.8.0
There are 40 products installed in this House of Oracle.
Interim plates (2):
Patch 18188143: applied the sea Mar 19 17:37:32 BRT 2014
Patch ID: 17263162
Created February 5, 2014, 12:56:41 pm
Bugs fixed:
15872313, 17184457, 17515691, 16633496, 14317920, 15991141, 16892410
14071471, 17929776, 13414481, 16042293, 17018964, 17627211, 16768600
16037162, 14521663, 17768056, 14738077, 16460053, 17567819, 17806416
15905591, 16080297, 17569908, 17043756, 18139768, 17211093, 17805499
16418434, 16828356, 16671687, 17039391, 16698130, 17943394, 17632731
17560900, 14246603, 15941347, 16045712
Location of patch in the inventory:
/ app/Oracle/middleware/Oracle_ECM1/Inventory/oneoffs/18188143
Patch location in the storage area:
/app/Oracle/middleware/Oracle_ECM1/.patch_storage/18188143_Feb_5_2014_12_56_41
Patch 18088049: applied the sea Mar 19 17:35:58 BRT 2014
Patch ID: 17182855
Created February 16, 2014 20:35:48 hrs PST8PDT
Bugs fixed:
17919101, 17894065, 17884570, 17883868, 17883112, 17854549, 17835742
17832305, 17819213, 17812338, 17789722, 17783376, 17778867, 17761746
17740542, 17733871, 17698852, 17658821, 17642431, 17636186, 17622384
17616664, 17616611, 17616489, 17613656, 17608703, 17589960, 17581458
17574153, 17567413, 17565564, 17558210, 17558068, 17546505, 17545841
17540480, 17528590, 17514070, 17511368, 17511271, 17511089, 17501678
17500375, 17475733, 17449617, 17421368, 17417817, 17416821, 17416807
17416771, 17416377, 17416343, 17402732, 17401071, 17401052, 17397875
17393920, 17393892, 17369286, 17368525, 17368096, 17362858, 17362130
17354877, 17353764, 17352746, 17335303, 17335290, 17330493, 17324707
17323595, 17323038, 17317268, 17314494, 17313064, 17313052, 17313000
17312990, 17312933, 17312863, 17312366, 17298386, 17295962, 17290804
17285105, 17270986, 17261952, 17255019, 17219134, 17216119, 17206903
17201035, 17200854, 17199763, 17187804, 17185539, 17171852, 17171818
17164502, 17160600, 17153780, 17074852, 17050451, 17049175, 17026301
17008220, 17007746, 17007534, 17006378, 16999307, 16999291, 16991380
16980256, 16980207, 16980196, 16979042, 16961904, 16958142, 16954858
16941623, 16936055, 16936048, 16936036, 16936020, 16936006, 16935987
16935976, 16921682, 16908287, 16858148, 16815976, 16796213, 13931337
17424037, 17006115, 17171834
OPatch succeeded.
==============================================================================================
And contains the following configurations in config.cfg
==============================================================================================
SocketAddressHostSecurityFilter = 127.0.0.1 | 0:0:0:0:0:0:0:1 | 192.168.1. * | 10.62.1.79
xPortalSecurityPropagate = true
Web server = javaAppServer
AllowUpdateForGenwww = 1
SearchIndexerEngineName = OracleTextSearch
IndexerDatabaseProviderName = SystemDatabase
AdditionalEscapeChars = -: #.
FileEncoding = UTF8
MaxQueryRows = 2000
DisableAuthorizationTokenCheck = true
IntradocServerPort = 4444
SchemaPublishInterval = 604800
SSAllowDelayedProjectWrites = true
IdcServerThreadQueryTimeout = 120
DisableQueryTimeoutSupport = false
MaxSearchConnections = 20
#Cache
UseSearchCache = false
#
#AdditionalEscapeChars = _: #, -: {-}, has: A, GOLD: GOLD, CAN: CAN, AND: AND at the END:
# Accesing a content item on a mapped Web URL (WebUrlMap) fails with the error: "unable to retrieve the content. Security access denied» (Doc ID 1639028.1()
MaxAccountsInSecurityClause = 300
# end (Doc ID 1639028.1()
#Search fails for external users in WCC after upgrade to 11.1.1.8.0 (Doc ID 1676468.1()
DoCaseInsensitiveAcctSearch = false
# end (Doc ID 1676468.1()
#MigrationFormatForfApplicationGUID = dCollectionName:dCollectionGUID
==============================================================================================
To my UCM_Server1 content WebCenter.
As I already have a WebCenter content I have to follow the second part of the note
How to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1).
Install and configure content WebCenter ADF WebUI against WebCenter Content Server
Step 1) install the MDS schema
(Step 2), install the Weblogic Server
11 GR 1 material step 3) DOWNLOAD and install Oracle Application Development Framework (11.1.1.6.0) in the new WebUI WLS Middleware House, found here
Step 4) Download and apply Patch 16, 546 129.
Step 5) Download and apply Patch 16, 546 157.
Step 6) download and apply the Patch and then 19,469,801, 18,102,108 Patch
Step 7) copy the wccadf files in the field of user interface
Step 8) Oracle on demand services (MDS) metadata registry
Step 9) Place the WebCenter content domain user interface model
Step 10) run the Setup Wizard on the new home of Middleware WebUI to create the new domain
Step 11) updated the Oracle ADF of shared libraries
Step 12) start the domain WebUI administration server
Step 13) Save target Managed Server with the MDS repository and create the metadata partition
Step 14) start the server managed WebUI.
Step 15) associate UI WebCenter content to Content Server.
Step 16) reboot the WebUI ADF server managed.
Step 17 access the WebUI
Step 18) complete the Configuration of the workflow
Step 19) apply the latest Patch Bundle content UI of WebCenter
MY DOUBT IS:
To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.
I have two servers weblogic?
portal_domain (explained above) and a new wccui_domain wls and domain.
This fix it?
Two WLS to keep WebCenter portal and content, and other elements.
Because I'm not able to do with the WLS even where I UCM_server1 today?
Thanks for all suggestions and criticism.
To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.
I have two servers weblogic?
portal_domain (explained above) and a new wccui_domain wls and domain.
This fix it?
Two WLS to keep WebCenter portal and content, and other elements.
Because I could not do with the WLS even where I UCM_server1 today?
Yes, up to 11.1.1.9.0, you will need to install a new wls House (new wls server admin) and then configure WCC ui there. User interface and COE will not work in the same field. You can have the portal and content under the same House of wls and install a new one for the user interface.
This is due to a problem with ADF and WCC libraries.
With 12 c, this dependence is not there, and you can install / configure all 3 (Portal, content and adf ui) applications on the same domain.
Maybe you are looking for
-
Cannot connect to itunes on the imac, OS 10.9.5 Apple ID has not changed and has worked before. After the attempt, login screen comes up right away. If I click on "I forgot" nothing happens. ????
-
Replaces my old XP computer with a new Windows 7 it. How can I transfer the Garmin s/w & connection?
-
How to set the size of OpenFileDialog and make permanent
Whenever I have use openfiledialog I need to resize again. Also when I select the 'details' mode it does not stick and I have to choose it again whenever I open it
-
POWEREDGE T110 [CF]
Salvo sempre in the gir. Previous msg credo che sia AI no he operating system, perch it server if blocca non è schermata blu sara United Nations material errrore boom da opened if handle notes: "Error CPU 1 machine check detected" "Memory errors dete
-
I don't want none of the sites contact/social interaction on my computer and can't seem to find any way to remove/permanently remove.