Error while using "HTML Standard Editor" item in "Array VPN"
Hi,
The "HTML Standard Editor" item is not displayed properly when the person is trying to enter data, when he is logged in using Array VPN. An error appears in the item box "Unable to Process request. The requested URL has an unsupported encoding.". Can this be resolved? This error is appearing in Firefox, and in IE the box appears but is not editable,i.e Nothing can be entered in the box.
Please assist me in this matter.
Thanks,
Vignesh
Vignesh,
I've worked with clients in the past that used VPN clients that attempted to cache and compress JavaScript code being sent to the browser. The problem was that the algorithms were terrible and ended up breaking the code.
Do you know if this is happening? If so, there's probably an option to turn it off. Take a look at the source code for the problematic page using the VPN connection and compare it to the source from a page without using VPN. If the page is really busy you can create a blank test page and add the item that's not working. That should make comparing the changes easier. Consider using a code comparison utility.
Regards,
Dan
http://danielmcghan.us
http://www.skillbuilders.com
Similar Messages
-
Error while using pt:standard.choose tag
Hi,
I am getting error while using the ALUI 6.5 Adaptive tags. The details are given below. Can anyone help?
The code I am using is
<pt:standard.choose>
<pt:standard.when pt:test="stringToACLGroup('user=13009;').isMember($currentUser)">
<div class="ali-portlet-controlone">Adit</div>
<pt:logic.value pt:value="$currentUser"/>
<pt:logic.value pt:value="checking Tags"/>
</pt:standard.when>
</pt:standard.choose>
Also I checked for the variable $currentUser and it was displaying null so I set the variable as
<pt:logic.variable pt:key="currentUser" pt:value="13009"/>
I aslo checked by giving the group id in stringToACLGroup('group=301;') but same result.
The stack trace is ::
<!--Error displaying tag when in library standard. String index out of range: -19: com.plumtree.openfoundation.util.XPIndexOutOfBoundsException: String index out of range: -19
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:403)
at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:350)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:165)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
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.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -19
at java.lang.String.substring(String.java:1938)
at com.plumtree.taglib.standard.WhenTag.DisplayTag(WhenTag.java:72)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
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.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Edited by: user590322 on Oct 29, 2009 12:22 AMProper usage:
<pt:standard.choose>
<pt:when pt:test="stringToACLGroup('user=1;').isMember($currentuser)">
... secret administrator content ...
</pt:when>
</pt:standard.choose>
Note that it's pt:when and not pt:standard.when. Also, Joel is right -- I think $currentuser is case sensitive.
Chris Bucchere
http://bucchere.com
http://twitter.com/bucchere -
Facing a problem in "HTML Standard Editor" item type.
Hi,
I have been using an item which is of type "HTML Editor Standard" and I am using it to store a clob value into the database. The functionality works fine in Firefox but the value of the item is always null irrespective of whatever I type in that HTML editor standard item in IE. Please help me out with this issue. If you need more info on this issue, please reply me and I shall give all the input.
Thanks,
Vignesh
Edited by: Vignesh N on Sep 30, 2009 9:09 PMI'm doing exactly the same thing at the moment in my application.
I have a table with a CLOB column, and I have a page that selects from this table using a standard generated Automated Row Fetch process. Saving the data back into the table is done with a standard generated Automatic Row Processing (DML) process.
It works fine in both Firefox and IE8.
What do your processes to fetch and save the data look like?
And what versions of the browsers are you using?
Edited by: Michel van Zoest on Oct 1, 2009 11:01 AM -
Need help creating message in HTML Standard Editor Item
Hi,
I have a requirement in which from page 1 using javascript I have to create a message with link into the HTML Editor Item on the different page on different application.
everything works fine except when i compose a message which has a link eg. http://www.yahoo.com, it cuts off at http .
please help me creating and passing link using javascript.
Thanks,
--KThis is a problem with passing a colon, see here for some solutions:
problems when copying item from a page to another one
passing string with a colon in it via a url -
Minimize the Html standard editor by default in Textarea
Hi,
I'm using Apex 3.0.1 for my application. I've used text area in the UI with the Html standard editor. I see that the page loads slowly coz the editor takes time to load with all the icons and stuff. Is there a way by which I can show the editor to be minimized on load? I think when required by clicking the 'arrow' icon the editor can be expanded. My application is more like a content management and so I'm using lots of text areas as this.
Can someone let me know if this is feasible to do and so if, how to achieve it?
Thanks,
gsachidhThere is no way of minimizing things in html.
Off course you can hide items with javascript for example, but that doesn't prevent it from loading, so your load time will not decrease.
If you put a condition on the item, it's not loaded at all so you save time.
Then there's the advanced way: Replace a normal text area with an Ajax call to a editor text area. But that's some more work and not standard apex.
Guido -
"Error while generating HTML" encounterred while running prefilling cache
Hi,
We are using BI7, prefilling cache function by using Broadcaster. The prefilng cache is created OK in BEx broadcaser based on Java web and was scheduled. When we run the process chain to trigger the prefilling cache, we got the following error message "Error while generating HTML". But sometimes it is complete successfully.
Is there anyone know the reason?
Many Thanks
JonathanHi,
we don't have a separate precalc server. when i run RSPRECADMIN, it show nothing.
the broadcaster is running on the java web. -
Error while using mxml taglib in jsp
Hi,
I am getting following error while useing the mxml taglib in
jsp for flex 2.0.1,
java.lang.NullPointerException
flex.webtier.server.j2ee.jsp.MxmlTagImpl.doStartTag(MxmlTagImpl.java:112)
flex.bootstrap.BootstrapTag.doStartTag(BootstrapTag.java:77)
org.apache.jsp.test_jsp._jspx_meth_mm_005fmxml_005f0(test_jsp.java:79)
org.apache.jsp.test_jsp._jspService(test_jsp.java:54)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
My jsp as below,
<%@ taglib uri="FlexTagLib" prefix="mm" %>
<html><body>
<mm:mxml source="reports/sampleapp.mxml" />
</body></html>
If any one knows how to resolve above error, please help me,
My email id : [email protected]
Regards,
Chandra Reddydid u deploy your dbadapter through console to the plan mentioned for deployment?
-
I am getting a error while using CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
The error is class "CL_SSF_XSF_UTILITIES is unknown. How to correct that?? please help I am new to object oriented programming??
Edited by: priya singh on Nov 18, 2008 2:14 PMThis is my code.
REPORT ZSAVE_FUNCTION .
D A T A D E C L A R A T I O N S *
DATA: v_bitmap TYPE xstring, "graphic data
v_file TYPE string, "file name
v_length TYPE i. "length of binary file
DATA: BEGIN OF it_bitmaps OCCURS 0,
object TYPE tdobjectgr, "object
name TYPE tdobname, "name
id TYPE tdidgr, "id
tdbtype TYPE tdbtype, "graphic type
END OF it_bitmaps.
DATA: itab TYPE TABLE OF x.
*class cl_ssf_xsf_utilities definition.
public section.
methods : get_bds_graphic_as_bmp
DATA: L_GRAPHIC_XSTR TYPE XSTRING.
*method cl_ssf_xsf_utilities
S E L E C T I O N - S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p_object TYPE tdobjectgr, "object
p_btype TYPE tdbtype, "graphic type
p_name TYPE tdobname, "name
p_id TYPE tdidgr. "id
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p_file TYPE rlgrap-filename. "file name
SELECTION-SCREEN END OF BLOCK b2.
*A T S E L E C T I O N - S C R E E N O N V A L U E - R E Q U E S T *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_name.
*-- Creating f4 help for the parameters
PERFORM get_f4_object_name.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
*-- Getting the current value entered
PERFORM get_current_value.
*-- Value Request Functionality For Input File Name
PERFORM f4_value_request.
S T A R T O F - S E L E C T I O N *
START-OF-SELECTION.
*--Getting the graphic as a BMP file
PERFORM get_graphic_bmp.
*--Convert the Xstring format to binary format
PERFORM convert_to_binary.
*--Download the graphic
PERFORM download_graphic.
*& Form get_current_value
Get the current file path entered
FORM get_current_value .
DATA: BEGIN OF li_dynp_value_tab OCCURS 0.
INCLUDE STRUCTURE dynpread.
DATA: END OF li_dynp_value_tab.
DATA: l_program_name LIKE d020s-prog,
l_dynpro_number LIKE d020s-dnum.
l_program_name = sy-cprog.
l_dynpro_number = sy-dynnr.
REFRESH li_dynp_value_tab.
li_dynp_value_tab-fieldname = 'P_FILE'.
APPEND li_dynp_value_tab.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = l_program_name
dynumb = l_dynpro_number
TABLES
dynpfields = li_dynp_value_tab
EXCEPTIONS
invalid_abapworkarea = 04
invalid_dynprofield = 08
invalid_dynproname = 12
invalid_dynpronummer = 16
invalid_request = 20
no_fielddescription = 24
undefind_error = 28.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE li_dynp_value_tab INDEX 1.
p_file = li_dynp_value_tab-fieldvalue.
ENDFORM. " get_current_value
*& Form f4_value_request
Provinding the f4 for the given path
FORM f4_value_request .
*-- if the file is to be downloaded to presentation server
CALL FUNCTION '/SAPDMC/LSM_F4_FRONTEND_FILE'
EXPORTING
pathname = p_file
CHANGING
pathfile = p_file
EXCEPTIONS
canceled_by_user = 1
system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " f4_value_request
*& Form GET_GRAPHIC_BMP
Get the graphic as a BMP file
FORM get_graphic_bmp.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = p_object
p_name = p_name
p_id = p_id
p_btype = p_btype
RECEIVING
p_bmp = L_GRAPHIC_XSTR
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " GET_GRAPHIC_BMP
*& Form CONVERT_TO_BINARY
Converting the xstring to binary format
FORM convert_to_binary .
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = v_bitmap
IMPORTING
output_length = v_length
TABLES
binary_tab = itab.
ENDFORM. " CONVERT_TO_BINARY
*& Form DOWNLOAD_GRAPHIC
Download the graphic
FORM download_graphic .
v_file = p_file.
CONCATENATE p_file '.BMP' INTO v_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_length
filename = v_file
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DOWNLOAD_GRAPHIC
*& Form GET_F4_OBJECT_NAME
Get F4 values for object names
FORM get_f4_object_name .
DATA: dynpfld_mapping TYPE STANDARD TABLE OF dselc WITH HEADER LINE,
return_tab TYPE STANDARD TABLE OF ddshretval WITH HEADER LINE.
*--Selecting the values to be provided as f4 help
SELECT tdobject
tdname
tdid
tdbtype
FROM stxbitmaps
INTO TABLE it_bitmaps.
*--To update the values in the remaining fields
dynpfld_mapping-fldname = 'F0001'.
dynpfld_mapping-dyfldname = 'P_OBJECT'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0002'.
dynpfld_mapping-dyfldname = 'P_NAME'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0003'.
dynpfld_mapping-dyfldname = 'P_ID'.
APPEND dynpfld_mapping.
dynpfld_mapping-fldname = 'F0004'.
dynpfld_mapping-dyfldname = 'P_BTYPE'.
APPEND dynpfld_mapping.
*--Providing f4 help with the selected values
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TDOBNAME'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_NAME'
value_org = 'S'
TABLES
value_tab = it_bitmaps
dynpfld_mapping = dynpfld_mapping
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " GET_F4_OBJECT_NAME -
BAPI_ALM_ORDER_MAINTAIN - Error while reading the standard sequence
Hi all,
I am using BAPI_ALM_ORDER_MAINTAIN to add the task list to the order without deleting the existing operations but BAPI_ALM_ORDER_MAINTAIN is giving the error - Error while reading the standard sequence from the document. Please help asap.
Thanks,
RituI Solved this form.
Table I_N_METHODS
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
000001 SAVE 000001000069
000001 OPERATION CREATE 0000010000690170
000002 OPERATION CREATE 0000010000690180
000003 OPERATION CREATE 0000010000690190
000004 OPERATION CREATE 0000010000690200
000005 OPERATION CREATE 0000010000690210
Edited by: Yonatan Edgardo Diaz on Apr 16, 2010 4:01 PM -
Error while using P2V in Oracle VM 2.2 version
Error while using P2V in Oracle VM 2.2 version
I tried using this option by using the steps given on one link but it didnt worked...
Error:
code 404, message No permission to list directory.
I ve tried giving full permissions on for /OVS on Server but invain.
Can U pls help me...
Thanks in advance.
Edited by: user10310678 on Sep 16, 2009 3:32 AMuser10310678 wrote:
I am using beta version. Oracle VM Manager 2.2.0If you have a beta version of 2.2, then you should be an Oracle employee. Please ask this question on an internal mailing list. If you are not an Oracle employee, please ask the employee that gave you this beta. As this is a beta, some functionality may not be operational yet, so I can't answer why this particular feature seems not to work. -
OSB: Cannot acquire data source error while using JCA DBAdapter in OSB
Hi All,
I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
Error infor are as follows:
The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
JNDI Name for the Database pool: eis/DB/soademoDatabase
JNDI Name for the Data source: jdbc/soademoDatabase
I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
Login info in RetrievePersonService-or-mappings.xml
<login xsi:type="database-login">
<platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
<user-name></user-name>
<connection-url></connection-url>
</login>
jca file content are as follows:
<adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
<endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
<interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
<property name="DescriptorName" value="RetrievePersonService.PersonT"/>
<property name="QueryName" value="RetrievePersonServiceSelect"/>
<property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
<property name="ReturnSingleResultSet" value="false"/>
<property name="GetActiveUnitOfWork" value="false"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
RetrievePersonService_db.wsdl are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
<WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
<WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
<WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
<WL5G3N0:operation name="RetrievePersonServiceSelect">
<WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
<WL5G3N0:input>
<WL5G3N2:body use="literal"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N2:body use="literal"/>
</WL5G3N0:output>
</WL5G3N0:operation>
</WL5G3N0:binding>
<WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
<WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
<WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
</WL5G3N0:port>
</WL5G3N0:service>
</WL5G3N0:definitions>
Any suggestion is appricated .
Thanks in advance!
Edited by: user11262117 on Jan 26, 2011 5:28 PMHi Anuj,
Thanks for your reply!
I found that the data source is registered on server soa_server1 as follows:
Binding Name: jdbc.soademoDatabase
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 80328036
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
Binding Name: jdbc.SOADataSource
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 92966755
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
I don't know how to determine which server the DBAdapter is targetted to.
But I found the following information:
Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
Outbound Connection Pool Server State Current Connections Created Connections
eis/DB/SOADemo AdminServer Running 1 1
eis/DB/SOADemo soa_server1 Running 1 1
eis/DB/soademoDatabase AdminServer Running 1 1
eis/DB/soademoDatabase soa_server1 Running 1 1
The DbAdapter is related to the following files:
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
<?xml version="1.0"?>
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params>
<initial-capacity>1</initial-capacity>
<max-capacity>1000</max-capacity>
</pool-params>
<properties>
<property>
<name>usesNativeSequencing</name>
<value>true</value>
</property>
<property>
<name>sequencePreallocationSize</name>
<value>50</value>
</property>
<property>
<name>defaultNChar</name>
<value>false</value>
</property>
<property>
<name>usesBatchWriting</name>
<value>true</value>
</property>
<property>
<name>usesSkipLocking</name>
<value>true</value>
</property>
</properties>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
<connection-instance>
<jndi-name>eis/DB/SOADemo</jndi-name>
<connection-properties>
<properties>
<property>
<name>xADataSourceName</name>
<value>jdbc/SOADataSource</value>
</property>
<property>
<name>dataSourceName</name>
<value></value>
</property>
<property>
<name>platformClassName</name>
<value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Then I decided to use eis/DB/SOADemo for testing.
For JDeveloper project, after I deployed to weblogic server, it works fine.
But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
BEA-380001: Invoke JCA outbound service failed with application error, exception:
com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
It almost drive me crazy!!:-(
What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
Hi,
I have a design studio application I want to share publicly on BI Launch Pad for my company. The dashboard/application made in design studio works fine locally and on BI Platform public folder (through my login credentials).
However, when other people from the company try to view this DS application, it throws "Error while generating HTML"
The root cause is:
The initial exception which caused the request to fail was:
Index: 0, Size: 0
Any clue why such a thing might be happening?What version of BI4x/patch?
Looks like this error has been shown before on older versions of the BI Platform - see Error HTML in Mobile BI App, not in local (version 1.4) -
Error while using UTL_FILE
I am getting the following error while using UTL_FILE procedure while using UTL_FILE.FOPEN procedure
from system account. I am using Windows XP with NTFS.
SQL> create or replace directory FILE_DIR as 'C:\'
2 /
Directory created.
SQL> grant read on directory FILE_DIR to public;
Grant succeeded.
1 create or replace PROCEDURE file_upload IS
2 v_file_name VARCHAR2(200);
3 v_file_type UTL_FILE.FILE_TYPE;
4 v_line VARCHAR2(1000);
5 BEGIN
6 v_file_name := 'customers_'||TO_CHAR(SYSDATE,'dd')||TO_CHAR(SYSDATE,'MON')||TO_CHAR(SYSDATE,'YYYY')||'.txt';
7 v_file_type := UTL_FILE.FOPEN('FILE_DIR','V_FILE_NAME','r',1000);
8 UTL_FILE.GET_LINE(v_file_type,V_LINE,1000);
9 UTL_FILE.FCLOSE(v_file_type);
10 DBMS_OUTPUT.PUT_LINE(V_LINE);
11* END;
SQL> exec file_upload;
BEGIN file_upload; END;
ERROR at line 1:
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
ORA-06512: at "SYSTEM.FILE_UPLOAD", line 7
ORA-06512: at line 1
I appreciate if someone can help me in this regard.
Thanks in Advance.
Regards
Muhammad ALiHello,
What exactly are you trying to do? Here I got 2 examples for you , replace with your directory name and pick right option for 'a' (append) or 'w' (write) or 'R' (read).
To read from a directory_ . This will read an existing file 'customer.txt" from the directory
{code}
CREATE OR REPLACE PROCEDURE .file_upload
IS
v_file_name VARCHAR2 (200);
v_file_type UTL_FILE.file_type;
v_line VARCHAR2 (1000);
BEGIN
v_file_name := 'customers.txt';
v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'R');
UTL_FILE.get_line (v_file_type, v_line); -- Error was here
DBMS_OUTPUT.put_line (v_line);
UTL_FILE.fclose (v_file_type);
END;
{code}
_*To open a file*_ This will create customer_XXXXX file under the directory
{code}
CREATE OR REPLACE PROCEDURE testme.file_upload
IS
v_file_name VARCHAR2 (200);
v_file_type UTL_FILE.file_type;
v_line VARCHAR2 (1000);
BEGIN
v_file_name := 'customers_'
|| TO_CHAR (SYSDATE, 'dd')
|| TO_CHAR (SYSDATE, 'MON')
|| TO_CHAR (SYSDATE, 'YYYY')
|| '.txt';
v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'a');
UTL_FILE.put_line (v_file_type, v_line);
DBMS_OUTPUT.put_line (v_line);
UTL_FILE.fclose (v_file_type);
END;
{code}
Regards
Edited by: OrionNet on Jan 29, 2009 12:30 AM -
Error while using LabVIEW 8.2.1 Dll from Visual C++ 6.0
I am getting an error while using a LabVIEW 8.2.1 dll from Visual C++ 6.0 application. This is what I am doing:
1) Created a dll using LabVIEW 8.2.1 (I used a tutorial from NI knowledge base: "Creating DLLs from 6.0i". It is a temperature conversion VI; input DegreeF and get DegreeC out). Instead of LabVIEW 6.0i, I used 8.2.1. It created the dll Convert_Temp.dll successfully.
2) Then I created a Visual C++ 6.0 application (used a tutorial from NI knowledge base: "Calling a DLL from Microsoft Visual C++ that was Generated by LabVIEW 6i). I could build the project and create an executable application F_To_C.exe.
3) Then copied the LabVIEW dll Convert_Temp.dll into the folder where F_To_C.exe resides. Using windows explorer, went into that folder, and executed the application. I got the following error:
System Error 998 while loading the LabVIEW run-time engine (C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.2\lvrt.dll).
Convert_Temp requires a version 8.2.1 (or compatible) LabVIEW Run-Time Engine. Please contact the vendor of Convert_Temp to correct this problem.
I checked the folder: C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.2\. It has the file lvrt.dll.
So why am I getting this error?
GKBsounds like you need to install the LabVIEW 8.2.1 runtime. Not the 8.2 runtime engine.
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs? -
Error while using DB Adapter in BPEL process
Hi All,
I am getting error while using DB Adapter in BPEL process
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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 org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) 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.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) 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:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 69 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DevDBAdapter' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. DBAdapterDemo:DevDBAdapter [ DevDBAdapter_ptt::DevDBAdapter(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/Dev'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/Dev. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:955) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:750) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 72 more
I have created jndi from console which I have mentioned in DBAdapter and I have provided details of JNDI to DbAdapter in deployment.
I am not able to solve this.
Can you please let me know solution for this or provide me link for tutorial of DBAdapter for stored procdure call?did u deploy your dbadapter through console to the plan mentioned for deployment?
Maybe you are looking for
-
Converting Time format to Decimal Value
Dear All, How to convert time to decimal value for substraction of time and decimal value for eg l_time type tims l_dec type p. l_diff = l_time - l_dec Kindly let me know. Thanks in Advacne, Ranjan
-
How do I know if my purchase worked?
I used money from a gift card to buy a season pass for a Tv series. It seems like my balanced has not changed and I have no indication anywhere that the purchase worked. I am afraid to try the purchase again because I dont want to buy the same thin
-
Hi, first at all, sorry by my poor english. I wanted to install the 10g and self-study guide that Oracle sent me in the mail. The install requires a registration key, made available at oracle.com. After filling in all the forms required to register,
-
Need to know where the "simplify layers button is in CS5
I'm in a tutorial and she is clicking on the Layer "simplify layer" button and I don't have that. And she's also clicking on Edit "stroke outline selection". Can someone please help me thank you.
-
I can't call or recive with my iphone 5
Hello My Iphone 5 show Icon in the screen