URL class is not working in Java 1.4. However works in Java 1.3

I have a Java program which uses URL classes through FTP connection to open any files. It works fine in Java 1.3 version. However the same program fails with
java.io.FileNotFoundException: at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream
when using Java 1.4 version.
Here is the part of source code.
try
URL url ;
url = new URL("ftp://"); // I have not given the full connect string here.
URLConnection connection = url.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine) ;
in.close();
catch(Exception e)
System.out.println("Error occured " + e.getMessage());
Anyone has ideas about what is going wrong and how to correct that. I appreciate your reply.
Thanks

Here is the original code. I have not given the password and using as "anonymous". Again this code works fine in Java1.3. But not in Java1.4 . I appreciate your help .Is it something I have to set up in UNIX side. The exact error is
<p>
"Exception in thread "main" java.io.FileNotFoundException: oraom/temp.log
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
tion.java:333)
at java.net.URL.openStream(URL.java:913)
at temp.main(temp.java:17) "
<P>
import java.net.*;
<P>
import java.io.*;
<P>
import java.util.*;
<P>
public class temp
<P>
<P>
public static void main(String args[]) throws Exception
<P>
<P>
URL url = new URL("ftp://oraom:anonymous@oradev:/oraom/temp.log");
<P>
try
<P>
<P>               
URLConnection connection = url.openConnection();
<P>
connection.setDoInput(true);
<P>
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
<P>
     String inputLine;
<P>
     while ((inputLine = in.readLine()) != null)
<P>
     System.out.println(inputLine) ;
<P>
     in.close();
<P>
<P>
catch(Exception e)
<P>
<P>
throw e;
<P>
<P>                                                  
<P>
<P>
</P>

