Issue porting WebLogic 8.1 SSL Socket code to WebLogic 9.2

I did not write this code, but am trying to port the code from Weblogic 8.1 to Weblogic 9.2. The code comes from a custom OpenLDAPAuthenticator, that uses a SSL Socket to connect to an LDAP server.
The following lines are used:
Socket socket = SSLSocketFactory.getDefaultJSSE().createSocket(host, port);
if (socket instanceof SSLSocket) {
  SSLContextWrapper sslcontextwrapper = SSLContextManager.getInstance().getDefaultSSLContext();
  sslcontextwrapper.forceHandshakeOnAcceptedSocket((SSLSocket) socket);
}Does anyone know what this forceHandshakeOnAcceptedSocket method does, and if there is way to write this in WebLogic 9.2?
Thanks

I did not write this code, but am trying to port the code from Weblogic 8.1 to Weblogic 9.2. The code comes from a custom OpenLDAPAuthenticator, that uses a SSL Socket to connect to an LDAP server.
The following lines are used:
Socket socket = SSLSocketFactory.getDefaultJSSE().createSocket(host, port);
if (socket instanceof SSLSocket) {
  SSLContextWrapper sslcontextwrapper = SSLContextManager.getInstance().getDefaultSSLContext();
  sslcontextwrapper.forceHandshakeOnAcceptedSocket((SSLSocket) socket);
}Does anyone know what this forceHandshakeOnAcceptedSocket method does, and if there is way to write this in WebLogic 9.2?
Thanks

