Exception while running custom scheduler OIM 11g R1
I have OIM 11g R1 installed on win 32 platform, and am getting the following exception while running the custom scheduler: Samplescheduledtask
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
<Jan 12, 2013 7:37:13 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000>
<XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot fin
d the declaration of element 'scheduledTasks'.>
java.lang.ClassNotFoundException: ADP ClassLoader failed to load: oracle.iam.sam
ple.scheduledtask.SampleScheduledTask
at com.thortech.xl.dataobj.tcADPClassLoader.findClass(tcADPClassLoader.j
ava:219)
at oracle.iam.transUI.impl.CustomTaskLoaderImpl.getClassInstance(CustomT
askLoaderImpl.java:12)
at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:146
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:529)
java.lang.ClassNotFoundException: ADP ClassLoader failed to load: oracle.iam.sam
ple.scheduledtask.SampleScheduledTask
at com.thortech.xl.dataobj.tcADPClassLoader.findClass(tcADPClassLoader.j
ava:219)
at oracle.iam.transUI.impl.CustomTaskLoaderImpl.getClassInstance(CustomT
askLoaderImpl.java:12)
at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:146
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:529)
java.lang.ClassNotFoundException: ADP ClassLoader failed to load: oracle.iam.sam
ple.scheduledtask.SampleScheduledTask
at com.thortech.xl.dataobj.tcADPClassLoader.findClass(tcADPClassLoader.j
ava:219)
at oracle.iam.transUI.impl.CustomTaskLoaderImpl.getClassInstance(CustomT
askLoaderImpl.java:12)
at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:146
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:529)
Following is the code of the custom scheduler:
package oracle.iam.sample.scheduledtask;
import java.util.HashMap;
import oracle.iam.scheduler.vo.TaskSupport;
public class SampleScheduledTask extends TaskSupport {
public void execute(HashMap hashMap) throws Exception {
// Display a message when this scheduled task is run
System.out.println("Running the OIM Sample Scheduled Task...");
public HashMap getAttributes() {
return null;
public void setAttributes() {
kindly suggest......
Regards,
KK
Edited by: 958122 on Jan 12, 2013 11:38 PM
Hi,
Please use the below commands to register the plugin:
set the environment variable ORACLE_HOME, OIM_ORACLE_HOME, ANT_HOME,JAVA_HOME,MW_HOME and execute
$ORACLE_HOME/server/plugin_utility/ant -f pluginregistration.xml register
and provide the necessary input.
$ORACLE_HOME/server/bin/PurgeCache.sh All
and provide the necessary input
Restart the OIM managed server
http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/plugins.htm#CHDHECGH
Regards,
Sunny
Similar Messages
-
Error while running custom schedule task.
Hello,
I have created a schedule task, when I am running the task from sysadmin, it wont show any error message.
In diagnostic log, I got the below error
[2012-11-29T07:00:18.507-08:00] [oim_server1] [ERROR] [] [oracle.iam.transUI.impl] [tid: OIMQuartzScheduler_Worker-7] [userId: oiminternal] [ecid: 80eeb34d89d5ed80:-1384f0e3:13b4bd4b64a:-8000-0000000000000005,1:29060] [APP: oim#11.1.2.0.0] ADP ClassLoader failed to load: com.cgc.iam.customconnector.ac.ReconAC
Please help.
Thanks
sjitMake sure you have included the jar file containing the class - com.cgc.iam.customconnector.ac.ReconAC in OIM classpath.
-
OIM 11g error while running the scheduler
Hi All,
we have created on few custom schedulers to carry out trustetd recon and doing the create , modify and delete operations on OIM entities. all were running fine earlier. Now we started facing the below error while running any scheduler. Please find the OIM diagonostic logs below.
scheduler status is not changing to running and scheduler logs and events r also not getting generated. please find the logs below.
2012-09-04T11:03:38.355+05:30] [oim_server1] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
Completed orchestration with action result - oracle.iam.platform.kernel.EventFailedException: Operation - UNSCHEDULE that is submitted as part of the orchestration is not supported.
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010010] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Entering the Authorization Segment with parameters:: LoggedInUserId = 1, target resourceID = null, Feature = SCHEDULER, Action = JOB_MODIFY **********
[2012-09-04T11:03:38.430+05:30] [oim_server1] [NOTIFICATION] [IAM-1010029] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] OES Results found in cache with Key F: SCHEDULERS: 1P: JOB_MODIFYOESDefinition
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010021] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Validating the Internal Obligations: [InternalObligation: name: noop, values: [true], convertToObligation: false, InternalObligation: name: noop, values: [true], convertToObligation: false]
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010022] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ---------- The list of Internal Obligation is satisfied, returning TRUE ----------
[2012-09-04T11:03:38.431+05:30] [oim_server1] [NOTIFICATION] [IAM-1010026] [oracle.iam.platform.authz.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] ********** Exiting the Authorization Segment with result Decision :PERMIT[[
Obligations from policy: **********
[2012-09-04T11:03:38.598+05:30] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 709,251.0.JobDetails.UPDATE
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080014] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] Kernel executing default action handler with process id, event id, entity and operation 709,251.2,295,568.JobDetails.UPDATE.entityId=null
[2012-09-04T11:03:38.875+05:30] [oim_server1] [NOTIFICATION] [IAM-0080001] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 11d1def534ea1be0:5b04d370:1398fc0c0cc:-8000-0000000000000067,0] [APP: oim#11.1.1.3.0] An error occurred while executing the kernel event handler.[[
oracle.iam.platform.kernel.EventFailedException: Operation - UPDATE that is submitted as part of the orchestration is not supported.
at oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:53)
thanks.I got one similar issue before. In my case was with event handler. It was a sintax issue.
Example:
I wrote this: <action-handler Class="...
instead of this: <action-handler class="...
So, in your case III suggest you to check if have any plugin invalid syntax and re-import your schedule task plugin.
<oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins pluginpoint=.....
<plugin pluginclass= .....
</plugin>
Let me know if you have any doubt.
I hope this helps,
Thiago Leoncio. -
Not able to link any user while running the scheduler
Hi,
I have written a scheduler to reconcile the data into OIM. While running the scheduler my users are able to get linked to any user. Though Modification of the existing users are happening and scheduler is running without any error.
Please help me in resolving this issue.
RegardsDid you set your reconciliation action rules and reconciliation rule? After, did you create a reconciliation profile?
-Kevin -
Error while running custom BI report in R12.1.1
Hi All,
We are encountering below error while running custom BI report in R12.1.1...
Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
MSG-00001: started report
REP-1401: '': Fatal PL/SQL error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1401: '': Fatal PL/SQL error occurred.
Report Builder: Release 10.1.2.3.0 - Production on Fri Jun 24 16:47:30 2011
Please let us know how to fix this error.
Thanks
PraveenHi Praveen,
Seems the issue is with the rdf. Check whether all the parameters are passed correctly.
REP-1401: '': Fatal PL/SQL error occurred. -
NoClassFoundError exception while running the java program
Hi,
I am getting the following exception while running a java program CSTToGMTToSQL.java
Exception in thread "main" java.lang.NoClassDefFoundError: CSTToGMTToSQL
However, the class file is getting created for this program in the same directory where the program is residing.
Any idea on this ?
Regards
RameshI know that in the past there was an issue with running a particular version of the SDK on a particular version of windows. The resulant error was a ClassNotFoundException. I am not sure about the versions involved.
-
EJB5017: Exception while running preinvoke
Hi All
I have a strange problem in using an EJB. I have a pure java class in which a dao class which is an Stateless session bean. This bean is injected in another EJB and passed to this pure class but calling any method of this bean will fail. I tried to look it up inside that pure java class and the container is able to look it up but again any method invocation will fail!! Exception is very vague and I can't understand what happens. Please help me out of this since I am completely stuck!!!
[#|2009-11-23T08:57:13.937-0500|FINE|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=36;_ThreadName=httpSSLWorkerThread-8080-5;ClassName=com.sun.enterprise.naming.NamingManagerImpl;MethodName=lookup;_RequestID=1fe100d2-84a5-498b-857a-8ffd940746a5;|NamingManagerImpl : looking up name : java:comp/env/ITransactionFormDao|#]
[#|2009-11-23T08:57:13.938-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=36;_ThreadName=httpSSLWorkerThread-8080-5;ClassName=com.sun.ejb.containers.BaseContainer;MethodName=preInvoke;TransactionFormDaoImpl;_RequestID=1fe100d2-84a5-498b-857a-8ffd940746a5;|EJB5017: Exception while running preinvoke : ejbName = [TransactionFormDaoImpl]|#]
[#|2009-11-23T08:57:13.938-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=36;_ThreadName=httpSSLWorkerThread-8080-5;ClassName=com.sun.ejb.containers.BaseContainer;MethodName=preInvoke;_RequestID=1fe100d2-84a5-498b-857a-8ffd940746a5;|
javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3394)
at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3274)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1244)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
at $Proxy651.getTransactionForms(Unknown Source)
at com.kishware.core.payment.packet.TransactionFormProvider.buildTransactionGraphIfRequired(TransactionFormProvider.java:85)
at com.kishware.core.payment.packet.TransactionFormProvider.getTransactionForm(TransactionFormProvider.java:48)
at com.kishware.core.payment.packet.PaymentVoucherAgentImpl.acquireTransactionForm(PaymentVoucherAgentImpl.java:163)
at com.kishware.core.payment.packet.PaymentVoucherAgentImpl.build(PaymentVoucherAgentImpl.java:133)
at com.kishware.core.payment.packet.PaymentVoucherAgentImpl.createPaymentPacketDto(PaymentVoucherAgentImpl.java:172)
at com.kishware.core.payment.service.AbstractDebitCreditAgent.createPaymentPacketDto(AbstractDebitCreditAgent.java:113)Muthu,
To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
Deepak -
UsernamePasswordLoginModule exception while running PurgeCache.bat All
Hi All,
I am getting the below exception while running PurgeCache.bat All from OIM_HOME-->plugin_utility.
Note: I have Wlfullclient.jar,weblogic.jar,wljarbuilder.jar under WLS_HOME-->lib directory
Exception in thread "main" javax.security.auth.login.LoginException: unable to f
ind LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
80)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLog
inHandler.java:61)
at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
at oracle.iam.platformservice.utils.PurgeCache.main(PurgeCache.java:67)
Thanks in AdvanceMake sure wlfullclient.jar is in wls_home/server/lib directory not wls_home/lib directory.
regards,
GP -
ClassCastException exception while running EJB Client
Folks,
I am getting following exception while running the EJB Client.. I am
using WLS 5.1
Exception in thread "main" java.lang.ClassCastException
at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:319)
at FirstStatelessEJBClient.Client.lookupHome(Client.java:149)
at FirstStatelessEJBClient.Client.<init>(Client.java:44)
at FirstStatelessEJBClient.Client.main(Client.java:82)
Can anybody throw a light on this.
Thanks
AshishHi Eduardo,
Below is my classpath. The stubs are in first_statlessSession.jar file.
CLASSPATH=C:\weblogic\myserver\first_statelessSession.jar;
C:\jdk1.2.2\lib\tools.jar;C:\weblogic\license;C:\weblogic\classes;C:\weblogi
c\lib\weblogicaux.jar;
C:\weblogic\myserver\clientclasses;C:\weblogic\myserver\serverclasses
Also, I am just compiling and deploying the
C:\weblogic\examples\ejb\basic\statelessSession myself and testing it. I
am
using the build.cmd files to compile and deploy the above EJB. If I use the
jars provided by weblogic it works fine with same above classpath.
I don't know what to do next. I have invested the whole day to solve this
problem and couldn't.
Please let me know if I am doing anything wrong.
Appreciate your help.
Thanks,
Ashish
Eduardo Ceballos wrote:
Try putting the stubs into the client class path.
"Ashish N. Shah" wrote:
Folks,
I am getting following exception while running the EJB Client.. I am
using WLS 5.1
Exception in thread "main" java.lang.ClassCastException
at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:319)
at FirstStatelessEJBClient.Client.lookupHome(Client.java:149)
at FirstStatelessEJBClient.Client.<init>(Client.java:44)
at FirstStatelessEJBClient.Client.main(Client.java:82)
Can anybody throw a light on this.
Thanks
Ashish -
getting Exception: "@Scratchpad/1:1 exception" while running simple javascript code in mozilla scrachpad
Does this also happen if you run the code in the Web Console (Firefox/Tools > Web Developer)?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Getting following exception while running coherence tutorial using JDev
Hi,
I am getting following exception while running the Oracle Coherence tutorial in Jdeveloper, but unfortunately I'm not able to figure out what's wrong with my configuration.
Any help will be highly appreciated,
D:\OracleSOA\Middleware\jdk160_24\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\KnowledgeSOA\.adf;C:\JDeveloper\mywork\KnowledgeSOA\JPA\classes;D:\OracleSOA\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;D:\OracleSOA\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\OracleSOA\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;D:\OracleSOA\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\OracleSOA\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;D:\OracleSOA\Middleware\modules\javax.jsf_1.1.0.0_1-2.jar;D:\OracleSOA\Middleware\modules\javax.ejb_3.0.1.jar;D:\OracleSOA\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\OracleSOA\Middleware\modules\javax.interceptor_1.0.jar;D:\OracleSOA\Middleware\modules\javax.jms_1.1.1.jar;D:\OracleSOA\Middleware\modules\javax.jsp_1.2.0.0_2-1.jar;D:\OracleSOA\Middleware\modules\javax.jws_2.0.jar;D:\OracleSOA\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\OracleSOA\Middleware\modules\javax.mail_1.1.0.0_1-4-1.jar;D:\OracleSOA\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\OracleSOA\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\OracleSOA\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\OracleSOA\Middleware\modules\javax.management.j2ee_1.0.jar;D:\OracleSOA\Middleware\modules\javax.resource_1.5.1.jar;D:\OracleSOA\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\OracleSOA\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\OracleSOA\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\OracleSOA\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\OracleSOA\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\OracleSOA\Middleware\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\OracleSOA\Middleware\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;D:\OracleSOA\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;D:\OracleSOA\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;D:\Coherence\toplink\jlib\eclipselink.jar;D:\Coherence\coherence-java-3.7.1.0b27797\coherence\lib\coherence.jar;D:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar;D:\Coherence\coherence-java-3.7.1.0b27797\coherence\lib\coherence-jpa.jar;D:\Coherence\ojdbc5.jar;D:\Coherence\toplink\jlib\toplink.jar -Djavax.net.ssl.trustStore=D:\OracleSOA\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=proxymlz.samba.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=scms.*|*.contoso.com|ldrps.*|col.wls.*|desu*|tdlintra.*|10.8.*|10.10.*|*.corp.samba.com|ckcexch1*|whoexch1*|lhoexch1*|ehoexch1*|cmzexch2*|choexch2*|cdcstg2.*|itr2.samba.com|itr.samba.com|*.session.rservices.com|cold.samba.com|sims.samba.com|intranet.samba.com|localhost|localhost.localdomain|127.0.0.1|::1|crgmz01bssu-006.corp.samba.com|crgmz01bssu-006 -Dhttps.proxyHost=proxymlz.samba.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=scms.*|*.contoso.com|ldrps.*|col.wls.*|desu*|tdlintra.*|10.8.*|10.10.*|*.corp.samba.com|ckcexch1*|whoexch1*|lhoexch1*|ehoexch1*|cmzexch2*|choexch2*|cdcstg2.*|itr2.samba.com|itr.samba.com|*.session.rservices.com|cold.samba.com|sims.samba.com|intranet.samba.com|localhost|localhost.localdomain|127.0.0.1|::1|crgmz01bssu-006.corp.samba.com|crgmz01bssu-006 -Dtangosol.coherence.cacheconfig=C:\JDeveloper\mywork\KnowledgeSOA\JPA\jpa-cache-config.xml -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.log.level=3 com.samba.coherence.RunEmployee
2012-08-12 13:36:48.447/0.265 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/Coherence/coherence-java-3.7.1.0b27797/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2012-08-12 13:36:48.479/0.297 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/Coherence/coherence-java-3.7.1.0b27797/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
Oracle Coherence Version 3.7.1.0 Build 27797
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2012-08-12 13:36:48.603/0.421 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/C:/JDeveloper/mywork/KnowledgeSOA/JPA/jpa-cache-config.xml"; this document does not refer to any schema definition and has not been validated.
2012-08-12 13:36:49.290/1.108 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): This Member(Id=3, Timestamp=2012-08-12 13:36:49.118, Address=10.10.51.150:8090, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4816, Role=SambaCoherenceRunEmployee, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) joined cluster "cluster:0xFCDB" with senior Member(Id=1, Timestamp=2012-08-12 13:31:01.774, Address=10.10.51.150:8088, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4812, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4)
2012-08-12 13:36:49.305/1.123 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0xFCDB
Group{Address=224.3.7.0, Port=37000, TTL=4}
MasterMemberSet(
ThisMember=Member(Id=3, Timestamp=2012-08-12 13:36:49.118, Address=10.10.51.150:8090, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4816, Role=SambaCoherenceRunEmployee)
OldestMember=Member(Id=1, Timestamp=2012-08-12 13:31:01.774, Address=10.10.51.150:8088, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4812, Role=CoherenceServer)
ActualMemberSet=MemberSet(Size=2
Member(Id=1, Timestamp=2012-08-12 13:31:01.774, Address=10.10.51.150:8088, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4812, Role=CoherenceServer)
Member(Id=3, Timestamp=2012-08-12 13:36:49.118, Address=10.10.51.150:8090, MachineId=30889, Location=site:,machine:crgmz01bssu-006,process:4816, Role=SambaCoherenceRunEmployee)
MemberId|ServiceVersion|ServiceJoined|MemberState
1|3.7.1|2012-08-12 13:31:01.774|JOINED,
3|3.7.1|2012-08-12 13:36:49.305|JOINED
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
TcpRing{Connections=[1]}
IpMonitor{AddressListSize=0}
Exception in thread "main" (Wrapped) java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:266)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.samba.coherence.RunEmployee.main(RunEmployee.java:17)
Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
... 5 more
Process exited with exit code 1.
My Cache-Config file
<?xml version="1.0" encoding="windows-1252" ?>
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<!-- Set the name of the cache to be the entity name -->
<cache-name>Employees</cache-name>
<!-- Configure this cache to use the scheme defined below -->
<scheme-name>jpa-distributed</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>jpa-distributed</scheme-name>
<service-name>JpaDistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<!--
Define the cache scheme
-->
<internal-cache-scheme>
<local-scheme/>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>com.tangosol.coherence.jpa.JpaCacheStore</class-name>
<init-params>
<!--
This param is the entity name
This param is the fully qualified entity class
This param should match the value of the
persistence unit name in persistence.xml
-->
<init-param>
<param-type>java.lang.String</param-type>
<param-value>{cache-name}</param-value>
</init-param>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>com.samba.coherence.{cache-name}</param-value>
</init-param>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>JPA</param-value>
</init-param>
</init-params>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>
cache-server.cmd
@echo off
@rem This will start a cache server
setlocal
:config
@rem specify the Coherence installation directory
set coherence_home=D:\Coherence\coherence-java-3.7.1.0b27797\coherence
@rem specify the JVM heap size
set memory=512m
:start
if not exist "%coherence_home%\lib\coherence.jar" goto instructions
if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
:launch
if "%1"=="-jmx" (
set jmxproperties=-Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true
shift
set java_opts=-Xms%memory% -Xmx%memory% %jmxproperties% -Dtangosol.coherence.cacheconfig=C:\JDeveloper\mywork\KnowledgeSOA\JPA\jpa-cache-config.xml
%java_exec% -server -showversion %java_opts% -cp "%coherence_home%\lib\coherence.jar;C:\JDeveloper\mywork\KnowledgeSOA\JPA\classes;D:\Coherence\coherence-java-3.7.1.0b27797\coherence\lib\coherence-jpa.jar;D:\Coherence\ojdbc5.jar;D:\Coherence\toplink\jlib\eclipselink.jar;D:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar" com.tangosol.net.DefaultCacheServer %1
goto exit
:instructions
echo Usage:
echo ^<coherence_home^>\bin\cache-server.cmd
goto exit
:exit
endlocal
@echo on
Many Thanks in Advance
ZiaHi Zia,
The error is...
Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
...which means you have two different versions of org.eclipse.persistence.indirection.IndirectList, one on the server and one in the client (JDeveloper). As these classes have different serialVersionUID values then Java throws an exception when deserializing as they are probably not compatible.
I don't know much about the Eclipse stuff but from looking at your post I can only assume one version of the class is in D:\Coherence\toplink\jlib\eclipselink.jar on the Coherence server side and the other is in JDevloper in D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar as these are the only jar file containing "eclipse" that I can see on the classpaths.
JK -
I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
<Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
java.lang.NullPointerException
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
Truncated. see log file for complete stacktrace
>
Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
INFO: ADFApplicationLifecycleListener.postStop
Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
<Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
<Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
>
[11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
[11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
[11:39:47 AM] See server logs or server console for more details.
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
... 12 more
#### Cannot run application UI due to error deploying to DefaultServer.
[Application UI stopped and undeployed from Server Instance DefaultServer]I was facing a similar error, the problem was because of adf-controller.jar. My error was :
java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
The jar's 10g edition hasĀ (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
jar -cf adf-controller.jar .
This solved my problem.
Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining. -
Exception while running ADF 11g application on Weblogic 10.3.2
Hi All,
I have Created a ADF Application using ADF faces 11g. I have Created a Webservice Datacontrol and calling Synchronous BPEL flow from an ADF page. I have deployed the ADF application on Weblogic 10.3.2 but while running the page using the URL http://10.142.214.163:9001/AdfApp/faces/GetBalance.jspx I am getting the following exception,
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3710)
at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:865)
at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5127)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2921)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:21)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
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)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But the same application is working properly in Integrated Weblogic Server in Jdeveloper 11g.
Thanks in advance.
Please help on this...
Best Regards
Majid HussainHi,
Did you configure your application module to use a JDBC data source? To do this, right-click the app module in the navigator, select Configurations and in the dialog that comes up change the connection type to JDBC Data Source and enter your data source name - which should be the same as the data source you created on the weblogic server.
Also, I do suggest you create an EAR file - this is what we've tested and certified with. You can find more details in the deployment chapter of the fusion developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#CHDJJDDG.
Hope this helps
Blaise -
Exception while running Petstore
I installed the Petstore according to the following:
Win XP ( I tried Win2000 as well )
J2EE 1.3.1
JDK 1.4.2_10
I did everything as the Petstore installing.html told me but I have the exception as follows.
I browsed the web and found these links but have no correct solution.
http://supportforum.sun.com/sjes/index.php?t=msg&th=451&start=0&rid=0
http://forum.java.sun.com/thread.jspa?threadID=371678&tstart=1
And the exception (I get it for example when I select a cat ( for example: persion: http://localhost:8000/petstore/product.screen?product_id=FL-DLH-02 ) ):
java.security.PrivilegedActionException: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a
alue for "attribute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(InsertTag.java:99)
at org.apache.jsp.template$jsp._jspService(template$jsp.java:159)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
at org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatcher.java:359)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:130)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:347)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(TemplateServlet.java:288)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(TemplateServlet.java:246)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(TemplateServlet.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(SignOnFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(EncodingFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "attribute" in objec
of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.access$1(ApplicationDispatcher.java:501)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:146)
... 66 more
InsertTag:doEndTag caught: javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "att
ibute" in object of class "com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
javax.servlet.ServletException: An error occurred while evaluating custom action attribute "value" with value "${item.attribute}": Unable to find a value for "attribute" in object of class
com.sun.j2ee.blueprints.catalog.model.Item" using operator "."
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
at org.apache.jsp.product$jsp._jspService(product$jsp.java:1357)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.access$1(ApplicationDispatcher.java:501)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at com.sun.j2ee.blueprints.waf.view.template.tags.InsertTag.doEndTag(InsertTag.java:99)
at org.apache.jsp.template$jsp._jspService(template$jsp.java:159)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
at org.apache.catalina.core.ApplicationDispatcher.access$0(ApplicationDispatcher.java:359)
at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:130)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:347)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.insertTemplate(TemplateServlet.java:288)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.process(TemplateServlet.java:246)
at com.sun.j2ee.blueprints.waf.view.template.TemplateServlet.doGet(TemplateServlet.java:143)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(SignOnFilter.java:154)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at com.sun.j2ee.blueprints.encodingfilter.web.EncodingFilter.doFilter(EncodingFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:534)Hi,
first of all you need set java into classpath along with it set weblogic.jar and jython-modules.jar from %BEA_Home% / common / wlst / modules.
this will sort your probs.
Regards,
Kal -
Error While Creating User in OIM 11g R2
Experts,
I am working on OIM 11g R2, while creating user i am getting below prompt
IAM-2050242: Orchestration process with id 815, failed with error message IAM-3010201:LDAP create event failed: Object Class Violation.
any pointers?Try to check which OBJ Class violation are you hitting , for example: If you have uniquemember instead of member and try to add more than one member this will be a rule violation. Eg: ADD request to an attribute that is included in an account entry because the attribute entry has been existed prior to the ADD request.
I hope this helps.
Thiago Leoncio.
Maybe you are looking for
-
After changing contact photo on iPhone, photo no longer shows up in outlook
I had my contact photos all setup on my iphone, and syncing correctly with iTunes and showing up correctly in Outlook 2007. The photos are stored on the iPhone, and set either by selecting the photo and doing "Assign to Contact", or in Contacts, Edit
-
Recovery of lost file is it possible
I like to recover chat messages from Nov 6, 2012 to Decemeber 2012, can some help please
-
User-Exits-Notification & Order
Hi all. Notification with order --> IW51 transaction for eg. i am creating notification in iw51 with some 5 items. ven i am click the sales orders button which is @ iw51. what are the items found in notification is not copied to order, so i am again
-
AppleTV 1st Gen and new computer
How do I connect AppleTV 1st Gen to different computer than the original laptop that I synced with? The laptop has very little space left and I want to synch with larger desktop. Do I have to disconnect it from laptop some how? The desktop has seen A
-
Can't connect iPhone 5s to iTunes! Please help :(
I recently got the new iPhone 5s. When connecting it up to my laptop (Fujitsu Lifebook A series) I made sure to re-install it and make sure its up to date. I connected it up using the USB chord supplied with my iphone. It registers as an iphone on my