Permissions Error Dispite using a Signed Jar

I have developed a PC program that has a built in web server for talking with and relaying command to a device attached to the COM port. Now Right now I'm using JavaScript to talk with the programs web interface. Now this brought browser compatibility issues though, because commands could be relayed to the programs web interface from a cross domain. Dispite adding in the needed header output records to allow it. Only one browser had the ability to do this. So I created a extremely basic java applet that just opens the web pages on the programs web server and returns the output from the web server to a Javascript function on the parent document to be handled as needed.
Now while this worked great going from localhost to localhost. I then moaved the applet to another computer on the network and tired localhost again and got:
java.security.AccessControlException: access denied (java.net.SocketPermission localhost:988 connect,resolve).Well at first I thought "Oh I forgot to sign the jar." So i signed the jar file and it still kicked back the same error.
Now the only way i could get rid of the error was adding a policy entry, but that is not acceptable because of a number of reasons. So it could very well be something in my code. Though I'm not sure. As you can see below it is very simplistic.
public void CallTimeServ(String Target)
         URL                url;
         URLConnection      urlConn;
         DataInputStream    dis;
           try {
               url = new URL(Target);
               urlConn = url.openConnection();
              urlConn.setDoInput(true);
              urlConn.setUseCaches(false);
              dis = new DataInputStream(urlConn.getInputStream());
              String JSon;
              while ((JSon = dis.readLine()) != null)
                   ContentsRetrived(JSon);
              dis.close();
          } catch (MalformedURLException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
          } catch (IOException e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
     public void ContentsRetrived(String msg)
          try
               msg = msg.replace("'", "\'");
               getAppletContext().showDocument(new URL("javascript:ContentsRetrived('" + msg +"')"));
          catch (MalformedURLException me) { }
     public void init()
    }So any one have any ideal on how to to do this. With out requiring a policy file entry?

Phil - did you check out http://otn.oracle.com/products/forms/pdf/SigningJint13.pdf
regards
Grant Ronald
Forms Product Management