Similar Messages

  • I receive an error in Firefox 4.0 Beta 11: Secure Connection Failed An error occurred during a connection. Renegotiation is not allowed on this SSL socket. (Error code: ssl_error_renegotiation_not_allowed) Anyone know how to fix this?

    I have installed the Firefox 4.0 Beta 11 (+updates), I try to connect to our https: website and I receive the following error:
    Secure Connection Failed An error occurred during a connection.
    Renegotiation is not allowed on this SSL socket.
    (Error code: ssl_error_renegotiation_not_allowed)
    I have installed this certificate on Firefox 3.6.13 and I am able to connect to our HTTPS site but it will not work with the Beta 4.0 11

    I read about this for ages. I had problems setting up a certificate for my online banking. This one solution genuinely worked for me (finally!) ...Fingers crossed it will for you too:
    1) In the address bar type in '''about:config''' ...Firefox will say it's dangerous, but I just went ahead anyway lol - It's fine. Thank god there's always an edit-undo!
    2) Copy and paste this into the ''filter'' at the top: '''security.ssl.allow_unrestricted_renego_everywhere'''
    3) Then change ''false'' to ''true'' (I think I just clicked it, and it changed)
    That's it! Refresh your bank page, and it should work!
    (Spanish source: '''http://translate.google.com/translate?sl=es&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.fedora-ve.org%2F2011%2F09%2F14%2Ferror-error-code-ssl_error_renegotiation_not_allowed-en-firefox-4-x.html&act=url''')

  • Problem with SSL socket(SSLSocketFactoryImpl.createSocket())

    Hello,
    I'm trying to create a ssl socket but I get an exception, I really don't know why. I have alredy include the certificate via keytool to my jdk. And I'm able to get html header with URLConnection with the code below
    import java.net.URL;
    import java.net.URLConnection;
    public class testClass {
         public static void main(String[] args) throws Exception {
              try{
                   URL url = new URL("https://ippbx1:8443/axl/");
                   String userPassword = "****" + ":" + "****";
                   String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
                   URLConnection c = url.openConnection();
                   c.setRequestProperty("Authorization", "Basic " + encoding);
                   for (int i=0; ; i++)
                        String name = c.getHeaderFieldKey(i);
                        String value = c.getHeaderField(i);
                        if (name == null && value == null)     // end of headers
                             break;        
                        if (name == null)     // first line of headers
                             System.out.println("Server HTTP version, Response code:");
                             System.out.println(value);
                             System.out.print("\n");
                        else
                             System.out.println(name + "=" + value);
              catch (Exception e) {}
    }and I get the following result :
    Server HTTP version, Response code:
    HTTP/1.1 200 OK
    Server=Apache-Coyote/1.1
    Pragma=No-cache
    Cache-Control=no-cache
    Expires=Thu, 01 Jan 1970 01:00:00 CET
    Set-Cookie=JSESSIONIDSSO=77670D5480DAD295C6519E812F9FED64; Path=/
    Set-Cookie=JSESSIONID=B71BDB730FA5B3B431D3B16C41E190E3; Path=/axl; Secure
    Content-Type=text/html;charset=ISO-8859-1
    Content-Length=233
    Date=Wed, 10 Jun 2009 15:17:10 GMTBut when I try to make a socket :
    import java.io.*;
    import java.net.*;
    import javax.net.SocketFactory;
    import javax.net.ssl.SSLSocketFactory;
    public class axlforward {
         public static void main(String[] args) {
    String address = "https://ippbx1:8443/axl/";        
              int portnum = 8443;
    try
                   SocketFactory socketFactory = SSLSocketFactory.getDefault();
                   Socket socket = socketFactory.createSocket(address, portnum);
    } catch (Exception e) {e.printStackTrace();} I get the following
    java.net.UnknownHostException: https://ippbx1/axl/
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:353)
         at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
         at axlforward.main(axlforward.java:89)I have a VB program that connects to the socket(with Inet1.Protocol = icHTTPS and Inet1.Execute strURL, "Post", strFormData, strFormHdr methods) and do what I want but I need to do it in Java but I'm not able to find the error.
    the server socket is a Cisco callManager Service(AXL Web Service) which receives and html+SOAP request and sends back an xml response and this server socket is running correctly with no problem.
    Thanks for your help.

    Jdevelopper8709 wrote:
    Thanks for your reply.
    I now can access to my socket and get the information I want with:
    SocketFactory socketFactory = SSLSocketFactory.getDefault();
                   socket = (SSLSocket) socketFactory.createSocket("ippbx1", 8443);In fact the problem was a username/password issue.
    Thanks.I quote from reply #1 "The address is just "ippbx1" and not "https://ippbx1:8443/axl/". The protocol is not part of the IP address.".

  • Ssl-sockets and classloading

    hi,
    i use rmi using ssl-sockets. the server rebinds to the
    rmiregistry -> it works fine but
    when i try to connect from client (browser ie) -> the needed classes (RMISSLCLientSocketFactory...)
    could not loaded
    whats the problem??
    mike

    hi,
    i use following code to test rmi with ssl-sockets:
    interface:
    import java.rmi.*;
    public interface StringTag extends java.rmi.Remote
              public String appendX(String s) throws RemoteException;
    server:
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    import java.rmi.registry.*;
    public class StringTagImpl extends UnicastRemoteObject implements StringTag
              public StringTagImpl() throws RemoteException
                        super(0, new RMISSLClientSocketFactory(), new RMISSLServerSocketFactory());
              public String appendX(String s) throws RemoteException
                        return (s + "xxx");
              public static void main(String[] arg)
                   System.setProperty("java.security.policy", "F:\\rmi\\security.policy");
                   System.setSecurityManager(new RMISecurityManager());
                   try{
                        Registry reg = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
                        StringTagImpl so = new StringTagImpl();
                        reg.rebind("StringTag", so);
                        System.out.println("StringTag bound in registry");
                   catch(Exception e){
                        System.out.println("StringTagImpl: \n" + e);
    applet:
    import java.awt.*;
    import java.rmi.*;
    public class StringTagApplet extends java.applet.Applet
    String tagged;
    public void init()
              try
                        String host = "127.0.0.1";
                        int port = 1099;
                        StringTag st = (StringTag)Naming.lookup("//" + host + ":" + port + "/" + "StringTag");
                        tagged = st.appendX("The String: ");
              catch(Exception e)
                        System.out.println(e);
                        e.printStackTrace();
    public void paint(Graphics g)
              g.drawString(tagged,25,30);
    clientsocket:
    import java.rmi.server.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.net.*;
    public class RMISSLClientSocketFactory implements RMIClientSocketFactory, Serializable{
         public Socket createSocket(String host, int port) throws IOException{
              SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
              return factory.createSocket(host, port);          
    serversocket:
    import java.rmi.server.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.net.*;
    public class RMISSLServerSocketFactory implements RMIServerSocketFactory, Serializable{
         public ServerSocket createServerSocket(int port) throws IOException{
              SSLServerSocketFactory factory = (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
              return factory.createServerSocket(port);
    the html-file:
    <HTML>
    <title>String appending</title>
    <center><h2>Append X and Y</h2></center>
    The result of appending to the Strings is:
    <p>
    <applet codebase="." code="StringTagApplet" width=500 height=120>
    </applet>
    </html>
    policy:
    grant
         permission java.security.AllPermission;
    all files are in the same folder.
    the class-file(RMISSLClientSocketFactory) could not loaded from client!
    when i make a new instance from RMISSLClientSocketFactory before line:
    StringTag st = (StringTag)Naming.lookup("//" + host + ":" + port + "/" + "StringTag");
    --> the client could not loaded class StringTag ...and so on
    i dont know why it not work!!
    i were very happy to solve this problem!!

  • Crash connection over Internet using TCP/IP SSL sockets

    I'm doing a file Transfer WEB Client/server Application using TCP/IP SSL Sockets?
    In an internal LAN the file Transfer work pretty well but in Internet this Crash (downturn the file transfer).
    the code in Client to connect to server is:
    SSLSocketFactory sslFact = (SSLSocketFactory)SSLSocketFactory.getDefault();
    socket = (SSLSocket)sslFact.createSocket(c.site, c.PORT);
    String [] enabledCipher = socket.getSupportedCipherSuites ();
    socket.setEnabledCipherSuites (enabledCipher);
    out = new ObjectOutputStream(socket.getOutputStream());
    in = new ObjectInputStream(socket.getInputStream());
    The code in Server to wait client connections is:
    Runtime.getRuntime().addShutdownHook(new ShutdownThread(this));
    try {
    SSLServerSocketFactory factory = (ServerSocketFactory) SSLServerSocketFactory.getDefault();
    SSLServerSocket sslIncoming =
    (SSLServerSocket) factory.createServerSocket (PORT);
    String [] enabledCipher = sslIncoming.getSupportedCipherSuites ();
    sslIncoming.setEnabledCipherSuites (enabledCipher);
    while(running) {
    SSLSocket s = (SSLSocket)sslIncoming.accept();
    newUser(s, pauseSyn);
    } catch (IOException e) { System.out.println("Error: " + e); }
    Some help with this topic, show me the ligth? what is bad?

    Hi,
    Can you show us the stacktrace?
    /Kaj

  • Applet(using SSL sockets) application in browser

    hello everyone,
    I am new to this forum, and this is my first forum in this site, please help me,
    My problem is,
    I have done an applet application which uses the SSL sockets, and it is working fine if i use the appletviewer tool, with the arguments of policy and URL, when i run this command "appletviewer -J-Djava.security.policy=mypolicy.policy URL of my html page" in the command mode its working fine.
    I have wrote HTML file for running the applet, and when i used it in the browser i was not able to get output , i was getting the error "NoTrustedCertificates found", i have setted the properties of truststore and password in the program itself like,
    System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"cert");
    System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
    and i also used the policy tool. I have stored my certificate along with the jar file, and i was getting this error
    can anyone please help me, or suggest me the right way to reach my target.
    Thanx in advance

    Hai,
    I have made my client applet running from the remote system, and the client was establishing SSL sockets, and there is a problem in Handshake, NO TRUSTED CERTIFICATE found was the error, and i had loaded the certificates ( one is used for signing the certificate, and the other is used for the SSL sockets authentication ) in my applet client code i have setted the system properties like
    System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"\\lib\\security\\cert");
    System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
    and this is the certificate which is used for SSL sockets authentication, and i stored the cert in the "jre\lib\security\" directory, and im using the jdk1.4.2_05 version.
    At the client side the error is
    Network Error: sun.security.validator.ValidatorException: No trusted certificate found.
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(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.SunJSSE_az.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
    at java.io.OutputStream.write(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: sun.security.validator.ValidatorException: No trusted certificate found
    at sun.security.validator.SimpleValidator.buildTrustedChain(Unknown Source)
    at sun.security.validator.SimpleValidator.engineValidate(Unknown Source)
    at sun.security.validator.Validator.validate(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
    At the server side the error is
    javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(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 com.ClientNeg.run(ClientNeg.java:76)
    at java.lang.Thread.run(Unknown Source)
    i was not able to understand what went wrong , so any one please help me in doing my work.
    Thanx
    dwurity

  • Help with SSL SOCKETS

    hi,
    i seem to have a problem with establishing an ssl socket between 2 machines. This problem has to do with certificates as the runtime error i get specifies.
    So i figured out there must be a concept that i'm misssing.
    So why do i have to place a certificate on my client? how can i generate it? where do i place it?
    Can anyone please provide me with a sample code that establishes an sslsocket connection.
    thnx a million

    A good place to start is:
    http://java.sun.com/j2se/1.4.1/docs/guide/rmi/socketfactory/SSLInfo.html
    There is a code example, but you will also need to follow the guide in the other link below to create the required key files.
    Don't base your knowledge of SSL RMI sockets solely on what I say here, as I'm fairly new to this so I may express myself wrong. But here is a 30,000 foot overview of what I did to get them to work:
    If you are using RSA on your SSL connection, a public and private key are required. For this to work, you must create a key (keystore) via Java's "keytool.exe" tool using the '-genkey' option (the keystore should eventually reside on your server). You will then create a certificate from that keystore using the '-export' option of the keytool. Lastly, you will import the certificate into your client's store of accepted certificates (the file java\lib\security\cacerts) via the '-import' option of keytool.
    For a full description, you need to read:
    http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
    the section from this page on using keytool:
    http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html#CreateKeystore
    The example shows using a new custom file for the truststore, but I imported the certificate into Java's cacerts file instead. I was unable to find the certificate if it was not in this file, but I very well may have been doing something wrong.

  • IBM JDK 6 32bit & 64bit Reflection Invoke issue on Weblogic 10.3

    We just found a issue on Weblogic 10.3 with IBM JDK 6 32bit, which calls different method during reflection invoke with that been processed under 64bit JDK, here is my source code:
    public class ButtonTag extends InputTag {
    private boolean checkNotNull = false;
    public void setCheckNotNull(Object checkNotNull) {
    public void setCheckNotNull(boolean checkNotNull) {
    this.checkNotNull = checkNotNull;
    this.setUserSetCheckNotNull(true);
    Under 64bit, reflection invoke will call setCheckNotNull(boolean checkNotNull), however under 32bit, it will call setCheckNotNull(Object checkNotNull), actually 32bit version is doing something wrong, we are not sure it is a issue of weblogic or IBM JDK, pls refer the information below for details, Thanks
    OS: AIX 5.3
    AIX@ /usr/java6/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
    J9VM - 20080816_022093_bHdSMr
    JIT - r9_20080721_1330ifx2
    GC - 20080724_AA)
    JCL - 20080808_02
    AIX@ /usr/java6_64/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap6460sr6-20090925_01(SR6))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr6-20090923_42924 (JIT enabled, AOT enabled)
    J9VM - 20090923_042924
    JIT - r9_20090902_1330ifx1
    GC - 20090817_AA)
    JCL - 20090924_01
    AIX server107 3 5 00CE9E7B4C00

    The problem was the name of the Seam EJB module. Changing the jar to jboss-seam.jar, everything worked. This issue does not appear on JBoss 4.2.3.GA, where I also tested.
    Edited by: deadlock_gr on Jun 10, 2010 9:55 AM
    Edited by: deadlock_gr on Jun 10, 2010 9:56 AM

  • SSL Sockets and Applets

    Overview: I need to make an Applet communicate with a server using an SSLSocket and I can't figure out how to include a truststore when running the applet in a web browser.
    Background:
    The applet communicates perfectly using regular non-secure sockets. I am now porting it to use secure sockets (SSLSocket, SSLServerSocket from JSSE).
    The applet communicates perfectly using secure sockets when run in appletviewer with the truststore file in the classpath. I have specified the appropriate truststore properties in the Applet as follows:
         System.setProperty("javax.net.ssl.trustStore", "truststore");
         System.setProperty("javax.net.ssl.trustStorePassword", "password");
    This works when run using appletviewer when the "truststore" file is in the classpath, and now I need to make it work in a web browser.
    Problem: How do I include the "truststore" file with an Applet?
    I have tried including it in the .jar file, which seems conceptually similar to including it in the classpath, which worked with appletviewer. However, including it with the .jar file doesn't work. The exception I get is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
    Any ideas on how I can include the truststore file or suggestions on another approach that will accomplish the same thing?
    Thanks a lot!
    -Jeff Dyck

    Hi,
    I'm in the same boat.
    Thought I had a solution. I'm running an applet that opens an SSL socket back to the web server it came from
    URL url = new URL("https://" + baseUrl);
    URLConnection connection = url.openConnection();
    connection.setDoOutput(true);
    connection.setDoInput(true);
    -then just open streams. Info related to this at
    http://java.sun.com/products/plugin/1.3/docs/https.html
    Essentially, I'm taking advantage of the SSL connection made during the initial web page/applet load ([SSL_RSA_WITH_RC4_128_MD5 is what my HTTPS server wanted )
    The down side is that GET/POST are the only actions supported (refer to the link).
    I'm looking for a solution that specifies HOW I ACCESS my local browser's security so I don't get
    j'avax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found'.
    Hope someone replies...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Creating a TSL/SSL socket connection to a server

    Hi
    Is it posible to create a TSL/SSL socket connection to a server with as3 - webapp, I foundSecureSocket but it seems like it is only for Air, and is not in the flex 4.5 sdk?
    Then NetConnection has it, but can you use it with a server that we have created our self? I think I read that if we use flashremoting, we can?
    We are using As3Crypto but there is a lot of overhead on using this, as it is not native code.

    bump

  • I own acrobat 9 pro and had to re-download the program from a computer issue but when i get the serial code from the adobe website it give me serial code invalid error.  i am using copy and paste to prevent miss typing the code.

    i own acrobat 9 pro and had to re-download the program from a computer issue but when i get the serial code from the adobe website it give me serial code invalid error.  i am using copy and paste to prevent miss typing the code.

    Hi Lawrence,
    Please try the steps mentioned in the KB: https://helpx.adobe.com/creative-suite/kb/error-invalid-serial-number-acrobat.html
    Regards,
    Rave

  • Issue in Weblogic Server - Server Stops abruptly

    Hi All,
    I am facing an issue with Weblogic server(8.1). One of the managed servers stops abruptly. Server run for some days. After 5 or 6 days it stops without giving any log message. Admin(mgt server) and this managed server are running in the same box(AIX Environment). Below is the only log I got. Any idea why it is happening?
    According to the BEA Message it may be due to network problem. Since both the servers are running in same box, i don't think it is network issue.
    Can anyone please help me on this? - thanks in advance
    Log Trace Message:
    ==================
    <AF[196]: Allocation Failure. need 528 bytes, 67173345 ms since last AF>
    <AF[196]: managing allocation failure, action=1 (0/1040390840) (32611304/33283912)>
    <GC(197): freeing class jsp_servlet._ofr._invoice._shipper._jsp.__exceptioninvoicelist(302453c8)>
    <GC(197): freeing class jsp_servlet._lcom._common._jsp.__page_navigation(3024ecc8)>
    <Dec 21, 2005 10:47:18 PM KST> <Warning> <Management> <BEA-141138> <Managed Server ofrserver is disconnected from the ad
    min server. This may be either due to a managed server getting temporarily partitioned or the managed server process exi
    ting.>
    <GC(197): freeing class jsp_servlet._ofr._filter._jsp.__filterdetails(30252718)>
    <GC(197): freeing class jsp_servlet._lcom._admin._jsp.__devtools(3040f898)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__devtoolslogin(3040f260)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__processdevtoolslogin(30411870)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__xmlcommmanagerimport(30413e58)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__processxmlcommmanagerimport(30414a88)>
    <GC(197): unloaded and freed 8 classes>
    <GC(197): GC cycle started Wed Dec 21 22:47:23 2005
    <GC(197): freed 721499624 bytes, 70% free (754110928/1073674752), in 263157 ms>
    <GC(197): mark: 248258 ms, sweep: 1857 ms, compact: 13042 ms>
    <GC(197): refs: soft 0 (age >= 32), weak 0, final 27363, phantom 0>
    <GC(197): moved 0 objects, 0 bytes, IC reason=14>
    <GC(197): stop threads time: 1356, start threads time: 19>
    <AF[196]: completed in 282883 ms>
    Thanks,
    Shanmuga perumal
    [email protected]

    I think you should be able to follow the same steps but whenever you come across Domain B in the instructions, just substitute the values for Domain A. Because it is the same domain you may not even have to go through some of the certificate steps. If you have questions I suggest you post them in the WLS Security forum.
    WebLogic Server - Security

  • Ports used by the child socket which was created by server_socket.accept()?

    When a server socket creates a child socket, on which port it(child) listens? When I tried to print getLocalPort(), it is always printing the port on which server was listening. When a server socket accepts a connection it creates a new socket, I think. It should listen on a port other than the server socket's port. Otherwise if all the child sockets and server listen at the same port my Multithreaded server should not work. Fortunately it is working.
    Can anyone of you please clarify this child-port-number?
    Seems that Sun people limited the length of the subject field. Is it?
    Seenu.

    when you create the socket on your clients you can specify which port the client will communicate from, otherwise it will be randomly generated by the machine:
    // CONSTRUCTOR TO USE
    Socket(InetAddress address, int port, InetAddress localAddr, int localPort)
    just to clear something up, why do you care what the client ports are unless you are CLOSING the connection first, re-opening, and sending data back. once the client connects the stream is open. the only port you need to free up for your firewall is the port the sever socket is listening on so the clients dont get rejected when trying to connect.
    i hope this helps.
    ~ranemaker

  • Setting cipher suites for ssl sockets

    Hi
    While setting cipher suites for ssl serversocket and socket, there may be lot of stream ciphers and block ciphers in the list. (also there may or may not be anonymous cipher suites).
    How does the ssl socket decide which cipher suite to use?
    Sorry for this newbie question.
    Thank you.

    Have you read the JSSE Reference Guide? It has a really good description of how the SSL handshake works. Part of the "Client Hello" step includes sending all the cipher-suites the client has enabled. The server picks the "best" of that set, that the server also supports, and sends it back as part of the "Server Hello". Both sides switch to that set.
    Now, what "best" means isn't defined. I'm not sure what criteria the server uses to determine that. Maybe someone else reading the thread can chime in.
    Grant

  • Issue with Weblogic services in Linux OBIEE 11G

    Hello All,
    I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
    Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
    But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
    OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
    Please any help on this will be appreciated.
    Thanks,
    Bhavnesh

    Hi Bhavnesh.
    Try this way and let me know  the outcome.
    nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
    Mark if helps,
    Thanks,

Maybe you are looking for

  • IPhone 5 doesn't want to turn on...out of ideas and solutions

    Last week I restored my iphone 5 and I also updated it, it worked normally but the only problem was that battery was dying pretty fast. After charging it I turned it off and after a day when I tried to turn it on again it just didn't want to do that.

  • My Apple ID has been disabled, how can I get it back?

    My apple account has been disabled, how do I get it back??

  • Problem installing external hard drive

    I'm trying to install a Acomdata external hard drive on my new Macbook (Mac OS X version 10.5.1). Despite following the directions and completing the installation accordingly, and after restarting the computer, when I click on the desktop icon, "Secu

  • Client to unzip tar.gz file on remote webserver

    I'm not sure if this is the right place to post my question - sorry. I was wondering if there is a mac client program to assist in unzipping a tar.gz file on a remote web server. I know that it can be done using putty, but was hoping that there might

  • Asset under construction-urgent

    Dear all, When I create a asset under construction, the following error is coming; Make an entry in all required fields Message no. 00055 Diagnosis You have attempted to update data or start an action. However, not all required information was specif