When Oracle ADF EAR deploy in weblogic following error occured.
"java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user."
1)
2) Before create the EAR, uncheck as below.
More Details:
http://sathyam-soa.blogspot.com/2011/08/adf-11g-no-credential-mapper-error.html
Google Analytics
Wednesday, December 24, 2014
Oracle ADF DB Sequence Generating
import oracle.jbo.server.SequenceImpl;
SequenceImpl orderIdSeq = new SequenceImpl("ORDERS_SEQ", this.getDBTransaction());
orderIdSeq.getSequenceNumber();
String pOrderId = orderIdSeq.getSequenceNumber().toString();
More details:
SequenceImpl orderIdSeq = new SequenceImpl("ORDERS_SEQ", this.getDBTransaction());
orderIdSeq.getSequenceNumber();
String pOrderId = orderIdSeq.getSequenceNumber().toString();
More details:
Thursday, December 4, 2014
ClassCircularityError Axis2
When ClassCircularityError Axis2 error occur try to deploy the axis libs deploy with
server. I have try it in Jdeveloper intergrated weblogic server.
Tuesday, November 18, 2014
PL/SQL current loop exit
Example:
CREATE OR REPLACE FUNCTION AAAAA()
RETURN VARCHAR2 IS
BEGIN
DECLARE
rtn_code varchar2(5) := '000';
st_sms_msg varchar2(160) := 'OK';
cursor xxx_cur is
select *
from xxx_details
BEGIN
BEGIN
FOR curSubNo IN xxx_cur
LOOP
wk_detail_totalcount := wk_detail_totalcount + 1;
BEGIN
SELECT *
FROM YYYY
EXCEPTION
WHEN no_data_found THEN
rtn_code := '003';
out_message := ''
GOTO end_loop;
WHEN others THEN
rtn_code := '004';
out_message := '';
RETURN rtn_code;
END;
<<end_loop>>
NULL;
END LOOP;
END;
CLOSE linkDetail_cur;
END;
END;
/
More detail:
https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/controlstructures.htm#BABDBCFF
CREATE OR REPLACE FUNCTION AAAAA()
RETURN VARCHAR2 IS
BEGIN
DECLARE
rtn_code varchar2(5) := '000';
st_sms_msg varchar2(160) := 'OK';
cursor xxx_cur is
select *
from xxx_details
BEGIN
BEGIN
FOR curSubNo IN xxx_cur
LOOP
wk_detail_totalcount := wk_detail_totalcount + 1;
BEGIN
SELECT *
FROM YYYY
EXCEPTION
WHEN no_data_found THEN
rtn_code := '003';
out_message := ''
GOTO end_loop;
WHEN others THEN
rtn_code := '004';
out_message := '';
RETURN rtn_code;
END;
<<end_loop>>
NULL;
END LOOP;
END;
CLOSE linkDetail_cur;
END;
END;
/
More detail:
https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/controlstructures.htm#BABDBCFF
Friday, October 31, 2014
Maven application build command
If you don't know what to give maven goals to build your application try as below.
> give key word "package" and "Run"
> give key word "package" and "Run"
Tuesday, October 21, 2014
WebLogic 10.3.5.0 won't stop or start propperly after Jdev upgrade
http://www.oracle.com/technetwork/developer-tools/jdev/11gr2update3-1851251.html#11.1.2.3.0ShermanUpdate3-ReleaseNotesREPOSITORY-Deployment
Download and install WLS 10.3.6. Download and install Application Developer 11.1.1.6. For more information see the Oracle Fusion Middleware Installation Planning Guide.
Run the Fusion Middleware Configuration wizard and create a new domain, or extend an existing domain, using the JRF + EM + OWSM domain template.
Download the 11.1.2.3.0 Opatch bundles and use the opatch tool to apply the patches (see Install the Patch below).
Shutdown the target domain servers.
Run the WLST "upgradeADF" command in offline mode (see Run the Commands below).
Restart the servers.
Please refer blow link for more info:
https://community.oracle.com/message/10955874#10955874
Session ID of HttpServletRequest is too long
Refer blow link to more informations:
https://community.oracle.com/message/10906023#10906023
Try to change the application web-inf/weblogic.xml --> add session-descriptor element--> then add id-length element
Then you can set charter length. Default is 52 charters
E.g:
<session-descriptor>
<id-length>52</id-length>
</session-descriptor>
Refer following link to more under:session-descriptor
http://docs.oracle.com/cd/E15051_01/wls/docs103/webapp/weblogic_xml.html#wp1071982
Grep command search word page by page
Grep result page by page
>grep 'updataed statistic -' info.log | less.
>Use arrow key to nevigate the result.
>Enter letter 'q' to exit from the results.
Reference link:
http://stackoverflow.com/questions/4321755/how-can-i-see-many-grep-results-page-by-page
>grep 'updataed statistic -' info.log | less.
>Use arrow key to nevigate the result.
>Enter letter 'q' to exit from the results.
Reference link:
http://stackoverflow.com/questions/4321755/how-can-i-see-many-grep-results-page-by-page
Wednesday, October 15, 2014
Oracle ADF QRSLT Error
ADF QRSLT Error
Refer blow links:
Refer blow links:
https://community.oracle.com/thread/2300657?tstart=0
public class ProfileVVOImpl extends CCBSViewObjectImpl {
/**
* This is the default constructor
(do not remove).
*/
public ProfileVVOImpl() {
super.setNestedSelectForFullSql(false);
}
Note:
Seems this is a bug in 12c. Work aroun in below link for 11G R3.
But fixed in 12.1.3 .
>https://java.net/jira/browse/ADFEMG-213
>http://jdeveloperfaq.blogspot.com/2010/02/faq-13-how-to-avoid-common-pitfalls.html
Seems this is a bug in 12c. Work aroun in below link for 11G R3.
But fixed in 12.1.3 .
>https://java.net/jira/browse/ADFEMG-213
>http://jdeveloperfaq.blogspot.com/2010/02/faq-13-how-to-avoid-common-pitfalls.html
Thursday, September 25, 2014
Eclipse JRE error
Refer below link
http://stackoverflow.com/questions/21296620/specified-vm-install-not-found-type-standard-vm-name-jre7
http://stackoverflow.com/questions/21296620/specified-vm-install-not-found-type-standard-vm-name-jre7
Subscribe to:
Posts (Atom)