When deploying an ADF web application after development in JDeveloper, you might see the below errors on the console:
[01:58:13 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application WorkItemTaskFlow_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'WorkItemTaskFlow_ViewController_webapp1.war'.
[01:58:13 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'WorkItemTaskFlow_ViewController_webapp1.war'
[01:58:13 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
Reason:
The above error will be thrown if deploying it by right-clicking web project.
Solution:
It can be fixed by right-click application and select Deploy, e.g.:
Monday, August 29, 2011
Wednesday, August 24, 2011
Friday, July 29, 2011
ORABPEL-30515 error thrown when deploying BPM process
This week, i have installed Oracle SOA, UCM, and WebCenter of latest version PS4. And then create a domain and servers for all of them.
When deploying BPM process to SOA server, it throws an error of ORACLE-30515, which looks like below:
Even throwing this error, the BPM process can be deployed successfully according to deployment message, but this process can't be found in the BPM workspace. So it is unable to initiate it.Cause: SOA, UCM and WC will overwrite system-jazn-data.xml file separately under domain during starting their corresponding servers.
So here is the solution:
Open %DOMAIN_HOME%/config/fmwconfig/system-jazn-data.xml file, and add the following parts into it:
<grant>
<grantee>
<codesource>
<url>file:${soa.oracle.home}/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
</url>
</codesource>
</grantee>
<permissions>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>VerificationService.createInternalWorkflowContext</name>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=APPLICATION, name=*</name>
<actions>getApplicationPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getConfiguredApplications</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getSystemPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-SERVICES, keyName=BPM-SERVICES
</name>
<actions>read</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-CRYPTO, keyName=BPM-CRYPTO</name>
<actions>read,write</actions>
</permission>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>IdentityAssertion</name>
<actions>*</actions>
</permission>
<permission>
<class>java.security.AllPermission</class>
</permission>
</permissions>
</grant>
<grant>
<grantee>
<codesource>
<url>file:${ucm.oracle.home}/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
</url>
</codesource>
</grantee>
<permissions>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>VerificationService.createInternalWorkflowContext</name>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=APPLICATION, name=*</name>
<actions>getApplicationPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getConfiguredApplications</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getSystemPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-SERVICES, keyName=BPM-SERVICES
</name>
<actions>read</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-CRYPTO, keyName=BPM-CRYPTO</name>
<actions>read,write</actions>
</permission>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>IdentityAssertion</name>
<actions>*</actions>
</permission>
<permission>
<class>java.security.AllPermission</class>
</permission>
</permissions>
</grant>
<grant>
<grantee>
<codesource>
<url>file:${wc.oracle.home}/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar
</url>
</codesource>
</grantee>
<permissions>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>VerificationService.createInternalWorkflowContext</name>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=APPLICATION, name=*</name>
<actions>getApplicationPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getConfiguredApplications</actions>
</permission>
<permission>
<class>oracle.security.jps.service.policystore.PolicyStoreAccessPermission
</class>
<name>context=SYSTEM, name=*</name>
<actions>getSystemPolicy</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-SERVICES, keyName=BPM-SERVICES
</name>
<actions>read</actions>
</permission>
<permission>
<class>oracle.security.jps.service.credstore.CredentialAccessPermission
</class>
<name>context=SYSTEM, mapName=BPM-CRYPTO, keyName=BPM-CRYPTO</name>
<actions>read,write</actions>
</permission>
<permission>
<class>oracle.security.jps.JpsPermission</class>
<name>IdentityAssertion</name>
<actions>*</actions>
</permission>
<permission>
<class>java.security.AllPermission</class>
</permission>
</permissions>
</grant>
After saving this file, restart servers.
Note: before modifying this file, please make a copy of it.
Tuesday, July 26, 2011
java.lang.ClassNotFoundException: oracle.bpel.services.workflow.WorkflowException
java.lang.NoClassDefFoundError: oracle/bpel/services/workflow/WorkflowException
Here is the solution for it:
In your ADF project, open weblogic-application.xml in Application Resources Palette and add the below lines:
<library-ref> <library-name>oracle.soa.workflow.wc</library-name> </library-ref>
Which looks like the below:
Monday, July 18, 2011
Changing DefaultServer's Password running in JDeveloper
After you have changed the default password "weblogic1" through the WebLogic Console, you hamve to restart the server running in JDev again to use this new password.

Before restarting the default server in JDev, you will have to follow the below two actions to make it run it properly again.
1. Change the password in boot.properties
Locate C:\Users\\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\security folder, open and edit the password in boot.properties. You can use the inencrpyted text for both user name and password.
For example: changing the password to welcome1
#Mon Jul 18 16:00:02 CST 2011
password=welcome1
username=weblogic
Save the file and close it.
2. Open JDev, in the right side of it, expand Resource Palette -> IDE Connections -> Application Server, and then right-click IntegratedWebLogicServer, and choose Properties.

A new window pops up, switch to Authentication tab, and update the password there.
After all is done, restart the Default Server. It should be started up properly.
Sunday, March 7, 2010
How to recover the administrator password in a WebLogic Domain
To recover the administrator password in a WebLogic domain: (For WL version 9 and higher)
1. At the command line, change directory to the domain and run the setEnv script to set the PATH and CLASSPATH.
2. cd/security
3. mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_BKP
4. run java weblogic.security.utils.AdminAccount./
-above command will Create a new DefaultAuthenticatorInit.ldift
5. cd <Domain_Name>/servers/AdminServer /data/ldap, mv DefaultAuthenticatormyrealmInit.initialized DefaultAuthenticatormyrealmInit.initialized_BKP
6. Restart the Admin Server.
7. Login with new username/password
* To change the old admin user identity, log into the admin console and change the password from console.
1. At the command line, change directory to the domain and run the setEnv script to set the PATH and CLASSPATH.
2. cd
3. mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_BKP
4. run java weblogic.security.utils.AdminAccount
-above command will Create a new DefaultAuthenticatorInit.ldift
5. cd <Domain_Name>
6. Restart the Admin Server.
7. Login with new username/password
* To change the old admin user identity, log into the admin console and change the password from console.
Subscribe to:
Posts (Atom)



