Trying to Access Website using SSL running JAVA from inside ORACLE DB

Hi,
I am trying to access website using SSL and running JAVA code from inside Oracle 10g DB server using SSL and Java. I have loaded my java code into Oracle data base. My problem is when I am running same code from outside the DB it is running perfectly fine but when the same code is loaded into DB and trying to run from DB under these environment I am using for running my code:-
JDK 1.4.2_06
JSSE 1.4
Database :- Oracke 10G
I am getting following Exception:-
CALL testssl_http_mar20_New();
java.io.IOException: Unable to tunnel through 123.456.789.123:80. Proxy returns "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.)
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
at
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect(DashoA12275)
at
com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(DashoA12275
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l(DashoA12275)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>(DashoA1
2275)
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>(DashoA
12275)
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a(DashoA12275
at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect(DashoA122
75)
at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
shoA12275)
at java.net.URL.openStream(URL.java:924)
at SecureURLhttp_Mar20_New.SecureURLhttp_Mar20_New(
source code is below :-
import java.io.*;
import java.net.*;
import java.security.*;
import java.util.*;
    public class SecureURLhttp
          public static void main(String[] args) throws Exception
              SecureURLhttp r = new SecureURLhttp();
              r.SecureURLhttp();
    public static void SecureURLhttp() throws IOException
            System.setProperty("java.protocol.handler.pkgs","oracle.aurora.rdbms.url|com.sun.net.ssl.internal.www.protocol");
            System.setProperty("https.proxySet","true");
            Authenticator.setDefault(new MyAuthenticator());
            System.setProperty("https.proxyHost","123.456.789.123");
            System.setProperty("https.proxyPort","80");
           //  URL verisign = new URL("https://login.oracle.com/");
            URL verisign = new URL("https://www.verisign.com");
            BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
            String inputLine;
            while ((inputLine = in.readLine()) != null)
            System.out.println(inputLine);
            in.close();
             /* Code Newly Add for checking the system property   */
            java.util.Properties props = System.getProperties();
            java.util.Enumeration propNames = props.propertyNames();
             while (propNames.hasMoreElements ())
             Object o=  propNames.nextElement();
             String name = (String ) o;
             String val =  props.getProperty(name)   ;
             System.out.println ( name +  "  = "  + val );
    private static class MyAuthenticator extends Authenticator {
          protected PasswordAuthentication getPasswordAuthentication() {
               return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
     }Please help me out:
Thanks a lot in advance.

0- the fact the ISA server logs an 'anonymous' seems logical, since it answers by HTTP 407. I will say it's even a "good log" :) but I had preferred a good old "security exception" but it's not the case..
1- The code for checking the properties (your debugging) should be placed BEFORE trying to connect to the url if you want to see what's happening
2- The 'normal' way to set the proxy is to set the following properties
System.setProperty("http.proxySet","true"); // and NOT https.proxyset as ejp said
System.setProperty("http.proxyHost","123.456.789.123");
System.setProperty("http.proxyPort","80");
3- what's the behavior if you change 123.456.789.123 by the real name (hostname) of the server ?
4- You can try setting up the proxy in the java control panel instead of in your code (easy to do under Windows, you look for the networking settings, and you find the proxy settings for http/https there. Otherwise look for all files called net.properties and edit them).
5- to help debbuging, we can rely on several methods of Authenticator :
protected PasswordAuthentication getPasswordAuthentication() {
System.err.println(".\tgetRequestingHost: " + getRequestingHost());
System.err.println("..\tgetRequestingSite: " + getRequestingSite());
System.err.println("...\tgetRequestingPort: " + getRequestingPort());
System.err.println("....\tgetRequestingProtocol: " + getRequestingProtocol());
System.err.println(".....\tgetRequestingPrompt: " + getRequestingPrompt());
System.err.println("......\tgetRequestingScheme: " + getRequestingScheme());
return new PasswordAuthentication("<USERNAME>",new String("<USER_PASSWORD>").toCharArray());
Try all this and let us see the output messages.
Please remember to give some 'duke stars' if it helped resolving the problem ;)
NephYliM

Similar Messages

  • HT5559 JAVA WITH CHROME!!! I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    I am trying to login to my bank account at nordea.dk. This website uses somekind of java thing. Chrome cant't load it. Works perfect with Safari. How to make it work in Chrome?

    Do you speak of true blue Java or Javascript?  If the latter then it is a problem with the Browser.
    But if it is the real Java, do you have the offical version of Java from Oracle installed?
    Getting applications to see official Java is a nightmare.  If you install the Runtime Environment only (JavaRTE) most applications do not see it.
    To force offical Java system wide, I found you have to install the Java Developer Kit (JavaJDK).  It's a larger install as it also comes with documentation and compilers but it make offical Java system wide.

  • Gettign this error when trying to access webpage using JRE V 1.4.2_06

    Gettign this error when trying to access webpage using JRE V 1.4.2_06
    Any suggestions?
    java.io.IOException
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    ... 21 more
    java.io.IOException
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    ... 21 more
    load: class com.adp.e.hrclient.Client.class not found.
    java.lang.ClassNotFoundException: com.adp.e.hrclient.Client.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)

    I got it, i only had to check the option 'Use SSL 2.0 compatible ClientHello format' from the java's control panel advanced tab.
    Metalink's note: 787739.1
    :)

  • Access BAPIs Using the SAP Java Resource Adapter

    Hi experts,
    Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

    hi Shweta,
    Please refer the step by step procedure:
    1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.
    2. Choose Project &#8594; New Project and enter a name for the new project.
    3. Click on the Deployer tab.
    4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.
    5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.
    6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.
    7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.
    8. Enter SAPJRADemo as application name and start the application.
    9. Close the deploy tool.
    10. Start the Visual Administrator again.
    11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.
    12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.
    13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.
    14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.

  • Window pops up stating"browser error" when trying to access documents using google doc's. Holding shift key and refresh does not clear window. What's next?

    Shut down and restarted computer, "browser error" still pops up when trying to access documents using Google doc's.
    Holding shift key and clicking refresh does not clear window.
    What else can be done to clear the window and gain access to my documents?

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • How do I access and use my Itunes library from a different/new computer?

    How do I access and use my Itunes library from a different/new computer?  My computer is no longer working, so I need to be able to access my library from my wife's computer.

    Your library will only be where you put it.  Copy everything from your backup copy of your old computer to the new one.
    You can redownload some itunes purchases in some countries:
    Download past purchases - Apple Support

  • I have tried to access my recently subscription to transfer from PDF in word documents

    I have tried to access my recently subscription to transfer from PDF in word documents  

    Did you sign in with your Adobe ID?
    Anyway, this is the wrong forum; try → http://forums.adobe.com/community/exportpdf

  • HT4759 i'm trying to access my new icloud email acct from my mac. I have OS X 10.6.8 and have just completed a software update. But still not seeing how to install my icloud email...?

    i'm trying to access my new icloud email acct from my mac. I have OS 10.6.8 and have just completed a software update. But still not seeing how to install my icloud acct...?

    You must upgrade your OSX to Lion (10.7) minimum, Mavericks (10.9) preferably.

  • Can we able to run java program inside  javascript

    Hi all
    can we able to run java program inside javascript or integrate java with javascript.....whether its possible...

    No. You can't execute Java code from within a JS script in Acrobat/Reader.

  • How to run import from Unix Oracle 8.0.5 database with Windows Oracle client?

    How to run import from Unix Oracle 8.0.5 database via network with Windows Oracle client? Is it possible? When I try to do it Oracle client just hangs... If not which ones are compatible Aix or Solaris to Unix or it must be a Unix client to connect to Unix Oracle database. Thank's for any help.

    Hi,
    In our project we are using this type. Since in this project server in UNIX(DEC) and client is running on windows. We have created a listener which always listen requests from client and doing the according to the request.
    Step1. create a request table, where u are inserting ur request.
    step2. create PRO*C proram, which is listening request on the table. If there is any request, call the imp (executable). This is happening on server side.
    Benifit. U can make a request from cleint and ftp the file client sit.
    Are u interested in more details and code, pls send a mail to me
    ---- Boby Jose Thekkanath
    [email protected]
    Dharma Computers(p) Ltd. Bangalore.
    null

  • CMC will not run HELP!!!! (Tried conifuring it to use SSL)

    Looking for Help. I was trying to configure Business Objects to run with SSL port 443. I configured the Web Application Container Server Settings to use 443. Reboot the server and now I cannot acces CMC through port 6405 or through SSL. My first goal now is to get the BO Server back up and running and I will worry about the SSL later. I did find the config.xml file and tried to change the settings back manually, but they keep getting overwritten each time the server starts back up.
    If anyone has a solution please let me know ASAP as I am in desperate need to get this server back up and running.
    Thanks.

    my mac is 24inch from early , Mac OS X Lion 10.7.5 9 (11g63b) . and yes fcpx has been working fine for months now but on my last project it started making me force quit everytime i try to use it now. i followed the steps with reseting the preferances but i didnt work. i also tried deleting the app and reinstalling , and disk permissions all failed. can u help me out?

  • How to run Java from Firefox Extension using liveconnect?!

    Hi, I'm trying to run a very simple java program from a Firefox extension I'm making but I've run into a brickwall and just can't get it to work. I'm a complete beginner in java and don't know much javascript so I've copied and pasted code from around the net to get where I am now. I'm sure I'm just making some stupid error at some step.
    In order to work out what I'm misunderstanding/doing wrong I'd be really grateful if someone could show me how to get it to work using a very basic example:
    Say I have a .java file taken from the sun pages:
    * The HelloWorldApp class implements an application that
    * simply displays "Hello World!" to the standard output.
    class HelloWorldApp {
        public static void main(String[] args) {
            System.out.println("Hello World!"); //Display the string.
    }So I stick it into a jar using:
    jar.exe cvfe HelloWorldApp.jar HelloWorldApp.class HelloWorldApp.class
    I then place it directly on my C: drive.
    In the javascript of my firefox extension I have code copied and pasted from https://developer.mozilla.org/en/Java_in_Firefox_Extensions:
    var urlClasz = java.lang.Class.forName("java.net.URL");
    var urlArray = java.lang.reflect.Array.newInstance(urlClasz,1);
    urlArray[0] = new java.net.URL('file:///C:/HelloWorldApp.jar');
    var cl = java.net.URLClassLoader.newInstance(urlArray);
    var aClass = java.lang.Class.forName("HelloWorldApp", true, cl);
    var aStaticMethod = aClass.getMethod("HelloWorldApp", []);
    var greeting = aStaticMethod.invoke(null, []);This seems to start java but then only gives me the error:
    "Error: uncaught exception: Error calling method on NPObject! [plugin exception: java.lang.ClassNotFoundException: HelloWorldApp]."
    I would be infinitely grateful if someone could show me the code I would use in this situation to run the HelloWorldApp. If I could get it working in this basic situation I'm sure I could work it out from there.
    Thank you very, very much!!

    By the way, I answered just because nobody did and I have some experience with using java from mozilla javascript.
    But I never played with Firefox extensions.
    No problem baftos, I understand you might not have all the answers but you've helped loads so far, so thanks a lot! I've found it very difficult to find good documentation on this for a beginner like me.
    Adding public did it (although I thought that I'd tried that, oops) so thanks again for that. I may have a couple of other questions just in case you happen to know the answer!
    I'd like to send some string arguments to the method I really want to run eg:
    public class HelloWorldApp {
    public static void sayHello(String[] args)
    {code}After googling .forName and .getMethod to see how to pass parameters I've added some code:
    {code:java}
    var strClass = java.lang.Class.forName("java.lang.String");
    var parameters = java.lang.reflect.Array.newInstance(strClass,2);
    parameters[0] ="My string argument";
    parameters[1] ="3"; // etc...
    var argHolder = java.lang.reflect.Array.newInstance(strClass,1);
    argHolder[0] = strClass;
    var aClass = java.lang.Class.forName("HelloWorldApp", true, cl);
    var aStaticMethod = aClass.getMethod("sayHello", argHolder);
    var greeting = aStaticMethod.invoke(null, parameters);
    {code}What I thought I was doing was creating a java array: argHolder and putting the string class/object thingy?! in it so that getMethod would look for a method called "sayHello" which took a string array as an argument... but apparently not!
    This brings me back to square one with a cannot find method with these arguments error:
    "Error: uncaught exception: Error calling method on NPObject! [plugin exception: java.lang.IllegalArgumentException: No method found matching name getMethod and arguments [java.lang.String, [Ljava.lang.String;]]."
    You don't happen to know how to do this as well do you?!
    Edited by: mzatanoskas on Feb 13, 2009 1:40 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while trying to access system information for AS Java

    Hi,
    I´m not sure if this is the correct forum so if I'm wrong please let me know to move it to the correct one.
    We are facing an extrange behavior when trying to access System Information in an AS Java, every time we try to access the link the following error shows up:
    Error - ID018236: Cannot instantiate bean. java.lang.ClassNotFoundException: com.sap.engine.monitor.infoapp.SystemInfo
    the complete error shows:
    Found in negative cache -
    Loader Info -
    ClassLoader name: sap.com/tc~monitoring~systeminfo Parent loader name: References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization library:tcjmx library:sapxmltoolkit library:tcSLUTIL Resources: /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/root/WEB-INF/classes /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/root/WEB-INF/lib/jstartupapi.jar /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/monitoring/root/WEB-INF/classes /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/monitoring/work /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoringsysteminfo/servlet_jsp/sap/monitoring/work /usr/sap/QBW/DVEBMGS03/j2ee/cluster/server0/apps/sap.com/tcmonitoring~systeminfo/servlet_jsp/sap/monitoring/root/WEB-INF/lib/jstartupimpl.jar Loading model: {parent,references,local} -
    Any idea about what is happening is appreciated.

    check with this links too
    http://hostname:port/sap/monitoring/SystemInfo
    http://hostname:port/monitoring/SystemInfo
    Implementing this note should solve your problem
    Note 1281251 - System information exception: Connection is invalid
    and also check
    Note 1233282 - Fixed URL of System Information application on Start page
    Thanks,
    Surendra

  • Attempting to use SSL over RMI from a web application to a RMI server

    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has the following
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

    I don't see anything that indicates SSL was directly a factor in the
    failure.
    From the exception stack it looks like a more basic connectivity issue,
    maybe the URL for the
    RMI server is incorrect for some reason or the server was down.
    It looks like you are doing something like this:
    SSL client -> WLS server with servletA, servletA RMI client
    (com.hyperion.css) -> RMI server
    The connection failure appears to be the connection from servletA RMI client
    to the RMI server.
    Is that a correct picture?
    Tony
    "Gaurav Khanna" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am attempting to use SSL over RMI to a server. The client is the web
    application that is hosted on WebLogic and that attempts to connect to the
    server. There is no client or server verification at either the client or
    the server end. The code works outside of WebLogic 7/8 but has thefollowing
    issues when running the web application inside weblogic:
    java.rmi.ConnectException: Connection refused to host: gkhanna1; nested
    exception is:
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
    actory.java:20)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
    actory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:79)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.initConnection(NTLMConne
    ctionClient.java:59)
    at
    com.hyperion.css.spi.impl.ntlm.NTLMConnectionClient.getUsers(NTLMConnectionC
    lient.java:197)
    at com.hyperion.css.CSSAPIImpl.getUsers(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at com.hyperion.css.CSSAPIImpl.initialize(Unknown Source)
    at jsp_servlet._jsp._app1.__app1signin._jspService(__app1signin.java:133)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1058)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :401)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :445)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :306)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5445)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:780)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3105)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    The code at the client that initiates the connection:
    socketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) socketFactory.createSocket(host, port);
    socket.setEnabledCipherSuites(CIPHERS);
    socket.setEnableSessionCreation(true);
    Any ideas?
    Thanks

  • Strange error while running java program in oracle

    Hi all,
    I have written a java program and saved it as .sqlj file. i have to run the program on sql prompt.
    while running the program i am getting the following error.Please help me.I am in urgent situation
    ORA-29536: badly formed source: User has attempted to load a class
    (tactossSecurity) into a restricted package. Permission can be granted using
    dbms_java.grant_permission(<user>, LoadClassInPackage...
    Thanks & Regards
    Raghavender Rao Kodumuri

    Raghavender,
    I also answered you in the SQL forum, where you posted the exact same question.
    Re: Trying to execute java programm in oracle getting the following error
    Good Luck,
    Avi.

Maybe you are looking for

  • Debugging in CS5 Flash Professional, is it possible?

    I'm trying to debug StrobeMediaPlayback.as using Flash Pf.  To simulate embeded flash vars I can add a couple of lines after configuration = injector.getInstance(PlayerConfiguration); (line 152)      configuration.src="myVideos.f4m";      configurati

  • Vendor Prepayment - Config settings

    Hi Friends, Could you please list , Vendor Prepayment config steps?? I am configuring it under MM-LIV - Incoming Invoice - Prepayment Regards, Jackie

  • How do you drawlines in java 1.3.1?

    I want to make a applet and drawlines with a xstart, ystart, xend, yend varibles, I know how to declare instantiate and initialize the varibles, but what method from which package and class in java 1.3.1 do I use? and one last question, should I use

  • WebLogic 5.1 + Cocoon

    Hi all, I am posting the steps involved in integrating Cocoon 1.7.4 with Weblogic 5.1 -- in the hope that it will be useful for some of the XML gang. I received some good help from Philip Aston, Jim Typrowitz, James Scott et al. from the Cocoon maili

  • Import or Move Keyboard Shortcuts Etc. to CS4?

    Is there a way to import or move my keyboard shortcuts from CS3 to CS4? What about layout settings etc.? Thanks