IconURL in JavaPortlet
Hi.
I am getting the following error while trying to specify an iconUrl in a JSR 168
portlet. Any clues?
<Mar 1, 2004 11:57:55 AM PST> <Error> <netuix> <BEA-421519> <One or more validat
ion error(s) occurred during parsing /portlets/MarketWatchPortlets/Stock.portlet
. The error(s) were Parser Error...
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'iconUrl' is
no
t allowed to appear in element 'netuix:javaPortlet'.
.>
I am using WebLogic 8.1sp2, with BEA Patches - patch_CR126105_CR129301_CR127775_CR133737
Thanks
Kunal
Hi,
It depends on the map provider service which polygone you receive. Some map providers provide only points where you as a driver have to leave the current road. Some have additional points which follow the actual road and provide a realistic route on a map.
It depends in most cases of a parameter which type of return polygone you get.
Some vendors provide a different routing service for getting more points.
Visual Business itself doesn't include an own routing service - we have an oData service as an single access point for applications and this service calls an external map provider.
So it depends on your map service provide and the parameter of your service call.
Since each provider has their own format, you have to look into their documentation how to achieve this.
Similar Messages
-
JSF sample application in WLP 10.3.2
Hi All,
I am new to JSF and trying to build a sample application in WLP 10.3.2.
I created a jsp with simple form and submit. Created a JSF portlet with that JSP. When I try to deploy and run the portlet, I get this error on the console.
+<Aug 15, 2010 6:53:10 PM PDT> <Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [TestJSFwar]. Defaulting to [UTF-8]. You can over+
ride this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
Aug 15, 2010 6:53:40 PM com.sun.faces.lifecycle.Phase doPhase
+SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /TestJSF.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.Lifecycle+
Impl@15563f5]
+<Aug 15, 2010 6:53:40 PM PDT> <Error> <ServletContext-/TestJSFwar> <BEA-000000> <Exception thrown in doFacesRequest:render+
javax.faces.FacesException: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to javax.servlet.ServletRequest
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:906)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:769)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:645)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to javax.servlet.ServletRequest
at com.bea.portlet.adapter.faces.ScopedIdSupport.getScopeKey(ScopedIdSupport.java:74)
at com.bea.portlet.adapter.faces.taglib.naming.internal.NamingContainerTagImpl.doStartTag(NamingContainerTagImpl.java:200)
at com.bea.portlet.adapter.faces.taglib.naming.NamingContainerTag.doStartTag(NamingContainerTag.java:101)
at jsp_servlet.__testjsf._jsp__tag1(__testjsf.java:161)
at jsp_servlet.__testjsf._jsp__tag0(__testjsf.java:123)
Truncated. see log file for complete stacktrace
and on the browser I get a stack trace
javax.portlet.faces.BridgeException: javax.faces.FacesException: java.lang.ClassCastException: com.bea.portlet.container.RenderRequestImpl cannot be cast to javax.servlet.ServletRequest
javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:648)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:611)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:255)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:226)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:942)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:124)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:414)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1120)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1052)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireRender(JavaPortletContent.java:267)
I think that WLP 10.3.2 by default supports the JSF. Do I need to add anything else to the project facets ?
Please help !!!
Thanks.
WinHello Venkat,
I have removed that tag but still getting errors. This is the stack trace of my error. Please have a look at it and let me know if you can find something out of it.
SEVERE: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
javax.faces.el.EvaluationException: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:319)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:659)
at javax.portlet.faces.GenericFacesPortlet.doActionDispatchInternal(GenericFacesPortlet.java:594)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:262)
at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:899)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:96)
at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:314)
at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:678)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireProcessAction(JavaPortletContent.java:209)
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.fireProcessAction(JavaPortlet.java:1295)
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.raiseChangeEvents(JavaPortlet.java:801)
at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:316)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:341)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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 com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
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)
Caused by: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.JSFPortletHelper.getRequest(JSFPortletHelper.java:32)
at com.JSFPortletHelper.authenticate(JSFPortletHelper.java:199)
at com.JSFLoginPortletRequestBean.authenticate(JSFLoginPortletRequestBean.java:33)
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(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 51 more
Aug 30, 2010 1:39:41 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
WARNING: #{JSFLoginPortletRequestBean.authenticate}: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
javax.faces.FacesException: #{JSFLoginPortletRequestBean.authenticate}: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:319)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:659)
at javax.portlet.faces.GenericFacesPortlet.doActionDispatchInternal(GenericFacesPortlet.java:594)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:262)
at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:899)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:96)
at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:314)
at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:678)
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireProcessAction(JavaPortletContent.java:209)
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.fireProcessAction(JavaPortlet.java:1295)
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.raiseChangeEvents(JavaPortlet.java:801)
at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:316)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:341)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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 com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
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)
Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 50 more
Caused by: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.JSFPortletHelper.getRequest(JSFPortletHelper.java:32)
at com.JSFPortletHelper.authenticate(JSFPortletHelper.java:199)
at com.JSFLoginPortletRequestBean.authenticate(JSFLoginPortletRequestBean.java:33)
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(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 51 more
Aug 30, 2010 1:39:41 PM com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /portlets/loginportlet/LoginPortlet.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@11bdace]
<Aug 30, 2010 1:39:41 PM UZT> <Error> <ServletContext-/TestPortalWebProject> <BEA-000000> <Exception thrown in doFacesRequest:action
javax.faces.FacesException: #{JSFLoginPortletRequestBean.authenticate}: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:319)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:659)
Truncated. see log file for complete stacktrace
Caused By: javax.faces.FacesException: #{JSFLoginPortletRequestBean.authenticate}: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
Truncated. see log file for complete stacktrace
Caused By: javax.faces.el.EvaluationException: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassCastException: com.bea.portlet.container.ActionRequestImpl cannot be cast to javax.servlet.http.HttpServletRequest
at com.JSFPortletHelper.getRequest(JSFPortletHelper.java:32)
at com.JSFPortletHelper.authenticate(JSFPortletHelper.java:199)
at com.JSFLoginPortletRequestBean.authenticate(JSFLoginPortletRequestBean.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Truncated. see log file for complete stacktrace
>
Thanks for your rapid response.
*(' ')sman* -
Hi,
I am using JWS to launch my application. Earlier I was using jdk1.5.0_12 version and everything was working fine. But, one of our machines didnt had jdk1.5.0_12 but had jdk1.5.0_19 version. So, JWS uses "Java Web Start 1.5.0_19" version.
In my code, I am loading images at two different places. At first place I am loading my images using ClassLoader cl = Thread.currentThread().getContextClassLoader();
InputStream baseInputStream = cl.getResourceAsStream(value);
if(baseInputStream != null){
ByteArrayOutputStream out = new ByteArrayOutputStream(1024);
byte[] buffer = new byte[1024];
int len;
while((len = baseInputStream.read(buffer)) >= 0)
out.write(buffer, 0, len);
baseInputStream.close();
out.close();
imageIcon = new ImageIcon(out.toByteArray());
}This is working fine. But at the second place, I am setting the look and feel for my application using, SkinLookandFeel.loadDefaultThemePack() method. This method hangs permanently and my application fails to launch. When I debugged this method, I found the following:
1. It goes to loadDefaultThemePack() method of SkinLookAndFeel class. (package: com.l2fprod.gui.plaf.skin)
2. This in turn calls the loadThemePackDefinition((com.l2fprod.gui.plaf.skin.SkinLookAndFeel.class).getResource("/skinlf-themepack.xml")); of SkinLookAndFeel class.
3. The XML file is loaded properly.
4. In method loadThemePackDefinition(), the XML is parsed.
5. This XML has a tag <icon name="InternalFrame.icon" value="icons/Window.gif" />.
6. A URL is formed using URL iconURL = new URL(url, element.getProperty("VALUE"));7. This URL is also formed properly.
8. Next, SkinUtils.loadImage(iconURL) is called.
9. In this method, image is created using method: byte data[] = SkinLookAndFeel.getURLContent(url);
img = Toolkit.getDefaultToolkit().createImage(data);10. The img variable created here has width and height = -1 with imagerep (consumer) as null, source (producer) as sun.awt.image.ByteAraryImageSource.
11. Then, ImageUtils.transparent(img) method is called.
12. In this method, toBufferedImage(image) method is clalled.
13. in toBufferedImage(image) method, new image is created using image = (new ImageIcon(image)).getImage(); method.
14. This new image created also has width and height = -1 with imagerep (consumer) as sun.awt.image.ImageRepresentation, source (producer) as ByteAraryImageSource.
15. Now, new BufferedImage is created using BufferedImage bufferedImage = new BufferedImage(image.getWidth(null), image.getHeight(null), 2);16. In the constructor of BufferedImage, createCompatibleWritableRaster(width, height) method is called on DirectColorModel. This method throws exception, since width and height are -1.
Points to note are:
1. This is working fine with jdk1.5.0_12 but not with jdk1.5.0_19. I tried this with latest java 1.5 version, jdk1.5.0_21. The problem is still there.
2. When I tried with jdk1.5.0_12, instead of DirectColorModel instance, createCompatibleWritableRaster() method in point 16 above was called on IndexColorModel. I am not creating or initializing any color model, so, I dont know, when does the instance of DirectColorModel or IndexColorModel is used and whether it has any thing to do with my problem.
Can any one provide any pointers, what could be the issue with jdk1.5.0_19.Have a look throughout the forum (and google), JWS retrieved url syntax changed in 5u16 (or 14 I can never remember).
Otherwise keep waiting for some good samaritan, good luck with it, most people are sick tired of this topic.
Bye. -
Unable to pass parameter value from a Task flow to a Portlet
Hi All,
I'm using Jdev 11.1.1.6.0 and created a simple ADF application with one Taskflow which contains one JSF page to display the User details from the default LDAP configured within the Integrated Weblogic Server. The Taskflow have one Parameter to accept the User Email Id as input. Based on the given input value, we will fetch the User details from Weblogic server and display in the JSF Page. I created a portlet out of Taskflow by "Create Portlet Entry" and deployed it onto Integrated Weblogic server.
Portlet works well when executed standalone for the given User Email Id values as input.
Then I created a webcenter Application, On a page, there is a task flow that contains a form with one input text field and one Submit button, and a portlet (that displays the User details from LDAP) that listens for user input from the form. Clicking the Submit button sends the user entered texts to the listening portlet. This is a combination of contextual events established by the producer (task flow) and the wiring of the portlet based parameters from within the consuming page definition file.
The taskflow page which contains the form with Submit button, within the page defintion file contains an event binding (submitEventBinding) and a contextual based event (submitEvent). This event is tied to the ActionListener of the commandButton.
After added both the task flow and the portlet onto a page, I have subscribed to the contextual event of the task flow, and completed the wiring of the Taskflow and Portlet events together.
But in the Form, when I enter the User Email Id in the input filed and click the Submit button, I'm getting the below error -
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at 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.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)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at 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)
<ProducerLogger> <internalServerError> Internal Server Error:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at 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.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)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at 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)
Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:681)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
... 57 more
Caused by: javax.portlet.faces.BridgeException: java.lang.NullPointerException
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
... 66 more
Caused by: java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
... 68 more
*<HTTPClientTransport> <invoke> A request to the producer URL "http://localhost:7101/UserProfilePOC-ViewController-context-root/portlets/WSRP_v2_Markup_Service" resulted in a status 500 response with fault string "Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:*
* javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request". The fault code given was "{urn:oasis:names:tc:wsrp:v2:types}OperationFailed". The producer generated a timestamp of 2012-12-03T14:49:27.557+05:30 and associated the following stack trace with the fault message: com.bea.wsrp.faults.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:*
* javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request*
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:315)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:449)
at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:264)
at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:71)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:349)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:250)
at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:208)
at oracle.portlet.server.adapter.web.WSRP_v2_Markup_PortTypeSoapToEndpoint.getMarkup(WSRP_v2_Markup_PortTypeSoapToEndpoint.java:74)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:1055)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1460)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:442)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:333)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.producer.container.endpoint.ProducerEndpointFilter.doFilter(ProducerEndpointFilter.java:36)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at 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.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)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at 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)
Caused by: javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at com.bea.portlet.container.PortletStub.render(PortletStub.java:526)
at com.bea.portlet.container.AppContainer.renderStub(AppContainer.java:1158)
at com.bea.portlet.container.AppContainer.invokeRender(AppContainer.java:1090)
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.doGetMarkup(JavaPortletAdapter.java:294)
... 54 more
Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:681)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:644)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:280)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:251)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:255)
at com.bea.portlet.container.PortletStub.doRender(PortletStub.java:1012)
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:127)
at com.bea.portlet.container.PortletStub.render(PortletStub.java:438)
... 57 more
Caused by: javax.portlet.faces.BridgeException: java.lang.NullPointerException
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:903)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:678)
... 66 more
Caused by: java.lang.NullPointerException
at oracle.portlet.bridge.adf.lifecycle.ADFBridgePhaseListener.afterPhase(ADFBridgePhaseListener.java:74)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:995)
... 68 more
*<PortletRenderer> <setErrorState> An error has occured for Portlet Binding portlet2.*
oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
* javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request*
at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:41)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:267)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:51)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:650)
at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:48)
at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:498)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:502)
at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:6703)
at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1812)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:135)
... 22 more
Caused by: oracle.portlet.wsrp.v2.OperationFailedException: Internal Server Error: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request.; nested exception is:
javax.servlet.ServletException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:136)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:6535)
... 24 more
Caused by: oracle.portlet.wsrp.v2.soap.OperationFailed
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:299)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:133)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:95)
at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:194)
at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:148)
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub._readBodyFaultElement(WSRP_v2_Markup_Binding_SOAP_Stub.java:723)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:148)
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v2_Markup_Binding_SOAP_Stub.java:341)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:86)
... 25 more
Please help me to resolve this error and let me know if you need any more details.
Regards,
UdayaHere is the solution
<spartacus:taskDetails row="#{row}" submissionId="#{row.bindings.SubmissionId.inputValue}" >
<!-- FACET ho HANDLE MS LANDING PAGE ACTION EVENT -->
<f:facet name="loadMSPageLink">
<af:commandLink id="cl29" text="#{row.bindings.FullTitle.inputValue}"
styleClass="home-title"
actionListener="#{pageFlowScope.homepagebean.navigateToMSLandingPage}">
<f:attribute name="submissionId"
value="#{row.bindings.SubmissionId.inputValue}"/>
</af:commandLink>
</f:facet>
<!-- FACET ho HANDLE LOAD USER PROFILE ACTION EVENT -->
<f:facet name="loadUserProfile">
<af:commandLink id="cl10" text="#{row.bindings.EditorName.inputValue}" actionListener="#{pageFlowScope.homepagebean.loadUserProfile}" styleClass="link-class">
<f:attribute name="editorName"
value="#{row.bindings.EditorName.inputValue}"/>
</af:commandLink>
</f:facet>
</spartacus:taskDetails>
<af:spacer height="5px" id="s39"/>
<af:facetRef facetName="loadMSPageLink"/>
<af:spacer height="5px" id="s40"/>
<af:panelGroupLayout id="pgl57" layout="horizontal">
<af:outputText value="#{viewcontrollerBundle.EDITOR}" id="ot37" styleClass="strong-style"/>
<af:spacer width="2px" id="s41"/>
<af:facetRef facetName="loadUserProfile"/>
<af:spacer width="2px" id="s42"/> -
Smart web printing add-on and new versions of Firefox
Having a problem with HP smart web printing add-on with recent versions of Firefox (3.6.12 today)?
This is the way to go around it.
Locate the "C:\Program Files\HP\Digital Imaging\smart web printing " folder. In it there should be a mozilla add-on folder. Click on it. Open the "install.rdf" file with notepad. Change the content of the <em:maxVersion> tag to 3.6.* (or later version). for example you will have <em:maxVersion>3.6.*.*</em:maxVersion>. Save "install.rdf".
Then select all the files, folders in the mozilla addon folder (chrome, components, default,plugins, xre, chrome.manifest, and install.rdf) and zip them. Any name will do (my_hpwebprinting, for example). Once zipped, change its extension (zip) into xpi.
Then just slide this file (my_hpwebprinting.xpi) on the firefox icon. Wait until a firefox page opens and drop the xpi file on it.
You will then be able to use hp smart web printing with FF after restarting it.
Jacques D.Not working i have triede 6 times now.
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>4.60</em:version>
<em:targetApplication>
<!-- Firefox -->
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.5.0.0</em:minVersion>
<em:maxVersion>3.6.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- front-end metadata -->
<em:name>HP Smart Web Printing</em:name>
<em:description>Print what you want, how you want.</em:description>
<em:creator>hp.com</em:creator>
<em:homepageURL>http://www.hp.com/go/smartwebprinting</em:homepageURL>
<em:aboutURL>chrome://hpsmartwebprinting/content/about.xul</em:aboutURL>
<em:iconURL>chrome://hpsmartwebprinting/skin/toolbar-icon-normal-24.png</em:iconURL>
<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
</Description>
</RDF>
Thats how it looks now.
this was how it looked the first 3 times:
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>4.60</em:version>
<em:targetApplication>
<!-- Firefox -->
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.5.0.0</em:minVersion>
<em:maxVersion>3.6.*.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- front-end metadata -->
<em:name>HP Smart Web Printing</em:name>
<em:description>Print what you want, how you want.</em:description>
<em:creator>hp.com</em:creator>
<em:homepageURL>http://www.hp.com/go/smartwebprinting</em:homepageURL>
<em:aboutURL>chrome://hpsmartwebprinting/content/about.xul</em:aboutURL>
<em:iconURL>chrome://hpsmartwebprinting/skin/toolbar-icon-normal-24.png</em:iconURL>
<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
</Description>
</RDF>
Neither Works -
I use firefox 9.0, on Ubuntu 10.04 Lucid Lynx.
The "uname --all" shell command yields the following output, redacted :
Linux ************* 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
I recently did an update to version 9.0 by downloading and extracting the firefox binaries to /opt/firefox/.
Here is some of the output from extensions.log :
Attempt 1 :
2011-12-22 22:39:51 ERROR addons.repository: Failed to create database schema: [Exception... "Component returned failure code: 0x80520013 (NS_ERROR_FILE_READ_ONLY) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x80520013 (NS_ERROR_FILE_READ_ONLY)" location: "JS frame :: resource://gre/modules/AddonRepository.jsm :: AD_openConnection :: line 1325" data: no] at resource://gre/modules/AddonRepository.jsm:1325
2011-12-22 22:39:51 ERROR addons.repository: SQL error 8: attempt to write a readonly database at resource://gre/modules/AddonRepository.jsm:1266
2011-12-22 22:39:51 ERROR addons.repository: Error creating statement getAllAddons (SELECT internal_id, id, type, name, version, creator, creatorURL, description, fullDescription, developerComments, eula, iconURL, homepageURL, supportURL, contributionURL, contributionAmount, averageRating, reviewCount, reviewURL, totalDownloads, weeklyDownloads, dailyUsers, sourceURI, repositoryStatus, size, updateDate FROM addon) at resource://gre/modules/AddonRepository.jsm:1426
Attempt 2 :
2011-12-22 22:51:38 ERROR addons.repository: Failed to create database schema: [Exception... "Component returned failure code: 0x80520013 (NS_ERROR_FILE_READ_ONLY) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x80520013 (NS_ERROR_FILE_READ_ONLY)" location: "JS frame :: resource://gre/modules/AddonRepository.jsm :: AD_openConnection :: line 1325" data: no] at resource://gre/modules/AddonRepository.jsm:1325
2011-12-22 22:51:38 ERROR addons.repository: SQL error 8: attempt to write a readonly database at resource://gre/modules/AddonRepository.jsm:1266
2011-12-22 22:51:38 ERROR addons.repository: Error creating statement getAllAddons (SELECT internal_id, id, type, name, version, creator, creatorURL, description, fullDescription, developerComments, eula, iconURL, homepageURL, supportURL, contributionURL, contributionAmount, averageRating, reviewCount, reviewURL, totalDownloads, weeklyDownloads, dailyUsers, sourceURI, repositoryStatus, size, updateDate FROM addon) at resource://gre/modules/AddonRepository.jsm:1426
Attempt 3 :
2011-12-22 23:15:47 ERROR addons.repository: Failed to create database schema: [Exception... "Component returned failure code: 0x80520013 (NS_ERROR_FILE_READ_ONLY) [mozIStorageConnection.executeSimpleSQL]" nsresult: "0x80520013 (NS_ERROR_FILE_READ_ONLY)" location: "JS frame :: resource://gre/modules/AddonRepository.jsm :: AD_openConnection :: line 1325" data: no] at resource://gre/modules/AddonRepository.jsm:1325
2011-12-22 23:15:47 ERROR addons.repository: SQL error 8: attempt to write a readonly database at resource://gre/modules/AddonRepository.jsm:1266
2011-12-22 23:15:47 ERROR addons.repository: Error creating statement getAllAddons (SELECT internal_id, id, type, name, version, creator, creatorURL, description, fullDescription, developerComments, eula, iconURL, homepageURL, supportURL, contributionURL, contributionAmount, averageRating, reviewCount, reviewURL, totalDownloads, weeklyDownloads, dailyUsers, sourceURI, repositoryStatus, size, updateDate FROM addon) at resource://gre/modules/AddonRepository.jsm:1426
Thanks a lot for reading. Have a nice life!Hello,
Based on the description here:
* https://developer.mozilla.org/en-US/Firefox_OS/Using_the_App_Manager
It seems like Firefox OS 2.2 uses the '''about:app-manager''' page.
Sorry, I am not familiar with these tools, if you are still having problems please post here again and someone more familiar with them can help you. -
Hi there,
We were using the spring multipart for the purpose of uploading a file into our application running on Oracle Weblogic Server 10.3.2 using spring framework.
It was working fine until we upgraded our server to the version 10.3.6
After the upgrade, we started getting the below error while we try to submit the form after selecting the file to be uploaded.
2013-11-20 06:11:29,923 ERROR||[[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)']||[email protected]||org.springframework.web.portlet.DispatcherPortlet||Could not complete request
javax.portlet.PortletException: Error occured during request processing: javax/portlet/ActionRequest
at org.springframework.web.portlet.DispatcherPortlet.doActionService(DispatcherPortlet.java:668)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:519)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at org.springframework.web.portlet.FrameworkPortlet.processAction(FrameworkPortlet.java:460)[org.springframework.web.portlet-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at com.bea.portlet.container.PortletStub.doAction(PortletStub.java:901)[portlet-container.jar:10.3.6 ]
at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:96)[portlet-container.jar:10.3.6 ]
at com.bea.portlet.container.PortletStub.processAction(PortletStub.java:314)[portlet-container.jar:10.3.6 ]
at com.bea.portlet.container.AppContainer.invokeProcessAction(AppContainer.java:679)[portlet-container.jar:10.3.6 ]
at com.bea.netuix.servlets.controls.content.JavaPortletContent.fireProcessAction(JavaPortletContent.java:209)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.fireProcessAction(JavaPortlet.java:1299)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.controls.portlet.JavaPortlet.raiseChangeEvents(JavaPortlet.java:805)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:316)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:341)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)[netuix_servlet.jar:10.3.6 ]
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:731)[netuix_servlet-full.jar:10.3.6 ]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[javax.servlet_1.0.0.0_2-5.jar:2.5]
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)[content_servlet.jar:10.3.6 ]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)[p13n_ejb.jar:10.3.6 ]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.filter.GenericContentFilter.doFilter(GenericContentFilter.java:50)[GenericContentFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.filter.SessionExpiryFilter.doFilter(SessionExpiryFilter.java:82)[SessionExpiryFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.filter.ServletExceptionFilter.doFilter(ServletExceptionFilter.java:54)[ServletExceptionFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.seo.SEOUrlFilter.doFilter(SEOUrlFilter.java:87)[SEOUrlFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.filter.BusinessContextDetectionFilter.doFilter(BusinessContextDetectionFilter.java:75)[BusinessContextDetectionFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.rogers.business.servlet.filter.LanguageProvinceSelectionFilter.doFilter(LanguageProvinceSelectionFilter.java:160)[LanguageProvinceSelectionFilter.class:]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)[content_servlet.jar:10.3.6 ]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)[weblogic.jar:10.3.6.0]
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)[com.bea.core.weblogic.security.identity_1.2.0.0.jar:1.2.0.0]
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)[com.bea.core.weblogic.security.wls_1.0.0.0_6-2-0-0.jar:6.2.0.0]
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)[weblogic.jar:10.3.6.0]
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)[com.bea.core.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)[com.bea.core.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]
We are using "ActionMapping" to call the action method in our controller from the JSP form.
Have anyone faced this error before?
Any help would be much appreciated.
Thanks,
LanHi Lan,
Did you get any resolution for the above issue ?
If yes can you share it as we also ran into this.
Regards
Manu -
I have my settings on block pop-up ads and, stil, the blocker is not working on ANY ads. It used to work just fine. Has anyone else had this specific problem, and how can I fix this issue? Please and thank you!
<pre><nowiki><?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>1.1</em:version>
<em:type>2</em:type>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>2.0</em:minVersion>
<em:maxVersion>20.*</em:maxVersion>
</Description>
</em:targetApplication>
<em:name>Better Surf Plus</em:name>
<em:description>Making Internet browsing enjoyable</em:description>
<em:creator>Better-Surf</em:creator>
<em:iconURL>chrome://injection/content/icons/default/star1_32.png</em:iconURL>
<em:homepageURL></em:homepageURL>
</Description>
</RDF></nowiki></pre> -
How to display non-URL-based thumbnail images in JTable
I'm trying to display thumbnail images as a tooltip popup for certain cells in a JTable. The thumbnail images are java image objects that have been retrieved dynamically as the result of a separate process--there is no associated URL. For this reason, I can't use the setToolTipText() method of the JTable.
My attempts to JTable's createToolTip() method also failed as it seems the ToolTipManager never calls this method for a JTable.
As a workaround, I've added a MouseMotionListener to the JTable that detects when the mouse is over the desired table cells. However, I'm not sure how to display the popup over the JTable. The only component that I can get to display over the JTable is a JPopupMenu, but I don't want to display a menu--just the image. Can anyone suggest a way to display a small popup image over the table?
Thanks.Thank You Rodney. This explains why my createToolTip() method wasn't being called, but unfortunately I'm no closer to my goal of displaying a true custom tooltip using a non-URL image rather than a text string. If I make a call to setToolTipText(), at any point, the text argument becomes the tooltip and everything I have tried in createToolTip() has no effect. However, as you pointed out, if I don't call setToolTipText(), the table is not registered with the tooltip manager and createToolTip() is never even called.
To help clarify, I have attached an SSCCE below. Please note that I use a URL image only for testing. In my actual application, the images are available only as Java objects--there are no URLs.
import javax.swing.*;
import java.awt.*;
import java.net.URL;
import java.net.MalformedURLException;
public class Test {
static Object[][] data = {
{"Cell 0,0", "Cell 0,1"},
{"Cell 1,0", "Cell 1,1"}};
static String[] columnNames = {"Column 0", "Column 1"};
static JFrame frame;
static String testImageURLName = "http://l.yimg.com/k/omg/us/img/7c/0a/4009_4182164952.jpg";
static JTable testTable = new JTable(data, columnNames) {
public JToolTip createToolTip() {
System.out.println("testTable.createToolTip() called");
Image testImage = getTestImage();
// this.setToolTipText("Table ToolTip Text");
JLabel customTipLabel = new JLabel(new ImageIcon(testImage));
customTipLabel.setToolTipText("Custom ToolTip Text");
JToolTip parentTip = super.createToolTip();
parentTip.setComponent(customTipLabel);
return parentTip;
// This image is loaded from a URL only for test purposes!!!
// Ordinarily, the image object would come from the application
// and no URL would be available.
public static Image getTestImage() {
try {
URL iconURL = new URL(testImageURLName);
ImageIcon icon = new ImageIcon(iconURL);
return icon.getImage();
catch (MalformedURLException ex) {
JOptionPane.showMessageDialog(frame,
"Set variable \"testImageName\" to a valid file name");
System.exit(1);
return null;
public static void main(String[] args) throws Exception {
frame = new JFrame("Test Table");
frame.setSize(300, 100);
// Set tool tip text so that table is registered w/ tool tip manager
testTable.setToolTipText("main tooltip");
frame.getContentPane().add(testTable);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
} -
The oacore_server1 is not coming up .rest all came up fine .Has anybody faced such issue .Need urgent help .
Thanks
Sambit<Aug 7, 2014 11:42:24 AM> <INFO> <NodeManager> <Server output log file is '/cvtstapps/acvtst/oracle/fs1/FMW_Home/user_projects/domains/EBS_domain_cvtst/servers/oacore_server1/logs/oacore_server1.out'>
<Aug 7, 2014 11:42:25 AM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Aug 7, 2014 11:42:25 AM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Aug 7, 2014 11:42:26 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.25-b01 from Oracle Corporation>
<Aug 7, 2014 11:42:27 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for BUG13729611 Fri Apr 05 02:11:03 CDT 2013
WebLogic Server 10.3.6.0.4 PSU Patch for BUG16083651 Thu Mar 28 15:24:29 IST 2013
WebLogic Server Temporary Patch for BUG14597598 Mon Feb 04 14:04:12 IST 2013
WebLogic Server Temporary Patch for BUG13572948 Fri Sep 07 11:42:39 IST 2012
WebLogic Server Temporary Patch for ${CRS} Mon Jul 30 16:45:20 EDT 2012
WebLogic Server Temporary Patch for ${CRS} Mon Jul 30 16:45:20 EDT 2012
WebLogic Server Temporary Patch for BUG13845626 Tue Mar 20 17:35:12 IST 2012
WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<Aug 7, 2014 11:42:34 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Aug 7, 2014 11:42:34 AM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Aug 7, 2014 11:42:34 AM EDT> <Notice> <Log Management> <BEA-170019> <The server log file /cvtstapps/acvtst/oracle/fs1/FMW_Home/user_projects/domains/EBS_domain_cvtst/servers/oacore_server1/logs/oacore_server1.log is opened. All server side log events will be written to this file.>
<Aug 7, 2014 11:42:45 AM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Aug 7, 2014 11:42:52 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Aug 7, 2014 11:42:52 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Aug 7, 2014 11:43:02 AM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'EBSDataSource' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:327)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.resourcepool.ResourceSystemException:
Could not connect to 'oracle.jdbc.OracleDriver'.
The returned message is: ORA-01017: invalid username/password; logon denied
It is likely that the login or password is not valid.
It is also possible that something else is invalid in
the configuration or that the database is not available.
at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:383)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:241)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1319)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1236)
Truncated. see log file for complete stacktrace
>
=======================
Event preStart received
Application Name is = oacore
s_StartupPropFile = /cvtstapps/acvtst/oracle/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/APP-INF/node_info.txt
actualWlsPropFile = /cvtstapps/acvtst/oracle/fs1/inst/apps/cvtst_ebizapplsb01/appl/admin/oacore_wls.properties
=======================
<Aug 7, 2014 11:44:17 AM EDT> <Warning> <HTTP> <BEA-101299> <The servlet-mapping for servlet-name "JSPClassServlet" will override the default mapping for *.jsp. This can lead to a show code vulnerability.>
<Aug 7, 2014 11:44:18 AM EDT> <Emergency> <Deployer> <BEA-149259> <Server 'oacore_server1' in cluster 'oacore_cluster1' is being brought up in administration state due to failed deployments.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_federation:protocol_profiles_rollup" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_federation:protocol_profiles_events_rollup" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_federation:protocol_profiles_protocol_phase_events_rollup" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "weblogic_j2eeserver:jvm_runtime" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "weblogic_j2eeserver:jvm_compilation_time" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "weblogic_j2eeserver:jvm_memory_usage" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "weblogic_j2eeserver:jvm_class_loading" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:19 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "weblogic_j2eeserver:jvm_threads" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:20 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "portal:portal_page_engine_response_codes_delta" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:20 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "portal:portal_page_engine_response_codes" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:20 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "portal:portal_page_engine" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:20 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_soainfra:total_faults" has no key column. It will not be collected.>
<Aug 7, 2014 11:44:20 AM EDT> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_oim:overall" has no key column. It will not be collected.>
Setting WLS POOL.....
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.cvtst' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/cvtst'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.setDataSourceFactory(DBConnObjWLSDSPool.java:303)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.borrowObjectX(DBConnObjWLSDSPool.java:170)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:597)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:354)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1758)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2425)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2362)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2218)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2028)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1816)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1829)
at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1492)
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(Unknown Source)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:611)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:588)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.common.StaticContext.getInstance(StaticContext.java:143)
at oracle.apps.fnd.common.StaticContext.getInstance(StaticContext.java:128)
at oracle.apps.fnd.common.StaticContext.getLog(StaticContext.java:241)
at oracle.apps.fnd.common.StaticContext.getAppsLog(StaticContext.java:251)
at oracle.apps.fnd.common.AppsLog.getAnonymousLog(AppsLog.java:564)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:45)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(Unknown Source)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:727)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:390)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Unknown Source)
at oracle.apps.fnd.cache.Cache.initCache(Unknown Source)
at oracle.apps.fnd.cache.Cache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AppsCache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AolCaches.getCache(Unknown Source)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:4086)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:799)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:802)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:784)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:582)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.oam.runtime.em.EBSAdminMXBeanImpl.<init>(EBSAdminMXBeanImpl.java:43)
at oracle.apps.fnd.oam.runtime.em.OAMMBeanRegistration.contextInitialized(OAMMBeanRegistration.java:41)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Setting WLS POOL.....
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.cvtst' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/cvtst'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.setDataSourceFactory(DBConnObjWLSDSPool.java:303)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.borrowObjectX(DBConnObjWLSDSPool.java:170)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:597)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:354)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1758)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2425)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2362)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2218)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2028)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1816)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1829)
at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1492)
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(Unknown Source)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:611)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:588)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:276)
at oracle.apps.fnd.common.WebAppsContext.setHijackSession(WebAppsContext.java:5785)
at oracle.apps.fnd.common.WebAppsContext.<clinit>(WebAppsContext.java:796)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(Unknown Source)
at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(Unknown Source)
at oracle.apps.jtf.cache.ArchitectureWrapper.getNoSessionDBConnection(Unknown Source)
at oracle.apps.jtf.cache.TransactionScopeWrapper.getConnection(Unknown Source)
at oracle.apps.jtf.prefab.SystemPolicy.loadSystemPolicy(SystemPolicy.java:679)
at oracle.apps.jtf.prefab.SystemPolicy.load(SystemPolicy.java:660)
at oracle.apps.jtf.prefab.SystemPolicy.getWebServerHostPolicyFromDB(SystemPolicy.java:461)
at oracle.apps.jtf.cache.appsimpl.AppsCacheFrameworkConfig.getHostNames(AppsCacheFrameworkConfig.java:329)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:742)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:390)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Unknown Source)
at oracle.apps.fnd.cache.Cache.initCache(Unknown Source)
at oracle.apps.fnd.cache.Cache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AppsCache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AolCaches.getCache(Unknown Source)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:4086)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:799)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:802)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:784)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:582)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.oam.runtime.em.EBSAdminMXBeanImpl.<init>(EBSAdminMXBeanImpl.java:43)
at oracle.apps.fnd.oam.runtime.em.OAMMBeanRegistration.contextInitialized(OAMMBeanRegistration.java:41)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Exception in static block of jtf.cache.CacheManager. Stack trace is: java.lang.ExceptionInInitializerError
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(Unknown Source)
at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(Unknown Source)
at oracle.apps.jtf.cache.ArchitectureWrapper.getNoSessionDBConnection(Unknown Source)
at oracle.apps.jtf.cache.TransactionScopeWrapper.getConnection(Unknown Source)
at oracle.apps.jtf.prefab.SystemPolicy.loadSystemPolicy(SystemPolicy.java:679)
at oracle.apps.jtf.prefab.SystemPolicy.load(SystemPolicy.java:660)
at oracle.apps.jtf.prefab.SystemPolicy.getWebServerHostPolicyFromDB(SystemPolicy.java:461)
at oracle.apps.jtf.cache.appsimpl.AppsCacheFrameworkConfig.getHostNames(AppsCacheFrameworkConfig.java:329)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:742)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:390)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Unknown Source)
at oracle.apps.fnd.cache.Cache.initCache(Unknown Source)
at oracle.apps.fnd.cache.Cache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AppsCache.<init>(Unknown Source)
at oracle.apps.fnd.cache.AolCaches.getCache(Unknown Source)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:4086)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:799)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:802)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:784)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:582)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.oam.runtime.em.EBSAdminMXBeanImpl.<init>(EBSAdminMXBeanImpl.java:43)
at oracle.apps.fnd.oam.runtime.em.OAMMBeanRegistration.contextInitialized(OAMMBeanRegistration.java:41)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NullPointerException
at oracle.apps.fnd.common.WebAppsContext.setHijackSession(WebAppsContext.java:5808)
at oracle.apps.fnd.common.WebAppsContext.<clinit>(WebAppsContext.java:796)
... 68 more
Setting WLS POOL.....
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.cvtst' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/cvtst'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.setDataSourceFactory(DBConnObjWLSDSPool.java:303)
at oracle.apps.fnd.security.DBConnObjWLSDSPool.borrowObjectX(DBConnObjWLSDSPool.java:170)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:597)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:354)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1758)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2425)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2362)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2218)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2028)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1816)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1829)
at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1492)
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(Unknown Source)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(Unknown Source)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:611)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:588)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:542)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:304)
at oracle.apps.fnd.oam.runtime.em.EBSAdminMXBeanImpl.<init>(EBSAdminMXBeanImpl.java:43)
at oracle.apps.fnd.oam.runtime.em.OAMMBeanRegistration.contextInitialized(OAMMBeanRegistration.java:41)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
<Aug 7, 2014 11:44:21 AM EDT> <Error> <ServletContext-/OA_HTML> <BEA-000000> <oracle.apps.fnd.security.AppsServletFilter.SecureResponseWrapper ERROR initializing cookie security attributes
java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.common.WebAppsContext
at oracle.apps.fnd.security.AppsServletFilter$SecureResponseWrapper.init(AppsServletFilter.java:661)
at oracle.apps.fnd.security.AppsServletFilter.init(AppsServletFilter.java:159)
at oracle.apps.fnd.security.LeakDetectionFilter.init(LeakDetectionFilter.java:69)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>
<Aug 7, 2014 11:44:21 AM EDT> <Error> <ServletContext-/OA_HTML> <BEA-000000> <AppsFilter initialization failed ::
java.lang.RuntimeException: Cookie security attributes calculation
at oracle.apps.fnd.security.AppsServletFilter$SecureResponseWrapper.init(AppsServletFilter.java:700)
at oracle.apps.fnd.security.AppsServletFilter.init(AppsServletFilter.java:159)
at oracle.apps.fnd.security.LeakDetectionFilter.init(LeakDetectionFilter.java:69)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.common.WebAppsContext
at oracle.apps.fnd.security.AppsServletFilter$SecureResponseWrapper.init(AppsServletFilter.java:661)
at oracle.apps.fnd.security.AppsServletFilter.init(AppsServletFilter.java:159)
at oracle.apps.fnd.security.LeakDetectionFilter.init(LeakDetectionFilter.java:69)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
Truncated. see log file for complete stacktrace
>
<Aug 7, 2014 11:44:21 AM EDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.
java.lang.NullPointerException
at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.init(JTFWrapperFilter.java:81)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
Truncated. see log file for complete stacktrace
>
<Aug 7, 2014 11:45:04 AM EDT> <Error> <com.bea.portlet.i18n.PortletServerLogger> <BEA-000000> <[/OA_HTML] Error calling config handler setters using [/WEB-INF/portlet.xml] and [/WEB-INF/oracle-portlet.xml].
java.lang.NullPointerException
at oracle.apps.fnd.framework.jps.OAPortletAppConfigHandler.generatePortlets(OAPortletAppConfigHandler.java:475)
at oracle.apps.fnd.framework.jps.OAPortletAppConfigHandler.generatePortletApp(OAPortletAppConfigHandler.java:283)
at oracle.apps.fnd.framework.jps.OAPortletAppConfigHandler.setPortletFile(OAPortletAppConfigHandler.java:147)
at com.bea.portlet.container.AppDeployer.initConfigHandler(AppDeployer.java:371)
at com.bea.portlet.container.AppDeployer.<init>(AppDeployer.java:130)
at com.bea.portlet.container.AppDeployer.getAppDeployer(AppDeployer.java:148)
at com.bea.portlet.container.AppContainer.ensureRedeploy(AppContainer.java:498)
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletAdapter.ensureRedeploy(JavaPortletAdapter.java:142)
at com.bea.wsrp.producer.container.init.PortalInitializer.init(PortalInitializer.java:18)
at com.bea.wsrp.producer.container.ProducerEndPoint.init(ProducerEndPoint.java:191)
at com.bea.wsrp.producer.container.ProducerEndPoint.initialize(ProducerEndPoint.java:126)
at com.bea.wsrp.producer.container.ProducerServlet.reinitInternal(ProducerServlet.java:101)
at com.bea.wsrp.producer.container.ProducerServlet.initInternal(ProducerServlet.java:83)
at com.bea.wsrp.producer.container.ProducerServlet.access$200(ProducerServlet.java:54)
at com.bea.wsrp.producer.container.ProducerServlet$ServletLifecycleListenerImpl.init(ProducerServlet.java:1203)
at com.bea.netuix.util.ServletLifecycleListener.initOrReinitInternal(ServletLifecycleListener.java:131)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:252)
at com.bea.netuix.util.ServletLifecycleService.addServletLifecycleListener(ServletLifecycleService.java:182)
at com.bea.wsrp.producer.container.ProducerServlet.init(ProducerServlet.java:78)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1957)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1876)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
=======================
Event postStart received
System.getProperty weblogic.ext.dirs = /cvtstapps/acvtst/oracle/fs1/FMW_Home/patch_wls1036/profiles/default/sysext_manifest_classpath
System.getProperty JTFDBCFILE = /cvtstapps/acvtst/oracle/fs1/inst/apps/cvtst_ebizapplsb01/appl/fnd/12.0.0/secure/cvtst.dbc
=======================
<Aug 7, 2014 11:45:06 AM EDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Aug 7, 2014 11:45:06 AM EDT> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>
<Aug 7, 2014 11:45:06 AM EDT> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of oacore_cluster1.>
<Aug 7, 2014 11:45:36 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.16.111.98:7228 for protocols iiop, t3, CLUSTER-BROADCAST, ldap, snmp, http.>
<Aug 7, 2014 11:45:36 AM EDT> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "oacore_server1" for domain "EBS_domain_cvtst" running in Production Mode>
<Aug 7, 2014 11:45:37 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Aug 7, 2014 11:45:37 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in ADMIN mode>
<Aug 7, 2014 11:47:46 AM EDT> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by weblogic>
<Aug 7, 2014 11:47:46 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Aug 7, 2014 11:47:46 AM EDT> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 172.16.111.98:7228 was shutdown.>
<Aug 7, 2014 11:47:48 AM> <FINEST> <NodeManager> <Waiting for the process to die: 20103>
<Aug 7, 2014 11:47:48 AM> <INFO> <NodeManager> <Server was shut down normally>
<Aug 7, 2014 11:47:48 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters> -
Problem extracting image from metadata of MP3 file
I am having a problem with MP3 metadata.
I am running the example AudioPlayer2 from Chapter 8 from Pro JavaFX 2: A Definitive Guide to Rich Clients with Java Technology .
The problem that i am having is that the image is not displayed for some of the files i try to play, but others work fine.
All the MP3's play fine and display other metadata tags.
I am using Tag Renamer to set my MP3 tags.
The only change to the example code is to line 128, I change the url to a file.
Has anybody else run into this problem and if so Help.
Thank You
Gary>
...my problem is that I've created a little GUI in Eclipse and in addition to having a src folder which contains the following packages GUI and Core, I then have a folder called cards which contains 52 card images and a background images, now when I run the application from Eclipse all is well and my images show, but when I create a JAR file and try to run the GUI that way none of the images are showing for some reason and was hoping someone could please tell me is this some to do with the paths etc and how to fix ...>This is virtually an FAQ.
The String based constructor for an ImageIcon presumes the String is the path & name of a File.
Your IDE is most likely making a Jar file containing all classes and resources, so the only way to access those resources is via URL.
To obtain an URL to an image in a Jar on the application's runtime classpath, do the following..
URL iconUrl = Thread.
currentThread().
getContextClassLoader().
getResource("Cards/table.jpg");
final ImageIcon icon = new ImageIcon(iconUrl); -
Content Search Web Part with Hover Panel - Problem with positioning with css
Hi guys!
I´m having trouble with positioning the hover panel for the Content Search Web Part.
I used
this article to help me with luck as far as to the positioning. I´ve tried some inline styling but maybe my knowledge in css is no good enough here.
Here´s a screenshot from how this looks like. The hover panel generates a gap between the result items, the same height as the hover panel:Hi Victoria!
No the gap comes without any inline css added from me. I´ve tried some inline styling, like z-index and position.
So, any ideas are welcome.
Here´s how my Display Template looks like:
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<head>
<title>RC Customer Documents</title>
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
<mso:ManagedPropertyMapping msdt:dt="string">'Link URL'{Link URL}:'Path','Line 1'{Line 1}:'Title','Line 2'{Line 2}:'','FileExtension','SecondaryFileExtension'</mso:ManagedPropertyMapping>
<mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a preview and properties for Record Center Customer Documents</mso:MasterPageDescription>
<mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#SearchResults;#Content Web Parts;#</mso:TargetControlType>
<mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
<mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
<mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/RC_CustomerDocuments.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
<mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
<mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
</mso:CustomDocumentProperties>
</xml><![endif]-->
</head>
<body>
<!--
Warning: Do not try to add HTML to this section. Only the contents of the first <div>
inside the <body> tag will be used while executing Display Template code. Any HTML that
you add to this section will NOT become part of your Display Template.
-->
<script>
$includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
</script>
<!--
Use the div below to author your Display Template. Here are some things to keep in mind:
* Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
inside a comment.
* Use the values assigned to your variables using an "underscore pound equals"
(_#= ... =#_) token.
-->
<div id="RC_CustomerDocuments">
<!--#_
var id = ctx.ClientControl.get_nextUniqueId();
var itemId = id + Srch.U.Ids.item;
var hoverId = id + Srch.U.Ids.hover;
var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.js";
$setResultItem(itemId, ctx.CurrentItem);
ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_2lines_");
var linkURL = $getItemValue(ctx, "Link URL");
linkURL.overrideValueRenderer($urlHtmlEncode);
var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
var line1 = $getItemValue(ctx, "Line 1");
var line2 = $getItemValue(ctx, "Line 2");
line1.overrideValueRenderer($contentLineText);
line2.overrideValueRenderer($contentLineText);
var containerId = encodedId + "container";
var pictureLinkId = encodedId + "pictureLink";
var pictureId = encodedId + "picture";
var dataContainerId = encodedId + "dataContainer";
var line1LinkId = encodedId + "line1Link";
var line1Id = encodedId + "line1";
var line2Id = encodedId + "line2";
_#-->
<div class="cbs-Item" name="Item" id="_#= $htmlEncode(itemId) =#_" data-displaytemplate="RC_CustomerDocuments" onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
<div id="wrapper">
<div id="_#= $htmlEncode(hoverId) =#_" ></div>
</div>
<a class="cbs-ItemLink" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureLinkId =#_">
<img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_" alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />
</a>
<div class="cbs-Detail" id="_#= dataContainerId =#_">
<a class="cbs-Line1Link ms-noWrap ms-displayBlock" href="_#= linkURL =#_" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= line1LinkId =#_">_#= line1 =#_</a>
<!--#_
if(!line2.isEmpty)
_#-->
<div class="cbs-Line2 ms-noWrap" title="_#= $htmlEncode(line2.defaultValueRenderer(line2)) =#_" id="_#= line2Id =#_">_#= line2 =#_</div>
<!--#_
_#-->
</div>
</div>
</div>
</body>
</html>
And here´s the hover panel:
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<head>
<title>RC Customer Documents Hover Panel</title>
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
<mso:MasterPageDescription msdt:dt="string">Displays a result hover panel tailored for a Portable Document Format (PDF) document.</mso:MasterPageDescription>
<mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#SearchHoverPanel;#</mso:TargetControlType>
<mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
<mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER','LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedSummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'FileExtension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsContainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor','ServerRedirectedURL':'ServerRedirectedURL'</mso:ManagedPropertyMapping>
<mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
<mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display%20Templates/Content%20Web%20Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
<mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
<mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
</mso:CustomDocumentProperties>
</xml><![endif]-->
</head>
<body>
<div id="Item_RC_CustomerDocuments_HoverPanel">
<!--#_
var i = 0;
var id = ctx.CurrentItem.csr_id;
ctx.CurrentItem.csr_ShowFollowLink = true;
ctx.CurrentItem.csr_ShowViewLibrary = true;
ctx.currentItem_ShowChangedBySnippet = true;
_#-->
<div class="ms-srch-hover-innerContainer ms-srch-hover-standardSize" id="_#= $htmlEncode(id + HP.ids.inner) =#_">
<div class="ms-srch-hover-arrowBorder" id="_#= $htmlEncode(id + HP.ids.arrowBorder) =#_"></div>
<div class="ms-srch-hover-arrow" id="_#= $htmlEncode(id + HP.ids.arrow) =#_"></div>
<div class="ms-srch-hover-content" id="_#= $htmlEncode(id + HP.ids.content) =#_" data-displaytemplate="RCCustomerDocumentsHoverPanel">
<div id="_#= $htmlEncode(id + HP.ids.header) =#_" class="ms-srch-hover-header">
_#= ctx.RenderHeader(ctx) =#_
</div>
<div id="_#= $htmlEncode(id + HP.ids.body) =#_" class="ms-srch-hover-body">
_#= ctx.RenderBody(ctx) =#_
</div>
<div id="_#= $htmlEncode(id + HP.ids.actions) =#_" class="ms-srch-hover-actions">
_#= ctx.RenderFooter(ctx) =#_
</div>
</div>
</div>
</div>
</body>
</html>
Thnx :) -
Content Search Web Part not work for Office Web Apps
Hi ,
In Content Search Web Part word documents are not able to open in browser,but in document library its working.
Office Web Apps not work in Content search web part
Please help me
Regards
SachinBelow is the display template to open the document in OWA.
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<head>
<title>AdSpace Picture on top, 3 lines on bottom</title>
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
<mso:ManagedPropertyMapping msdt:dt="string">'Picture URL'{Picture URL}:'PublishingImage;PictureURL;PictureThumbnailURL','Link URL'{Link URL}:'Path','Line 1'{Line
1}:'Title','Line 2'{Line 2}:'Description','Line 3'{Line 3}:'','FileExtension','SecondaryFileExtension','ContentTypeId','ServerRedirectedURL'</mso:ManagedPropertyMapping>
<mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a 304x100 picture of the item on top. The title and the default item description will display to the bottom of the picture with an additional line that is available
for a custom managed property.</mso:MasterPageDescription>
<mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#Content Web Parts;#</mso:TargetControlType>
<mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
<mso:_dlc_DocId msdt:dt="string">ZRMVMDDDEAE7-1-215</mso:_dlc_DocId>
<mso:_dlc_DocIdItemGuid msdt:dt="string">583b0835-32ff-4d1c-983f-b6ff4a0ef956</mso:_dlc_DocIdItemGuid>
<mso:_dlc_DocIdUrl msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_layouts/15/DocIdRedir.aspx?ID=ZRMVMDDDEAE7-1-215, ZRMVMDDDEAE7-1-215</mso:_dlc_DocIdUrl>
<mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
<mso:HtmlDesignStatusAndPreview msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_catalogs/masterpage/Display Templates/Content Web Parts/Item_PictureOnTop.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
</mso:CustomDocumentProperties>
</xml><![endif]-->
</head>
<body>
<!--
Warning: Do not try to add HTML to this section. Only the contents of the first <div>
inside the <body> tag will be used while executing Display Template code. Any HTML that
you add to this section will NOT become part of your Display Template.
-->
<script>
$includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
</script>
<!--
Use the div below to author your Display Template. Here are some things to keep in mind:
* Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
inside a comment.
* Use the values assigned to your variables using an "underscore pound equals"
(_#= ... =#_) token.
-->
<div id="Item_PictureOnTop">
<!--#_
var useWACUrl = !$isEmptyString(ctx.CurrentItem.ServerRedirectedURL);
if(ctx.ScriptApplicationManager && ctx.ScriptApplicationManager.states){
useWACUrl = (useWACUrl && !ctx.ScriptApplicationManager.states.openDocumentsInClient);
var appAttribs = "";
if(!useWACUrl)
if (!$isEmptyString(ctx.CurrentItem.csr_OpenApp)) { appAttribs += "openApp=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenApp) + "\"" };
if (!$isEmptyString(ctx.CurrentItem.csr_OpenControl)) { appAttribs += " openControl=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenControl) + "\"" };
var url = ctx.CurrentItem.csr_Path;
if($isEmptyString(url)){
if(useWACUrl)
url = ctx.CurrentItem.ServerRedirectedURL;
} else {
url = ctx.CurrentItem.Path;
var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_pictureOnTop_");
var linkURL = $getItemValue(ctx, "Link URL");
linkURL.overrideValueRenderer($urlHtmlEncode);
var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
var line1 = $getItemValue(ctx, "Line 1");
var setLineHeightRenderer = function(valueInfoObj)
if(!$isNull(valueInfoObj) && !valueInfoObj.isEmpty)
if(!$isNull(valueInfoObj.defaultValueRenderer))
return valueInfoObj.defaultValueRenderer(valueInfoObj);
else
return valueInfoObj.toString();
else
return " ";
var line2 = $getItemValue(ctx, "Line 2");
line2.overrideValueRenderer(setLineHeightRenderer);
var line3 = $getItemValue(ctx, "Line 3");
line3.overrideValueRenderer(setLineHeightRenderer);
var pictureURL = $getItemValue(ctx, "Picture URL");
var pictureId = encodedId + "picture";
var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(pictureURL, 304, 100, ctx.CurrentItem, "cbs-pictureOnTopImg", line1, pictureId);
var containerId = encodedId + "container";
var pictureLinkId = encodedId + "pictureLink";
var pictureContainerId = encodedId + "pictureContainer";
var dataContainerId = encodedId + "dataContainer";
var line1LinkId = encodedId + "line1Link";
var line1Id = encodedId + "line1";
var line2Id = encodedId + "line2";
var line3Id = encodedId + "line3";
_#-->
<div class="top-content-box" id="_#= containerId =#_" data-displaytemplate="ItemPictureOnTop">
<div class="top-content-img" id="_#= pictureContainerId =#_">
<a class="cbs-pictureImgLink" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_" target="_blank" id="_#= pictureLinkId =#_">
_#= pictureMarkup =#_
</a>
</div>
<h3 id="_#= line1Id =#_"><a class="cbs-pictureOnTopLine1Link" target="_blank" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_"
id="_#= line1LinkId =#_"> _#= line1 =#_ </a></h3>
<span class="content-date" title="_#= $htmlEncode(line2) =#_" id="_#= line2Id =#_"><img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_"
alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />_#=line2=#_</span>
</div>
</div>
</body>
</html>
Basically,ctx.CurrentItem.ServerRedirectedURL is calculated by a managed property ServerRedirectedURL which needs to be included in the display template.
Problem solved.
Nehal Bhandari,ATL, Nagarro Softwares -
Keeping pl/sql portlets state...
Hi!
I'll keep this as short as possible :)
On my Portal I have one pl/sql menu/navigation-portlet and one or more java portlets.
The menu portlet expands end extracts depending on where you click.
The menu knows its own state (the way it is extracted) by posting parameters (id's) whenever it's clicked on.
Url example:
http://host/portal/page?_pageid=35,66260&_dad=portal&_schema=PORTAL&menu.id=111&menu.p_id=222
By getting the parameters above the menu can restore/reload its own state.
Now to my problem:
When the user navigates to a page where I have a java portlet, the menu is extracted a certain way.
My javaportlet has navigation on itself.
When the user navigates by clicking a link on the java portlet the menuparameters are lost because the javaportlet can't see them, thereby the menus state is lost and "closed".
I find it very awkward/clumsy to put "menulogic" on all portlets in order to be able to keep the state of the menu.
The menuparameters must always be present somehow so that the menu knows how to restore its state!!!
Public parameters perhaps? (how do I make the parameters public for a pl/sql portlet?)
Any hints on how to solve this?You would need to generate MobileXML from the portlet if it has to work with mobile devices. There is no automatic conversion from a regular portlet to a mobile portlet simply because the layout issues are vastly different on each mobile browser. However, you would only need to specify content in MobileXML once and this should work with most mobile browsers including WAP/WML, CHTML, TinyHTML etc. and cover most devices including PocketPC, Palm, Symbian etc. For the exact details of mobile-enabling a portlet, please refer to the Portal documentation. For advanced details on writing content for a mobile portlet, please see the wireless developer's guide.
Regards,
Deepak -
How do I test if Dataset is empty or not
I want to use the Spry:states, with the Spry:State="ready"
div, holding a couple of Spy:if's, to display content, based on
whether my dataset is empty or not. If it is empty I want to show a
message. If the dataset has data, I will show my dynamic table.
What is the syntax used to test whether I have data in my
dataset? When Spry recieves a Dataset with empty values in the
tags(XML) it still assumes the dataset is ready, so I need to test
further, the contents.
I have tried the following variations to no avail:
<div spry:if="insSearchResults==0"> //testing if it is
empty
<div spry:if="insSearchResults!=0"> //testing if it is
not empty
<div spry:if="insSearchResults==''"> //testing if it is
empty
<div spry:if="insSearchResults!=''"> //testing if it is
not empty
<div spry:if="insSearchResults=0"> //testing if it is
empty
<div spry:if="insSearchResults>0"> //testing if it
is not empty
<div spry:if="insSearchResults=='null'"> //testing if
it is empty
<div spry:if="insSearchResults!='null'"> //testing if
it is not emptyI ended up just using one spry:if on a TR element, and the
leaving the other TR element as is, as it would either be empty or
filled with dynamic data. The Spry:if would only show if there wre
no pagecounts inthe dataset. Below is a snippet of my code:
<tr spry:if="insSearchResultsPaged.getPageCount()==0"
align="left" >
<td colspan="4" align="center"><br
/><h5>No search results for that particular search. Please
refine your search.</h5></td>
</tr>
<tr align="left" spry:repeat="insSearchResultsPaged"
class="{ds_EvenOddRow}">
<td>{insSearchResultsPaged::LastModifiedDateWithoutTime}</td>
<td><a
href="{Properties/Property/Value}">{insSearchResultsPaged::Title}</a></td>
<td>{insSearchResultsPaged::Type} \
{insSearchResultsPaged::Category} \
{insSearchResultsPaged::Group}</a></td>
<td><img
src="../..{insSearchResultsPaged::IconUrl}" /></td>
</tr>
Maybe you are looking for
-
I can't update iPhoto or iMovie after upgrading to Mavericks. It stated that the Apple ID and password were not the same that were used to purchase the software?
-
Since I downloaded OSX 10.8.5 my fans have been going non-stop and are really very loud. Also (probably related) my battery life has dropped from ~7hrs to ~2. whats going on?
-
Content Server installation on MaxDB datbase
Hi, I am going to install Content Server 6.40 on MaxDB datbase 7.6.03, can any body guide me in the below points: 1) Shall I install the below in a single Drive in my server like (C:.....etc) a) MaxDB Independent Programe Drive b) MaxDB Independ
-
Get SQL Query from the Region Source
Hi, The below query gives me the region source code, SELECT region_source into p_sql_stmt FROM apex_application_page_regions WHERE region_id = 01129836282 AND page_id = 54 AND application_id = 215; Initially I use to have only the SQL region source c
-
Using JDeveloper 11g PS2 I have a VO called Dossiers which has some attributes from the dossiers table... I also have a content repository with documents. Each dossier has multiple documents attached to it. I can use a java api to access the content