Class com.ibm.jsse.be configured for a TrustManagerFactory : Help needed

Hi
I am getting the following runtime error when trying for a HTTPS connection from my java code.
Runtime Error : Class com.ibm.jsse.be configured for a TrustManagerFactory: not a TrustManagerFactory Action: 4 Class: com.americanexpress.teen.common.fis.FISInterface Method: getFISTestData(String fisURL) Exception:java.net.SocketException: Class com.ibm.jsse.be configured for a TrustManagerFactory: not a TrustManagerFactory
     at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.b.b(Unknown Source)
     at com.ibm.net.ssl.www.protocol.http.bs.a(Unknown Source)
     at com.ibm.net.ssl.www.protocol.http.bs.o(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.b.<init>(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.b.a(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.p.b(Unknown Source)
     at com.ibm.net.ssl.www.protocol.https.p.connect(Unknown Source)
     at com.ibm.net.ssl.www.protocol.http.bw.getInputStream(Unknown Source)
     at com.ibm.net.ssl.www.protocol.http.bw.getHeaderField(Unknown Source)
     at com.ibm.net.ssl.www.protocol.http.bw.getResponseCode(Unknown Source)
     at com.ibm.net.ssl.internal.www.protocol.https.HttpsURLConnection.getResponseCode(Unknown Source)
     at com.americanexpress.teen.common.fis.FISInterface.getFISTestData(FISInterface.java:2238)
     at org.apache.jsp._fisTestPage._jspService(_fisTestPage.java:112)
     at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
     at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
     at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
     at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
     at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
     at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
     at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
My application is trying to a https://xyz.com from java code and i am getting the above exception.
I tried connecting to "https://xyz.com " from my workspace via Websphere 5.1 server and my server is throwing the above exception. I have extened the ibmjsse provided by WAS 5.1 and using it for connecting to the HTTPS URL.
I feel the above problem might be due to network issues. Please help me in resolving the same.
Thanks in advance !!!!!

Steps i have done to ensure the connectivity :
Method A :
1) I imported the pfx and CA certificates given by xyz.com in my web browser (IE)
2) After that, I tried connecting to "https://xyz.com" from browser and getting a proper response.
Method B :
1) I updated the jre cacert with CA certificate given by xyz.com
2) Loaded the pfx keystore from my java client code program and ran it as a java standalone code and got the proper response.
My java code
import java.io.*;
import java.net.*;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.*;
import java.security.*;
import java.sql.Time;
public class HTTPSConnect{
     public static void main(String[] args)
               URL url;
               StringBuffer buffer;
               String line;
               int responseCode=0;
               HttpsURLConnection connection = null;
               InputStream input;
               BufferedReader dataInput;
               //FIS Sample URL
               String fisURL = "https://xyz.com";
               String fisResp = "";
               try
               Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
               System.setProperty("javax.net.debug", "all");
               String path = "F:\\MyCertificate.pfx";
               String type = "pkcs12";
               String password = "abc123";
               System.setProperty("javax.net.ssl.keyStoreType", type);
               System.setProperty("javax.net.ssl.keyStore",path);
               System.setProperty("javax.net.ssl.keyStorePassword",password);
                    url = new URL(fisURL);
                    //Create the connection
                    connection = (HttpsURLConnection) url.openConnection();
                    connection.setUseCaches(false);
                    //Get the response code for the HTTPS connection
                    responseCode = connection.getResponseCode();
               if (200 == responseCode)
                    buffer = new StringBuffer();
                    //Getting the FIS Response XML using the Stream reader
                    input = connection.getInputStream();
                    dataInput = new BufferedReader(new InputStreamReader(input));
                         while ((line = dataInput.readLine()) != null)
                              buffer.append(line);
                              buffer.append('\n');
                    fisResp = (String) buffer.toString().trim();
               else
                    System.out.println("HTTP Status-Code : " + responseCode);
               catch (MalformedURLException mue)
                    System.out.println("Exception in URL : " + mue.getMessage() );
                    mue.printStackTrace();
               catch (IOException ioe)
                    System.out.println("IO Exception : " + ioe.getMessage() );
                    ioe.printStackTrace();
               catch (Exception e)
                    System.out.println("Exception : " + e.getMessage() );
                    e.printStackTrace();
               System.out.println("FIX XML Response : " + fisResp);
               System.out.println("Response Code of HTTPS Connection : " + responseCode);
Please let me know if i am missing something :)

