Java extend client outside coherence grid or Java client inside grid ?

Hello,
I'm quite new with Coherence and I'm wondering the best option to connect a JAVA client that will communicate with coherence cluster during few seconds.
Around 30 clients may connect at the same time.
Cluster stores around 4Gb of data.
I consider 2 options:
1) make the JAVA client as a member of the grid. Some partitions will be transfered to it.
2) have a proxy node in the grid and make JAVA client as an extend client.
What'd be the pros and cons of these 2 options ?, shoud I consider other options ?
Thank you for your advices, David

If your Java client is only going to live for a few seconds then make it an Extend client not a cluster member. Short lived processes should not be cluster members as the continualy join/leave cycle will destablise the rest of the cluster.
If your client was going to be long lived then you could make it a storage disabled cluster member.
JK

Similar Messages

  • Can I switch to another Coherence Grid in Java Extend?

    The scenario is I have two data grids, the name of the cache are same, but data in the cache is different. I programmed a Java Client (Extend) to the data grid, the Java client is using a configuration file configured to connect with one of the data grids, the connection is configured in remote-cache-scheme section. Every time When I want to connect my Java Client to another data grid, I have to stop the JVM of the client and modify the configuration file.
    My question is can I switch to another data grid from my Java client without shutting down the Java Client's JVM and modify the configuration file? I noticed that in the caching-scheme-mapping section of client configuration, we can use the name to decide which grid to call, but in my case, the caches in both data grids has same name.

    I use this sample code to connect to two or more proxy extend with the same cache name.
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.CacheFactoryBuilder;
    import com.tangosol.net.ConfigurableCacheFactory;
    import com.tangosol.net.NamedCache;
    public class TestMultipleProxyAccess {
    public static void main(String[] args) {
    ClassLoader cl = TestMultipleProxyAccess.class.getClassLoader();
    String cacheConfigA = "client-cache-config-a.xml";
    String cacheConfigB = "client-cache-config-b.xml";
    CacheFactoryBuilder builder = CacheFactory.getCacheFactoryBuilder();
    ConfigurableCacheFactory ccfA = builder.getConfigurableCacheFactory(cacheConfigA, cl);
    NamedCache ncA = ccfA.ensureCache("myCache", cl);
    ConfigurableCacheFactory ccfB = builder.getConfigurableCacheFactory(cacheConfigB, cl);
    NamedCache ncB = ccfB.ensureCache("myCache", cl);
    }

  • Java Application connectivity to Coherence cluster

    I am looking around the options for Java application connecting to Coherence cluster..
    These are the options I seem to have
    1. Coherence Extend -
    2. Make Java application as a cluster member with no storage
    what are the pros/cons?
    Thanks

    Hi,
    Here are my thought off the top of my head
    *1. Use Extend if...*
    <li> Your application is short lived - i.e. does not run for very long (minutes)
    <li> Your application is not located close (in network terms) to the rest of the cluster
    <li> Your client uses a different version of Coherence to the cluster (there are caveats around this)
    <li> The client application is being developed by another team and its release cycle is not under your control
    Pros:
    Good for short lived applications
    Good for remotely located clients
    Can be written in other languages than Java
    Cons:
    Extend will perform slower than a cluster member as every request goes via the proxy server and then to the rest of the cluster.
    If using an invocation service where you want to run invocables across the cluster it needs a two step process.
    A badly written Extend client can perform requests which could take out the proxy server
    *2. Use a cluster member if...*
    <li> Your application runs for a long time - i.e. it is something like a web or application server
    <li> Your application is well behaved - i.e. does not have big GC pauses. A very badly behaved cluster member can destabilize the rest of the cluster
    <li> Your application is located close (in network terms) to the rest of the cluster
    Pros:
    Faster than an Extend client
    Cons:
    Needs to be stable
    Needs to be located close to the rest of the cluster
    Hope that helps as a start
    JK

  • Can you run continuous queries via Java Extend

    I currently am access a Coherence cluster via a Java Extend proxy. All seems fine but I do not see any events coming back from a CQ. I do when using a simple cache listener though. Does Extend support CQ's or am I doing something stupid? The code is attached below.
    thanks
    Mark
    System.out.println("Running continuous query ...");
    System.out.println(queryStr);
    System.out.println(filter);
    MultiplexingMapListener listener = new MultiplexingMapListener() {
    public long evtNum = 0;
    public void onMapEvent(MapEvent evt) {
    System.out.println("Cache event [" + (++evtNum) + "]");
    if (displayResults) {
    System.out.println(" Details: " + evt);
    try {
    Thread.sleep(delay);
    } catch (InterruptedException ex) {
    Logger.getLogger(Main.class.getName()).log(Level.INFO, null, ex);
    ContinuousQueryCache cqc = new ContinuousQueryCache(cache, filter);
    Set results = cqc.entrySet();
    System.out.println("Initial results returned [" + results.size() + "] rows");
    if (displayResults) {
    for (Iterator it = results.iterator(); it.hasNext();) {
    Object object = it.next();
    System.out.println(object);
    System.out.println("Adding listener ...");
    cqc.addMapListener(listener);
    while(1==1) {
    try {
    System.out.println("CQ waiting ...");
    Thread.sleep(10000);
    } catch (InterruptedException ex) {
    }

    Mark,
    It appears somehow that you have an old version of MapEventFilter (from pre-3.5). In version 3.5, we changed from using evaluate() to evaluateEntry().
    Old:
    // evaluate the filter
    switch (nId)
        case MapEvent.ENTRY_INSERTED:
            return filter.evaluate(event.getNewValue());
        case MapEvent.ENTRY_UPDATED:
            // note that the old value evaluation is deferred, because
            // the event itself may be deferring loading the old value,
            // e.g. if the event is coming from a disk-backed cache
            boolean fNew = filter.evaluate(event.getNewValue()); // *** Line 178 !!!
            switch (nMask & (E_UPDATED_ENTERED | E_UPDATED_LEFT |
                             E_UPDATED | E_UPDATED_WITHIN))
                case E_UPDATED_ENTERED:
                    return fNew && !filter.evaluate(event.getOldValue());
                case E_UPDATED_LEFT:
                    return !fNew && filter.evaluate(event.getOldValue());
                case E_UPDATED_ENTERED | E_UPDATED_LEFT:
                    return fNew != filter.evaluate(event.getOldValue());
                case E_UPDATED_WITHIN:
                    return fNew && filter.evaluate(event.getOldValue());
                case E_UPDATED_WITHIN | E_UPDATED_ENTERED:
                    return fNew;
                case E_UPDATED_WITHIN | E_UPDATED_LEFT:
                    return filter.evaluate(event.getOldValue());
                default:
                    // all other combinations evaulate to the same as
                    // E_UPDATED
                    return fNew || filter.evaluate(event.getOldValue());
        case MapEvent.ENTRY_DELETED:
            return filter.evaluate(event.getOldValue());
        default:
            return false;
        }New:
    // evaluate the filter
    switch (nId)
        case MapEvent.ENTRY_INSERTED:
            return InvocableMapHelper.evaluateEntry(filter, event.getNewEntry());
        case MapEvent.ENTRY_UPDATED:
            // note that the old value evaluation is deferred, because
            // the event itself may be deferring loading the old value,
            // e.g. if the event is coming from a disk-backed cache
            boolean fNew = InvocableMapHelper.evaluateEntry(filter, event.getNewEntry());
            switch (nMask & (E_UPDATED_ENTERED | E_UPDATED_LEFT |
                             E_UPDATED | E_UPDATED_WITHIN))
                case E_UPDATED_ENTERED:
                    return fNew && !InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_LEFT:
                    return !fNew && InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_ENTERED | E_UPDATED_LEFT:
                    return fNew != InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_WITHIN:
                    return fNew && InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                case E_UPDATED_WITHIN | E_UPDATED_ENTERED:
                    return fNew;
                case E_UPDATED_WITHIN | E_UPDATED_LEFT:
                    return InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
                default:
                    // all other combinations evaluate to the same as
                    // E_UPDATED
                    return fNew || InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
        case MapEvent.ENTRY_DELETED:
            return InvocableMapHelper.evaluateEntry(filter, event.getOldEntry());
        default:
            return false;
        }It's theoretically possible that we have shipped the wrong version, so I'll check into that. In the meantime, please check and double-check your classpath and make sure that you do NOT have tangosol.jar anywhere! (Everything is now in Coherence.jar.)
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Executing an Oracle 9i Client Process from OAS 10g Java Application

    Sorry in advance for the long post:
    We have a piece of legacy software (Uniface.exe) that contains a good chunk of business rules for an existing system. Uniface client connects to an Oracle 10g database but requires Oracle 9i client libraries. Therefore the default Oracle home for a local machine running Uniface is set to the Oracle 9i client software location.
    On the same machine we have OAS 10g (10.1.3.1) running a Java-based middleware product (J2EE). The Java code invokes the Uniface.exe client to run specific business functions. We have in our Java code Runtime.getRuntime().exec(cmd); where cmd is the Uniface.exe.
    It appears that when the OAS Java program executes the Uniface.exe it is using the Oracle 10g client libraries from OAS instead of the Oracle 9i client libraries from the local machine's default Oracle home. When we run Uniface.exe from a Windows command prompt it works fine.
    We have noticed that when running Uniface.exe from Java OAS uses its own Windows path and environment variables and does not honor the system path. We wrote a Windows bat script to explicitly set the Oracle home and system path to the 9i location and then run Uniface.exe but this doesn't seem to work.
    Any ideas?

    OAS sets the ORA_NLS33 environment variable to the OAS 10g home location (F:\Oracle\10.1.3.1\OracleAS_1\ocommon\nls\admin\dat). Setting it to my Oracle 9i client location (C:\Oracle\product\9i\ocommon\nls\ADMIN\DATA) appears to have solved the problem.

  • Client Web Service in Eclipse/JAVA

    Hi All
    I am a beginner in Java.
    I am working on a web service project.
    Which is to be client/server. Thus being the Client in Eciplse environment and coding in JAVA. The Server is in VS.NET web service.
    The client sends a request to the server and the server responds.
    I have created a server based Web Service in VS.NET which is called LoanCalcService and the files that are present are LoanInfo.asmx and Service.vb.
    When i run the server in VS.NET it creates a Web Service document called a WSDL.
    I have parsed the WSDL document through Apache Server in Eclipse platform using the Web Service Client.
    But i understand that i must write about 4 or 5 lines of JAVA code to Call an Instance of the WSDL document to be able to run this in Eclipse to create the Loan Calculator that i have created in VS.NET. I am enquiring to see if anyone can point me in the right direction.
    PS. Sry about the quick entry earlier

    You are a novice to Java and yet you expect to start out writing services?
    Good luck with that*
    *Trademark, 2006- yawmark, All Rights Reserved.                                                                                                                                                                                                                                                                                                   

  • Setting the -client option on invocation of Java via JavaApplicationStub

    I'm in my info.plist. I've added VMOptions. I've tried
    <key>Java</key>
    <dict>
    <key>VMOptions</key>
    <array>
    <string>-client</string>
    </array>
    </dict>
    I've tried
    <key>Java</key>
    <dict>
    <key>VMOptions</key>
    <string>-Xclient</string>
    </dict>
    And yet when I run my app and look in System.getProperties() I see
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    When what I wanna see is
    java.vm.name=Java HotSpot(TM) Client VM
    I do see that when I invoke Java from the command line.
    I also have the 'open in 32-bit mode' checked. It doesn't seem to make a difference.
    What am I doing wrong?

    Yes, I have. I can't seem to get the JVM to take any VMOptions at all. I tried using the Jar Bundler too and got the same result. Here's my entire Info.plist... if there's anything obvious I'm missing, please let me know.
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleAllowMixedLocalizations</key>
    <string>true</string>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleExecutable</key>
    <string>JavaApplicationStub</string>
    <key>CFBundleIconFile</key>
    <string>GenericJavaApp.icns</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>boogiepants</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>100.0</string>
    <key>Java</key>
    <dict>
    <key>ClassPath</key>
    <string>$JAVAROOT/boogiepants.jar:$JAVAROOT/bluecove-2.1.0.jar</string>
    <key>JVMVersion</key>
    <string>1.5</string>
    <key>MainClass</key>
    <string>boogiepants.util.BoogiepantsBootstrap</string>
    <key>Properties</key>
    <dict>
    <key>-Xdock:name</key>
    <string>boogiepants</string>
    <key>apple.laf.useScreenMenuBar</key>
    <string>true</string>
    <key>bluecove.jsr82.psmminimumoff</key>
    <string>true</string>
    <key>java.library.path</key>
    <string>$JAVAROOT</string>
    </dict>
    <key>VMOptions</key>
    <string>-client</string>
    </dict>
    </dict>
    </plist>
    {code)

  • Can C++ Client use Coherence*Extend on AIX?

    Hi Experts,
    My application is a C++ client, I want to connect to Coherence Cluster using Coherence*Extend on AIX,
    I checked coherence document, I found that Coherence*Extend C++ support pure C++. But I couldn't
    find the download URL of Coherence*Extend C++ for AIX, So If C++ Client can use Coherence*Extend
    on AIX?If yes, how can I get the lib for Coherence*Extend C++ of AIX? Thanks.

    Supported environments are listed here:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22839/gs_install.htm#BABDCDFG
    That does not currently include AIX; the platforms supported largely reflect the platforms that customers requested over time, so speak with your Oracle account representative.
    In the meantime, I would suggest looking at the RESTful support in Coherence that will allow you to access the caches from AIX (over REST/HTTP) without an Extend client.
    Peace,
    Cameron Purdy | Oracle

  • WLS JMS supports the clients developed by using non-java program languages,such as,c++,VB...

              WLS JMS supports the clients developed by using non-java program languages,such
              as,c++,VB?
              

    The short answer is yes. This is a frequently asked question. I
              suggest searching this newsgroup in google using terms like "C++",
              "IIOP", ".NET", "JCOM".
              Note also that WL 8.1 (now out in beta) contains a thin java client
              (something like 0 or 300K without JMS, 700k with. The 0K client comes
              from leveraging WL's IIOP support.)
              Tom, BEA
              jerry8006 wrote:
              > WLS JMS supports the clients developed by using non-java program languages,such
              > as,c++,VB?
              

  • JCos (Java Connectors) from one GRC server to multiple clients on same DEV

    I have installed SAP GRC Access Controls RAR on a server.
    I have connected the RAR using JCo's to a client (800) on a DEV R/3 (4.7) box.  I have also performed analysis succesfully on the roles and users in this DEV client.
    I now have another development client on the DEV box (500) which I need to perform analysis for.  This client is HR specific.
    I know I can create a new JCo to connect to client 500.  But what will be the impact on my analysis results?  How will I distinguish between the results found from client 500 and those found from client 800?
    How would you suggest the best way of doing this?
    Many thanks in advance.

    You will need to create a second JCO to the second client as JCO's are client specific (username password combinations to log on etc etc)
    You distinguish the results in Risk ANalyses by choosing the JCO (system) when you create the reports eg: Client 500, Client 800 or ALL.
    It can be very confusing and you have to be careful otherwise you will interpret the results incorrectly.
    If your new client is HR specific make sure that you have the HR RTA installed as well and patch the HR and Non-HR RTAs up to the latest versions.

  • Problem Creating New Client in SAP NW2004s ABAP+JAVA LINUX

    Hi,
    I installed successfully NW2004s dual stack on linux vmware (SUSE10 enterprise server). This stack give me two client by default, 000 and 001. System gives me default user sap* and password: sapn4sadm
    I want to implement the process for BW enabling, and I want to create New Client for it. I have been used SCC4 to create a new client by logging on with the Client 000, but the problem start, when I log-on with the new client.
    Client: 002
    User: sap*
    Password: pass
    I have tried system default password of sap* , but that also dosen't help.
    It doesn't work, I also try RZ10 to change the value of login/no_automatic_user_sapstar = 0, but I don't find any profile , when I click on the profile field, i get the message "Profile not found". I am not figuring out where I am doing wrong.
    How can I success to create a new Client in which i could log on with sap* user. Please Help me
    All  yours help would be highly rewarded.
    Obaid.

    In order to edit profiles In RZ10, you must first import them.
    Menu: Utilities --> Import Profiles --> Of Active Servers
    After this you can add your parameter.
    One alternative is to edit the profile directly with vi, restart the system, do all client copy tasks, remove the parameter with vi, restart the system again and then import the active profiles.
    the profiles are located in directory
    /usr/sap/<SID>/SYS/profile
    and the filename is something like this
    <SID>_DVEBMGS<instancenr>_<hostname>

  • Connecting Coherence cache from C++ client

    hi,
    We are trying to connect c++ clients to coherence server running in java. do we need to make any specific changes ? we just tried to load the coherence-client.xml used for java clients in c++. but it doesnt seem to work.. we are getting below error
    Fatal Error coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {
    abchost/1.1.1.1:9015,
    }; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor

    Please check the below documentation. It has instructions to configure Client side and Cluster side
    Setting Up Coherence*Extend

  • Java web start unable to auto download java 1.6.0_14

    Hi,
    My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+
    If the client machine has a java version lesser than 1.6.0_14, Java web start is not automatically downloading the given version from sun auto download site.
    Isn' t this version supported by Sun for auto download? If yes, how to get around this problem?

    Thanks..
    We do have a web page from which we access the jnlp and that web page has javascript to force download of a specific version of JRE. Once it downloads the application on client machine, it creates an icon on the desktop.
    If the application and jnlp is changed on the server, we want clients to go through the icon on desktop and still get the version of jre mentioned in the updated jnlp rather than having them go through the web page again do download the new JRE required...

  • Some differences in Java settings giving me problems running a java program

    Hello,
    We have a Java app in our web-site. We haven't done that app our self and it has been working for quite some time.
    Now on my computer the java app loads just nicely.
    But for other users there java app crashes. So basically there has to be somekind of settings problem between.
    But we have checked the settings and I simply can't find the difference.
    The other users keep getting error that class not found.
    Debug print:
    security: Certificate has been verified with Internet Explorer ROOT certificates successfully
    security: Valid certificate from HTTPS server
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    network: Cache entry not found [url: https://site.xxx.com/EMS/classes/chart/Chart/class.class, version: null]
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart/class.class with proxy=DIRECT
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: load: class chart/Chart.class not found.
    load: class chart/Chart.class not found.
    java.lang.ClassNotFoundException: chart.Chart.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: chart.Chart.class
    Ignored exception: java.lang.ClassNotFoundException: chart.Chart.class
    So you guys have any idea what setting could be wrong between my and the other users machines.
    We have Windows Xp sp3 and Internet Explorer 8 in use.
    I actually made a clean Xp install the otherday. Installing latest java and no security settings added from domain. Also I put the site on trusted sites and allowed all in IE. And I still got that error in that new clean Xp install. On my personal computer the Java app still works just fine. Unlucky the one who has done the Java app is not able to help us.

    Hello,
    I downloaded the jar-file and opened it with Winzip. The class in question was in the jar-file.
    I also put logging on in my computer where the App is working.
    My debug print:
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/chart/Chart.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with proxy=DIRECT
    network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
    security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
    security: Loading Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loaded Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: ResponseCode for https://site.xxx.com/EMS/classes/chart/Chart.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/chart/Chart.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/chart/Chart.class
    network: Cache entry not found [url: https://site.xxx.com/EMS/classes/, version: null]
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/bar/Bar.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/bar/Bar.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/bar/Bar.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/bar/Bar.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/xaxial/XAxial.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/xaxial/XAxial.class
    network: Cache entry found [url: https://site.xxx.com/EMS/classes/serie/Serie.class, version: null] prevalidated=false/0
    network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with proxy=DIRECT
    network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
    network: ResponseCode for https://site.xxx.com/EMS/classes/serie/Serie.class : 304
    network: Encoding for https://site.xxx.com/EMS/classes/serie/Serie.class : null
    network: Disconnect connection to https://site.xxx.com/EMS/classes/serie/Serie.class
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 151766 us, pluginInit dt 14982493 us, TotalTime: 15134259 us
    basic: Applet initialized
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
    basic: Applet made visible
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet started
    basic: Told clients applet is started
    NullPointerException in interval part
    NullPointerException in interval label part
    Lot more security messages in this.

  • Java error when accessing website that require java

    I enocuntered the following msg in java console when accessing java enabled website.
    I have installed java. using mac os and netscape 7.02.
    Java(TM) Plug-in: Version 1.3.1
    Using JRE version 1.3.1 Java HotSpot(TM) Client VM
    User home directory = /Users/jasmine
    no proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class TrustFieldExtApp.class not found.
    java.lang.ClassNotFoundException: javax.net.ssl.SSLException: untrusted
    server cert chain
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
              at
    com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
              at
    com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.ssl.Handshaker.process_record([DashoPro-V1.2-
    120198])
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
              at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
              at
    com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-
    120198])
              at java.io.OutputStream.write(OutputStream.java:56)
              at
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([Dasho
    Pro-V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([Da
    shoPro-V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro
    -V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-
    V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([
    DashoPro-V1.2-120198])
              at
    com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputS
    tream([DashoPro-V1.2-120198])
              at
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:235)
              at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:214)
              at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:37)
              at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:133)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:130)
              at
    sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:2
    69)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
              at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
              at sun.applet.AppletPanel.createApplet(AppletPanel.java:581)
              at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1334)
              at sun.applet.AppletPanel.runLoader(AppletPanel.java:510)
              at sun.applet.AppletPanel.run(AppletPanel.java:288)
              at java.lang.Thread.run(Thread.java:491)

    Looks like an certificate class component is missing. Either due to faulty SSL connection, proxy (your side is set as "no proxy"), or more likely something is wrong in either class name or missing the library for it.

Maybe you are looking for