Similar Messages

  • URL class is not being garbage collected

    I have created two instances of the URL class to specify a file location for each image. I use com.symantec.itools.javax.swing.icons.ImageIcon class to display images specified by each URL instance as icons inside a button. The setImageLocation method(URL location) of the ImageIcon class sets the location to be displayed by this icon. The following is the code snippets used to create the ImageIcon instances:
    private URL greenIconURL;
    private URL redIconURL;
    com.symantec.itools.javax.swing.icons.ImageIcon green_icon = new com.symantec.itools.javax.swing.icons.ImageIcon();
    com.symantec.itools.javax.swing.icons.ImageIcon red_icon = new com.symantec.itools.javax.swing.icons.ImageIcon();
    try
    greenIconURL = new java.net.URL
    ("file:./images/greenline.gif");
    green_icon.setImageLocation(greenIconURL);
    catch (java.net.MalformedURLException error) { }
    try
    redIconURL = new java.net.URL
    ("file:./images/redline.gif");
    red_icon.setImageLocation(redIconURL);
    catch (java.net.MalformedURLException error) { }
    I am using JProbe 5.0.1 Memory to determine the loitering objects when I remove the button from the JInternalFrame. I am using Java 1.2.2_08 version. The JProbe Memory Leak Doctor indicates that each URL instance has a reference to an entry in a HashMap table. The reference graph from the root set has a reference to SoftCache to HashMap to HashMap$Entry. To make this URL instance eligible for garbage collection, JProbe Memory Leak Doctor indicates I must remove the entry from the HashMap. How do I get access to this HashMap to remove the entry? If this is a problem with the version of the JDK, please let me know. Thank you in advance for your assistance.

    <root>Statics
    -->sun.misc.SoftCache->java.util.HashMap->java.util.Has
    Map$Entry[]->java.util.HashMap$Entry->java.net.URL
    I do not an instance of HashMap in my class.
    Therefore, the HashMap is either created by URLclass
    or the
    com.symantec.itools.javax.swing.icons.ImageIcon
    class.SoftCache seems to have a normal HashMap inside
    it/* Hash table mapping keys to ValueCells */
    private Map hash;but if that is the HashMap in JProbe
    information then the URL would have to be a key in
    the map - otherwise there'd be another object in the
    chain of class SoftCache.ValueCell
    are you certain that the java.net.URL's in that
    hashmap are your ones?
    out of curiosity - are you certain that the URL's are
    the/a problem (are you getting an OutOfMemoryError?)
    asjfThe button that contains the URL's is the only one on the JInternalFrame. The JProbe Memory Debugger displays the java.net package name, the URL class name, the count (2), and the Count Change (+2). When I remove the button from the JInternalFrame, the aforementioned numbers on the Instance Summary remain the same. The snapshot of the Java Heap reveals that the two instances of the URL class are still there. The Memory Leak Doctor shows the reference graph from the root set:
    <root>Statics->SoftCache->HashMap->HashMap$Entry[]->HashMap$Entry->URL
    When I right click on the arrow between HashMap$Entry[] and HashMap$Entry to remove the reference, I receive the message: "Congratulations this object can be garbage collected..." It appears like private instance of Map in SoftCache is holding a strong reference.
    I am not getting an OutOfMemoryError exception.

  • String.format()   error (works in a class file , not in jsp)

    Hello all,
    I am using Java 5 and am trying to use the String.format() method in a jsp but am getting the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /ajax.jsp
    Generated servlet error:
    C:\Documents and Settings\gforte\.netbeans\5.0beta2\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\agi\org\apache\jsp\ajax_jsp.java:50: cannot find symbol
    symbol : method format(java.lang.String,java.util.Date,java.util.Date)
    location: class java.lang.String
    String dateString = String.format("%tb%td",date,date);
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    Apache Tomcat/5.5.9
    The code I am using is working fine in a class file but wont work in my jsp.
    <%@page import="java.util.*,java.lang.String"%>        
    Date date = new Date();
    String dateString = String.format("%tb%td",date,date);
    System.out.println(dateString);Any ideas?

    I get excactly the same problem.
    If compile the the JSP in Netbeans it works fine, however when Tomcat attempts to compile it into a servlet at runtime, I get the same error as described.
    This is the line in JSP that fails:
    <code>Some more text <%= String.format("%s","Bizarre") %> </code>However this one works OK:
    <code>Some more text <%= "Bizarre".substring(3) %> </code>Its almost as if Tomcat is compiling under JDK 1.4.2 or something but I don't have any other JDK or JRE installed; only 1.5.
    I suspect it may be a Tomcat setting that's causing a 1.4 code compliance.
    In Netbeans, if I go to the project properties -> Sources, at the bottom is the "Source Level" drop down list. If I change this to 1.4 and clean and build the whole project I get the same error when the jsp (or any class with this construct) is compiled by NetBeans.
    Note: I am using the Netbeans 5.0 and Tomcat and 5.5.9 co-bundle which I downloded from the Sun website.
    Can anyone help?
    Heres the splurge from the browser output:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 55 in the jsp file: /login.jsp
    Generated servlet error:
    C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\SuperStruts\org\apache\jsp\login_jsp.java:105: cannot find symbol
    symbol  : method format(java.lang.String,java.lang.String)
    location: class java.lang.String
          out.print( String.format("%s","Bizarre") );
                           ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    Note also that when I run this JSP page:
    <%@page import="java.util.*"%>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%
            Properties p = System.getProperties();
            Enumeration keys = p.keys();
            Object key;
            while (keys.hasMoreElements()) {
                key = keys.nextElement();
                out.println("key: " + key + " - " + p.getProperty((String)key) + "<br/>");
    %>     ... I get this browser output:
    key: java.runtime.name - Java(TM) 2 Runtime Environment, Standard Edition
    key: sun.boot.library.path - C:\Program Files\Java\jdk1.5.0_06\jre\bin
    key: java.vm.version - 1.5.0_06-b05
    key: shared.loader - ${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
    key: java.vm.vendor - Sun Microsystems Inc.
    key: java.vendor.url - http://java.sun.com/
    key: path.separator - ;
    key: tomcat.util.buf.StringCache.byte.enabled - true
    key: java.vm.name - Java HotSpot(TM) Client VM
    key: file.encoding.pkg - sun.io
    key: user.country - GB
    key: sun.os.patch.level - Service Pack 2
    key: java.vm.specification.name - Java Virtual Machine Specification
    key: user.dir - C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\bin
    key: java.runtime.version - 1.5.0_06-b05
    key: java.awt.graphicsenv - sun.awt.Win32GraphicsEnvironment
    key: java.endorsed.dirs -
    key: os.arch - x86
    key: java.io.tmpdir - C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base\temp
    key: line.separator -
    key: java.vm.specification.vendor - Sun Microsystems Inc.
    key: java.naming.factory.url.pkgs - org.apache.naming
    key: java.util.logging.manager - org.apache.juli.ClassLoaderLogManager
    key: user.variant -
    key: os.name - Windows XP
    key: sun.jnu.encoding - Cp1252
    key: java.library.path - C:\Program Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\CVSNT\
    key: java.specification.name - Java Platform API Specification
    key: java.class.version - 49.0
    key: sun.management.compiler - HotSpot Client Compiler
    key: os.version - 5.1
    key: user.home - C:\Documents and Settings\Peter
    key: catalina.useNaming - true
    key: user.timezone - Europe/London
    key: java.awt.printerjob - sun.awt.windows.WPrinterJob
    key: file.encoding - Cp1252
    key: java.specification.version - 1.5
    key: catalina.home - C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9
    key: java.class.path - C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\bin\bootstrap.jar
    key: user.name - Peter
    key: java.naming.factory.initial - org.apache.naming.java.javaURLContextFactory
    key: package.definition - sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
    key: java.vm.specification.version - 1.0
    key: java.home - C:\Program Files\Java\jdk1.5.0_06\jre
    key: sun.arch.data.model - 32
    key: user.language - en
    key: java.specification.vendor - Sun Microsystems Inc.
    key: awt.toolkit - sun.awt.windows.WToolkit
    key: java.vm.info - mixed mode
    key: java.version - 1.5.0_06
    key: java.ext.dirs - C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext
    key: sun.boot.class.path - C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes
    key: server.loader - ${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
    key: java.vendor - Sun Microsystems Inc.
    key: catalina.base - C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base
    key: file.separator - \
    key: java.vendor.url.bug - http://java.sun.com/cgi-bin/bugreport.cgi
    key: common.loader - ${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/lib/*.jar
    key: sun.io.unicode.encoding - UnicodeLittle
    key: sun.cpu.endian - little
    key: package.access - sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
    key: sun.desktop - windows
    key: sun.cpu.isalist - demonstrating (I think) that the correct JDK and JDK are in use by Tomcat.

  • SharedServices and Workspace URL's are not working in EPM System 11.1.2.2

    Hello,
    SharedServices and Workspace URL's are not working in EPM System 11.1.2.2
    I have installed EPM system V11.1.2.2 in single server environment (MS 2008 Server R2) with following components:
    * Foundation Services
    * HFM
    * FDM
    Have used embedded Weblogic server as application web server and Oracle HTTP server as web server. The installation was successful.
    While configuration,
    1) I selected the option to deploy web applications SharedServices and Workspace to a single managed server. The applications got successfully deployed to EPMServer0.
    2) Also, I selected to configure Oracle HTTP server as web server.
    Both these steps were successful.
    But SharedServices and Workspace URL's are not working. Getting 404 error.
    SharedServices : http://inmum01hyp05.internal.vodafone.com:19000/interop/index.jsp
    Workspace : http://inmum01hyp05.internal.vodafone.com:19000/workspace/
    When I checked Weblogic admin console, EPMServer0 is in SHUTDOWN state, tried to start it but it goes in ADMIN state instead of RUNNING.
    Checked EPMServer0 log at "D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\logs" and found the error given at the end of this message.
    Can anyone please suggest a solution for this.
    ####<Jun 6, 2013 11:43:20 AM IST> <Emergency> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499200246> <BEA-149259> <Server 'EPMServer0' in cluster 'EPMServer' is being brought up in administration state due to failed deployments.>
    ####<Jun 6, 2013 11:43:20 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499200902> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceHttps for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201090> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceJms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201090> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseService for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201106> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Jms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201121> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12 for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201121> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Https for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebLogicServer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201137> <BEA-000256> <Invoking weblogic.transaction.internal.StartupClass.main(null)>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201168> <BEA-149059> <Module dms.war of application DMS Application [Version=11.1.1.1.0] is transitioning from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
    ####<Jun 6, 2013 11:43:21 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201168> <BEA-149060> <Module dms.war of application DMS Application [Version=11.1.1.1.0] successfully transitioned from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
    ####<Jun 6, 2013 11:43:22 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499202402> <BEA-149059> <Module /inspection.wsil of application wsil-wls is transitioning from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
    ####<Jun 6, 2013 11:43:22 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499202402> <BEA-149060> <Module /inspection.wsil of application wsil-wls successfully transitioned from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
    ####<Jun 6, 2013 11:44:13 AM IST> <Info> <Diagnostics> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1370499253433> <BEA-320000> <The Diagnostics subsystem is initializing on Server EPMServer0.>
    Thanks in advance.
    Tej

    Hi John,
    today's update:
    * Uninstalled EPM system V11.1.2.2 completely and after rebooting the server installed EPM system V11.1.2.2 again.
    * During configuration, deployed SharedServices and Workspace to single managed server EPMServer0 on Weblogic server and configured to Oracle HTTP server as web server. Configuration seems successful.
    * Started EPM system.
    * checked Weblogic admin console - EPMServer0 goes into ADMIN state from STARTING.
    * Checked EPMServer0 logs at "D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\logs" and found the error given below:
    ####<Jun 7, 2013 2:12:14 PM IST> <Error> <Deployer> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594534718> <BEA-149205> <*Failed to initialize the application 'SHAREDSERVICES [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: epm-hss-libraries, exact-match: false]..*
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: epm-hss-libraries, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    ####<Jun 7, 2013 2:12:15 PM IST> <Warning> <J2EE> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594535124> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: epm-bpmui-libraries, referenced from: D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\tmp\servers\EPMServer0\tmp\_WL_user\WORKSPACE_11.1.2.0\riys07]. Make sure the referenced optional package has been deployed as a library.>
    ####<Jun 7, 2013 2:12:15 PM IST> <Error> <Deployer> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594535186> <BEA-149205> *<Failed to initialize the application 'WORKSPACE [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.applcore.model, exact-match: false], [Extension-Name: xerces, exact-match: false]..*
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.applcore.model, exact-match: false], [Extension-Name: xerces, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    Can you please suggest how to overcome this error of Weblogic?
    Thanks in advance,
    Tej

  • Class is not appearing in "Java Batch Job Class Search" when trying to add.

    Hi,
    I have oracle CC&B 2.3.1, with SDK 2.2.0.12. I am trying to create new java batch job class by copying an existing one and modifying it to be used with new Batch Control .
    Steps are as follows:
    1-Created file by copying the exiting file
    CreateLatePaymentChargesProcess.java ; and only changing the name of the class:
    public class CmCreateLatePaymentChargesProcess
    extends CmCreateLatePaymentChargesProcess_Gen
    File location :
    D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess.java
    D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess_Gen.java
    2-Run ApplyCm build successfully , which generated these files:
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess_Gen$1.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ThreadParameters.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ToDoProperties.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$JobParameters.class
    D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen.class
    All the above classes are part of CM.jar file
    ContextManagedObjects.xml ;  contains these information
    <com.splwg.shared.environ.ContextManagedObjectData>;
    <domainPackages/>
    <lookupFieldClasses class="tree-map">
    <no-comparator/>
    </lookupFieldClasses>
    <cobolAlgorithmInterfaceExtensions class="tree-map">
    <no-comparator/>
    </cobolAlgorithmInterfaceExtensions>
    </com.splwg.shared.environ.ContextManagedObjectData>;
    packageMetaInfo.xml was not created
    Still the class is not appearing in "Java Batch Job Class Search" when trying to add a new program name referencing this java class.
    I tried restarting the Tomcat application server, still not appearing.
    Where did I go wrong about it?
    Thanks
    Edited by: cc&amp;amp;amp;b-user on Jul 29, 2011 12:39 AM
    Edited by: ccb-user on Aug 2, 2011 9:28 PM
    Edited by: ccb-user on Aug 7, 2011 11:36 PM

    Hi,
    Did you copying the base file CreateLatePaymentChargesProcess.java?
    I also create a new batch job which copying the CreateLatePaymentChargesProcess batch code the only difference in getBills() method query and inner class CreateLatePaymentChargesProcessWorker extend CmCreateLatePaymentChargesProcessWorker_Gen, instead of CreateLatePaymentChargesProcessWorker_Gen.
    The batch is working fine in my end.
    Thanks,
    Atul Singh.

  • Open URL in default Browser java.awt.Desktop was working...

    I downloaded Net Beans 6.5 with JavaFX 1 and now java.awt.Desktop isn't even an option for the imports, is there an alternative method to open URLs from my application?

    No, you aren't wrong.
    It's, and I mean this with all due respect, idiotic.
    I found some code on the net that does the same thing:
    http://www.centerkey.com/java/browser/
    Just one class, very simple.
    But I really would like java.awt.Desktop to work, I want the system tray integration stuff.
    Questions about getting Java 1.6 compatibility (the reason why the import doesn't work) go unanswered. It seems there is some hard coded -target 1.5 in some part of the javafx compiler. I can't figure out how to change it.

  • "The java class is not found:" post clone

    Hi.
    I've just cloned an 11.5.10.2 environment from one AIX5.2 server running 9.2.0.7 to another server at the same AIX and RDBMS level.
    After running the clone steps, the application was automatically started and I was able to access it via Self Service, forms, run concurrent requests etc - in short, I had a working system.
    Now, however, when I try to stop or start the application using adstrtal.sh/adstpall.sh, I hit the following:
    "The java class is not found: oracle/apps/ad/autoconfig/ServiceControl
    Check logfile /data/testcomn/admin/log/TEST_ireaix2/05011011.log for details"
    On the command line, when I call the line the script is trying to execute:
    /usr/java14/bin/java -classpath "${CLASSPATH}:${JAVA_TOP}:${FND_TOP}/java/3rdparty/stdalone/xmlparserv2.zip" oracle.apps.ad.autoconfig.ServiceControl -e /oracle/testappl/admin/TEST_ireaix2.xml -u apps/<PASS> -m 2 -l yadda –debug
    I'm able to bypass this particular error and some of the application processes do start but not all of them and obviously I still have an underlying Java/environment issue.
    Any suggestions gratefully received.
    Rgds,
    Jes

    Check logfile /data/testcomn/admin/log/TEST_ireaix2/05011011.log for details"What does the log file say?

  • "The java class is not found:"  during cloning

    Hi.
    I've just cloned an 11.5.10.2 environment from one AIX5.2 server running 9.2.0.7 to another server at the same AIX and RDBMS level.
    After running the clone steps, the application was automatically started and I was able to access it via Self Service, forms, run concurrent requests etc - in short, I had a working system.
    Now, however, when I try to stop or start the application using adstrtal.sh/adstpall.sh, I hit the following:
    "The java class is not found: oracle/apps/ad/autoconfig/ServiceControl
    Check logfile /data/testcomn/admin/log/TEST_ireaix2/05011011.log for details"
    On the command line, when I call the line the script is trying to execute:
    /usr/java14/bin/java -classpath "${CLASSPATH}:${JAVA_TOP}:${FND_TOP}/java/3rdparty/stdalone/xmlparserv2.zip" oracle.apps.ad.autoconfig.ServiceControl -e /oracle/testappl/admin/TEST_ireaix2.xml -u apps/starl1ght -m 2 -l yadda –debug
    I'm able to bypass this particular error and some of the application processes do start but not all of them and obviously I still have an underlying Java/environment issue.
    Any suggestions gratefully received.
    Rgds,
    Jes

    May be you should try posting this on an appropriate forum to get a speedier response.
    Regards

  • The java class is not found:  oracle.apex.APEXExport

    Hi,
    when i run java oracle.apex.APEXExport
    i have the error
    The java class is not found: oracle.apex.APEXExport
    CLASSPATH=/opt/ora/admin/Apex_Backup/class/classes12.zip:/opt/ora/admin/Apex_Backup/APEXExport.class
    also
    CLASSPATH=/opt/ora/admin/Apex_Backup/class/classes12.zip
    causes the error
    Can somebody help he out of this?

    Hello,
    Take a look at my blog post on Backing Up Your Applications, available here -
    http://jes.blogs.shellprompt.net/2006/12/12/backing-up-your-applications/
    I run through all the steps you need to do to get it working.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Does Java load a class in caché ? New compiled class are not used .

    I run my application (using java.exe + 'my class').
    One 'Mybutton' launch a new class Frame based, with one button on it. I see this Frame and close it.Ok.
    Now a put a new button in this Frame ( I have 2 buttons then), I save it (and Eclipse compile it).
    If a do click on 'Mybutton' I see the old Frame (with one button) not the new Frame with 2 buttons.
    What happens ? Is there something like cache class loader? How to avoid this?
    My intention is to try to test the changes inmediatly, but in this situation I must to close Myapp and re-run it ?
    Some solution?
    Thamk you

    Java classes are loaded by an Object called a ClassLoader. Each classloader permanently caches all the classes it loads, and always uses an already loaded class in preference to loading a new one.
    When a program starts there's already a ClassLoader, the one that loaded your main class. It loads classes from the class path. It exists all the time the program is running.
    You can create your own classloaders in the program and if you load your changeable class through one then then you can get a new version by creating a new classloader.
    Typically you create an instance of URLClassLoader.
    However you need to know that classloaders "delegate" loadClass requests before loading the class themselves, which means that if the class you request is on the class path, your URLClassLoader will get the system class loader to load it and it won't work. You need a special directory (typically called a repsitory) for classes you wish to load multiple versions of.

  • I am using oracle Apps ERP in firefox wherein there is a Java Plugin , This is working fine in 3.5 version but as soon as i am upgrading to the latest version oracle is not working and firefox crashes. I can't upgrade even though i wish to

    We are using Oracle ERP in our company which is a web based ERP system. I am using firefox to work in ERP for convinieince pf working and using internet at the same time. This requires a plugin provided by oracle oajinit.exe to be installed in Plugins it is a JAVA plugin which opens the ERP Screens. This works fine in versions prior to 3.6 version of firefox. However, after upgrading to 3.6 version the forms do not open and firefox crashes. Due to this i am not able to upgrade to the latest version else i'll have to operate the ERP in internet explorer and using firefox for browsing which i do not want. The plugin used for the ERP is "* JInitiator 1.3.1.18 for Netscape Navigator (DLL Helper)"

    Firefox 3.6 needs the Java Second Generation Plugin which comes with newer versions than 1.6.0_03 - update Java, the latest version is 1.6.0_22

  • Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6". Where can I find it? Thanks for

    Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6“. Where can I find it? Thanks for your answer! Jana

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • Startup class is not working in oc4j

    hi
    I have a servlet .In init of that servlet I will create an instance of a startup class .
    In web.xml configuration I gave <load-on-startup></load-on-startup> .I created a war and an ear and deployed my application .The startup class is not called.
    But when I configured the servlet in the default-web-app the startup class is running.
    And furthur when I hot deploy my ear the startup class is running.
    But when I restart my application server the startup class is not invoked.
    can anybody help
    Regards
    Gajendran.G

    hi
    I had put auto-start=true in server.xml .then also it is not working.
    when I redeploy my ear,the startup class is invoked,but when i restart the
    server it does'nt
    gaj

  • Some Java applets do not work after silent installation, solved by toggling "Enable Java content in the browser" - Why?

    We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51.  Most are on 6 update 45.  We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
    For the past two weeks, we have been having trouble with our installation pre-pilot.  What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51.  The Java Control panel works.  We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
    We have tried the following things, none of which worked:
    Clear Internet Explorer browser cache and cookies.
    Clear the local Java cache.
    Reboot the computer.
    Reset Internet Explorer settings, including personal settings.
    The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer.  It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
    What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
    We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account.  First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass.  This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
    javaclean.ps1:
    #Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
    write-host "Searching for all installed Java versions" -ForegroundColor Yellow
    [array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
    if ($javas.count -gt 0)
        write-host "Java is already Installed" -ForegroundColor Yellow
        #Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
        [array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
        $processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
        $processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
        $processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
        $processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
        if ($processes.Count -gt 0)
            foreach ($myprocess in $processes)
                $myprocess.kill()
        #Loop through the installed Java products.
        foreach($java in $javas){
            write-host "Uninstalling "$java.name -ForegroundColor Yellow
            $java.Uninstall()
    After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
    install.vbs
    '* Script: Install JRE 7 routine
    '* Date:   3/14/14
    '* Author: [REDACTED]
    '* Rev:    1.0
    '* Notes: 
    '/// Common
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objWshShell = CreateObject("WScript.Shell")
    ' Get system architecture
    Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
    Dim objSys
    For Each objSys In colSys
        If objSys.AddressWidth = 64 Then bolIs64Bit = True
    Next
    ' Get operating system
    Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
    Dim objOS
    For Each objOS In colOS
        If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
            bolIsWin8 = True
            WScript.Echo "win8"
        End If
        If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
            bolIsWin81 = True
            WScript.Echo "win81"
        End    If
    Next
    ' Set 32 bit program files directory
    If bolIs64Bit = True Then
        strPFILES = "Program Files (x86)"
        strSYSDIR = "SysWOW64"
        Else strPFILES = "Program Files"
        strSYSDIR = "System32"
    End If       
    ' Set windows directory
    strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
    ' Set the current directory
    strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
    ' Set computer name
    strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
    '/// Main script
        '/// Install via .msi & capture exit code
        'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
        '    "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
        'wscript.quit(intExitCode)
        '****RUN COMMANDS HERE****
        ' Create folder structure if it doesn't exist already   
        strFullPath = "c:\Windows\Sun\Java\Deployment" '
        ' How many levels are there in the path?
        nLevel = 0
        strParentPath = strFullPath
        Do Until strParentPath = ""
            strParentPath = objFSO.GetParentFolderName(strParentPath)
            nLevel = nLevel + 1
        Loop
        For iLevel = 1 To nLevel
            ' Figure out path for directory at level iLevel
            strParentPath = strFullPath
            For j = 1 To nLevel - iLevel
                strParentPath = objFSO.GetParentFolderName(strParentPath)
              Next
        ' Does this directory exist? If not, create it.
            If objFSO.FolderExists(strParentPath) = False Then
                Set newFolder = objFSO.CreateFolder(strParentPath)
            End If
        Next
        ' Kill running processes
        objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
        objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
        objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
        objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
        objWshShell.Run "taskkill /F /IM java.exe", 8, True
        objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
        objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
        ' Copy deployment files
        objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
        objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
        ' Disable UAC
    '    If bolIsWin8 Or bolIsWin81 = True Then
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
    '    End If
        ' Install application
        intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
        ' Enable UAC
    '    If bolIsWin8 Or bolIsWin81 = True Then
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
    '        objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
    '    End If   
        wscript.quit(intExitCode)
        '/// Install via .exe on network
        'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
        '    "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
        ' Need to turn off the open file security warning first
        Set objEnv = objWshShell.Environment("PROCESS")
        objEnv("SEE_MASK_NOZONECHECKS") = 1
    '    intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
    '        "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
    '    WScript.Quit(intExitCode)
        '****RUN COMMANDS HERE****
        ' Then turn it back on
        objEnv.Remove("SEE_MASK_NOZONECHECKS")
    '/// Additional functions
    Help on this issue would be much appreciated!

    It turns out that this is actually a problem with Kronos Workforce Central.  We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6.  After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
    We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
    Case closed!

  • Error in Installation--The Java class is not found: SDTGui

    I am in the process of instlaling SAP in AIX machine
    When i start the Startsapinst,  i am getting the following error .
    Pls hlep
    <b>The Java class is not found: SDTGui</b>

    I am using humming bird software
    i have set the display.
    Xclock is running
    Pls help

Maybe you are looking for

  • What are the infotypes required for maintaining benefits....

    Hi Please help ... What are the ingotypes required for maintaing benefits....

  • Session varaible in region heading or title

    I have a query result in a report page - it is details for a customer - and i want that customer name in the region heading ... I have a session variable called P300_CONTACT_NAME with the name, and I want to display that in my region heading or title

  • Can someone help with this stuppid Media Encoder?!

    I'm tired of reading hunderts of topics. Can someone please tell me why the Media Encoder is not encoding at all. I've tried everything, but my progressbar always shows loading 00:00:00. That is not normal. I'm sick of using expensive software, full

  • Reuse of mappings

    Is it possible to combine mappings? For example, suppose you have two tables in a parent child relationship and you create a one-to-many mapping between them. Suppose further, that you have another pair of tables that you map the same way. Obviously,

  • Server CAL License for SAP Server

    Hi Do we need Windows Server CAL for SAP Server, as we have Server 2008 R2 for our SAP Server. Please guide. Regards Ajay Goel