IfsSession.disconnect( ) is throwin an exception. why

ifsSession.disconnect() is throwin the following exception.. what's the reason for this??
Exception in thread "main" org.omg.CORBA.BAD_OPERATION: The delegate has not been set! minor code: 0 completed: No
at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:43)
at org.omg.CORBA.portable.ObjectImpl.hashCode(ObjectImpl.java:268)
at java.util.Hashtable.remove(Hashtable.java:422)
at oracle.ifs.search.SQLGenerator.disposeGenerator(SQLGenerator.java:136)
at oracle.ifs.server.S_LibrarySession.disconnect(S_LibrarySession.java, Compiled Code)
at oracle.ifs.server.S_LibrarySession.DMDisconnect(S_LibrarySession.java:1872)
at oracle.ifs.beans.LibrarySession.DMDisconnect(LibrarySession.java:5332)
at oracle.ifs.beans.LibrarySession.disconnect(LibrarySession.java:1541)
at IfsClass.main(IfsClass.java:41)

Hi.
Following is the sript of the table.
It already includes nologging clause.
CREATE TABLE SCO_ITEM_RESULTS_BKP
OID VARCHAR2(32 CHAR) NOT NULL,
TEST_ID NUMBER(22,10),
STUDENT_OID VARCHAR2(32 CHAR),
TEST_TYPE VARCHAR2(32 CHAR),
CUSTOMER_ID NUMBER(9) NOT NULL,
SCORED_DATE DATE,
STATUS VARCHAR2(50 CHAR),
SCORE_VALUE VARCHAR2(10 CHAR),
SCORE_MIN VARCHAR2(10 CHAR),
SCORE_MAX VARCHAR2(10 CHAR),
NUM_ATTEMPTS NUMBER(22,4),
ITEM_ID NUMBER(22,10),
ASSIGNMENT_OID VARCHAR2(32 CHAR),
AUTH_LEVEL_ENTITY_ID NUMBER(10),
SESSION_ID NUMBER(22,10),
CREATEDBY_OID VARCHAR2(32 CHAR),
UPDATEDBY_OID VARCHAR2(32 CHAR),
CREATEDATE DATE,
UPDATEDATE DATE,
ORIGINTYPECD_OID VARCHAR2(32 CHAR),
OWNER_ORGUNIT_OID VARCHAR2(32 CHAR),
APPLICATION_VERSION VARCHAR2(32 CHAR) NOT NULL,
INACTIVESTATUS CHAR(1 CHAR) NOT NULL,
ISDELETED CHAR(1 CHAR) NOT NULL,
JOB_ID VARCHAR2(32 CHAR),
TESTRESULTS_OID VARCHAR2(32 CHAR),
FORM_ID NUMBER(10),
IS_TOTAL CHAR(1 CHAR),
STUDENT_PERSON_OID VARCHAR2(32 CHAR)
TABLESPACE BASE_DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOLOGGING
NOCACHE
NOPARALLEL
MONITORING;
Edited by: user8731258 on Nov 25, 2009 8:16 PM

