java.lang.ClassCastException:String cannot be cast to java.sql.Date
I have a date component. MinValue named Id2 and the following code is to run a class cast exception indicating that the string value cannot be cast to a date sqljava.sql.Date dateNeeded = (java.sql.Date) this.getId2 () .getValue ();
can someone help me to overcome this problem.
Thanks and greetings
Janak
Published by: new_to_ORACLE on February 18, 2011 16:56
Published by: new_to_ORACLE on February 18, 2011 16:58
the Date attribute is of type object oracle.jbo.domain.Date
so, first try to cast to oracle.jbo.domain.Date. then to java.sql.Date object
If you need to cast to another Date object, see this site:
http://www.ecotronics.ch/webdesign/javadate.htm
Published by: M.Jabr on February 19, 2011 11:53
Tags: Java
Similar Questions
-
java.lang.String cannot be cast java.lang.Integer
Hi am navigation based on the lov selection when I select the next button get this error caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer, am in jdebvloper 11.1.1.6.0
follow this example http://tompeez.wordpress.com/2013/02/09/jdeveloper-11-1-1-6-0-use-selection-in-lov-to-navigate-to-detail/
I re - create the problem by using the hr schema can download it hear http://www.datafilehost.com/download-4d2a19c4.html
Published by: adf009 on 25/03/2013 15:08my log error is Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) ... 36 more Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at view.SelectedEmp.showSelectedOrg(SelectedEmp.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) ... 43 more am geting error in this line Integer selid = (Integer)attr.getInputValue();
Published by: adf009 on 25/03/2013 15:08
Published by: adf009 on 25/03/2013 15:10User ADF 009. In my view, that it is your third post in the same application...
Also to duplicate the post is not good...
Replace your line of code with the code of shot
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Empid1"); String attrValue = (String) attr.getInputValue(); Integer selid = null; try { selid = Integer.parseInt(attrValue); }catch(NumberFormatException nfe) { System.out.println("Do whatever handling you want to do"); } if(selid == null) return "";
Thank you
Rajdeep -
Hello world
During playback of Oracle ADF Real World Developer's Guide, I noticed the dates match occurring in JDeveloper is different from what is the list in the book. JDeveloper is failing to oracle.jbo.domain.Date, but according to the book:
DATE java.sql.Date DATE type is mapped to java.sql.Date if the column in the table is a no time didn't need information zone. DATE java.sql.Timestamp DATE type is mapped to java.sql.Timestamp if the column in the table has a component "time" and that the client needs to zone information. TIMESTAMP java.sql.Timestamp The TIMESTAMP type is mapped to java.sql.Timestamp if nanosecond precision is used in the database. In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date? Using java.sql.Date and java.sql.Timestamp could save me some headaches conversion date. And, is there a place in JDeveloper to display these maps? I looked around and didn't see anything.
Thank you.
James
User, what version of jdev we are talking about?
In GR 11, 1 material versions db types date and timestamp are mapped to types of domain data that represents a wrapper for the native data types. The reason was that the framework can work with the domain types regardless of the underlying data type.
Since Oracle 11 GR 2 maps the types DB to java types (default selection, you can change it when you create a model project, you can set the Data Type Mapping). Once the pilot has business components define you cannot change this setting it would break existing components such as eo or vo.
So if you are working wit 11 GR 1 subject, you must use the domain types, if you work with GR 11, 2 or 12 c, you can use the domain types, but it is recommended to use the java type mapping.
Timo
-
Does not not for java.sql.Date sort field
Hi Experts ADF,
JDev version 11.1.1.7.0
I use a POJO based datacontrol, who is dragged like a table on page JSFF. One of the field is a java.sql.Date data type in POJO.
So for example in the table 4 values are there to this date field as
2.2.2014
3.2.2014
31.1.2014
to 31.12.2013
So while sorting in ascending order, it should come as below
to 31.12.2013
31.1.2014
2.2.2014
3.2.2014
And vice-versa.
But if I click on sort it sorts by the first 2 digits only, and I'm under results for sorting (ascending)
2.2.2014
3.2.2014
31.1.2014
to 31.12.2013
Please suggest on this. Thanks in advance.
Thank you
Animesh
Hi This sorting has been solved by changing of java.util.Date.
Yes his watch to the client as an outputText inside the table. Sorting option is there for af:column.
Thank you
Roy
-
I use Jdev 11.1.2.0.0
I have a StartDate and EndDate attributes that are used to get the date range
My requirement is to show an error if the conditon EndDate > = StartDate is not satisfied
For this I made use of validateDateRange
< af:inputDate value = "#{bindings." StartDate.inputValue}.
label = "#{hcmmexicoreportsuiBundle.start_date} '"
required = "#{bindings." StartDate.hints.mandatory}.
columns = "#{bindings." StartDate.hints.displayWidth}.
shortDesc = "#{bindings." StartDate.hints.tooltip}"id ="id2 ".
partialTriggers = "sbr1 id3.
Disabled = "#{HcmWeeklyInquiryBean.disableDates} '"
autoSubmit = "true" >
< f: validator binding = "#{bindings." StartDate.validator} "/ >"
< af:convertDateTime pattern = "#{bindings." StartDate.format} "/ >"
< / af:inputDate >
< af:inputDate value = "#{bindings." EndDate.inputValue}.
label = "#{hcmmexicoreportsuiBundle.END_DATE} '"
required = "#{bindings." EndDate.hints.mandatory}.
columns = "#{bindings." EndDate.hints.displayWidth}.
shortDesc = "#{bindings." EndDate.hints.tooltip}"id ="id3 ".
partialTriggers = "sbr1 id2.
Disabled = "#{HcmWeeklyInquiryBean.disableDates} '"
autoSubmit = "true" >
< f: validator binding = "#{bindings." EndDate.validator} "/ >"
< af:convertDateTime pattern = "#{bindings." EndDate.format} "/ >"
< minimum af:validateDateTimeRange = ' #{bindings. " StartDate.inputValue}.
messageDetailMinimum = "#{hcmmexicoreportsuiBundle.END_DATE_SHOULD_BE_ON_OR_AFTER}" / >
In the View object:
< ViewAttribute
Name = "StartDate".
IsSelected = "false".
IsPersistent = "false".
PrecisionRule = 'true '.
Type = "Oracle.jbo.domain.date"
ColumnType = "DATE".
AliasName = 'VIEW_ATTR. '
SQLType = 'DATE' >
Properties of <>
< SchemaBasedProperties >
< FMT_FORMATTER
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.StartDate_FMT_FORMATTER"/ >
< FMT_FORMAT
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.StartDate_FMT_FORMAT"/ >
< CONTROLTYPE
Value = "date" / >
< / SchemaBasedProperties >
< / properties >
< / ViewAttribute >
< ViewAttribute
Name = "EndDate".
IsSelected = "false".
IsPersistent = "false".
PrecisionRule = 'true '.
Type = "Oracle.jbo.domain.date"
ColumnType = "DATE".
AliasName = 'VIEW_ATTR. '
SQLType = 'DATE' >
Properties of <>
< SchemaBasedProperties >
< FMT_FORMATTER
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.EndDate_FMT_FORMATTER"/ >
< FMT_FORMAT
ResId="hl.hcm.rpt.model.view.HcmWeeklyInquiryCriteriaVO.EndDate_FMT_FORMAT"/ >
< CONTROLTYPE
Value = "date" / >
< / SchemaBasedProperties >
< / properties >
< / ViewAttribute >
I don't know why this error occurs because the type is not string and Date
Thank you
ASHA
Can u try this?
Thank you
Alisson
-
Value ' 0000-00-00' cannot be represented as a java.sql.Date error
On about 40 sources of data of MySQL in CF 8 admin I get the java error. Other sources of data, I have the same setup. I tried adding this line in the connection string box and remove the JDBC URL. I also tried to uncheck maintain connections. The error still persists. Should I delete these data sources and recreate, perhaps using MySQL driver 3? Or someone has another suggestion?
zeroDateTimeBehavior = convertToNullI found my problem. The usual solutions work in CF admin. The configuration converttoNull property it. I added that in the connection string box and the errors disappeared.
-
Question about the java.util.Date class.
The book I read said, class Date represents a value int long since January 1, 1970.
I created a class of Date like this
long mesh = 2000L;
d.setTime (st);
System.out.println ("new time is =" + d.toString ());
When the above code, ultimately she prints the date as follows.
New schedule is = Wed Dec 31 16:00:02 PST 1969
No idea why the printed date before 1970? I expect the date to be a value greater than 01, January 1970.Welcome to the forum!
>
The book I read said, class Date represents a value int long since January 1, 1970.I created a class of Date like this
long mesh = 2000L;
d.setTime (st);
System.out.println ("new time is =" + d.toString ());When the above code, ultimately she prints the date as follows.
New schedule is = Wed Dec 31 16:00:02 PST 1969
No idea why the printed date before 1970? I expect the date to be a value greater than 01, January 1970.
>
Because of the way as the setTime method is defined. What time zone do you use?http://docs.Oracle.com/javase/1.5.0/docs/API/Java/SQL/date.html#SetTime (long)
>
setTime
Public Sub setTime(long date) defines an object Date existing using time value given in milliseconds. If the value of milliseconds given contains time information, the driver will set the components at the time in the default time zone (zone of the Java virtual machine running the application) which corresponds to zero GMT. -
oracle.jbo.domain.RowID cannot be cast to java.lang.String
JDeveloper 11.1.1.6
This error is broadcast in weblogic when I try to create a new detail line in a table
< Utils > < buildFacesMessage > ADF: addition of the following JSF error: oracle.jbo.domain.RowID cannot be cast to java.lang.String
java.lang.ClassCastException: oracle.jbo.domain.RowID cannot be cast to java.lang.String
at model.eoCotizacionDetalleImpl.getTpcio(eoCotizacionDetalleImpl.java:866)
to model.eoCotizacionDetalleImpl$ AttributesEnum$ 27.get(eoCotizacionDetalleImpl.java:660)
at model.eoCotizacionDetalleImpl.getAttrInvokeAccessor(eoCotizacionDetalleImpl.java:1254)
at oracle.jbo.server.EntityImpl.getAttribute(EntityImpl.java:1715)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1815)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1923)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:866)
at oracle.jbo.server.ViewRowImpl.getKey(ViewRowImpl.java:677)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.updateNavigated(JUCtrlValueBinding.java:291)
at oracle.jbo.uicli.binding.JUIteratorBinding.navigated(JUIteratorBinding.java:299)
at oracle.jbo.uicli.binding.JUIteratorBinding.cacheCreatedRow(JUIteratorBinding.java:432)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1420)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to 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:300)
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:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< LifecycleImpl > < _handleException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 6 RENDER_RESPONSE
oracle.jbo.AttrValException: Houston-27019: the get method for attribute "RowID" in eoCotizacionDetalle is not resolved.
at oracle.jbo.server.EntityImpl.getAttribute(EntityImpl.java:1734)
at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1815)
at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1923)
at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:866)
at oracle.jbo.server.ViewRowImpl.getKey(ViewRowImpl.java:677)
at oracle.adf.model.binding.DCIteratorBinding.buildFormToken(DCIteratorBinding.java:4023)
at oracle.adf.model.binding.DCBindingContainerState.buildStringBuffer(DCBindingContainerState.java:92)
at oracle.adf.model.binding.DCBindingContainerState.toString(DCBindingContainerState.java:694)
at oracle.adf.model.binding.DCBindingContainer.getStateToken(DCBindingContainer.java:5031)
at oracle.adfinternal.controller.application.model.SaveStateTokenListener.afterPhase(SaveStateTokenListener.java:62)
to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:531)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)
to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:131)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
to 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:300)
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:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '3' for queue: MSGID 'weblogic.kernel.Default (self-adjusting)' = BEA - 101020 MACHINE = TXID CC-INF-02 = the CONTEXTID = d5376a00c2542e48:7e8a3ab0:139ee0ca119:-8000 - 00000000000004be TIMESTAMP = 1348323991041
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>OK, where is the issue?
the error message is quite clear that you cannot get an oracle.jbo.domain.RowID to a string type, which is exactly what the code to model.eoCotizacionDetalleImpl.getTpcio(eoCotizacionDetalleImpl.java:866).
Check what you're doing here...Timo
-
Hi all
When I deploy my application to start spring on weblogic server 12 c (12.1.3.0.0), the following exception is thrown.
There is a class cast exception, perhaps jar duplication but in wls-cat I couldn't see my application, so I can't detect the duplication.
In my application, the following jars are in the web-inf/lib folder:
validation-api - 1.0.0.GA.jar
sleep extended validator - 4.3.2.Final.jar
And in the weblogic wlserver\modules file:
javax.validation_1.2.0.jar
Hibernate.validator_1.0.0.0_4 - 1 - 0.jar
15:09:36.728 [ExecuteThread [pending]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] ERROR o.s.boot.SpringApplication - Application start failed
org.springframework.beans.factory.BeanCreationException: error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': calling the init method failed; nested exception is javax.validation.ValidationException: could not get the resolvers available provider.
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
[to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:302) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:199) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:620) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.SpringApplication.run(SpringApplication.java:320) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:142) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:89) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:51) [spring-boot - 1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175) [spring-web - 4.0.6.RELEASE.jar:4.0.6.RELEASE]
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializer(WebAppServletContext.java:1394) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1331) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppServletContext.initContainerInitializers(WebAppServletContext.java:1317) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1834) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2876) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:823) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:360) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.application.internal.ExtensibleModuleWrapper$ StartStateChange.next (ExtensibleModuleWrapper.java:356) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:73) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:210) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:118) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78) [weblogic.server.merged.jar:12.1.3.0.0]
at sun.reflect.GeneratedMethodAccessor6.invoke (unknown Source) ~ [na: na]
to sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_71]
to java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:254) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456) [weblogic.server.merged.jar:12.1.3.0.0]
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225) [weblogic.server.merged.jar:12.1.3.0.0]
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98) [weblogic.server.merged.jar:12.1.3.0.0]
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87) [weblogic.server.merged.jar:12.1.3.0.0]
to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.oneJob (CurrentTaskFuture.java:1162) [weblogic.server.merged.jar:12.1.3.0.0]
to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.run (CurrentTaskFuture.java:1147) [weblogic.server.merged.jar:12.1.3.0.0]
to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:553) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) [weblogic.server.merged.jar:12.1.3.0.0]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263) [weblogic.server.merged.jar:12.1.3.0.0]
Caused by: javax.validation.ValidationException: could not get the resolvers available provider.
[to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:259) ~[validation-api-1.0.0.GA.jar:na]
to org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223) ~[spring-context-4.0.7.RELEASE.jar:4.0.7.RELEASE]
[to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175) ~[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE]
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550) ~[spring-beans-4.0.7.RELEASE.jar:4.0.7.RELEASE]
... 77 omitted common images
Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider
[to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332) ~[validation-api-1.0.0.GA.jar:na]
[to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256) ~[validation-api-1.0.0.GA.jar:na]
... 82 omitted common images
< 26 October 2015 15:09:37 EET > < error > < hats > < BEA-149231 > < cannot create the activation state to true for the application "sincaplive".
weblogic.application.ModuleException: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:216)
to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:211)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. check the log file full stacktrace
Caused by: java.lang.ClassCastException: weblogic.validation.validator.ValidationProvider cannot be cast to javax.validation.spi.ValidationProvider
to javax.validation.Validation$ DefaultValidationProviderResolver.getValidationProviders (Validation.java:332)
to javax.validation.Validation$ GenericBootstrapImpl.configure (Validation.java:256)
at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:223)
to org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ Jsr303ValidatorFactory.run (ConfigurationPropertiesBindingPostProcessor.java:343)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.afterPropertiesSet(ConfigurationPropertiesBindingPostProcessor.java:175)
Truncated. check the log file full stacktrace
In the meantime I tried to install my file. War on 12.1.2(not 12.1.3) and the error disappeared on this version of weblogic: S
Thanks for your response
-
Hello
I'm on jdev 11.1.2.4 and mysql db.
My application works well, but quite often I get this error. ususally when you sign out of it.
<RichExceptionHandler> <_logUnhandledException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5 JBO-30003: Application pool model.services.SmsAppModuleLocal fails to check out an application module due to the following exception: java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534) at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9053) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571) .... ....... and so on.....
no idea why I get this error and how to get rid of?
Thank you
HI EmAr,
This is my answer to another question:
We have seen this error, when we use one database other than Oracle. When error occurs, disconnect the session and try to connect again.
We had to create root application module (by calling Configuration.createRootApplicationModule) when connecting (and release after use). I thought what happens because of AOS pooling, it tries to use invalidated (last session) AM. (this is just guessing).
Now, we have no problem with other databases (mysql, postgresql, oracle).
Earlier, I found these links. In my view, it has solved the problem basically... (I didn't try it)
After answering this question, I have tried the links, he solved the problem completely...
You create a servlet context listener which affects jbo.sqlbuilder system config and put this context listener in the Web.XML (as mentioned in the links)
Kind regards
Sara. -
Mr President.
To me the error when I use this code
HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getContext();
The error is
javax.servlet.ServletException: //C:/Users/TANVIR/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/AshSystems2015/SchoolViewControllerWebApp.war/Login.jsf @13,59 action = "#{loginBean.doLogin}": java.lang.ClassCastException: weblogic.servlet.internal.WebAppServletContext cannot be cast to javax.servlet.http.HttpServletRequest "
Concerning
Try the HttpServletRequest = ctx.getExternalContext () .getRequest () (HttpServletRequest) request;
Thank you
-
Dear,
I created a new portal application and run it... It has worked well. Then, I created a new page template and deployed the application in order to add these files appear in the War file.
then deploy the application. After running the application, I got this exception of non-performance
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
I use jdev 11.1.1.7 with 11.1.1.8 extension.
Also, I followed these discussions without hope
Error in the webCenter portal deployment
java.lang.ClassCastException: oracle.webcenter.framework.service.WebCenterConfig cannot be cast to oracle.webcenter.framework.service.WebCenterConfig
at oracle.webcenter.framework.service.WebCenterConfig.instance(WebCenterConfig.java:146)
at oracle.webcenter.framework.service.config.analytics.ConfigUtils.getADFConfig(ConfigUtils.java:77)
at oracle.webcenter.framework.service.config.analytics.ConfigUtils.instance(ConfigUtils.java:145)
at oracle.webcenter.framework.service.config.analytics.OpenUsageHelper.initialize(OpenUsageHelper.java:118)
to oracle.webcenter.framework.service.AnalyticsUtil. < clinit > (AnalyticsUtil.java:105)
at oracle.webcenter.framework.service.WebCenterLoginCountFilter.doFilter(WebCenterLoginCountFilter.java:87)
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)
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:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
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:163)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< ConfigUtils > < getADFConfig > oracle.webcenter.framework.service.WebCenterConfig cannot be cast to oracle.webcenter.framework.service.WebCenterConfig
< DeviceSupportUtils > < getAllDevices >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDevices(DeviceSupportUtils.java:2235)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getAllDevices(DeviceSupportImpl.java:97)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getDeviceByUserAgent(DeviceSupportImpl.java:397)
at oracle.webcenter.framework.view.support.DeviceAgent.getDevice(DeviceAgent.java:286)
at oracle.webcenter.framework.view.support.DeviceAgent.getDeviceGroups(DeviceAgent.java:313)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:417)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to 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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
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)
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:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
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:163)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< DeviceSupportUtils > < getAllDeviceGroups >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDeviceGroups(DeviceSupportUtils.java:3308)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getEnabledDeviceGroups(DeviceSupportUtils.java:3418)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getEnabledDeviceGroups(DeviceSupportImpl.java:168)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:418)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to 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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
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)
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:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
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:163)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< DeviceSupportUtils > < getAllDeviceGroups >
java.lang.ClassCastException: oracle.mds.core.MetadataObject cannot be cast to oracle.webcenter.framework.view.support.jaxb.DevicesMDMO
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDeviceGroups(DeviceSupportUtils.java:3308)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getAllDeviceGroups(DeviceSupportImpl.java:134)
at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getDefaultDeviceGroup(DeviceSupportImpl.java:298)
at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:456)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:759)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1070)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:349)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:315)
at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:422)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to 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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
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)
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:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
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:163)
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:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
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:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< SkinFactoryImpl > < getSkin > cannot find a skin that fits the family portal and version v1. We will use the portal.desktop of the skin.
You must install the latest patch bundle for WebCenter portal.
I believe that this error is a bug caused by certain features that are available in the portal Builder, but not in a framework application.
Basically, WebCenter is throwing items of metadata to specific models of devices. In the portal Builder, you can create different templates depending on the device, but this feature is not available in the framework where the error.
Just install the latest patch bundle and your problem should be solved.
Also... Note that Oracle recommendation is to use the portal generator and not to develop any new application with the framework.
-
Hello world
LM l and map creation using table list as the data collection for the leaf theme of points to specify a given location. The problem l get here is that, after setting up the collection of data on the theme tab, the choice address and longtude & latitudes remain disabled. LM using JDeveloper 12 c last version & weblogic 12 c. When l run my lm project this error: java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.GeoMapDataModel. Here is the source code of my page and the Bean managed that define the ArrayList
kdario Thanks for your comment, no. l didn't download the demo of component, but l did it right now. l use developer J 12 c to see how GeoMapDataModel is created .it will come back to you if any problem arises.
-
java.lang.Boolean cannot be cast to java.lang.String
Hi all
I enclose a new field to the existing table. I get this error.
I have added a field to my vo of type varchar2 and I joined the page element then here I get the below error.
Kindly help me its very urgent.
error.
=====
Houston-27019: Get method for the attribute "commercialinvoicenumber" in the original Version cannot be resolved.
java.lang.Boolean cannot be cast to java.lang.String
My point in vo:
Attribute:-commercialinvoicenumber
type:-String
Kindly help to solve them.
Kind regards
Sangu
I found the solution for this problem.
When I join the new filed to VO my voRowImpl file has been altered. Some of the double columns are created.
I deleted the duplicate columns now it works fine.
-Sangu.
-
With the help of plugin vCAC (5.1) I tried to create an entity PhysicalMachine vCAC. Couple of attributes of the entity PhysicalMachine is numeric.
For example: to create a PhysicalMachineEntity I send you under properties map to createModelEntity
var physicalMachineProps = {}
PhysicalMachineID = "UUID".
MemoryInMB = 1121,
Processor = 2 speed,
Name of the vendor = "Seller,"
AssetTag = "ALEX."
Model = "usrLbl."
ServiceTag = "DN,"
Location = 0
};
createModelEntity always fail with java.lang.Double cannot be cast as a java.lang.Short error. Rhino still get converted to java.lang.Double and its plugin failure looks like number type. How can we force type is short
One has seen elsewhere. Appreciate any inputs on this.
Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast in java.lang.Short
at org.odata4j.core.OSimpleObjects.create(OSimpleObjects.java:38)
at org.odata4j.core.OProperties.simple(OProperties.java:54)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.createSimpleProperty(ODataAccessService.java:1012)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.populateSimpleArgument(ODataAccessService.java:934)
at com.vmware.o11n.plugin.dynamicops.model.support.ODataAccessService.saveEntity(ODataAccessService.java:843)
at com.vmware.o11n.plugin.dynamicops.model.EntityManager.createModelEntity(EntityManager.java:53)
to com.vmware.o11n.plugin.dynamicops.model.EntityManager$ $FastClassByCGLIB$ $5bb4b803.invoke (< generated >)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
to org.springframework.aop.framework.Cglib2AopProxy$ CglibMethodInvocation.invokeJoinpoint (Cglib2AopProxy.java:689)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
to com.vmware.o11n.plugin.sdk.spring.impl.CurrentFactoryAnnotationAdvisor$ 1.call(CurrentFactoryAnnotationAdvisor.java:71)
at com.vmware.o11n.plugin.sdk.spring.AbstractSpringPluginFactory.doInCurrent(AbstractSpringPluginFactory.java:193)
at com.vmware.o11n.plugin.sdk.spring.impl.CurrentFactoryAnnotationAdvisor.invoke(CurrentFactoryAnnotationAdvisor.java:67)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
to org.springframework.aop.framework.Cglib2AopProxy$ DynamicAdvisedInterceptor.intercept (Cglib2AopProxy.java:622)
to com.vmware.o11n.plugin.dynamicops.model.EntityManager$ $EnhancerByCGLIB$ $93e675fa.createModelEntity (< generated >)
Thank you, open a support request. For now, workaround is to remove the attribute properties Slot, then I was able to create the PhysicalMachine entity. But there may be other entities with Int16
Maybe you are looking for
-
Portege Z30 poster ipv4 and ipv6 - only pxe boot is
Hi all Toshiba Portege Z30 We do all our installs via PXE, when you press F12 I get now two network options where normally I would just get a. F12 gives the following options: HDD/SSD: SAMSUNG SSD SERIESLAN1: IPv6LAN2: IPv4 When I select the option I
-
How to remove firefox as default browser
I need to have IE as default browser
-
Hi all I would like to continuously acquire an input channel analog and, if necessary, be able to stop the acquisition as quickly as possible. I use a card NI USB-6289. I implemented a DAQmx (voltage) analog input task, set the clock sampling DAQmx '
-
My printer, the all-in-one HP4620, comes up with a message asking me to turn it off. But when I push the power button, nothing happens. I have to unplug it to get it to turn off.
-
How can I change language windows
Hello, I need help, I accidentally installed windows 7 on my computer in another language, Hebrew, I speak Hebrew so is not a problem for me, but my mom and my dad also use the computer and they now word in Hebrew, so I need to know how I can change