Lob inItialisation problem

I have this procedure
PROCEDURE updatedatasource (
datasource_nodelist IN DBMS_XMLDOM.domnodelist,
m_applicant_id IN NUMBER
AS
datasource_clob CLOB := EMPTY_CLOB;
enc_datasource_clob BLOB := EMPTY_BLOB;
ccb_node DBMS_XMLDOM.domnode;
datasource_name consumer_datasource.segment_root_elem%TYPE;
m_datasource_cd datasource_segment_lk.datasource_cd%TYPE;
datasource_elem DBMS_XMLDOM.domelement;
datasource_count NUMBER;
v_package_name error_log.package_name%TYPE
:= 'UPDATECONSUMERCREDIT_PKG';
v_procedure_name error_log.proc_function%TYPE := 'UPDATEDATASOURCE';
v_param_value error_log.param_value%TYPE;
v_var_value error_log.var_value%TYPE;
v_error_message error_log.error_message%TYPE;
BEGIN
IF NOT (DBMS_XMLDOM.isnull (datasource_nodelist))
THEN
FOR cur_datacount IN
0 .. DBMS_XMLDOM.getlength (datasource_nodelist) - 1
LOOP
datasource_clob := 'Unknown DataSource';
ccb_node := DBMS_XMLDOM.item (datasource_nodelist, cur_datacount);
datasource_name := DBMS_XMLDOM.getnodename (ccb_node);
datasource_elem := DBMS_XMLDOM.makeelement (ccb_node);
m_datasource_cd :=
DBMS_XMLDOM.getattribute (datasource_elem, 'dataSourceCd');
DBMS_XMLDOM.writetoclob (ccb_node, datasource_clob);
IF DBMS_LOB.GETLENGTH( datasource_clob ) > 0 Then
IF m_datasource_cd IS NULL
THEN
m_datasource_cd := 'NA';
END IF;
SELECT COUNT (1)
INTO datasource_count
FROM consumer_datasource
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
ingcryptoudf_pkg.encryptclob( datasource_clob, enc_datasource_clob);
IF datasource_count > 0
THEN
UPDATE consumer_datasource
SET segment_xml = EMPTY_BLOB(),
last_activity = SYSDATE
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
UPDATE consumer_datasource
SET segment_xml = enc_datasource_clob,
last_activity = SYSDATE
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
ELSE
INSERT INTO consumer_datasource
(applicant_id, segment_xml,
segment_root_elem, datasource_cd, schema_id
VALUES (m_applicant_id, enc_datasource_clob,
datasource_name, m_datasource_cd, 1
END IF;
END IF;
END LOOP;
END IF;
EXCEPTION
WHEN OTHERS
THEN
v_param_value := 'applicant_id = ' || m_applicant_id;
v_var_value :=
'datasource_name = '
|| datasource_name
|| ' datasource_cd = '
|| m_datasource_cd
|| ' datasource_count = '
|| datasource_count;
v_error_message := SQLCODE || ' ' || SQLERRM;
error_control_prc (v_package_name,
v_procedure_name,
v_param_value,
v_var_value,
v_error_message
--DBMS_LOB.freetemporary( datasource_clob );
-- DBMS_LOB.freetemporary( enc_datasource_clob );
END;
I seems that in the loop when I get a node that is smaller then the one in the datasource_clob I do not overwrite the whole clob but only part of it. So I tried
datasource_clob := EMPTY_CLOB();
but then I get table not found; I also tried to do
enc_datasource_clob := EMPTY_BLOB();
What would be the solution to this problem.

I have this procedure
PROCEDURE updatedatasource (
datasource_nodelist IN DBMS_XMLDOM.domnodelist,
m_applicant_id IN NUMBER
AS
datasource_clob CLOB := EMPTY_CLOB;
enc_datasource_clob BLOB := EMPTY_BLOB;
ccb_node DBMS_XMLDOM.domnode;
datasource_name consumer_datasource.segment_root_elem%TYPE;
m_datasource_cd datasource_segment_lk.datasource_cd%TYPE;
datasource_elem DBMS_XMLDOM.domelement;
datasource_count NUMBER;
v_package_name error_log.package_name%TYPE
:= 'UPDATECONSUMERCREDIT_PKG';
v_procedure_name error_log.proc_function%TYPE := 'UPDATEDATASOURCE';
v_param_value error_log.param_value%TYPE;
v_var_value error_log.var_value%TYPE;
v_error_message error_log.error_message%TYPE;
BEGIN
IF NOT (DBMS_XMLDOM.isnull (datasource_nodelist))
THEN
FOR cur_datacount IN
0 .. DBMS_XMLDOM.getlength (datasource_nodelist) - 1
LOOP
datasource_clob := 'Unknown DataSource';
ccb_node := DBMS_XMLDOM.item (datasource_nodelist, cur_datacount);
datasource_name := DBMS_XMLDOM.getnodename (ccb_node);
datasource_elem := DBMS_XMLDOM.makeelement (ccb_node);
m_datasource_cd :=
DBMS_XMLDOM.getattribute (datasource_elem, 'dataSourceCd');
DBMS_XMLDOM.writetoclob (ccb_node, datasource_clob);
IF DBMS_LOB.GETLENGTH( datasource_clob ) > 0 Then
IF m_datasource_cd IS NULL
THEN
m_datasource_cd := 'NA';
END IF;
SELECT COUNT (1)
INTO datasource_count
FROM consumer_datasource
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
ingcryptoudf_pkg.encryptclob( datasource_clob, enc_datasource_clob);
IF datasource_count > 0
THEN
UPDATE consumer_datasource
SET segment_xml = EMPTY_BLOB(),
last_activity = SYSDATE
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
UPDATE consumer_datasource
SET segment_xml = enc_datasource_clob,
last_activity = SYSDATE
WHERE applicant_id = m_applicant_id
AND segment_root_elem = datasource_name
AND datasource_cd = m_datasource_cd;
ELSE
INSERT INTO consumer_datasource
(applicant_id, segment_xml,
segment_root_elem, datasource_cd, schema_id
VALUES (m_applicant_id, enc_datasource_clob,
datasource_name, m_datasource_cd, 1
END IF;
END IF;
END LOOP;
END IF;
EXCEPTION
WHEN OTHERS
THEN
v_param_value := 'applicant_id = ' || m_applicant_id;
v_var_value :=
'datasource_name = '
|| datasource_name
|| ' datasource_cd = '
|| m_datasource_cd
|| ' datasource_count = '
|| datasource_count;
v_error_message := SQLCODE || ' ' || SQLERRM;
error_control_prc (v_package_name,
v_procedure_name,
v_param_value,
v_var_value,
v_error_message
--DBMS_LOB.freetemporary( datasource_clob );
-- DBMS_LOB.freetemporary( enc_datasource_clob );
END;
I seems that in the loop when I get a node that is smaller then the one in the datasource_clob I do not overwrite the whole clob but only part of it. So I tried
datasource_clob := EMPTY_CLOB();
but then I get table not found; I also tried to do
enc_datasource_clob := EMPTY_BLOB();
What would be the solution to this problem.

Similar Messages

  • Testo 176 - Serial initialisation problem

    I am trying to get the Testo 176P1 talking with labview 2011.
    I have downloaded the TestoToolbox and also got an update from the German support with a Toolbox2.exe installer.
    Anyhow I am unable to get through the initialisation process with the tcddka.dll from Testo (V1.2).
    I do have a simple question: What device name do you feed to the Init procedure?
    1) the name you can see in devicemanager?  in my case "testo 175-176-2010" --> Exception occured in tcddka: Invalid DeviceName in testo serial init.vi
    2) but "testo175-176-2010" gives me --> "Exception occured in tcddka: The instrument is not responding in testo serial init.vi"
    3) or the general "testo175-177" results in  "Exception occured in tcddka: The instrument is not responding in testo serial init.vi"
    Seems I did set the COM-port correctly!
    + the testo software is able to connect with the device without a problem.
    in earliers posts about a Testo Gas detector, I saw characters being added and modifications being made in comsoft.cat file... ?
    Any suggestions are welcome!
    Solved!
    Go to Solution.
    Attachments:
    testo_init.GIF ‏9 KB

    These are most likely the possible devicenames which can be connected:
    Type
    Communication library
    testo174
    ftd2xx
    testo174-2010
    ftd2xx
    testo175-176-2010
    ftd2xx
    testo175-177
    usbser
    testo435-635-735
    ftd2xx
    My initialisation problem was resolved after unplugging & reconnecting the device!
    Attached Vi works without error reporting but I still do not get the pressure value displayed on the screen of the Testo 176...
    Attachments:
    testo test.vi ‏38 KB

  • Servlet initialisation problem

    Hi! I am very new to servlet and would appreciate your assistance in this problem.
    I am using j2sdk1.3.1_08, Tomcat 4.1.27, Log4j 1.2.28
    I would like to initialise log4j using servlet. Following are the codes I used. Somehow, this servlet does not get initialised as there are no logs generated. But if I run runLog.jsp following by test.jsp, it works. Do you know why?
    ------ runLog.jsp ---
    <%@ page import="org.apache.log4j.*"%>
    <%
    Logger logger = Logger.getLogger(getClass());
    String LogConfigFilePath = getServletContext().getRealPath("/")+"WEB-INF/classes/config/log4j.properties";
    BasicConfigurator.resetConfiguration();
    PropertyConfigurator.configure(LogConfigFilePath);
    logger.info("runLog successful");
    %>
    ------ WEB-INF/class/com/log/Log4jInit.java ----
    package com.log;
    import org.apache.log4j.*;
    import javax.servlet.http.*;
    public class Log4jInit extends HttpServlet {
    public void init() {
    String LogConfigFilePath = getServletContext().getRealPath("/") + "config//log4j.properties";
    BasicConfigurator.resetConfiguration();
    PropertyConfigurator.configure(LogConfigFilePath);
    public void doGet(HttpServletRequest req, HttpServletResponse res) {}
    --- web.xml ---
    <servlet>
    <servlet-name>log4j-init</servlet-name>
    <servlet-class>com.log.Log4jInit</servlet-class>
    <init-param>
    <param-name>log4j</param-name>
    <param-value>WEB-INF/classes/config/log4j.properties</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    --- test.jsp ---
    <%@ page import="org.apache.log4j.*" %>
    <% Logger logger = Logger.getLogger("test.jsp");
    logger.info("befor say hi");
    %>
    <h3> Hi</h3>
    <% logger.info("after say hi");%>

    Thank you. I have found the problem. It's the extra info in the path which is not required.

  • PXI MXI-3 Initialisation problem on Win2k

    I'm using an 8 card PXI chassis, which is connected to a Win2k PC by a MXI-3 bridge. I have found that adding one particular card to the rack (a value motion card) causes system initialisation to fail - Windows boots OK, but even MAX can't see any cards. The problem occurs on the two target machines intended to run the rig, but not on my development machine. Any ideas how to diagnose/fix this?

    Thanks for your comments. The PXI-7314 is the card in question - My first thought is that we could have been sent one of the pre-update cards. however, presumably this would cause the problem on all Win2000 machines, whereas we only see it on the target machines. The machines we see the problem on are 1 GHz Intel Pentium 3's which our client purchased from an extremely small low cost manufacturer in the UK - so I'm wondering if the problem may lie there.
    What we see when the card is installed (including when only the MXI-3 and the 7314 are in the in the rack) is that the MXI-3 optimisation runs, detects the PXI rack OK, but fails to detect any cards. Trying to access the cards from Visual Basic via ComponentWorks custom controls obviously fails, and MAX d
    oesn't report any cards.

  • SharedWhiteBoard properties toolbar initialisation problem

    hey guys
    ive got me a whiteboard here that i need to scale so one of the things i'm doing with it is adding the various toolbars to extenal canvases once they get added to the whiteboard so they aren't scaled with the whiteboard, in the way documented here:
    http://forums.adobe.com/thread/429196
    which, as you'll see, is the technique nigel himself recommends.
    so in order to remove the properties toolbars from the whiteboard i've got this listener & method:
    _whiteBoard.addEventListener(
        WBCanvasEvent.PROPERTIES_TOOLBAR_ADD,
        _onWhiteBoardPropertiesToolBarAdded
    private function _onWhiteBoardPropertiesToolBarAdded (event:WBCanvasEvent):void
        _currentPropertiesPopUp = _whiteBoard.currentPropertiesToolBar as UIComponent;
        meetingRoom.whiteBoardContainer.addChild(_currentPropertiesPopUp);
    the problem IS that the props toolbars in question aren't properly initialised before this listener method is called. have a look at the tow attached images. the first is the visual result the first time the above method is called on the 'highlight recttangle tool', the second the second time it is called. as you can see, the second time is much the better result.
    incidentally, i was listening to this whilst making this forum post:
    http://www.youtube.com/watch?v=B3HujB4E2GA

    Hi Dubya,
    Can you add _currentPropertiesPopUp.validateNow(); in your _onWhiteBoardPropertiesToolBarAdded method.
    private function _onWhiteBoardPropertiesToolBarAdded (event:WBCanvasEvent):void
        _currentPropertiesPopUp = _whiteBoard.currentPropertiesToolBar as UIComponent;
        _currentPropertiesPopUp.validateNow();
        meetingRoom.whiteBoardContainer.addChild(_currentPropertiesPopUp);
    Hopefully this should resolve your issue ( Idea ofcourse stolen from the existing code base ).
    Also seems like the property bar is overlapping the toolbar. You can save the X & Y co-ordinates of the ToolBar and move ur properties bar (ex. _currentPropertiesPopUp.move(_toolBar.x+_toolBar.width+2, _toolBar.y) )
    Thanks

  • Multiple serial port initialisation problem

    Good Morning All
    I have attached a vi which is giving me a problem that I can't solve, and would appreciate any help.
    The vi is supposed to intialise up to 7 serial ports (only using 5 at the moment), and I'm assuming this is a plausible way to do the initialisation (could be wrong). The serial ports are connected to a pc via a usb hub. The windows XP o/s does recognise the ports according to the device manager.
    The problem is that when the vi is run the following error is reported as shown in the attached word document.
    I have compared the port settings in the device manager properties for each port to the vi settings and they match. What more can I do?
    If somebody has a setup with mutliple serial ports could they try the vi and see if it works for them?
    Thanks and best regards
    Ray
    Solved!
    Go to Solution.
    Attachments:
    ax500 serial port init.vi ‏37 KB
    init error.docx ‏518 KB

    It has nothing to do with multiple serial ports.  It has to do with an invalid setting you are trying to use to configure any one of the serial ports.
    Look at the information in the error message.  Argument 4 of the property node in Configure Serial Port VI is the Stop Bits setting.  I see a coercion dot going into that VI, so that tells me the datatype you are wiring in doesn't quite match.
    You have an array of I32 values, and your values consist of 1's.  Disconnect that array and right click on the terminal of Configure Serial Port VI and pick Create Constant.  You'll see you get a ring data type.  It is a U16.  But if you look at the items in there, you'll see that stop bits 1.0 has a value of 10.  1.5 has a value of 15, 2.0 has a value of 20.  So the value of 1 has no meaning to that property node and you get an error.  You should be wiring in a value of 10.
    Delete that array.  Create an array of the ring constants.  Turn it into a control, and choose the correct ring value for each element of your array.
    You have several other coercion dots.  They may not be causing you problems, but I would consider disconnecting them, creating a constant of the correct datatype, and using that in the array you wire to the Configure subVI.
    I modified your VI and attached it.  See if it works for you.
    Attachments:
    ax500SerialPortInitMOD.vi ‏37 KB

  • Initialisation problem with Logitech Mx900 Bluetooth Mouse

    Dear all,
    I have a recent problem with the initialisation of the Bluetooth connection at startup with my Logitech Mx900.
    The system fails to connect with the device. I have to go to the bluetooth pane (with the USB mouse) and to make a search in order to get the connection.
    This is very disturbing issue.
    I have seen quite the same topic with an intellimouse. Is there some general issue with 10.4.4 or Bluetooth firmware?
    iMac G4 - Mac OS X 10.4.4 (8G32) - Bluetooth module DLINK DBT-120 Firmware 1.443 (1.443)
    i mac G4   Mac OS X (10.4.4)  

    Well, I got it working, sort of.  The normal buttons and the scroll wheel work as the should.  The browse back and browse forward buttons do not work.  The tilt wheel works, with tilting right acting as the browse back button, and tilting left acting as browse forward.

  • Initialisation problems InDesign CS6

    InDesign continuously encounters problems during initialisation so that I cannot access the main menu also after installing and deinstalling a couple of times. We are using a Creative Cloud subscription on a year basis, Windows 7.

    مرحبا وليد
    بعد ورود عدة شكاوى بخصوص خطوط اي اكس تي، تواصلنا مع فريق التعريب لدى ادوبي وابلغونا رسميا بعدم توافق برامج سي اس ٦ مع هذه الخطوط  ويبدو ان بعض هذه الخطوط تعمل بشكل جيد وبعضها غير متوافق تماما والبعض غير متوافق كليا، لذا من الواضح ان الخيار الافضل هو تحويل الخطوط لنمط اوبن تايب او شراء خطوط اوبن تايب لتلافي المشاكل بالمستقبل
    Hi Walid,
    After recieving numerous complaints from ME Adobe users regarding AXT fonts, I received an official response from concerned team that Adobe CS6 products doesn't support AXT fonts. Having said that, you may find some of these fonts will run alright, some will have little problems and some will not display at all (as in your case). Best option is to convert AXT fonts to OpenType, or purchase OpenType fonts first hand.

  • JControl.exe does not start...Database Initialisation Problem...MS SQL

    Hi,
    I was wondering if anyone has any idea on why JCONTROL.exe does not start. I am currently installing NW04s EP7. The DB is on another host and te SCS and CI are on a different host. I am going throught the installation when I get the following error fro the Bootstrap file.
    I have already done the following steps:
    1. entered the SAP<SID>DB password
    2. SQL is started and running on the second host.
    3. The bootstrap.propeties files look the same as any other file EP system on our network
    [Mar 7, 2007 5:32:35 PM  ] [Bootstrap module]> Problem occurred while performing synchronization.
    [Mar 7, 2007 5:35:45 PM  ] -
    [Mar 7, 2007 5:35:45 PM  ] Bootstrap MODE:
    [Mar 7, 2007 5:35:45 PM  ] <INSTANCE GLOBALS>
    [Mar 7, 2007 5:35:45 PM  ]  determined by parameter [ID0117060].
    [Mar 7, 2007 5:35:45 PM  ] -
    [Mar 7, 2007 5:35:46 PM  ] Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
         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:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred: Secure Store lib Dir does not exist
    PC04315\sapmnt\ET1\SYS\global\security\lib\tools
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:212)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:60)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:419)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
         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:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    [Mar 7, 2007 5:35:46 PM  ] [Bootstrap module]> Problem occurred while performing synchronization.
    Many thanks,
    Adil Zafar

    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred: Secure Store lib Dir does not exist
    PC04315\sapmnt\ET1\SYS\global\security\lib\tools
    Do you have strong encryption on your current system?

  • LOB size problem.

    Hello.
    We have tablespace USERS, in this tablespace we have big LOBSEGMENT (115 GB):
    IFD.SYS_LOB0000153564C00002$$
    I find what it is it:
    SELECT owner, table_name, column_name
      FROM dba_lobs
    WHERE segment_name LIKE 'SYS_LOB0000153564C00002$$';
    Result:
    OWNER :     IFD     
    TABLE_NAME : T_XML_LOAD
    COLUMN_NAME : XML_DOC_BLOB
    I try to find what in this LOB take so many space ?! And use this:
    SELECT dbms_lob.getlength(XML_DOC_BLOB)/1048576,ss.user_name,ss.id,ss.num_of_line,ss.date_load FROM IFD.T_XML_LOAD ss ORDER BY dbms_lob.getlength(XML_DOC_BLOB) DESC;
    Result:
    DBMS_LOB.GETLENGTH(XML_DOC_BLO     USER_NAME     ID     NUM_OF_LINE     DATE_LOAD
    161,970319747925     IFD     40035     805462     26.03.2010 13:40:02
    160,532628059387     SYS     28768692     1710570     19.08.2011 22:50:00
    159,682207107544     SYS     28526053     1701731     12.08.2011 22:50:00
    159,381219863892     SYS     28413137     1698744     05.08.2011 22:50:00
    158,797404289246     SYS     28284336     1692654     29.07.2011 22:50:00
    158,017144203186     SYS     27468680     1684534     22.07.2011 22:50:00
    157,411050796509     SYS     27332613     1678214     15.07.2011 22:50:00
    156,677186965942     SYS     27199246     1670574     08.07.2011 22:50:01
    156,494536399841     SYS     27044492     1668730     01.07.2011 22:50:00
    155,795727729797     SYS     26757077     1661519     24.06.2011 22:50:00
    154,577393531799     SYS     26611800     1648826     17.06.2011 22:50:00
    154,029727935791     SYS     26548886     1643136     10.06.2011 22:50:00
    153,142061233521     SYS     25521350     1633923     03.06.2011 22:50:00
    152,008434295654     SYS     25426220     1622157     27.05.2011 22:50:00
    151,739135742188     SYS     23757539     1621182     25.03.2011 21:01:11
    151,739135742188     SYS     23759891     1621182     26.03.2011 15:44:11
    151,229548454285     SYS     24915230     1614073     20.05.2011 22:50:01
    150,821460723877     SYS     24763769     1610080     06.05.2011 22:50:00
    150,512250900269     SYS     24840403     1606616     13.05.2011 22:50:00
    150,183876991272     SYS     24705893     1603575     29.04.2011 22:50:01
    Not summary 115 Gb...If you will look this size in MB's ... But total size not 115 GB... How to find who take big size in this LOB ?!
    Please help! Thx.

    Try first to get the user size of all LOB column with something like:
    SELECT sum(dbms_lob.getlength(XML_DOC_BLOB)/1048576)
    FROM IFD.T_XML_LOAD;Then you need to check at least:
    1. LOB segment storage parameters like PCTVERSION/RETENTION because undo data for LOB column is stored in LOB segments and not in undo tablespace
    2. CHUNK parameter
    See http://download.oracle.com/docs/cd/E11882_01/appdev.112/e18294/adlob_tables.htm#ADLOB45274.
    Please post also your 4 digits Oracle version and if using 11g whether you are using BasicFiles or SecureFiles.
    Edited by: P. Forstmann on 25 août 2011 08:28

  • Mxml Servlet initialisation problem

    Having installed the flex data services express edition with
    tomcat5.5, the following exception occurs every time I attempt a
    *.mxml request:
    java.lang.NoClassDefFoundError
    flex.webtier.util.ServiceUtil.setupFlexService(ServiceUtil.java:63)
    flex.webtier.server.j2ee.MxmlServlet.init(MxmlServlet.java:57)
    flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:87)
    It might help in tracing the problem to know what class is
    being referred to that cannot be found. Any ideas?

    It sounds like you don't have the webtier correctly
    installed... the /WEB-INF/flex-bootstrap.jar
    looks for classes in the /WEB-INF/flex/jars/... folder. Did
    you perhaps try
    to upgrade and old Flex application and only copied
    /WEB-INF/lib?
    Hello Tomsky01,
    > Having installed the flex data services express edition
    with
    > tomcat5.5, the following exception occurs every time I
    attempt a
    > *.mxml request:
    >
    > java.lang.NoClassDefFoundError
    >
    flex.webtier.util.ServiceUtil.setupFlexService(ServiceUtil.java:63)
    >
    flex.webtier.server.j2ee.MxmlServlet.init(MxmlServlet.java:57)
    >
    flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:87)
    > It might help in tracing the problem to know what class
    is being
    > referred to that cannot be found. Any ideas?
    >

  • KDE/KDM initialisation problem [SOLVED]

    On my laptop, all of a sudden, kdm refuses to start KDE anymore. It will just launch a single borderless white terminal and that's it. The strange thing is, if I add "startkde" to ~/.xinitrc and run "startx" then kde starts up fine. I've never encountered this before, and am at a loss as to why it is happening. Has anyone ever encountered this before?
    Last edited by Valheru (2007-01-31 20:09:31)

    The session type is set to KDE.
    One thing I noticed, /var/log/kdm has a few errors in it that are strange :
    Note that your system uses syslog. All of kdm's internally generated messages
    (i.e., not from libraries and external programs/scripts it uses) go to the
    daemon.* syslog facility; check your syslog configuration to find out to which
    file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    Build Operating System: UNKNOWN
    Current Operating System: Linux penguin 2.6.19-beyond2 #2 PREEMPT Sat Dec 30 23:05:58 CET 2006 i686
    Build Date: 11 January 2007
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 21 14:36:10 2007
    (==) Using config file: "/etc/X11/xorg.conf"
    Fulfilled via DRI at 12587008
    Freed 12587008 (pool 2)
    (EE) PreInit returned NULL for "Mouse1"
    Synaptics DeviceInit called
    SynapticsCtrl called.
    Synaptics DeviceOn called
    Could not init font path element /usr/share/fonts/cyrillic, removing from list!
    Could not init font path element /usr/share/fonts/speedo, removing from list!
    Could not init font path element /usr/share/fonts/util, removing from list!
    QSettings: error creating /tmp/0925345898/.qt
    QSettings: failed to open file '/tmp/0925345898/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    QSettings: error creating /tmp/0925345898/.qt
    QSettings: failed to open file '/tmp/0925345898/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    Link points to "/var/tmp/kdecache-root"
    QSettings: error creating /tmp/0925345898/.qt
    QSettings: failed to open file '/tmp/0925345898/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    Synaptics DeviceOff called
    Freed 12587008 (pool 1)
    (EE) VIA(0): [dri] DRIScreenInit failed.  Disabling DRI.
    (EE) AIGLX: Screen 0 is not DRI capable
    Synaptics DeviceInit called
    SynapticsCtrl called.
    Synaptics DeviceOn called
    Could not init font path element /usr/share/fonts/cyrillic, removing from list!
    Could not init font path element /usr/share/fonts/speedo, removing from list!
    Could not init font path element /usr/share/fonts/util, removing from list!
    QSettings: error creating /tmp/0506252434/.qt
    QSettings: failed to open file '/tmp/0506252434/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    QSettings: error creating /tmp/0506252434/.qt
    QSettings: failed to open file '/tmp/0506252434/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    QSettings: error creating /tmp/0506252434/.qt
    QSettings: failed to open file '/tmp/0506252434/.qt/qt_plugins_3.3rc'
    QSettings::sync: filename is null/empty
    Link points to "/var/tmp/kdecache-root"
    Synaptics DeviceOff called

  • Form initialisation problem QMS-00100

    I am NOT succeeding in generating a form with the right pre-form tigger code:
    The following code should be in the PRE-FORM trigger:
    /* CGNV$PRE_FORM_NAVCUR */
    DECLARE
    rg_id RECORDGROUP;
    gc_wnd GROUPCOLUMN;
    gc_item GROUPCOLUMN;
    BEGIN
    CGNV$.nav_opening_wnd := FALSE;
    rg_id := create_group('CGNV$WINDOW_ITEM');
    gc_wnd := add_group_column(rg_id, 'WINDOW', CHAR_COLUMN, 80);
    gc_item := add_group_column(rg_id, 'ITEM', CHAR_COLUMN, 80);
    add_group_row(rg_id, 1);
    set_group_char_cell(gc_wnd, 1, 'QMS$TRANS_ERRORS');
    set_group_char_cell(gc_item, 1, 'QMS$TRANS_ERRORS.OK_BUTTON');
    add_group_row(rg_id, 2);
    set_group_char_cell(gc_wnd, 2, 'CALENDAR');
    set_group_char_cell(gc_item, 2, 'CALENDAR.OK');
    add_group_row(rg_id, 3);
    set_group_char_cell(gc_wnd, 3, 'WINDOW');
    set_group_char_cell(gc_item, 3, 'START.BTN_EXIT');
    END;
    /* CGNV$PRE_FORM_NAVCCF */
    DECLARE
    rg_id RECORDGROUP;
    gc_type GROUPCOLUMN;
    gc_name GROUPCOLUMN;
    gc_parent GROUPCOLUMN;
    gc_tag GROUPCOLUMN;
    gc_extra GROUPCOLUMN;
    BEGIN
    CGNV$.nav_close_forms := TRUE;
    CGNV$.nav_opening_wnd := FALSE;
    rg_id := create_group('CGSH$FORM_OBJECTS');
    gc_type := add_group_column(rg_id, 'OBJECT_TYPE', CHAR_COLUMN, 2);
    gc_name := add_group_column(rg_id, 'OBJECT_NAME', CHAR_COLUMN, 40);
    gc_parent := add_group_column(rg_id, 'PARENT_NAME', CHAR_COLUMN, 40);
    gc_tag := add_group_column(rg_id, 'ITEM_TAG', CHAR_COLUMN, 40);
    gc_extra := add_group_column(rg_id, 'EXTRA_TEXT', CHAR_COLUMN, 240);
    add_group_row(rg_id, 1);
    set_group_char_cell(gc_type, 1, 'WN');
    set_group_char_cell(gc_name, 1, 'QMS$TRANS_ERRORS');
    set_group_char_cell(gc_parent, 1, '');
    add_group_row(rg_id, 2);
    set_group_char_cell(gc_type, 2, 'WN');
    set_group_char_cell(gc_name, 2, 'WINDOW');
    set_group_char_cell(gc_parent, 2, '');
    add_group_row(rg_id, 3);
    set_group_char_cell(gc_type, 3, 'WN');
    set_group_char_cell(gc_name, 3, 'QMS$TRANS_ERRORS_MODAL');
    set_group_char_cell(gc_parent, 3, '');
    add_group_row(rg_id, 4);
    set_group_char_cell(gc_type, 4, 'WN');
    set_group_char_cell(gc_name, 4, 'QMS$HIDDEN_ITEMS');
    set_group_char_cell(gc_parent, 4, '');
    add_group_row(rg_id, 5);
    set_group_char_cell(gc_type, 5, 'WN');
    set_group_char_cell(gc_name, 5, 'CALENDAR');
    set_group_char_cell(gc_parent, 5, '');
    END;
    BECAUSE THIS CODE IS MISSING IN MY FORM:
    1st: frm-41085 ERROR GETTING GROUP COUNT, because the record group is never created.
    2nd: qms00100: ORA-06502, PL/SQL: numeric or value error in pl/sql in program unit QMS$FORMS.INIT
    Question: what procedure is responsable for generating a form with navigation pl/sql code in pre-form trigger?
    Also the attached libraries ofgnavl en ofg4mes are missing.
    Note: more 'navigation code' is missing in the form like a key-prev-item and post-block.
    I can include and create these triggers/code manually. And attach the libraries.
    I then get a correct working form.
    BUT THIS IS NOT THE WAY TO GENERATE.
    SO AGAIN Question: what procedure is responsable for generating a form with navigation specific trigger code.
    My reg settings seems to be correct
    , the user has been granted for the 12 headstart objects (hst_home\hst\scripts\hstuserb.grt)
    , following templates are used
    template = qmstpl50.fmb
    object lib = qmsolb50.olb
    , applibxx.pll, qmsevh50, qmslib50, ofgtel, ofgmes, ofghpl, ofgcall libraries are attached.
    null

    Auke,
    The generator preferences NAVCUR and NAVCCF need to be set to Yes, in order to get this code generated.
    Did you attach the headstart preference set qms50_recommended at appliation level? (should be shared from the qms505 application system into your own application system).
    This preference set sets both preferences to Yes.
    If this preference set is attached, check if the preferences are overruled at module level.
    Hope this helps,
    Regards, Marc

  • Formating / initialising problems muvo v

    . The Help on MuVo V200 tells me to "Initialize" the player from the "Organize" window. I can not find this option there.
    2. Firmware upgrade seems to be older (.05. ..) than freeware already installed on my player (.0....).
    3. After starting the Firmware upgrade I am getting the message "Unable to send scsi command ..."
    What am I doing wrong? I am working with W XP and USB .0 port.
    Any help appreciated.
    Martin

    The Organize window is actually the Organizer view of Creative MediaSource (the other view is Player) - it is the view where you see your PC Music Library and your player when you connect it. When the player is connected and you click to display its contents in the left hand pane you should then see an Initialize button.
    You can also Initialize with V200 Media Explorer which (if installed) will appear in your My Computer Windows Explorer window. Connect your player and double-click on V200 Media Explorer - you should then see the Initialize button.
    Only format in FAT, not FAT32 as it isn't supported by the V200 (according to the manual).
    The .0.04 version of firmware was available for a while but was removed. Don't reload .05.02 unless you really need to - see the link in my signature line for available versions.
    Why are you trying to reload the firmware?
    PB

  • ORA-22275 with BFILE record processing

    Hi All,
    I'm processing records in a table that contains an optional bfile column and then comparing each record with another record from the same table. I'm getting "ORA-22275: Invalid LOB locator specified" when I get my comparison record using a function - and the cursor record contains a null bfile following a not null bfile record.
    Here's my simplified 11g test case:
    create table jr_test
    (pk_id number not null
    ,stuff varchar2(100) not null
    ,external_file bfile);
    insert into jr_test values (1,'Some other data',bfilename('MY_DIR','jr1.txt'));
    insert into jr_test values (2,'Some other data',bfilename('MY_DIR','jr2.txt'));
    insert into jr_test values (3,'No bfile',null);
    commit;
    DECLARE
       l_rec_1 jr_test%ROWTYPE;
       l_rec_2 jr_test%ROWTYPE;
       FUNCTION record_to_compare(p_id IN jr_test.pk_id%TYPE) RETURN jr_test%ROWTYPE IS
          l_rec jr_test%ROWTYPE;
       BEGIN
          SELECT *
          INTO   l_rec
          FROM   jr_test
          WHERE  pk_id = p_id;
          RETURN l_rec;
       END record_to_compare;
    BEGIN
       FOR x IN (SELECT *
                 FROM   jr_test
                 ORDER  BY pk_id /* desc */) -- ORA-22275 when order by pk_id asc
       LOOP
          l_rec_1 := x;
          -- Get another record (it's always the same one in this test case)
          l_rec_2 := record_to_compare(x.pk_id);
       END LOOP;
    END;With a descending order by clause (ie. null bfile first) it works OK.
    With an ascending order by clause (ie. not null bfiles first) it crashes with ORA-22275.
    It looks like a LOB initialisation problem, but I's welcome your comments.
    Regards
    JR

    Hello
    It doesn't actually appear to have anything to do with the order by as such, it is just the order in which the rows are accessed. I've modified your test case to just call the function in a specific order. However if I change to use a stored procedure with an OUT parameter, there is no such issue. I'll dig a bit more but maybe this helps narrow the field of search down a little...
    XXXX> declare
      2      l_rec_1 jr_test%ROWTYPE;
      3      l_rec_2 jr_test%ROWTYPE;
      4
      5      FUNCTION record_to_compare(p_id IN jr_test.pk_id%TYPE) RETURN jr_test%ROWTYPE IS
      6         l_rec jr_test%ROWTYPE;
      7      BEGIN
      8         SELECT *
      9         INTO   l_rec
    10         FROM   jr_test
    11         WHERE  pk_id = p_id;
    12
    13         RETURN l_rec;
    14      END record_to_compare;
    15
    16   BEGIN
    17
    18     -- Get another record (it's always the same one in this test case)
    19     l_rec_2 := record_to_compare(1);
    20     l_rec_2 := record_to_compare(2);
    21     l_rec_2 := record_to_compare(3);
    22
    23   END;
    24   /
    declare
    ERROR at line 1:
    ORA-22275: invalid LOB locator specified
    Elapsed: 00:00:00.12
    XXXX>
    XXXX>   declare
      2      l_rec_1 jr_test%ROWTYPE;
      3      l_rec_2 jr_test%ROWTYPE;
      4
      5      FUNCTION record_to_compare(p_id IN jr_test.pk_id%TYPE) RETURN jr_test%ROWTYPE IS
      6         l_rec jr_test%ROWTYPE;
      7      BEGIN
      8         SELECT *
      9         INTO   l_rec
    10         FROM   jr_test
    11         WHERE  pk_id = p_id;
    12
    13         RETURN l_rec;
    14      END record_to_compare;
    15
    16   BEGIN
    17
    18     -- Get another record (it's always the same one in this test case)
    19     l_rec_2 := record_to_compare(3);
    20     l_rec_2 := record_to_compare(2);
    21     l_rec_2 := record_to_compare(1);
    22
    23   END;
    24   /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    XXXX>
    XXXX>  declare
      2      l_rec_1 jr_test%ROWTYPE;
      3      l_rec_2 jr_test%ROWTYPE;
      4
      5      PROCEDURE record_to_compare
      6      (p_id IN jr_test.pk_id%TYPE,
      7       p_row out jr_test%ROWTYPE
      8      )
      9      IS
    10      BEGIN
    11         SELECT *
    12         INTO   p_row
    13         FROM   jr_test
    14         WHERE  pk_id = p_id;
    15      END;
    16
    17   BEGIN
    18
    19     -- Get another record (it's always the same one in this test case)
    20     record_to_compare(3,l_rec_2);
    21     record_to_compare(2,l_rec_2);
    22     record_to_compare(1,l_rec_2);
    23
    24   END;
    25   /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    XXXX>
    XXXX>    declare
      2      l_rec_1 jr_test%ROWTYPE;
      3      l_rec_2 jr_test%ROWTYPE;
      4
      5      PROCEDURE record_to_compare
      6      (p_id IN jr_test.pk_id%TYPE,
      7       p_row out jr_test%ROWTYPE
      8      )
      9      IS
    10      BEGIN
    11         SELECT *
    12         INTO   p_row
    13         FROM   jr_test
    14         WHERE  pk_id = p_id;
    15      END;
    16
    17   BEGIN
    18
    19     -- Get another record (it's always the same one in this test case)
    20     record_to_compare(1,l_rec_2);
    21     record_to_compare(2,l_rec_2);
    22     record_to_compare(3,l_rec_2);
    23
    24   END;
    25   /
    PL/SQL procedure successfully completed.HTH
    David

Maybe you are looking for

  • Help with recovering photos in LR3

    I was backing up some photos from my LR folders, when I accidentally deleted some. I downloaded a file recovery program and was able to recover the photos.  However, one of the particular group of photos, I'm having extreme difficulties with.  I can

  • WHAT IS DAEMON CONCEPT IN RDA ?

    HI EXPERTS, WHAT IS DAEMON CONCEPT IN RDA ?HOW IT WORKS ? I will assign points for ur valuable answers

  • Disk Utility Restore

    I copied my macbook pro's hard drive to an external drive using disk utility restore. Is it normal for the copy's overall size to be smaller than the original? I thought it would be the same size? The external had no data on it. The original is 273.5

  • Finally a Fix For the 1450 Error !!!

    Well I believe I may have found the solution to the -1450 error at least for my situation. While pouring over settings I noticed ITUNES runs in a protected memory space. Well this along with the symptoms displayed (being unable to update the library

  • Photos on DVD

    Hi Can't see any photos in lion DVD comes up as a blank DVD. Is there a fix for this yet as this should be a basic function, not a roadblock!