Similar Messages

  • Before starting AHT, be sure to disconnect all external devices except the keyboard, mouse, display, and Ethernet adapter. Also disconnect any external optical drives. What does this include?

    Before starting AHT, be sure to disconnect all external devices except the keyboard, mouse, display, and Ethernet adapter. Also disconnect any external optical drives. What is included in these external devices?

    I have tried repeatedly to use the Apple Hardware test on my iMac desktop 10.7.3 early 2009 4 GB with no luck.  What am I doing wrong? I have everything I can think of unplugged.  Do I need to disconnect BlueTooth in Preferences?
    Thanks

  • The following block is giving an exception.why?

    DECLARE
    TYPE typ_tab_oid IS TABLE OF ncs_domain.sco_item_results.OID%TYPE;
    v_tab typ_tab_oid;
    CURSOR cur_oid
    IS
    SELECT OID
    FROM ncs_domain.sco_item_results sir
    WHERE sir.is_total = 'Y';
    v_error_code number(10);
    v_error_mesg varchar2(4000);
    BEGIN
    OPEN cur_oid;
    LOOP
    FETCH cur_oid
    BULK COLLECT INTO v_tab LIMIT 1000;
    FORALL i IN 1 .. v_tab.COUNT
    DELETE FROM ncs_domain.sco_item_results_bkp sir
    WHERE sir.OID = v_tab (i);
    EXIT WHEN cur_oid%NOTFOUND;
    END LOOP;
    CLOSE cur_oid;
    EXCEPTION
    WHEN OTHERS
    THEN
    v_error_code:=sqlcode;
    v_error_messg:=sqlerrm;
    insert into my_error_log values()
    raise_application_error (-20001, v_error_code||''||v_error_messg);
    END;
    exception that i am getting is ora-30036: unable to extend segment by 8 in undo tablespace........
    why??
    also prior to script i had no index on the column is_total of table ncs_domain.sco_item_results
    when i ran the scipt it gave the output in approx 3 hrs.
    once i created bitmap index on the column is_total and it is taking 5 hrs.
    SAD Part is that even after 5hrs i get an exception that no space in undo tablespace(mentioned above).
    How do i handle this exception.??I am a user.Dont have any sys previliges also.
    Can saomebody help in improving the perfomace of the script..
    The script is basically deleting approx 10,000,000 records.

    Hi.
    Following is the sript of the table.
    It already includes nologging clause.
    CREATE TABLE SCO_ITEM_RESULTS_BKP
    OID VARCHAR2(32 CHAR) NOT NULL,
    TEST_ID NUMBER(22,10),
    STUDENT_OID VARCHAR2(32 CHAR),
    TEST_TYPE VARCHAR2(32 CHAR),
    CUSTOMER_ID NUMBER(9) NOT NULL,
    SCORED_DATE DATE,
    STATUS VARCHAR2(50 CHAR),
    SCORE_VALUE VARCHAR2(10 CHAR),
    SCORE_MIN VARCHAR2(10 CHAR),
    SCORE_MAX VARCHAR2(10 CHAR),
    NUM_ATTEMPTS NUMBER(22,4),
    ITEM_ID NUMBER(22,10),
    ASSIGNMENT_OID VARCHAR2(32 CHAR),
    AUTH_LEVEL_ENTITY_ID NUMBER(10),
    SESSION_ID NUMBER(22,10),
    CREATEDBY_OID VARCHAR2(32 CHAR),
    UPDATEDBY_OID VARCHAR2(32 CHAR),
    CREATEDATE DATE,
    UPDATEDATE DATE,
    ORIGINTYPECD_OID VARCHAR2(32 CHAR),
    OWNER_ORGUNIT_OID VARCHAR2(32 CHAR),
    APPLICATION_VERSION VARCHAR2(32 CHAR) NOT NULL,
    INACTIVESTATUS CHAR(1 CHAR) NOT NULL,
    ISDELETED CHAR(1 CHAR) NOT NULL,
    JOB_ID VARCHAR2(32 CHAR),
    TESTRESULTS_OID VARCHAR2(32 CHAR),
    FORM_ID NUMBER(10),
    IS_TOTAL CHAR(1 CHAR),
    STUDENT_PERSON_OID VARCHAR2(32 CHAR)
    TABLESPACE BASE_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOLOGGING
    NOCACHE
    NOPARALLEL
    MONITORING;
    Edited by: user8731258 on Nov 25, 2009 8:16 PM

  • AMFConnection never give exception,why?

    This is my simple code
    import flex.messaging.io.amf.client.AMFConnection;
    import flex.messaging.io.amf.client.exceptions.ClientStatusException;
    public class AMFClient {   
        public AMFClient() {        
        public static void main(String[] args) {        
            AMFConnection amfConnection = new AMFConnection();
            String url = "http://192.168.0.199:9081/testApp/messagebroker/amf";       
            System.out.println("AMF Client Test");
            try
                amfConnection.connect(url);
            catch (ClientStatusException cse)
                System.out.println(cse);
                return;
    The program never give exception if I give a non-existed url,why?Please help
    Thanks
    Mark

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • System error in block parforEach: Exception why is process finished?

    Hi everybody,
    we split a message in BPM. Then we loop the multiline-container element.
    For each line-item we call a WebService synchrounous.
    We got a exception branch for system errors.
    Now we got the following problem:
    Our produces abount 3000 line-items.
    While processing e.g. item 1000 we got a system error and the BPM jumped into the execption branch. After processing the exception branch the process FINISHED!
    We assumed that the process would go on processing the remaining items!
    Is there a workaroud, that the process does go on with processing the remaining items?
    Regards Mario

    Hi,
    After handling the exception, the process will be continuing after that block. So you can try to put the block within a loop until all the line items get over.
    Regards,
    P.Venkat

  • Cursor finding zero records is not going into an exception - Why?

    Hi:
    I have a stored procedure I am running that opens and returns a ref cursor but if the cursor doesnt have any records in it, it isnt firing an exception.
    Thanks for any help
    PROCEDURE GetPaymentHistory
         (     pi_seq_memb_id      IN NUMBER,
              out_status           OUT NUMBER,
              out_message           OUT VARCHAR2,
              po_curPmtHist          OUT P_EBIZ_DIAM_CONN.cursorType)
         AS
              vsql                VARCHAR2(2000);
              memb_id           NUMBER;
              vSpc                VARCHAR2(1);
              vComma           VARCHAR2(1);
              vLength           NUMBER;
              vDescription      VARCHAR2(60);                    
         BEGIN
              memb_id := pi_seq_memb_id;
              vSpc := '';
              vComma := ',';
              vDescription := '';
              vsql := '' || '';          
              OPEN po_curPmtHist FOR
              SELECT
                   (SELECT DISTINCT BB.BILLING_SCHEDULE_TYPE
              FROM HSD_MEMBER_ELIG_HISTORY MEH
                   INNER JOIN BILLABLE_GROUP_BCONFIG BGB ON BGB.SEQ_GROUP_ID = MEH.SEQ_GROUP_ID
                   INNER JOIN BILLING_BATCH BB ON BGB.BATCH_ID = BB.BATCH_ID
              WHERE MEH.SEQ_MEMB_ID= m.SEQ_MEMB_ID
                        AND MEH.EFFECTIVE_DATE <= sysdate)      AS billFrequency,
                   i.invoice_id                               AS InvoiceNumber,
                   i.INVOICE_DATE                               AS InvoiceDate,
                   i.INVOICE_FROM_DATE                          AS BillFrom,
                   i.INVOICE_THRU_DATE                          AS BillTo,
                   i.REPORTED_INVOICE_BALANCE                AS InvoiceAmount,
                   i.PAYMENT_DUE_DATE                          AS DueDate,
                   T.POST_DATETIME                               AS PaidDate,
                   T.AMOUNT                                    AS PaidAmount,     
                   i.TOTAL_NEW_CHARGES                          AS NewCharges,
                   i.TOTAL_APPLIED_PAYMENTS                AS AppliedPayments,
                   i.TOTAL_APPLIED_ADJUSTMENTS                AS AppliedAdjustments,
                   i.TOTAL_APPLIED_TRANSFERS                AS AppliedTransfers,
                   i.TOTAL_APPLIED_RETRO_TRANS                AS AppliedRetroTransactions,
                   i.CURRENT_INVOICE_BALANCE                AS InvoiceBalance,     
                   i.PREVIOUS_ACCOUNT_BALANCE                AS PreviousAccountBalance,
                   i.TOTAL_REPORTED_PAYMENTS                AS ReportedPayments,
                   i.TOTAL_REPORTED_ADJUSTMENTS           AS ReportedAdjustments,
                   i.TOTAL_REPORTED_TRANSFERS                AS ReportedTransfers,
                   i.TOTAL_REPORTED_RETRO_TRANS           AS ReportedRetroTransactions,
                   i.REPORTED_ACCOUNT_BALANCE                AS AccountBalance,     
                   F.UNAPPLIED_AMOUNT                          AS unappTotalCash,
                   F.POST_DATETIME                               AS unappPostDate,
                   F.CREATE_DATETIME                          AS unappTransDate,
                   F.FUNDS_TYPE                               AS unappType,
                   F.AMOUNT                                    AS unappAmount,
                   F.DESCRIPTION                               AS unappDescription
              FROM
                   invoice i
                   INNER JOIN ar_account a ON i.ar_account_id = a.ar_account_id
                   INNER JOIN HSD_MEMBER_MASTER m ON a.SEQ_BILL_ENTITY_ID = m.SEQ_FAMILY_ID
                   LEFT OUTER JOIN AR_TRANSACTION T ON T.APPLIED_INVOICE_ID = i.INVOICE_ID
                   LEFT OUTER JOIN FUNDS F ON F.funds_id = a.ar_account_id
              WHERE
                   m.seq_memb_id = memb_id AND
                   a.bill_entity_type='S' ;
              --IF po_curPmtHist%ROWCOUNT = 0 THEN
                   --out_status := -1;
                   --out_message := 'No record found for Get Payment History';
              -- ELSE
              out_status := 0;
              out_message := 'Get Payment History Success';
              --END IF;           
              EXCEPTION
              WHEN NO_DATA_FOUND THEN
                   out_status := -1;
                   out_message := 'No record found for Get Payment History';
              WHEN OTHERS THEN
                   out_status := -1;
                   out_message := 'Exception occured: Error Number:' || SQLCODE || ' Err Msg:' || SUBSTR(SQLERRM,1,100);
         END GetPaymentHistory;

    I have a stored procedure I am running that opens
    s and returns a ref cursor but if the cursor doesnt
    have any records in it, This is a fairly common misconception. A cursor is simply a pointer to a compiled or prepared SQL statement with a plan for how to return the data.
    Cursors do not contain data. With a ref cursor you are passing a pointer that will allow the caller to fetch the data using the prepared SQL statement.
    Re: Regarding the data in a cursor

  • SOAP Response From ASP Page gives Exceptions-Why ?

    Hi Friends,
    I am trying to call an ASP Page by sending it a SOAP Request.
    The SOAP Request reaches the ASP Page but still i am getting lot of
    exceptions.This is my code from Request.java
    import javax.xml.soap.*;
    import java.util.*;
    import java.net.URL;
    public class Request {
    public static void main(String[] args) {
    try {
    SOAPConnectionFactory scFactory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection con = scFactory.createConnection();
    MessageFactory factory =
    MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage();
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPHeader header = envelope.getHeader();
    SOAPBody body = envelope.getBody();
    header.detachNode();
    Name bodyName = envelope.createName(
    "TestDtls", "m",
    "urn:myserver/soap:TestThis");
    SOAPBodyElement gltp =
    body.addBodyElement(bodyName);
    Name name = envelope.createName("PhoneOrigin");
    SOAPElement symbol = gltp.addChildElement(name);
    symbol.addTextNode("0672324228");
    URL endpoint = new URL
    ("http://john/myservices/testsoap.asp");
         message.writeTo(System.out);
    SOAPMessage response = con.call(message, endpoint);
         response.writeTo(System.out);
    SOAPPart sp = response.getSOAPPart();
    SOAPEnvelope se = sp.getEnvelope();
    SOAPBody sb = se.getBody();
    Iterator it = sb.getChildElements(bodyName);
    SOAPBodyElement bodyElement =
    (SOAPBodyElement)it.next();
    String myvalue = bodyElement.getValue();
    System.out.print("The Value Retrived is ");
    System.out.println(myvalue);
         con.close();
    } catch (Exception ex) {
         System.out.println(ex);
    This is what i have in my ASP Page: testsoap.asp
    <%
    Set objReq = Server.CreateObject("Microsoft.XMLDOM")
    objReq.load(Request)
    strmycode = "SOAP-ENV:Envelope/SOAP-ENV:Body/m:TestDtls/PhoneOrigin"
    varPhoneOrigin=objReq.SelectSingleNode(strmycode).text
    status="ok"
    strReturn = "<SOAP-ENV:Envelope xmlns:SOAP=""urn:schemas-xmlsoap-org:soap.v1"">" & _
    "<SOAP-ENV:Header></SOAP-ENV:Header>" & _
         "<SOAP-ENV:Body>" & _
              "<m:TestDtlsResponse xmlns:m=""urn:myserver/soap:TestThis"">" & _
         "<PhoneStatus>" & Status & "</PhoneStatus>" & _
         "</m:TestDtlsResponse>" & _
         "</SOAP-ENV:Body>" & _
                        "</SOAP-ENV:Envelope>"
    Response.Write strReturn
    %>
    The Exceptions i get are as follows:
    =====================================
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><S
    OAP-ENV:Body><m:TestDtls xmlns:m="urn:myserver/soap:TestThis"><PhoneOrigin>"0672
    324228"</PhoneOrigin></m:TestDtls></SOAP-ENV:Body></SOAP-ENV:Envelope>Jul 11, 20
    03 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a S
    OAP message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Jul 11, 2003 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    SEVERE: SAAJ0535: Unable to internalize message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
    nImpl: Unable to internalize message
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize m
    essage
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    ... 3 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    Actually,i need to see the response in XML format as per my program.
    But,What does all this stuff mean ? I have using latest jwsdp 1.2.
    Can Anyone Help me on this ?

    i have the same problem. when i make a test with a VB client, the SOAP message is builded this way "<SOAP.... instead of <SOAP-ENV.... tag generated by java. When a make a test in vb client using this syntax (SOAP-ENV), the asp page returns a error:
    <font face="Arial" size=2>
    <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>
    <p>
    <font face="Arial" size=2>Object required: 'objXMLDOM.selectSingleNode(...)'</font>
    <p>
    <font face="Arial" size=2>/rcruz/soap/vbSoap/simplesoap.asp</font><font face="Arial" size=2>, line 6</font>
    Anyone have a idea???
    Thanks

  • While Navigating back Recieved out of Memory Exception: WHY?

    i used JHEADSTART to built my Application. Major portion of the Application is Built now. when navigating back to the previous pages i have recieved this exception
    23-Jan 13:35:44 DEBUG (JhsNavigationHandlerImpl) -handleNavigation action=#{WizardPageListCreateNewEquip_Acc.getPreviousAction}, outcome=WizardCreateNewEquip_AccbillingProfile
    23-Jan 13:35:44 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    23-Jan 13:35:46 DEBUG (WizardProcessModel) -Wizard page has changed.
    Jan 23, 2008 1:36:21 PM oracle.adf.view.faces.bean.util.StateUtils$Saver restoreState
    SEVERE:
    java.lang.OutOfMemoryError: Java heap space
    23-Jan 13:36:29 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/CreateNewEquip_AccbillingProfile.jspx, pagedef=CreateNewEquip_AccPageDef
    23-Jan 13:36:29 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    23-Jan 13:37:26 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/ProductCatalouge.jspx, pagedef=ProductCatalougePageDef
    23-Jan 13:37:26 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    I am using Jdeveloper 10.1.3.3
    JHEADSTART Version : 10.1.3.1.26
    when i again clicked on the link to open the same page it gave same exception i.e. JAVA HEAP SPACE with out f memory.........

    Seems like your OC4J instance is running out of memory space.
    Try starting it with more memory allocated to it.
    (or if you only run into this after running your application inside JDeveloper several times - try to stop and restart the embedded OC4J).

  • My ipod nano keeps disconnecting itself when plugged in, WHY?

    My ipod is driving me mad. It was working fine earlier and now whenever I connect it to my laptop via USB and it's original cable, it connects (showing in itunes and on my computer icons) and then disconnects itself and then connects itself .....etc. Surley this is bad for my ipod? I've updated it once already and keeps asking me what lanuage to show when it switches back on! Please HELP! XXXX

    hiya!
    okay, since you've got a Toshiba laptop, let's check to see if you can get it to sync properly if the highspeed interfaces are disabled. (let's not try a restore just at the moment.)
    iPod not recognized correctly on Toshiba laptop
    love, b

  • Exception - why?

    I wanted to deploy a webservice with axis and tomcat.
    I got the error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax.xml.rpc.SerciveException.
    Can anyone tell me what to do?
    thanks,
    chiliman

    include the jaxb far files and the saaj.jar file into TOMCAT_HOME\common\libs\

  • When my bluetooth device disconnects, automatically launches iTunes. Why?

    I've seen some other posts on this, but none that solve the question.  iTunes (11.1.5 (5)) automatically launches evertime I disconnect my bluetooth speaker or the speaker times out and shuts off. In iTune device preferences, I checked the box "Prevent iPods, iPhones, and iPads from syncing automatically". iTunes is NOT paired with any Remotes.
    I wondered if Spotify might be the source of the problem, but when I closed Spotify and ran the test (disconnect my bluetooth speaker), iTunes automatically launched.
    Any help?

    Same issue. In former Version of OSX itunes autolaunch could be disabled by setting "no action" when a CD is inserted (in case your mac still has a CD drive). But with 10.9. this does not help. For some reason Apple thinks as soon as something happening with audio it's the deepest desire of every Mac owner to start to use iTunes. What makes this totally weird is that iTunes is started when the speaker is DISconnected.
    Haven't found any solution, and have to say it ***** big time. Please, apple, don't dictate your users which app s they "want" to use on what occasion... if there is an autolaunch mechanism there has to be an easy way to disable it, like iPhoto autolaunch when you connect a camera.
    The constant launching of iTunes on every occasion I really do not want to use it is painful.

  • Why bad padding exception???

    hi guys
    here i am trying to decrypt the already encrypted string by one different encrpytion algo.
    in the example i have encrypted the string by des and then i tried to decrypt it using blowfish but it gives as the output null instead of a random string...because of a bad padding exception(check line 86). help to remove the exception.
    if we try to decrypt the des encrypted string by des again it give n padding exception. why with blowfish???
    // CIPHER / GENERATORS
    import javax.crypto.Cipher;
    import javax.crypto.SecretKey;
    import javax.crypto.KeyGenerator;
    // KEY SPECIFICATIONS
    import java.security.spec.KeySpec;
    import java.security.spec.AlgorithmParameterSpec;
    import javax.crypto.spec.PBEKeySpec;
    import javax.crypto.SecretKeyFactory;
    import javax.crypto.spec.PBEParameterSpec;
    // EXCEPTIONS
    import java.security.InvalidAlgorithmParameterException;
    import java.security.NoSuchAlgorithmException;
    import java.security.InvalidKeyException;
    import java.security.spec.InvalidKeySpecException;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.BadPaddingException;
    import javax.crypto.IllegalBlockSizeException;
    import java.io.UnsupportedEncodingException;
    import java.io.IOException;
    public class StringEncrypter {
    Cipher ecipher;
    Cipher dcipher;
    StringEncrypter(SecretKey key, String algorithm) {
    try {
    ecipher = Cipher.getInstance(algorithm);
    dcipher = Cipher.getInstance(algorithm);
    ecipher.init(Cipher.ENCRYPT_MODE, key);
    dcipher.init(Cipher.DECRYPT_MODE, key);
    } catch (NoSuchPaddingException e) {
    System.out.println("EXCEPTION: NoSuchPaddingException");
    } catch (NoSuchAlgorithmException e) {
    System.out.println("EXCEPTION: NoSuchAlgorithmException");
    } catch (InvalidKeyException e) {
    System.out.println("EXCEPTION: InvalidKeyException");
    public String encrypt(String str) {
    try {
    // Encode the string into bytes using utf-8
    byte[] utf8 = str.getBytes("UTF8");
    // Encrypt
    byte[] enc = ecipher.doFinal(utf8);
    // Encode bytes to base64 to get a string
    return new sun.misc.BASE64Encoder().encode(enc);
    } catch (BadPaddingException e) {
    } catch (IllegalBlockSizeException e) {
    } catch (UnsupportedEncodingException e) {
    } catch (IOException e) {
    return null;
    public String decrypt(String str) {
    try {
    // Decode base64 to get bytes
    byte[] dec = new sun.misc.BASE64Decoder().decodeBuffer(str);
    // Decrypt
    byte[] utf8 = dcipher.doFinal(dec);
    // Decode using utf-8
    return new String(utf8, "UTF8");
    } catch (BadPaddingException e) {
    System.out.println("BAd padding excception");
    } catch (IllegalBlockSizeException e) {
    System.out.println("IllegalBlockSizeException");
    } catch (UnsupportedEncodingException e) {
    System.out.println("UnsupportedEncodingException");
    } catch (IOException e) {
    System.out.println("IOException");
    return null;
    public static void testUsingSecretKey() {
    try {
              String secretString = "code cant be decrypted!";
              SecretKey desKey = KeyGenerator.getInstance("DES").generateKey();
              SecretKey blowfishKey = KeyGenerator.getInstance("Blowfish").generateKey();
         StringEncrypter desEncrypter = new StringEncrypter(desKey, desKey.getAlgorithm());
              StringEncrypter blowfishEncrypter = new StringEncrypter(blowfishKey, blowfishKey.getAlgorithm());
              String desEncrypted = desEncrypter.encrypt(secretString);     
         String desDecrypted = desEncrypter.decrypt(desEncrypted);
         String blowfishDecrypted = blowfishEncrypter.decrypt(desEncrypted);      
         System.out.println(desKey.getAlgorithm() + " Encryption algorithm");
         System.out.println(" Original String : " + secretString);
         System.out.println(" Encrypted String : " + desEncrypted);
         System.out.println(" Decrypted String : " + desDecrypted);
         System.out.println();
         System.out.println(blowfishKey.getAlgorithm() + " Encryption algorithm");
         System.out.println(" Original String : " + desEncrypted);
         System.out.println(" Decrypted String : " + blowfishDecrypted);
         System.out.println();
         } catch (NoSuchAlgorithmException e) {
         public static void main(String[] args) {
         testUsingSecretKey();
    }

    peter_crypt wrote:
    you are right but this is my question. why cant we do that?? it should be possible.by the way i am working on a project for cryptanalysis . there i need to implement it.You need to spend more time studying and less time programming -
    1) Applied Cryptography, Schneier, Wiley, ISBN 0-471-11709-9
    2) Practical Cryptography, Ferguson and Schneier, Wiley, ISBN 0-471-22357-3
    3) Java Cryptography, Knudsen, O'Reilly, ISBN 1-56592-402-9 dated but still a good starting point
    4) Beginning Cryptography with Java, written by David Hook and published by WROX .

  • Sleep mode disconnects my ipod why?

    When ever I put my computer to sleep it disconnects my ipod and I was curious why this happens? I also got an external hard drive that is plugged into the same USB hub and does not disconnect when awoken any ideas why it does this?
    Thank you

    Deep sleep causes problems for USB devices. Trying to connect and download photos from a digital camera will lock up the system. Sometimes a card reader will cause a system to not go to sleep. So yes, general wisdom is to disconnect USB devices before putting a system to sleep.
    You also should not try to connect or disconnect FW or USB drives and devices while a system is in sleep state.

  • Why am I disconnected?

    Hi.
    While doing my project, i encountered an error.
    When i sent an request to my server via DataOutputStream, my server is able to receive the request successfully. However, after sending the request successfully, i will be disconnected to my server.
    Why would this happened? By the way, i'm using a socket connection; StreamConnector.
    Please help. Thanks!

    Hi.
    While doing my project, i encountered an error.
    When i sent an request to my server via DataOutputStream, my server is able to receive the request successfully. However, after sending the request successfully, i will be disconnected to my server.
    Why would this happened? By the way, i'm using a socket connection; StreamConnector.
    Please help. Thanks!

  • HT4623 why does my ipad kick me out of FB and sometimes to the 'settings' page or sometimes to the desk top, for what reason?     I have 50.8 GB of capacity available; it is version 5.1.1 and model MC497LL.   it is WIFI and internet via AT&T???  Can you h

    Can anyone help me?  Why does my ipad kick me out of FB?  Sometimes to the 'settings' page and sometimes to the desk top?  I would like to know why this happens and what I can check or change to make it stop.   I have 50.8 GB of capacity available; it is version IOS 5.1.1; model MC497LL.  It is WIFI and internet via AT&T?   Can anyone give me some clues on what to do; or change in settings???  Thank you very much! 

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for

  • The software update collection topic

    Software updates is a hot topic and this collection thread covers how it works. All phone models receive a software update every now and then and we always try to optimize the phone performance and features in every one of them.  But the most common

  • "Print Settings" are not stored in the print preset

    Hi everybody, It seems that, no matter how many times i save and update the profile, all the print setting (image size, sharpening, bit depth, color management, ...) are store within the preset, all but the Epson Driver settings, which have to be sel

  • DVT X Axis Date Formatting using tabular data

    Hi, I have a curious question about the <dvt:attributeFormat>. I wanted to format my bar graph x-axis with locale sensitive date formatting. I saw this attribute <dvt:attributeFormat> which I think is the best tool for the job. <dvt:barGraph id="wsss

  • Iphone4 will not power up

    iPhone4 will not power back up, it has been charging for hours

  • Is there a way to use both wireless and ethernet without having to unplug the ethernet

    I have 7280 all in one, 2 wireless laptops and 2 wired desk tops.  At present I have to unplug the ethernet cable any time I want to use the wireless.  Is there a way to set up the printer so it will recognize both. any help will be greatly appreciat