Similar Messages

  • Getting class (COM.ibm.db2.jdbc.app.DB2Connection)

    We are migrating from Websphere 3.5 to 4.0 and I am setting up my WSAD 4.0 on my local system. DB2 7.2 is the database for the application.
    When i configure the Data Source, all works fine, but when I run the application, i get the following error.
    The class (COM.ibm.db2.jdbc.app.DB2Connection) does not implement javax.sql.ConnectionPoolDataSource or javax.sql.XADataSource
    My JDBC driver is in the file db2java.zip. Can anyone tell me what is the way to remove this error and If i need to download some new drivers, where can i get them from?

    sorry to say this but we also fed up with all those things and using db2 is 1 of the worst thing in the world if u get enough help from anywhere.. plz inform me also...

  • Missing class com.sun.kvem.ktools.RunRetro for RetroGuard in WTK 2.5 ?

    I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
    The obfuscation class file can not be loaded.
    com.sun.kvem.ktools.RunRetro
    Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
    Obfuscation failed.
    then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
    is that a bug? or anything i am missing?

    I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
    The obfuscation class file can not be loaded.
    com.sun.kvem.ktools.RunRetro
    Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
    Obfuscation failed.
    then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
    is that a bug? or anything i am missing?

  • Help,just  entered registration code for quicktime pro,help needed

    Help,just  entered registration code for quicktime pro,help needed,cant seem to see the quicktime pro screen i saw on internet with all the edit and extra things at the top,i dont understand this,any help,Dave

    I hope this helps http://support.apple.com/kb/ht2240 good tips on your prob here..good luck

  • ISE 1.2, Supplicant configured for 802.1x but need to MAB

    I posted this yesterday but deleted the thread thinking I had fixed the issue - alas I was wrong. In summary I have a scenario where I am doing wired 802.1x and also wired MAB/CWA. The issue is that a certain number of external/BYOD hosts have supplicants configured for 802.1x at their "home" organisations which for obvious reasons can't authenticate on this network. The idea is that MAB and CWA become a fallback but these hosts in question don't efficiently fail to MAB.
    If the host has validate server certificates enabled (and doesn't have our root selected) then 802.1x fails and goes to MAB as per the tx timers etc. Hosts that don't validate certificates essentially fail authentication, abandon the EAP session and start new... this process seems to continue for a very long time.
    Does anyone have any similoar experiences and if so can you provide some info? I am looking into tweaking 802.1x port timers to make this fail quicker/better but am not confident this will fix the issue.
    Thanks in advance

    Maybe the held-period and quite-period parameters would help.  I would not change the TX period to anything shorter than 10 seconds.  Every cisco doc that I have ever seen has said this same recomendation and I can tell you from experience you will have devices at times that will authenticate via MAB when you dont want them to if you decrease lower than 10 seconds. 
    Read this doc for best pratices including the timers listed below.  
    I hope this link works.  http://d2zmdbbm9feqrf.cloudfront.net/2014/eur/pdf/BRKSEC-3698.pdf
    If not goto www.ciscolive365.com (signup if you havn't already) and search for
    "BRKSEC-3698 - Advanced ISE and Secure Access Deployment (2014 Milan) - 2 Hours"
    Change the dot1x hold, quiet, and ratelimit-period to 300. 
    held-period seconds
    Configures the time, in seconds for which a supplicant will stay in the HELD state (that is, the length of time it will wait before trying to send the credentials again after a failed attempt). The range is from 1 to 65535. The default is 60.
    quiet-period seconds
    Configures the time, in seconds, that the authenticator (server) remains quiet (in the HELD state)
    following a failed authentication exchange before trying to reauthenticate the client. For all platforms except the Cisco 7600 series Switch, the range is from 1 to 65535. The default is 120.
    ratelimit-period seconds
    Throttles the EAP-START packets that are sent from misbehaving client PCs (for example, PCs that send EAP-START packets that result in the wasting of switch processing power). The authenticator ignores EAPOL-Start packets from clients that have successfully authenticated For the rate-limit period duration. The range is from 1 to 65535. By default, rate limiting is disabled.

  • ALE configuration for Outbound Idoc - Help me

    Hi Experts,
    I am newbee in SAP and XI. I was trying to send MATMAS Idoc from R3 and i was running into some issues. So i would appreciate if someone can help me.
    I am using following link as reference. /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    I did all the steps mentioned in the above link ( Creating Logical Systems, Assigning Client and RFC destnations, Creating distribution models ..... etc)
    and then everything went well and i saw success messags in all the steps.
    I used BD10 to send material and it went well. But when i check TRFC queue, i see some error messages; "<i><b>No service for system SAPRDI, client 800 in Integrion Directory</b></i>"
    And all the messages are hanging in the TRFC queue.
    Note: I havent configured anything in XI yet. I wanted to make sure IDoc gets to XI client first.
    Thank you in advance. Pls help me its very urgent.
    Thanks,
    Surya

    I created RFC destination (SM59) and Port (IDX1)
    Then i sent another material (BD10)  and checked tRFC queue. i found bunch of error in the Queue.
    <b>1.connection to host 10.4.23.120, service sapgw00 timed out / CPI-C error C
    No service for system SAPRDI, client 800 in Integration Directory
    partner not reached (host 10.16.176.29, service sapgw00) / CPI-C error CM
    connection to host 10.16.136.127, service sapgw58 timed out / CPI-C error</b>
    Note: i have noticed entries for R3 in SLD as below
                      System Name:  <b>RDI </b>  ( not <b>SAPRDI</b> as mentioned in the error message)
                      System Home:  r3ides
    That might be reason. If so, how to change it in R3 box? Any suggestions?
    Please send me if you guys have any links or docs to address this issue.
    Thanks,
    Surya

  • JDBC for BW UDI - Help Needed

    Hi,
    I'm new to the J2EE side of things.
    I'm trying to setup a new feature in BW 3.5 which allows loading via JDBC drivers.
    We have a vanilla BW 3.5 system at SP9 across the board.
    I have successfully registed a SQLserver JDBC driver. However the BW install guide then tells me to create a "connector container" in the j2ee administrator. However this node has a red cross against it:
    sap.com/com.sap.ib.busdk.dac.connector.jdbc/null
    Also when I go to the JDBC test applet:
    http://gblonnw01:50500/TJdbc/servlet/TestJdbc
    I get the following error:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name webContainer/applications/sap.com/com.sap.ip.bi.sdk.dac.connector.checkjdbc/TJdbc/java:comp/env/SDK_JDBC, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "SDK_JDBC" does not exist. Possible reasons: the connector in which ConnectionFactory "SDK_JDBC" is defined is not deployed or not started.] at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:504) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:202) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271) at javax.naming.InitialContext.lookup(InitialContext.java:347) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.sap.ip.bi.sdk.trialarea.connector.servlet.TestJdbc630.service(TestJdbc630.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "SDK_JDBC" does not exist. Possible reasons: the connector in which ConnectionFactory "SDK_JDBC" is defined is not deployed or not started. at com.sap.engine.services.connector.ResourceObjectFactory.getObjectInstance(ResourceObjectFactory.java:210) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:280) at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:414) ... 22 more exception:Exception during lookup operation of object with name webContainer/applications/sap.com/com.sap.ip.bi.sdk.dac.connector.checkjdbc/TJdbc/java:comp/env/SDK_JDBC, cannot resolve object reference.
    Any ideas?
    Something to do with SDK_JDBC is obviously missing or not configured, but I don't know how to resolve it.
    Many thanks in advance for any help.
    Regards,
    Mike

    Hi,
    I have the same problem like Mike. The final test, decribed in the Installation-Guide, shows the listed error.
    Has anyone configured UDI on an Oracle-Database and HP-UX?
    I assume that the problem is related to the Communication-Settings in the Visual Admin.
    Do you have any Ideas?? Please come back to me.
    Regards,
    Benni

  • Need to add superscript for text field--HELP NEEDED.

    Hi Friends,
    Is there any way to implement superscript and subscript text in Crystal?  For example, I would like to superscript the portion (1) of the following string:
    "Buy(1) or Sell(1)"
    The only way I have found to do this is to put the "235" in a separate text field that uses a smaller font size, and overlay it into the gap that I intentionally left in the larger text field.  For display and printing purposes, this works OK, but if a report containing these strings is exported to Excel, the text fields are exported as separate cells, which makes the exported report look funny.
    I can create this string in Word, then cut and paste it into a text field in Crystal (which initially seems to work), but as soon as I click off the field, all the characters in it are converted to the same font size.
    If this can't be done in the current version of Crystal, are there any plans for it to be implemented in future versions?

    hello all,
    the text interpretation for html or rtf in fields will not render superscript or subscript. the basic rule is that whatever you can format directly in a crystal reports text object, that's what you can have interpreted.
    look up "text interpretation html" in kbase for a full list.
    one option is to turn html passthrough on the server in question if this is a huge deal for you...if you want instructions on how to turn html passthrough on, they are located in the webelements user guide at
    http://diamond.businessobjects.com/node/255
    after doing so, you'd drop the database field into a formula and any html in the database field would be interpreted.

  • Newbie--AppleScript for InDesign CS5 help needed

    How can I select a page number in a table (a text string as a Source) and have an AppleScript read that text string and convert it to an integer value?
    I have to put over 1,200 hyperlinks into a document that already has page numbers in tables. Each page number (Source) will be assigned a hyperlink to go to that page (Destination).
    The page numbers in tables are in the preface to my document, which is 44 pages in length.
    The actual pages in the main body of my document are numbered 1-432. Thus, the 45th page in the document is Page 1 to the person reading it, and the 476th page is Page 432.
    So if a table in my preface has a page number of 32, for instance, the actual page number I want as a Destination is 32 + 44, or page 76.
    If I manually double-click to select the text of a number "x" in a table as a Source, I want to write a script that when invoked will
    • read the text string I have selected
    • convert it to an integer value equal to the number in the text string
    • add 44 to that value
    • create a hyperlink that goes to the destination page number that corresponds to that value
    Thanks.

    Hi WheatWilliams,
    Something like this, then:
    tell application "Adobe InDesign CS5"
    set myTextObjects to {text, character, word, text style range, line, paragraph, text column, cell, table, row, column}
    if (count documents) is greater than 0 then
    set mySelection to selection
    if (count mySelection) is equal to 1 then
    tell document 1
    --Is the selection a text selection?
    if class of item 1 of mySelection is in myTextObjects then
    set myText to item 1 of mySelection
    try
    set myErrorString to "Selection already contains a hyperlink text source."
    --Create the hyperlink text source.
    set myHyperlinkTextSource to make hyperlink text source with properties {source text:myText}
    set myPageNumber to item 1 of mySelection as integer
    set myPageNumber to myPageNumber + 44
    set myErrorString to "Could not get page number."
    set myPage to page myPageNumber
    set myErrorString to "Could not create hyperlink page destination."
    --Create they hyperlink page destination.
    set myHyperlinkPageDestination to make hyperlink page destination with properties {destination page:myPage}
    set view percentage of myHyperlinkPageDestination to 100
    --Now use the source and the destination to create the hyperlink.
    set myErrorString to "Could not create hyperlink."
    set myHyperlink to make hyperlink with properties {source:myHyperlinkTextSource, destination:myHyperlinkPageDestination}
    set myErrorString to "Cound not format hyperlink."
    --Apply formatting to the hyperlink (could be done in the properties record, above).
    set visible of myHyperlink to true
    set border color of myHyperlink to blue
    set border style of myHyperlink to solid
    on error
    display dialog myErrorString
    end try
    end if
    end tell
    end if
    end if
    end tell
    Thanks,
    Ole

  • Video for browser window help needed

    Hi,
    I have an idea for a website where it starts with a short
    video that plays at what ever size the users window is at, then the
    clip stops to a stand still and the user interface then pops up or
    it may appear along with the video. . . but I'm a bit worried as
    I'm kinda new to flash and I have no idea how I can get a video to
    play to the full size of a browser window (not full screen) , I
    think I can do the interface popup bit at the end though. Here is
    an example of the sort thing I'm taking about
    http://www.uniqlo.jp/uniqlock/
    though their video goes on and on =] but it's roughly the same idea
    with an interface built on top of it. Vision skate website has the
    same thing too
    http://www.visionstreetwear.com/
    If any one has any ideas on how this can be done or maybe a
    tutorial link that would great thanks.

    The way that a flash file will display and stretch, or not,
    is defined in the HTML options tab of the Publish Settings window.
    You need to use both the Dimensions option and the Scale
    option.

  • Tweak for sql query - help needed for smalll change

    Hi.
    I am trying to run a script that checks for used space on all tablespaces and returns the results.
    So far so good:
    set lines 200 pages 2000
    col tablespace_name heading 'Tablespace' format a30 truncate
    col total_maxspace_mb heading 'MB|Max Size' format 9G999G999
    col total_allocspace_mb heading 'MB|Allocated' format 9G999G999
    col used_space_mb heading 'MB|Used' format 9G999G999D99
    col free_space_mb heading 'MB|Free Till Max' like used_space_mb
    col free_space_ext_mb heading 'MB|Free Till Ext' like used_space_mb
    col pct_used heading '%|Used' format 999D99
    col pct_free heading '%|Free' like pct_used
    break on report
    compute sum label 'Total Size:' of total_maxspace_mb total_allocspace_mb used_space_mb - free_space_mb (used_space_mb/total_maxspace_mb)*100 on report
    select
    alloc.tablespace_name,
    (alloc.total_allocspace_mb - free.free_space_mb) used_space_mb,
    free.free_space_mb free_space_ext_mb,
    ((alloc.total_allocspace_mb - free.free_space_mb)/alloc.total_maxspace_mb)*100 pct_used,
    ((free.free_space_mb+(alloc.total_maxspace_mb-alloc.total_allocspace_mb))/alloc.total_maxspace_mb)*100 pct_free
    FROM (SELECT tablespace_name,
    ROUND(SUM(CASE WHEN maxbytes = 0 THEN bytes ELSE maxbytes END)/1048576) total_maxspace_mb,
    ROUND(SUM(bytes)/1048576) total_allocspace_mb
    FROM dba_data_files
    WHERE file_id NOT IN (SELECT FILE# FROM v$recover_file)
    GROUP BY tablespace_name) alloc,
    (SELECT tablespace_name,
    SUM(bytes)/1048576 free_space_mb
    FROM dba_free_space
    WHERE file_id NOT IN (SELECT FILE# FROM v$recover_file)
    GROUP BY tablespace_name) free
    WHERE alloc.tablespace_name = free.tablespace_name (+)
    ORDER BY pct_used DESC
    The above returns something like this:
    MB MB % %
    Tablespace Used Free Till Ext Used Free
    APPS_TS_ARCHIVE 1,993.13 54.88 97.32 2.68
    APPS_TS_TX_IDX 14,756.13 1,086.88 91.37 8.63
    APPS_TS_TX_DATA 20,525.75 594.25 80.18 19.82
    APPS_TS_MEDIA 6,092.00 180.00 74.37 25.63
    APPS_TS_INTERFACE 13,177.63 366.38 71.49 28.51
    The above works fine, but I would like to further change the query so that only those tablespaces with free space less than 5% (or used space more than 95%) are returned.
    I have been working on this all morning and wanted to open it up to the masters!
    I have tried using WHERE pct_used > 95 but to no avail.
    Any advice would be appreciated.
    Many thanks.
    10.2.0.4
    Linux Red Hat 4.

    Thanks for that.
    What is confusing is that the below query works for every other (about 10 others) database but not this one (?)
    SQL> set lines 200 pages 2000
    SQL>
    SQL> col tablespace_name heading 'Tablespace' format a30 truncate
    SQL> col total_maxspace_mb heading 'MB|Max Size' format 9G999G999
    SQL> col total_allocspace_mb heading 'MB|Allocated' format 9G999G999
    SQL> col used_space_mb heading 'MB|Used' format 9G999G999D99
    SQL> col free_space_mb heading 'MB|Free Till Max' like used_space_mb
    SQL> col free_space_ext_mb heading 'MB|Free Till Ext' like used_space_mb
    SQL> col pct_used heading '%|Used' format 999D99
    SQL> col pct_free heading '%|Free' like pct_used
    SQL>
    SQL> break on report
    SQL> compute sum label 'Total Size:' of total_maxspace_mb total_allocspace_mb used_space_mb - free_space_mb (used_space_mb/total_maxspace_mb)*100 on report
    SQL>
    SQL> select /*+ALL_ROWS */
    2 alloc.tablespace_name,
    3 alloc.total_maxspace_mb,
    4 alloc.total_allocspace_mb,
    5 (alloc.total_allocspace_mb - free.free_space_mb) used_space_mb,
    6 free.free_space_mb+(alloc.total_maxspace_mb-alloc.total_allocspace_mb) free_space_mb,
    7 free.free_space_mb free_space_ext_mb,
    8 ((alloc.total_allocspace_mb - free.free_space_mb)/alloc.total_maxspace_mb)*100 pct_used,
    9 ((free.free_space_mb+(alloc.total_maxspace_mb-alloc.total_allocspace_mb))/alloc.total_maxspace_mb)*100 pct_free
    10 FROM (SELECT tablespace_name,
    11 ROUND(SUM(CASE WHEN maxbytes = 0 THEN bytes ELSE maxbytes END)/1048576) total_maxspace_mb,
    12 ROUND(SUM(bytes)/1048576) total_allocspace_mb
    13 FROM dba_data_files
    14 WHERE file_id NOT IN (SELECT FILE# FROM v$recover_file)
    15 GROUP BY tablespace_name) alloc,
    16 (SELECT tablespace_name,
    17 SUM(bytes)/1048576 free_space_mb
    18 FROM dba_free_space
    19 WHERE file_id NOT IN (SELECT FILE# FROM v$recover_file)
    20 GROUP BY tablespace_name) free
    21 WHERE alloc.tablespace_name = free.tablespace_name (+)
    22 ORDER BY pct_used DESC
    23 /
    ((alloc.total_allocspace_mb - free.free_space_mb)/alloc.total_maxspace_mb)*100 pct_used,
    ERROR at line 8:
    ORA-01476: divisor is equal to zero

  • Delivery Creation for an STO - Help needed!!

    I have a requirement to update an STO ( quantities etc) , subsequently create a Delivery for the changed STO .... Now , the processing is, of an Inbound IDoc by a Custom Function Module .... Initially I was creating the delivery with a BDC on VL10B ... it was working fine whenever we processed an IDoc template in WE19 or reprocess an IDoc using BD73... Now, whenever an actual IDoc is received from the external system , the VL10B transaction fails ( GUI exception is raised).... According to OSS note 310022 , VL10* transactions do not have GUI support .. the note also mentions that the solution to the problem is to call the background program RVV50R10C ....
    I used a SUBMIT within my function module to RVV50R10C supplying the necessary selection parametes ... but the problem still persists .... In ST22 .. the dump for the rfc user is appearing as:
    "The termination occurred in the ABAP program "CL_GUI_CUSTOM_CONTAINER=======CP"
    in "CONSTRUCTOR".
    The main program was "RVV50R10C ". "
    Please help !!! Top priority problem!!!

    Try using the function module BAPI_DELIVERYPROCESSING_EXEC instead:
    Ex:
    form bapi_create_deliveries tables gtab_data structure zre029_crea_del
                                using  gw_ebeln
                                gw_tcode.
      data: ptab_request type  bapideliciousrequest occurs 0 with header line,
            ptab_items   type table of bapideliciouscreateditems,
            ptab_return  type table of bapiret2,
            pwa_request  type bapideliciousrequest.
      data: pw_error_occured,
            pwa_return type bapiret2,
            pwa_data   type zre029_crea_del.
    *        gw_frgzu   TYPE ekko-frgzu.
      constants: begin of pw_msgty,
                   error      like syst-msgty value 'E',
                   abend      like syst-msgty value 'A',
                   warning    like syst-msgty value 'W',
                   info       like syst-msgty value 'I',
                   success    like syst-msgty value 'S',
                 end of pw_msgty.
      clear gtab_data.
      loop at gtab_data into gwa_data.
        ptab_request-document_type          = 'B'.
        ptab_request-delivery_date          = sy-datum.
        ptab_request-document_numb          = gw_ebeln.
        ptab_request-document_item          = gwa_data-ebelp.
        ptab_request-quantity_sales_uom     = gwa_data-menge.
        ptab_request-sales_unit             = gwa_data-meins.
        ptab_request-document_type_delivery = 'NL'.
        append ptab_request.
      endloop.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
        tables
          request      = ptab_request
          createditems = ptab_items
          return       = ptab_return.
    * check protocol
      loop at ptab_return into pwa_return.
        if pwa_return-type = pw_msgty-error or
           pwa_return-type = pw_msgty-abend.
          message id pwa_return-id type pwa_return-type
                                  number pwa_return-number.
          pw_error_occured = 'X'.
          message e001(vl) with 'Unable to create deliveries, errors with BAPI!!!'.
          exit.
        endif.
      endloop.
      if pw_error_occured is initial.
        call function 'BAPI_TRANSACTION_COMMIT'
          exporting
            wait = 'X'.
      endif.
    Leonardo De Araujo

  • Issue for self consumption - Help needed

    Hi,
    We need to urgently issue a finished material (produced by us) for building wall construction.
    MY excise dept says that i need to pay duty as well as i can claim Cenvat Credit as input material.
    So how to map this process in SAP.
    Regards
    all answers will be suitably rewarded.

    If the matter is only creating Excise Liability, It can be done through Excise JV, through T.Code: <b>J1IH</b>. You can use the Tab <b>Additional Duty</b> or <b>Other Adjustment</b>. Document Number is Text Field & ant text can be maintained in It. Fill all other relevant details. In next screen, you will be able to maintain the relevant Excise Duty with or without material. Ofcourse, no Invoice can be generated for the same.
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Table Names for CIN transactions -Help needed

    Hi,
    "Please teach us the table names which are updated with below transaction. Since it will be necessary for add-on development.
    1. J1IH
    2. J1IIN
    3. J1IJ
    4. J1IS
    5. J1IEX
    6. J1IG
    Please help me..
    Thanks
    KB

    With help of ABAPer, try using trace (ST05) and find the tables used in these t-codes.

  • Volunteer in Uganda struggling for iTunes update, help needed!

    I cannot connect my iphone 3GS to the macbook I have been issued with because the version of itunes on it is too old.  When I attempt to update it I get a message saying that the server cannot be verified, I select the option to continue anyway only to then by told that the server cannot be contacted.
    I am on a satelite uplink system in rural south western Uganda.  There is almost no music on this macbook but I have authorised this macbook and I want to sync with it.  Any advice?

    I think you are stuck for a bit Norman. iTunes 11.1.1 and is not working with my 3GS which can not be updated to iOS 7. You can not get iTunes 11.0.5 as a download from Apple, and it worked fine with the 3GS.
    You can use PhoneView from eccam or Senti to copy the music from the iPhone to your Mac, where you should be able to play then through iTunes then.
    Either is a lot smaller than an iTunes update, so should help with the satelite link.

Maybe you are looking for

  • Safari 4.0.3 PPC  = FREEZES when I click on iTunes Store Links!!!

    *EVERY TIME I click on iTunes Store Link in Safari 4.0.3 it FREEZES!* If I Disable Plug-ins, then NO PROBLEM, but then I can't watch Flash Videos on FaceBook etc. I've Re-Install Safari Several Times, and this problem went away Temporarily. I've Dele

  • Mail with Yosemite OS doesn't work fully with Hotmail IMAP

    First of all my question: How do I set up Mail properly in Yosemite OS so it works fully with Hotmail IMAP? My problem: I can receive and send mails through the hotmail IMAP account but I am not able to search inside mail content, mail headers or any

  • CK-200 poor music playback quality

    Hi, I've just installed the car kit CK-200 (ISO cable version) into my car and I'm very disappointed by the music playback quality. I have Nokia C7 with the latest firmware (14.002) and I have also updated the car kit firmware into 3.0. There's no pr

  • Java Stored Procedures and Oracle XE

    Hi folks, Does anyone know if Oracle XE supports Java Stored Procedures. Thanks in advance, Kris

  • Monthly Snapshot

    Hi experts, I'm working in the monthly snapshot scenario, following the instruction given in the related How-To from SAP. But I've one problem: When I load data from goods receipts or issues, all is ok, but when I load stacok types changes, the 0BASE