Monthly Archives: June 2011

weblogic hangs – whats the solution??


If sometimes the weblogic server hangs without leaving any clue behind for debugging just try this out and it might solve the problem.

rename the ldap directory inside

“<Domain_home>\servers\<server_name>\data” 

and you are saved for the day..

one clue for doing the above change is to check for the log and if you see this line then the workaround will solve your problem

“<IIOP>”

usually after enabling iiop the server will start with the security. So the corrupted ldap causes the problem of server getting hanged.

Advertisements

snippets – to collapse a tree which is expanded



public void rowDisclosureListener(RowDisclosureEvent rowDisclosureEvent) {
System.out.println(":::: RowDisclosureListener Invoked");
int depth = tree.getDepth();
if (depth > 0) {
return;
}
RowKeySet discloseRowKeySet = tree.getDisclosedRowKeys();
RowKeySet addedRowKeySet = rowDisclosureEvent.getAddedSet();
Iterator addedRowKeySetIter = addedRowKeySet.iterator();
if (addedRowKeySetIter.hasNext()) {
discloseRowKeySet.clear();
Object firstKey = addedRowKeySetIter.next();
discloseRowKeySet.add(firstKey);
tree.setSelectedRowKeys(addedRowKeySet);
tree.setRowKey(firstKey);
AdfFacesContext adfFacesContext = null;
adfFacesContext = AdfFacesContext.getCurrentInstance();
adfFacesContext.addPartialTarget(tree.getParent());
}
}
}

Sherman release notes


http://jdevadf.oracle.com/adf-richclient-demo/docs/release.html

create pdf from VO


useful link that i found to create a pdf from a view object

http://technology.amis.nl/blog/1182/generating-pdfs-from-adf-business-components-view-object-datasets-using-xsql

http://kohlivikram.blogspot.com/2009/04/generate-pdf-report-in-adf.html

Ojdeploy – how to include taskflow related files to include


When you build trough ojdeploy the task flow related files like page-template.xml, task-flow-registry.xml are not added in the deployed adf library.

to include that we have remove the entry in the ojdeploy snippet

<ora:parameter name="nocompile" value="true"/>

more information is here

http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html


jdeveloper extensions link


you can download all the extensions related to jdeveloper from this location

http://www.oracle.com/technetwork/developer-tools/jdev/index-099997.html

Oracle ADF certification


Hurray….

I am now an Oracle certified Application Development Framework Implementation specialist.

I wrote the 1Z0554 exam yesterday.. and managed to passed the exam..

My certification status currently is