Similar Messages

  • Error with Java WebStart Signed Jars on 1.6.0_19's new Mixed  Code

    All,
    First, we have a valid code signing certificate/keystore from Thawte that works for signing webstart jars as of update 18. For some reason, if you run our webstart application on update 19 JRE, the runtime believes that some of the jars are not signed and some are. Even though we create and sign the jars in the exact same way and after inspecting the jar the JRE believes are not signed they have the necessary signing entries/files in the manifest folder. Not sure why the signing process would work for some of our jars and not for others. There is nothing really all that different.
    So, because the JRE believes some of the jars are not signed the new security warning "...contains both signed and unsigned code." pops up ( [Error Description|http://java.com/en/download/help/error_mixedcode.xml] ). If I press yes, then I get the following exception.
    java.lang.SecurityException: trusted loader attempted to load sandboxed resource from https://path-to-our.jar
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at main.JwsMain.main(JwsMain.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)If I press "no" I get the following exception (I get this exception if I try to run our WebStart application with no signed jars as well, no warnings about missing certs, just straight to error)
    java.lang.NullPointerException
         at com.sun.deploy.cache.CachedJarFile.findMatchingSignerIndices(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.entryNames(Unknown Source)
         at com.sun.deploy.cache.DeployCacheJarAccessImpl.entryNames(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler.assertTrust(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at main.JwsMain.main(JwsMain.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Does anyone know why this would be happening? It only occurs with the new update. We use the same keystore and process for signing all of our jars so it really doesn't make since why some of them work and some of them don't. Also, our JNLP is correct or it wouldn't work in update 18.
    Edit: We've tried it on Windows XP SP3 and compiled the code using update 18 and used jarsigner both from 18 and 19 with same results.
    Edited by: chenthor on Apr 1, 2010 8:44 AM
    Edited by: chenthor on Apr 1, 2010 8:51 AM

    Hi All,
    So we've been battling this bug for a year or so now, and I've come up with a solution to the webstart bugs
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6967414
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6805618
    (see the bugs for more details)
    From what we can tell the bug stems from the way that the jar signers information is "cached" by webstart.
    When a jar is loaded by webstart, it is represented by a CachedJarFile instance. When loading and using classes the signature for the jar is verified. The signers used is the one that is stored in the CachedJarFile instances. These "signers" are stored as SoftReferences. SoftReferences are like WeakReferences, except that they only become eligible for garbage collection when there is a small amount of available heaps space remaining and that the object is only softly reachable. (That's a pretty crude description, but it will do for now)
    So what we found was happening is that when the JVM reached a certain heap size threshold and needed to allocate more heap, that these soft references (and hence the signers information) werebeing garbage collected. if you attempt to load a class after this you get the security error.
    So I came up with a hack to work around this. At application startup, iterate through all of the CachedJarFile objects on the classpath and create a hard reference to each of the signers info by putting them in a static list somewhere. From our tests this seems to work. (though with the intermittent nature of the problem, it has been hard to prove conclusively, though we've had some success repro-ing the issue, by reducing the intial heap size and using VisualVM to watch for heap expansions and forcing gc's)
    Below is the code for the hack, to run it just call JarSignersHardLinker.go() and it will do some sanity checks (running on webstart on java 1.6 update 19 or higher) before spawning a new thread to create hard refs for all signers info for all jars on the classpath.
    import java.io.IOException;
    import java.lang.ref.SoftReference;
    import java.lang.reflect.Field;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.jar.JarFile;
    * A utility class for working around the java webstart jar signing/security bug
    * see http://bugs.sun.com/view_bug.do?bug_id=6967414 and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6805618
    * @author Scott Chan
    public class JarSignersHardLinker {
        private static final String JRE_1_6_0 = "1.6.0_";
         * the 1.6.0 update where this problem first occurred
        private static final int PROBLEM_JRE_UPDATE = 19;
        public static final List sm_hardRefs = new ArrayList();
        protected static void makeHardSignersRef(JarFile jar) throws java.io.IOException {
            System.out.println("Making hard refs for: " + jar );
            if(jar != null && jar.getClass().getName().equals("com.sun.deploy.cache.CachedJarFile")) {
                 //lets attempt to get at the each of the soft links.
                 //first neet to call the relevant no-arg method to ensure that the soft ref is populated
                 //then we access the private member, resolve the softlink and throw it in a static list.
                callNoArgMethod("getSigners", jar);
                makeHardLink("signersRef", jar);
                callNoArgMethod("getSignerMap", jar);
                makeHardLink("signerMapRef", jar);
    //            callNoArgMethod("getCodeSources", jar);
    //            makeHardLink("codeSourcesRef", jar);
                callNoArgMethod("getCodeSourceCache", jar);
                makeHardLink("codeSourceCacheRef", jar);
         * if the specified field for the given instance is a Softreference
         * That soft reference is resolved and the returned ref is stored in a static list,
         * making it a hard link that should never be garbage collected
         * @param fieldName
         * @param instance
        private static void makeHardLink(String fieldName, Object instance) {
            System.out.println("attempting hard ref to " + instance.getClass().getName() + "." + fieldName);
            try {
                Field signersRef = instance.getClass().getDeclaredField(fieldName);
                signersRef.setAccessible(true);
                Object o = signersRef.get(instance);
                if(o instanceof SoftReference) {
                    SoftReference r = (SoftReference) o;
                    Object o2 = r.get();
                    sm_hardRefs.add(o2);
                } else {
                    System.out.println("noooo!");
            } catch (NoSuchFieldException e) {
                e.printStackTrace();
                return;
            } catch (IllegalAccessException e) {
                e.printStackTrace();
         * Call the given no-arg method on the given instance
         * @param methodName
         * @param instance
        private static void callNoArgMethod(String methodName, Object instance) {
            System.out.println("calling noarg method hard ref to " + instance.getClass().getName() + "." + methodName + "()");
            try {
                Method m = instance.getClass().getDeclaredMethod(methodName);
                m.setAccessible(true);
                m.invoke(instance);
            } catch (SecurityException e1) {
                e1.printStackTrace();
            } catch (NoSuchMethodException e1) {
                e1.printStackTrace();
            } catch (IllegalArgumentException e) {
                e.printStackTrace();
            } catch (IllegalAccessException e) {
                e.printStackTrace();
            } catch (InvocationTargetException e) {
                e.printStackTrace();
         * is the preloader enabled. ie: will the preloader run in the current environment
         * @return
        public static boolean isHardLinkerEnabled() {
             boolean isHardLinkerDisabled = false;  //change this to use whatever mechanism you use to enable or disable the preloader
            return !isHardLinkerDisabled && isRunningOnJre1_6_0_19OrHigher() && isRunningOnWebstart();
         * is the application currently running on webstart
         * detect the presence of a JNLPclassloader
         * @return
        public static boolean isRunningOnWebstart() {
            ClassLoader cl = Thread.currentThread().getContextClassLoader();
            while(cl != null) {
                if(cl.getClass().getName().equals("com.sun.jnlp.JNLPClassLoader")) {
                    return true;
                cl = cl.getParent();
            return false;
         * Is the JRE 1.6.0_19 or higher?
         * @return
        public static boolean isRunningOnJre1_6_0_19OrHigher() {
            String javaVersion = System.getProperty("java.version");
            if(javaVersion.startsWith(JRE_1_6_0)) {
                //then lets figure out what update we are on
                String updateStr = javaVersion.substring(JRE_1_6_0.length());
                try {
                    return Integer.parseInt(updateStr) >= PROBLEM_JRE_UPDATE;
                } catch (NumberFormatException e) {
                    //then unable to determine updatedate level
                    return false;
            //all other cases
            return false;
          * get all the JarFile objects for all of the jars in the classpath
          * @return
         public static Set<JarFile> getAllJarsFilesInClassPath() {
              Set<JarFile> jars = new LinkedHashSet<JarFile> ();
             for (URL url : getAllJarUrls()) {
                 try {
                     jars.add(getJarFile(url));
                 } catch(IOException e) {
                      System.out.println("unable to retrieve jar at URL: " + url);
             return jars;
         * Returns set of URLS for the jars in the classpath.
         * URLS will have the protocol of jar eg: jar:http://HOST/PATH/JARNAME.jar!/META-INF/MANIFEST.MF
        static Set<URL> getAllJarUrls() {
            try {
                Set<URL> urls = new LinkedHashSet<URL>();
                Enumeration<URL> mfUrls = Thread.currentThread().getContextClassLoader().getResources("META-INF/MANIFEST.MF");
                while(mfUrls.hasMoreElements()) {
                    URL jarUrl = mfUrls.nextElement();
    //                System.out.println(jarUrl);
                    if(!jarUrl.getProtocol().equals("jar")) continue;
                    urls.add(jarUrl);
                return urls;
            } catch(IOException e) {
                throw new RuntimeException(e);
         * get the jarFile object for the given url
         * @param jarUrl
         * @return
         * @throws IOException
        public static JarFile getJarFile(URL jarUrl) throws IOException {
            URLConnection urlConnnection = jarUrl.openConnection();
            if(urlConnnection instanceof JarURLConnection) {
                // Using a JarURLConnection will load the JAR from the cache when using Webstart 1.6
                // In Webstart 1.5, the URL will point to the cached JAR on the local filesystem
                JarURLConnection jcon = (JarURLConnection) urlConnnection;
                return jcon.getJarFile();
            } else {
                throw new AssertionError("Expected JarURLConnection");
         * Spawn a new thread to run through each jar in the classpath and create a hardlink
         * to the jars softly referenced signers infomation.
        public static void go() {
            if(!isHardLinkerEnabled()) {
                return;
            System.out.println("Starting Resource Preloader Hardlinker");
            Thread t = new Thread(new Runnable() {
                public void run() {
                    try {
                        Set<JarFile> jars = getAllJarsFilesInClassPath();
                        for (JarFile jar : jars) {
                            makeHardSignersRef(jar);
                    } catch (Exception e) {
                        System.out.println("Problem preloading resources");
                        e.printStackTrace();
                    } catch (Error e) {
                         System.out.println("Error preloading resources");
                         e.printStackTrace();
            t.start();
    }

  • Error in using the apache jars with jsf-ibm jars

    Hi,
    I am doing an application which needs apache jars for implementing the custom component(calendar).The WEB-INF/lib folder contain the jsf-api,jsf-impl jars along with the myfaces and tomahawk jars.When i tried to run the server i am getting the following error
    [03/10/07 12:16:53:544 BST] 0000003a ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [03/10/07 12:16:53:841 BST] 0000003a WebApp E SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    **Could u suggest a solution for using the apache jars**

    Hi,
    I am using RAD 6.0. When i tried to redeploy and publish the project i am getting the given error. Provided that i have added apache jars and jsf jars to the WEB-INF/lib directory.
    [04/10/07 09:29:36:911 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:161 BST] 00000032 SystemOut O null, false, 0
    [04/10/07 09:29:38:177 BST] 00000032 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is enabled.
    [04/10/07 09:29:38:411 BST] 00000032 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:38:442 BST] 00000102 SystemOut O The tasks are: [com.ibm.ws.management.application.task.DeleteSIEntryTask, com.ibm.ws.management.application.task.DeleteAppConfigTask]
    [04/10/07 09:29:38:536 BST] 00000102 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:38:567 BST] 00000102 SystemOut O ADMA6021I: Removing the serverindex entry for TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01, and the return code is true
    [04/10/07 09:29:39:052 BST] 000000f1 SystemOut O /C:/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v6/properties/version.properties, false, 1174477509484
    [04/10/07 09:29:39:052 BST] 00000105 SystemOut O ================== W-GHO-043723Node01Cell
    [04/10/07 09:29:39:114 BST] 00000105 SystemOut O ADMA6010I: The tasks are [com.ibm.ws.webservices.deploy.WSDeployTask, com.ibm.websphere.migration.common.ApplicationInstallTask, com.ibm.websphere.migration.common.ApplicationInstallServlet12Task, com.ibm.ws.management.application.task.ValidateAppTask, com.ibm.ws.management.application.task.ConfigureTask, com.ibm.ws.management.application.task.InstalledOptionalPackageTask, com.ibm.ws.management.application.task.MetadataTask, com.ibm.ws.management.application.task.BackupAppTask, com.ibm.ws.management.application.task.ConfigArchiveTask, com.ibm.ws.management.application.task.DeltaDataTask, com.ibm.ws.appprofile.AppProfileInstallTask, com.ibm.ws.security.authorize.JaccServerTask]
    [04/10/07 09:29:39:255 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:302 BST] 00000105 SystemOut O App validation: 0
    [04/10/07 09:29:39:427 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml is saved.
    [04/10/07 09:29:39:473 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/deployment.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@2cbcb698 uri='deployment.xml'
    [04/10/07 09:29:39:489 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml is saved.
    [04/10/07 09:29:39:505 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/variables.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@6be17698 uri='variables.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml is saved.
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O saved res: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR/resources.xml=== com.ibm.ws.sm.workspace.migration.WSResourceImpl@77d23698 uri='resources.xml'
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6018I: The node-server relationship for this application is {cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01=[cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/servers/server1]}
    [04/10/07 09:29:39:567 BST] 00000105 SystemOut O ADMA6020I: The system is adding the serverindex entry for cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR for server server1 on node W-GHO-043723Node01
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/.modulemaps is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/.modulemaps
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\META-INF/application.xml is saved.
    [04/10/07 09:29:39:598 BST] 00000105 SystemOut O ADMA6016I: Add to workspace META-INF/application.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\META-INF/MANIFEST.MF is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/META-INF/MANIFEST.MF
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/faces-config.xml is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/faces-config.xml
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-bnd.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-bnd.xmi
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/ibm-web-ext.xmi is saved.
    [04/10/07 09:29:39:645 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/ibm-web-ext.xmi
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6017I: The document C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\deployments\TestProjectEAR\TestProject.war\WEB-INF/web.xml is saved.
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA6016I: Add to workspace TestProject.war/WEB-INF/web.xml
    [04/10/07 09:29:39:661 BST] 00000105 SystemOut O ADMA5037I: The system is starting to back up the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear
    [04/10/07 09:29:41:598 BST] 00000105 SystemOut O ADMA5038I: The system Completed the backup of the application at C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear\TestProjectEAR.ear
    [04/10/07 09:29:42:130 BST] 00000106 WorkSpaceMana A WKSP0023I: Workspace configuration consistency check is disabled.
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O xmlDoc: [#document: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O root element: [app-delta: null]
    [04/10/07 09:29:42:333 BST] 00000105 SystemOut O ****** delta file name: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6/profiles/default\wstemp\1156a225e01\workspace\cells\W-GHO-043723Node01Cell\applications\TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333
    [04/10/07 09:29:42:598 BST] 00000105 SystemOut O ADMA6011I: Deleting directory tree C:\DOCUME~1\i81322\LOCALS~1\Temp\app_1156a22616c
    [04/10/07 09:29:45:630 BST] 000000f1 ApplicationMg A WSVR0217I: Stopping application: TestProjectEAR
    [04/10/07 09:29:45:708 BST] 000000f1 ApplicationMg A WSVR0220I: Application stopped: TestProjectEAR
    [04/10/07 09:29:45:880 BST] 000000f1 SystemOut O ++++ Stopped : [WebSphere:platform=dynamicproxy,cell=W-GHO-043723Node01Cell,version=6.0.0.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=W-GHO-043723Node01,process=server1]
    [04/10/07 09:29:46:083 BST] 000000f1 SystemOut O ++++ Starting name=TestProjectEAR
    [04/10/07 09:29:46:145 BST] 000000f1 ApplicationMg A WSVR0200I: Starting application: TestProjectEAR
    [04/10/07 09:29:46:817 BST] 000000f1 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
    [04/10/07 09:29:46:833 BST] 000000f1 WebGroup A SRVE0169I: Loading Web Module: TestProject.
    [04/10/07 09:29:47:130 BST] 000000f1 WebApp E Extension processor failed to initialize in factory: com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory@5e0e36db
    [04/10/07 09:29:47:161 BST] 000000f1 jsf E com.ibm.ws.jsf.util.FacesConfigUtil parseJSFApplicationConfig Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    java.lang.NullPointerException
         at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:279)
         at com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:253)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:202)
         at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
         at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
         at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
         at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:83)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    [04/10/07 09:29:47:583 BST] 000000f1 WebApp E Can't parse configuration file:wsjar:file:/C:/i81322/ApacheTest/TestProject/WebContent/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
    [04/10/07 09:29:47:598 BST] 000000f1 WebApp W No Extension Processor found for handling JSPs
    [04/10/07 09:29:47:630 BST] 000000f1 VirtualHost I SRVE0250I: Web Module TestProject has been bound to default_host[*:9080,*:80,*:9443].
    [04/10/07 09:29:47:661 BST] 000000f1 ApplicationMg A WSVR0221I: Application started: TestProjectEAR
    [04/10/07 09:29:47:708 BST] 000000f1 FileRepositor A ADMR0009I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191486582333 is created.
    [04/10/07 09:29:47:770 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/META-INF/MANIFEST.MF is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/resources.xml is modified.
    [04/10/07 09:29:47:817 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/security.xml is modified.
    [04/10/07 09:29:47:833 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/TestProjectEAR.ear is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-bnd.xmi is modified.
    [04/10/07 09:29:47:864 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/deployment.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/faces-config.xml is modified.
    [04/10/07 09:29:47:880 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/application.xml is modified.
    [04/10/07 09:29:47:911 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/META-INF/.modulemaps is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/web.xml is modified.
    [04/10/07 09:29:47:927 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/TestProject.war/WEB-INF/ibm-web-ext.xmi is modified.
    [04/10/07 09:29:47:958 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/nodes/W-GHO-043723Node01/serverindex.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0010I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deployments/TestProjectEAR/variables.xml is modified.
    [04/10/07 09:29:47:973 BST] 000000f1 FileRepositor A ADMR0011I: Document cells/W-GHO-043723Node01Cell/applications/TestProjectEAR.ear/deltas/TestProjectEAR.ear/delta-1191411855841 is deleted.
    [04/10/07 09:29:47:130 BST] 000000f1 SystemErr R java.lang.LinkageError: LinkageError while defining class: org.apache.myfaces.webapp.StartupServletContextListener
    Could not be defined due to: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@3d37b6d4
    Local ClassPath: C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\classes;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-codec-1.3.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-collections-3.2.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-digester-1.8.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\commons-discovery-0.4.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-api.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jsf-ibm.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\jstl.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-api-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\myfaces-impl-1.2.0.jar;C:\i81322\ApacheTest\TestProject\WebContent\WEB-INF\lib\tomahawk-1.1.6.jar;C:\i81322\ApacheTest\TestProject\WebContent;
    Delegation Mode: PARENT_LAST
    [1] com.ibm.ws.classloader.ProtectionClassLoader@2b27f6d5
    [2] com.ibm.ws.bootstrap.ExtClassLoader@7ef236d6
    [3] sun.misc.Launcher$AppClassLoader@7ef876d6
    [4] sun.misc.Launcher$ExtClassLoader@7efc76d6
    ---Original exception---
    java.lang.UnsupportedClassVersionError: org/apache/myfaces/webapp/StartupServletContextListener (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.<init>(JSPExtensionProcessor.java:158)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory.createExtensionProcessor(JSPExtensionFactory.java:96)
         at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1068)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:363)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java(Compiled Code))
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java(Compiled Code))
         at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java(Inlined Compiled Code))
         at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled Code))
         at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java(Compiled Code))
         at com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.fullAppUpdate(StartDeploymentTask.java:92)
         at com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:81)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:631)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:408)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:330)
         at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:302)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:296)
         at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1653)
         at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1211)
         at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:482)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1730)
         at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1676)
         at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:455)
         at com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:107)
         at com.ibm.ws.management.application.RedeploymentManager.doCleanup(RedeploymentManager.java:243)
         at com.ibm.ws.management.application.RedeploymentManager.appEventReceived(RedeploymentManager.java:187)
         at com.ibm.ws.management.application.RedeploymentManager.handleNotification(RedeploymentManager.java:210)
         at com.ibm.ws.management.event.ListenerInfo$1.run(ListenerInfo.java:125)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2504)
         at com.ibm.ws.security.auth.distContextManagerImpl.runAsSpecified(distContextManagerImpl.java:2398)
         at com.ibm.ws.management.event.ListenerInfo.handleNotification(ListenerInfo.java:143)
         at com.ibm.ws.management.event.NotificationDispatcher$DispatchANotificationToAListener.run(NotificationDispatcher.java:346)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    --- end Original exception----
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:621)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.clas

  • SSL Cert used to sign Jars for distribution via WebStart

    Hi,
    I have an SSL cert (Comodo InstallSSL) for my website and wondered if I can use it to sign jars so, when distributed via webstart, the old "untrusted source" message doesn't get displayed. I've been doing a lot of reading but, to be honest, I can't really find my bearings! I have imported the cert into my keystore but get the message when I try to sign a jar:
    Certificate chain not found for: myalias  myalias must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.I have the following files in relation to my cert:
    xxx.cabundle (this can be imported into keytool easily)
    cert/xxx.crt (looks like a PGP file, cannot be imported (-import) into keytool)
    private/xxx.key
    My questions I suppose are:
    1. Can I use a cert issued for SSL to sign jars for webstart distribution?
    2. If yes to 1; what steps other than importing the cert alone (which generates the message above) do I need to do to achieve this?
    Any help would be appreciated!
    Rich

    Hi,
    yes, the pkcs12 certificate includes the private key, as opposed to pb7 which does not.
    Sent from Cisco Technical Support Android App

  • Getting an ntvdm error while using single sign-on

    HI!
    When I run GssExample from the tutorial, I get an ntvdm error in a requester, saying "Error while setting up environment for the application. Choose 'Close' to terminate the application.".
    Then I can klick on "Close" or "Ignore". Either way, it takes some seconds and then GssExample is working as expected. But this requester is of course annoying. I get it every time I start GssExample.
    This only happens with single sign-on (useTicketCache=true).
    Using JDK 1.4.0 on Windows 2000 SP2.
    Any ideas?
    Thanks!
    Regards,
    Thomas

    OK.. the error goes away when using jdk1.4.1 but still the system is unable to get the user credentials from the cache :-(

  • Deployment error when using several ejb-jar files

    Hello All,
    I am having problems with deployment of my J2EE application. My EAR file has several EJB-JARs, one for each entity bean. However I refer to the other EJBs in one EJB. Hence I included the <ejb-ref> element in the deployment descriptor of the entity bean. But I am getting the deployment error that "the bundle does not contain the bean name". I tried to change the <ejb-name> value (within the <ejb-ref> element) to the JNDI name of the EJB I am referring to, and also added the <ejb-link> tag specifying the location of the JAR file that has the EJB. None of the attempts worked.
    Can someone help me out on how I am supposed to go about when I have several ejb-jar files as opposed to a single one? I am deploying my app on Sun ONE AS 7.0.
    Thank you,
    PS: I am posting this message on several forum topics. Please disregard this message if you have seen/answered this message. Thanks.

    Hello,
    Thanks for the response. I have got both Local and Remote EJB References, but for the JAR (where the ejbc compiler stopped) that I have an error, it is the local reference.

  • Problems with signed jar, HTTPS and forms 10.1.2.3

    I have been facing a hard problem for some days concerning jar signed and HTTPS. The server can be accessed both internally, on our intranet, by a local ip address, and externally, on the internet. The first access doesn't require https,as hosts are under our domain. Externally, however, we use https. That's de logic:
    A local server , a proxy server (on our DMZ) and externals hosts (internet). The proxy server is responsible for getting the information on our local forms server, applying the https security and connection to the external reequests.
    Concerning my application, it uses some signed jars. All of them were signed by using 'sign_webutil.bat', located in java bin directory.
    When the access is made internally, everything works fine. The jar files are downloaded correctly on the user machine and the applets run well. On the other hand, when we the access is made on internet, we get many errors concerning the classes inside frwebutil:
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class with cookie "JSESSIONID=4D4A8E49A46D4134112177FBACABE7B4"
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    I don't know what to do.

    Hi, Michael!
    Thanks for your reply. I read the article you suggested and I signed ther many jar files I use with the same certificate, however the problem remais the same. Without HTTPS, all works fine. With HTTPS:
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/file/FileFunctions.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/file/FileFunctions.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/file/FileFunctions.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/file/FileFunctions.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/file/FileFunctions.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/file/FileFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/host/Host.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/host/Host.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/host/Host.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/host/Host.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/host/Host.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/host/Host.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/session/SessionFunctions.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/session/SessionFunctions.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/session/SessionFunctions.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/session/SessionFunctions.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/session/SessionFunctions.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/session/SessionFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/fileTransfer/FileTransfer.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/fileTransfer/FileTransfer.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/ole/OleFunctions.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/ole/OleFunctions.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/ole/OleFunctions.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/ole/OleFunctions.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/ole/OleFunctions.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/ole/OleFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/cApi/CApiFunctions.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/cApi/CApiFunctions.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Cache entry not found [url: https://200.253.113.26/lib/oracle/forms/webutil/browser/BrowserFunctions.class, version: null]
    network: Connecting https://200.253.113.26/lib/oracle/forms/webutil/browser/BrowserFunctions.class with proxy=DIRECT
    network: Cache entry not found [url: https://200.253.113.26/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class, version: null]
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:https://200.253.113.26/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 20 more
    network: Connecting https://200.253.113.26/forms/lservlet;jsessionid=08AA4CF07F761424418619C068213911 with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/lservlet;jsessionid=08AA4CF07F761424418619C068213911 with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    network: Connecting https://200.253.113.26/forms/lservlet;jsessionid=08AA4CF07F761424418619C068213911 with proxy=DIRECT
    network: Connecting https://200.253.113.26/forms/lservlet;jsessionid=08AA4CF07F761424418619C068213911 with cookie "JSESSIONID=08AA4CF07F761424418619C068213911"
    basic: Applet started

  • Signed Jars

    I have a web based project that includes numerous iamges. As a result of the images I must sign the jar files. However, to date I have been unsuccessful. I have reviewed the threads and deployment information and would appreciate a straightforward way to accomplish this with Net Beans (the signing function there has not worked for me as well). I would appreciate any assistance.

    If you can place the images inside your jar file and load them from there or place them on a server that hosts crossdomain.xml (*exactly* this file http://static.flickr.com/crossdomain.xml) in the root directory of it's domain, then you do not need to sign your jar file. If you cannot do either of these things and the images must be hosted on a different server than the one hosting your jars, then read on.
    Do not try to use the javafxpackager command line tool to sign jars as that does not currently work => this issue can be tracked here: http://javafx-jira.kenai.com/browse/RT-18246
    Signing documentation is here =>
    http://docs.oracle.com/javafx/2.0/deployment/packaging.htm#BABJGFBH
    http://docs.oracle.com/javafx/2.0/deployment/javafx_ant_task_reference001.htm#CIAFJGAB
    But you have already read all that.
    Signing requires the following steps.
    1. Generate a Certificate Signing Request (CSR).
    2. Submit the CSR to a Certificate Authority (CA).
    3. The CA will generate a code signing certificate for you.
    4. Package your application as a bunch of jar files.
    5. Sign the jar files using your code signing certificate.
    If you are just using a self signed certificate and you are already using NetBeans, then NetBeans can do all of this for you.
    Here are the steps I used to sign a JavaFX project consisting of multiple Jar files using NetBeans nightly build 201112120600
    1. Right click Project and choose Properties.
    2. Project Properties | Libraries | Compile |Add Library... and add your dependent jars.
    3. Project Properties | Packaging
    Check Compress JAR File
    Check Build JAR after Compiling
    Check Copy Dependent Libraries
    Do not check Binary Encode JavaFX CSS Files as that might be buggy.
    4. Project Properties | Deployment
    Check Request unrestricted access
    Signing Certificate: Edit...
    a) choose Self-signed by a generated key OR
    b) use your own keystore if you have a certificate from a trusted public CA.
    Download Mode for Libraries: Use the mix of eager and lazy appropriate for your app. Signing wise, it doesn't matter as all of the jars need to be signed anyway.
    5. Project Properties | Run
    Configuration | New... | Configuration Name => enter browser
    Application Class | Browse... choose your Application's main class.
    Check Use Preloader if you have one (the preloader jar will be signed). If you are having difficulties with basic signing, get that to work first before enabling the Preloader.
    Select Run | in Browser
    Set a Width and Height for the page.
    Leave Web Page empty until you get an empty web page with your app in it to work.
    Choose the Web Browser you want to launch the app in.
    Press OK.
    6. Select the browser config from the drop down combo and hit the run arrow.
    Netbeans will compile your app, package it, generate a self signed certificate, sign all of your application's jars and launch the application in a browser.
    A trick to getting all of the above to work more than one time, is to make sure that you close the browser tab after you have finished testing and before you try to run again, otherwise NetBeans seems to fail with weird errors because the distribution files get locked by the app running inside the browser under Windows.
    If you are still stuck, you can try opening this JavaFX project which uses self-signed jars in NetBeans 7.1 RC2 or later => http://willow-browser.googlecode.com/files/willow-src-prerelease-0.1-netbeans-project.zip

  • Signed app + signed jars help

    Hello
    Is there anywhere that definitively stated how to configure a jnlp to deploy an application that has to be signed and uses jars that are signed by a some other third party? This is routine for applete deployment, and I recognize how jws is an evolution of that engineering, however I am nonplused as to how to do it clearly. Thank you.

    Hello (to my self;is that allowed in public. dont they call that...)
    I found my answer here:
    http://java.sun.com/products/javawebstart/faq.html#72
    And I have a test app that uses three signed jars. I have created three extension elements right under the <jar href="myjar1.jar"/> to refer to the three jnlp for the separate signed jars.
    The problem is I am getting the wrong error. It is saying my syntax is wrong with on my myjar1.jnlp file with the included extension elements. If I remove the extension elements, it proceeds to load and eventually dies when it calls for classes in one of those jars. I am "sure" the syntax of the extension element is right or at least as indicated in the link above. Even if I remove all but one of the extension elements, assuming some type of dtd nesting, it still fails the same way as when all three (n) are in. Can someone please help on this? I have no more resources or clues. tia.

  • IE - signed cab vs. signed jar problems

    In IE on Windows when I sign an applet that is part of a package in a cab file it works like this; The first time the user hits the applet tag, IE downloads the cab and asks if you trust the applet. When the user clicks yes, it is installed to the downloaded program files system folder. The next time the user hits the applet tag the version in useslibraryversion param is compared to the installed cab and the applet is run without asking the user or attempting to download the cab, even if IE is restarted or the system rebooted.
    When I use my signed jar I get two undesired results, when IE is restarted the jar is downloaded again and the user is asked if they trust it again. Any way to make this work like the cab as far as not downloading the second time and not asking the user again?

    as far as not downloading the second time How about checking the server settings, (last-modified and expires??)
    and not asking the user again?Allways trust?

  • Three questions about signed jar file and applet

    I use three signed jar file. Each of them signed by different certificate. First of JARs contain applet class. When I start applet from html page I see message &#8220;This applet was signed by&#8230;&#8230; but Java cannot verify it&#8230; Do you trust&#8230;?&#8221;. All times I press &#8220;Yes I trust&#8221; and after this questions applet stop to work end exit. If I use only one certificate for signing of three JARs then applet continue to work after question. 1) What should I do to fix this bug? 2) Is it any method to check from applet that user press Trust button? Is it any method to emulate work of SecurityManager to check that Certificate object is trusted (I want do call some method check(Certificate) and if certificate is not trusted I want to see message with question: &#8220;Do you want to trust this certificate&#8221; and so on)?

    Hello Jarman,
    1. If I have a signed jar file, then as long as the
    certificate is recognised as trusted that applet can
    run as a fully trusted application on the client
    machine. So I should not have to add lines such as
    permission java.lang.RuntimePermission
    "readFileDescriptor", "read" ;
    permission java.lang.RuntimePermission
    "writeFileDescriptor", "write" ;
    to my java.policy file. true/false ?true
    2. If I am running a signed jar file in the Java
    plugin then I do not need to have a verisign or thawte
    certificate (however to allow my certificate to be
    accepted I do have to import it into the cacerts file
    on the client machine). True/false?true
    3. Following on from question 2, if I want to be able
    to run an applet on a client machine, without messing
    around with ANY files on those machines, I need a
    verisign or thawte certificate. True/false?true
    4. (And finally) Apart from a security exception
    saying that I need to add one of the lines like those
    of question 1, is there any way I can get other debug
    information as to why the signed jar file is not being
    recognised as signed?No. This could be a problem of importing your certifcate into the wrong place.
    The information on the following link is a little bit dated but it helped me to successfully install a testcertificate and sign an applet with it.
    http://www.suitable.com/Doc_CodeSigning.shtml

  • Need a signed JAR that lasts longer than a year

    We need to sign JARs but we can't use the standard Thawte or Verisign root CA. Both of them expire in a year. Since my company does not own the servers on which our application is installed, we can't revisit our customer's servers just because the signed JAR files have expired.
    When I look at the list of Root CAs that Web Start recognizes, I see some personal CAs and and server CAs.
    thawtepersonalfreemailca (Thawte Personal Freemail CA)
    thawtepersonalbasicca (Thawte Personal Basic)
    thawtepersonalpremiumca (Thawte Personal Premium CA)
    thawteserverca (Thawte Server CA)
    cybertrust (GTE CyberTrust Root)
    verisignserverca (Secure Server CA)
    thawtepremiumserverca (Thawte Premium Server CA)
    Has anyone had any success signing JAR files with these? I'm puzzled. I thought that a server certificate could only be used to run a secure (SSL) server. Can you sign JAR files with it?
    Likewise, can I use a 'personal' CA to sign a JAR? Are there any drawbacks in doing so?

    We need to sign JARs but we can't use the standard
    Thawte or Verisign root CA. Both of them expire in a
    year. Since my company does not own the servers on
    which our application is installed, we can't revisit
    our customer's servers just because the signed JAR
    files have expired.You have a misunderstanding here. The expiry date is related to the certificate only, not the jar file signed with it. I.e. you can only sign things with your certificate before the expiry date. After the expiry date, you will not be able to use that certificate anymore for signing. But everything you have signed, while the certificate was valid, will remain valid. Eventhough the certificate will expire, whatever is signed with it remains valid for eternity.
    When I look at the list of Root CAs that Web Start
    recognizes, I see some personal CAs and and server
    CAs.
    thawtepersonalfreemailca (Thawte Personal Freemail
    CA)
    thawtepersonalbasicca (Thawte Personal Basic)
    thawtepersonalpremiumca (Thawte Personal Premium CA)
    thawteserverca (Thawte Server CA)
    cybertrust (GTE CyberTrust Root)
    verisignserverca (Secure Server CA)
    thawtepremiumserverca (Thawte Premium Server CA)
    Has anyone had any success signing JAR files with
    these? I'm puzzled. I thought that a server
    certificate could only be used to run a secure (SSL)
    server. Can you sign JAR files with it?Yes, I have had success with the Thawte Personal Freemail Certificate. As the name suggests, it is free. What is not obvious from the name is that it can also be used to sign jar files. To obtain the certificate is free, however you will want to become a trusted member, which you can only become by being notarized. This will most likely cost you a bit (cost me ca. US$12). Then your certificate will be fully trusted. Here is a writeup on how to use your free Thawte certificate for jar signing: http://www.dallaway.com/acad/webstart/.
    Likewise, can I use a 'personal' CA to sign a JAR? Are
    there any drawbacks in doing so?See above.
    Good luck.
    - Daniel

  • Is a signed jar with another unsigned jar possible?

    Is it possible to use 1 signed jar with another unsigned jar with webstart. I read this wasn't possible with version 1.0, but what about higher versions? if so how to specify this?
    Thanks
    James
    Edited by: fatbatman on Mar 26, 2009 1:01 PM

    All jars within same jnlp must be signed with the same certificate, but you can use extensions to have many jnlp with different (or no) signature within the same application.
    Bye.

  • Signing jars using ant 1.7

    Hello,
    I want to sign jars using the ant 1.7. I am using the
    <signjar alias="E:\buildforcertify\filefolderupload.jar" keystore="myKeyStore.keystore" storepass="day" verbose="true"/>
    but it it doesnot work.
    Please help me in signing jars using ant. If u can provide an link, it would be of great help.
    TIA,
    Sarwa

    Yes It has to do with swing.
    I used the following command in ant.
    <target name="signjar" depends="cpappletjars">      
         <signjar jar="${dir.webapp}/fileupload/*.jar" alias="me" storepass="applet" keystore="${dir.webapp}/fileupload/myKeyStore"/>
         <delete file="${dir.webapp}/fileupload/myKeyStore"/>
    </target>
    It worked fine for windows but for linux it gives error as "unble to open file *.jar "
    Can u please let me know where I am gone wrong ?
    similar sort of problem seen at http://forum.java.sun.com/thread.jspa?threadID=5301675&messageID=10278840 But no solution.

  • Error when i try to sign .jar for webutil

    i have try to use signwebutil.bat in webutil 1.0.6 but i have the follow error_
    Generating a self signing certificate for key=webutil2...*
    Errore keytool: java.lang.Exception: Non è stata generata la coppia di chiavi, l'alias <webutil2> è già esistente*
    +.+
    There were warnings or errors while generating a self signing certificate. Please review them.*
    +.+
    Backing up d:\w\jacob.jar as d:\w\jacob.jar.old...*
    +1 file copiati.+
    Signing d:\w\jacob.jar using key=webutil2...*
    +.+
    There were warnings or errors while signing the jar. Please review them.*
    Generating a self signing certificate for key=webutil2...*
    Errore keytool: java.lang.Exception: Non è stata generata la coppia di chiavi, l'alias <webutil2> è già esistente*
    +.+
    There were warnings or errors while generating a self signing certificate. Please review them.*
    +.+
    Backing up d:\w\frmwebutil.jar as d:\w\frmwebutil.jar.old...*
    +1 file copiati.+
    Signing d:\w\frmwebutil.jar using key=webutil2...*
    +.+
    There were warnings or errors while signing the jar. Please review them.*

    Maybe you could try to change the values in your sign_webutil.bat file:
    REM Give your alias key here.
    REM
    SET JAR_KEY=webutil3
    REM
    REM Key Password for the given key to be used for signing.
    REM
    SET JAR_KEY_PASSWORD=webutil3
    REM
    REM Number of days before this certificate expires
    REM
    SET VALIDDAYS=360
    Francois

Maybe you are looking for

  • Urgent: regarding the increasing the performance of report

    Hi, I had a report which is displaying the correct data but i execute on PRD Server,it gets Request Time Out.So i want to increase the performance of it.Plzz help me out in doing this. REPORT  ZWIP_STOCK NO STANDARD PAGE HEADING LINE-SIZE 150. TABLES

  • Animated GIF problems

    I've recently implemented an extension of IconView to animate gifs correctly in editor panes. I am just haveing two problems with it that I can't figure out. Firstly, when an animated gif is added it animates fine. The next time the same gif is added

  • IMac overheating problem? This may help in some cases!

    My daughters iMac frequently suffered of a kernel panic after about 2 hours of use. Symptoms lead to suspect overheating of some component. How I fixed the economical way: http://www.tervis.fidisk.fi/saveimac.html

  • I have created a scheduling agreement for a material i want to cancel.

    i have created a scheduling agreement with a material i want to use the material in a contract with another vendor, is there any way i could use the material or i have to terminate the scheduling agreement and create the contract. in case of cancelin

  • How creat script file on oracle

    Hi all friends, I have a problem, I find the following script column today new_val dt @dstables.sql select to_char (sysdate, 'yyyymmdd') today form dual; host exp userid = stc/stcmon@monbill file =backup_&dt..dm log=backup_&dt..log parfile=tables.txt