WDrawingSurfaceInfo not found in Java 1.4

Hi,
Code:
WCanvasPeer wcp = (WCanvasPeer) c.getPeer();
if (wcp == null)
return 0;
WDrawingSurfaceInfo wdsi =
(WDrawingSurfaceInfo) wcp.getDrawingSurfaceInfo();
This code is residing in a class(myWDrawingSurfaceInfo) which i have created & included in the package sun.awt.windows by using the command
"package sun.awt.windows" in the first line of the program.
If i use Java 1.3.1, then the code is compiling fine. But, when I use Java 1.4.1, I get the following error. "class WDrawingSurfaceInfo not found in class sun.awt.windows.myWDrawingSurfaceInfo"
Can anyone please help me point as to what is happening here.
Thanks in advance,
Rudra

Yeah, you shouldn't be using these classes.
All the classes that are not in the java.* or javax.* packages are subject to change at Sun's will. So don't count on them being there.

Similar Messages

  • Java 6 pakage names not found running Java 5

    I have a JSP trying to use a bean class compiled under Java 6, but running under Java 5. The problem is with the handling of the Java package name. The package is 'com.myCompanyname'. The class should go in 'WEB-INF/classes/com/myCompanyname'. But if I put it there and run the JSP on a Java 5 appserver, I get an error: 'jsp:useBean can't find class com.myCompanyname.myClass'.
    In other words, if I want to use a Java 6 feature not found in Java 5, all Java 5 or earlier users of my product will not be able to use the new version of my product. I can't force my customers to upgrade to Java 6 just for my application. Most of you know how hostile customers get when you tell them they have to upgrade their OS, AppServer, JRE, etc. to run a new version of your product.
    Any suggestions?

    All well and good, but I'll never be able to add any features to my product that require post-Java 5 classes.
    Now, I understand that it is sometimes unavoidable to become incompatible between releases. But only for just cause. I don't feel this is just cause. It strikes me as a rather willy-nilly decision to change how package names are handled this far into the Java development process. What could possibly be the advantage of making this change? In fact, I don't even know what change was made, the new release just broke my old classes.

  • Loading jperflib failed. jperflib (Not found in java.library.path)

    Please:
    We are working with SAP Netweaver EHP1 7.0, Red Hat Enterprise Linux 5, Oracle 10g,
    SAP Application Server JAVA/Oracle, Central System
    Java versión installed IBMJava2-amd64-142
    java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
    IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20100916a (JIT enabled)
    J9VM - 20100914_64612_LHdSMr
    JIT  - 20090210_1447ifx2_r8
    GC   - 200902_24)
    step 23 de 37: Configure UME:
    Message error:
    INFO 2010-11-19 20:04:41.532
    Output of /opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/
    CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.s
    ap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/tools/iaik_jce.ja
    r:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/global/security/l
    ib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/BJD/
    SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/ins
    tall/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/oracle/client/10x_
    64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/BatchConfig.xml i
    s written to the logfile batchconfig.log.
    WARNING 2010-11-19 20:04:43.908
    Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/NW
    701/AS-JAVA/ORA/CENTRAL/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.Offlin
    eToolStart com.sap.engine.configtool.batch.BatchConfig /usr/sap/BJD/SYS/global/security/lib/t
    ools/iaik_jce.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/BJD/SYS/g
    lobal/security/lib/tools/iaik_smime.jar:/usr/sap/BJD/SYS/global/security/lib/tools/iaik_ssl.j
    ar:/usr/sap/BJD/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW701/AS-JAVA
    /ORA/CENTRAL/install/lib:/tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/install/sharedlib:/or
    acle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW701/AS-JAVA/ORA/CENTRAL/B
    atchConfig.xml" finished with return code 183. Output:
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h).
    hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    WARNING[E] 2010-11-19 20:04:43.909
    CJS-30059  Java EE Engine configuration error. DIAGNOSIS: See output of log file batchconfig.
    log: '
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.pat
    h)
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration. '.
    ERROR 2010-11-19 20:04:44.7
    FCO-00011  The step runBatchconfig with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_S
    ystem|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|i
    nd|ind|ind|ind|5|0|runBatchconfig was executed with status ERROR
    Thanks for your comments nad suggestion

    good afternoon:
    the error loading jperflib failed. jperflib (Not found in java.library.path) is fixed,
    Solution:  LD_LIBRARY_PATH=/sapmnt/SID/exe
    but other error appear
    /usr/sap/BJD/JC01/j2ee/admin/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/admin/cfg/adminCFG.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/dplOptions.options doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/configtool/config.properties doesn't exist and will be created by batchconfig.
    /usr/sap/BJD/JC01/j2ee/deploying/rdb.properties doesn't exist and will be created by batchconfig.
    .hotspot_compiler is missing in cluster_data.
    ChangeServicePropsTask has finished successfully. Service: ssl on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: LockingManager on dispatcher
    ChangeManagerPropsTask has finished successfully. Manager: ClusterManager on dispatcher
    Error occurred while working with Configuration.
    com.sap.engine.frame.core.configuration.NameNotFoundException: A property with the name "java.parameters" cannot be found in the  PropertySheet "cluster_data/server/cfg/element-info.ID139743".
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.<init>(PropertyEntryImpl.java:85)
            at com.sap.engine.core.configuration.impl.addons.PropertyEntryImpl.readPropertyEntry(PropertyEntryImpl.java:54)
            at com.sap.engine.core.configuration.impl.addons.PropertySheetImpl.getPropertyEntry(PropertySheetImpl.java:127)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.setElementInfoProperties(ElementInfoTask.java:243)
            at com.sap.engine.configtool.batch.task.ElementInfoTask.go(ElementInfoTask.java:184)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:60)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:98)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

  • Oracle Clinical - install.sh not working - says not found or Java runtime error.

    install.sh not working - need help
    Hi all,
    OS Solaris 8. Sun Sparc 20 - 256 MB 9.1 GB. I am using csh for this install as instructed for the user OPAPPS.
    I have installed Oracle 8.1.6 Rel 2 on the SUN Sparc. Everything is fine and a customised DB has been created. Now I
    have to install an Oracle application on the same server. I have a working knowledge of Unix but I don't know scripting.
    I logged in as OPAPPS as required. (.chsrc). I have set the path with all possible directories and made it a member of
    group DBA as requested.
    I put the CD in the CDROM and then cd /cdrom
    # install.sh
    BUT I get this message: install.sh not found.
    install.sh is there on the CD. This is the contents of install.sh from the CD
    #!/bin/sh
    os=`uname | tr A-A a-z`
    case "$os" in
    sunos) platform=solaris
    hp-ux) platform=hp-ux
    osf1) platform=decunix
    esac
    #The environment variable $SRCHOME cannot be set during installation
    unset SRCHOME
    unset SHLIB_PATH
    CMDDIR=`dirname $0`
    if [ "CMDDIR" = "." ]; then
    CMDDIR=`pwd`;
    fi
    # Replace relatove path with fully qualified path
    if [ ! "`echo $CMDDIR|grep '^/'`" ]; then
    CMDDIR=`pwd`/$CMDDIR;
    fi
    if [ x${PATH} != x ] ; then
    PATH=$PATH:/usr/bin: /bin
    export PATH
    else
    PATH=/usr/bin:/bin
    fi
    cd $CMDDIR/$platform/Disk1/install/$platform
    ./runinstaller $*
    directory structure on CD
    -r-xr-xr-x 1 root sys 638 Aug 23 2000 install.sh
    dr-xr-xr-x solaris
    dr-xr-xr-x hpunix
    dr-xr-xr-x decunix
    dr-xr-xr-x nls732
    solaris/disk1/install/solaris and the file
    -r-xr-xr-x runinsta.
    -r-xr-xr-x oraparm.ini
    dr-xr-xr-x images
    d .
    d ..
    Would anybody know why I get install.sh NOT found when it is there?. This executabel is on the CD. I am not sure why it gives
    a java runtime error message when it is OK. Remember, I have already installed Oracle 8i using the same environment with the existing java runtime .
    Thanks for your help.

    Hi,
    I am installing Oracle clinical 4.5.x.
    I need to know whether both the Database server and application server for Oracle Clinical can be installed on same server(windows 2000 server).
    Both of them are installed on windows platform.
    It seems that u have tried the single node installation.
    So,please give all the possible details regarding the single node installation for oracle clinical no matter what platform it is.
    Please reply me as soon as possible, its urgent.
    Thanking u in advance.

  • Not found sdoapi java classes

    I just reinstalled Oracle9i with patch, because I wasn't able to create spatial index (that's the short explanation for reinstalling oracle).
    ERROR: Critical Java class not found: oracle.sdoapi.util.SDODimElement
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.SDOGeometry
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.GeometryAdapter
    How to fix these errors?
    many thanks!
    Rebecca

    Siva,
    I got the error when I tried to create a project connecting to Oracle Spatial with MicroStation GeoGraphics. Here's the entire message I got:
    ERROR: Critical Java class not found: oracle.sdoapi.util.SDODimElement
    ERROR: Critical Java class not found: oracle.sdoapi.adapter.SDOGeometry
    ERROR: Critical Java class not found:
    oracle.sdoapi.adapter.GeometryAdapter
    Current Classpath
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\rt.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\i18n.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\sunrsasign.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\classes
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\jmdlsdk.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\swingall.jar <<<
    not found >>>
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\bentley.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\bentleyx.jar
    C:\Program Files\Bentley\Program\MicroStation\jmdl\lib\xml4j.jar <<< not
    found >>>
    C:\Program Files\Bentley\Program\MicroStation\jmdl\
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\lib\bentleygeo.jar
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\
    C:\Program Files\Bentley\program\GeoGraphics\jmdl\lib\sdodgn.jar
    C:\oracle9\ora92\sdoapi\sdoapi.zip
    C:\oracle9\ora92\jdbc\lib\classes12.zip
    C:\oracle9\ora92\lib\xmlparserv2.jar
    C:\oracle9\ora92\jdbc\lib\nls_charset12.zip
    C:\Program Files\Bentley\Program\GeoGraphics\jmdl\lib\spatialviewer.jar
    I found the sdoapi.zip, but it doesn't have the three java classes in it. Can I download the java classes somewhere and place it back to that directory?
    thanks again!
    Rebecca

  • Trim() not found in java.lang.String !

    Hi, I am using weblogic 6 eval version on NT. I am getting this error. ***************************************************************************
    The WebLogic Server did not start up properly. Exception raised: weblogic.management.configuration.ConfigurationException:
    BeanShell Interpreter threw exception while evaluating ((value != null) && (value.trim().length()
    0) ) on value mydomain, getLegalCheck() for attribute Name of MBean "mydomain:Name=mydomain,Type=Domain", bsh.EvalError: Line 1 : sourced file: <inline eval> bsh.EvalError:
    Error in method invocation: No args method trim() not found in cl ass'java.lang.String'
    : value .trim ( ) : at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:120) at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261) at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15 23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source) at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188) at weblogic.management.AdminServer.configure(AdminServer.java:173) at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35) Reason: Fatal initialization exception ***************************************************************************
    Can someone help? Thanks.

    prolly stating the obvious here, but have you also tried with it configured
    to use neither jdk? (to make sure that it fails - if it still runs you
    aren't using the jdk you expected)
    "safdar " <[email protected]> escribió en el mensaje
    news:[email protected]...
    >
    Actually, I am using jkd1.4. I even tried jkd1.3 that came
    with the server. I get the same error under both versions.
    "Andrew Cooke" <[email protected]> wrote:
    just guessing, it looks like you might be using an old version of java
    (or
    of the class libraries), rather than the version that comes with weblogic
    server.
    andrew
    "safdar " <[email protected]> escribió en el mensaje
    news:[email protected]...
    Hi, I am using weblogic 6 eval version on NT. I am getting this error.
    The WebLogic Server did not start up properly. Exception raised:weblogic.management.configuration.ConfigurationException:
    BeanShell Interpreter threw exception while evaluating ((value != null)&&
    (value.trim().length()
    0) ) on value mydomain, getLegalCheck() for attribute Name of MBean"mydomain:Name=
    mydomain,Type=Domain", bsh.EvalError: Line 1 : sourced file: <inline
    eval>
    bsh.EvalError:
    Error in method invocation: No args method trim() not found in class'java.lang.String'
    : value .trim ( ) : atweblogic.management.internal.xml.ConfigurationParser.parse(Configurat
    ionParser.java:120) atweblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:261) atweblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
    Repository.java:223) at java.lang.reflect.Method.invoke(Native Method)at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636) atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621) atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359) atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55) atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15 23)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source) atweblogic.management.AdminServer.configureFromRepository(AdminServer.j
    ava:188) atweblogic.management.AdminServer.configure(AdminServer.java:173) at
    weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362) atweblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35) Reason: Fatal initializationexception***************************************************************************
    Can someone help? Thanks.

  • Method listfiles() not found in java.io File

    Forgive me if the question is silly. Does this mean I need to update the Java Package?? Here is the code.
    import java.io.*;
    public class main1
    public static void main1(String[ ] args)
    File myDir = new File("c:/Data/XML"); // or any required directory pathname
    File[ ] files = myDir.listFiles(); // can also use a FileFilter
    for (int i=0 ; i < files.length ; i++)
    try{
    FileInputStream in = new FileInputStream(files);
    System.out.println(files[1]);
    // Do here your reading and handling
    in.close();
    catch (IOException e) {
    System.err.println("Could not read file: " + files);
    e.printStackTrace();
    }

    Either update your VM or use
    File     dir   = new File(path);
    String[] temp  = dir.list();
    int      size  = temp.length;
    File[]   files = new File[size];
    for(int i = 0; i < size; i++)
        files[i] = new File(temp);

  • OCIJDBC8 not found in java.library.path

    I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at DBConnection.<init>(DBConnection.java:19)
    at DBConnection.main(DBConnection.java:11)
    Following are the path set
    COMSPEC=C:\WINDOWS\COMMAND.COM
    PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
    C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
    PROMPT=$p$g
    xxxxxxxxxxxxxxxxxxxxx
    TMP=C:\WINDOWS\TEMP
    CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
    .jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
    1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
    12.zip;d:\Blazix\ejbtut\PropsEjb.jar
    JAVA_HOME=c:\jdk1.3
    LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
    winbootdir=C:\WINDOWS
    windir=C:\WINDOWS
    BLASTER=A220 I5 D1
    CMDLINE=java DBConnection
    null

    ocijdbc8.dll is included with the oracle oci jdbc 8 driver. If you get the thin driver instead, the dll is not included.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vijay Hegde ([email protected]):
    I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at DBConnection.<init>(DBConnection.java:19)
    at DBConnection.main(DBConnection.java:11)
    Following are the path set
    COMSPEC=C:\WINDOWS\COMMAND.COM
    PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
    C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
    PROMPT=$p$g
    xxxxxxxxxxxxxxxxxxxxx
    TMP=C:\WINDOWS\TEMP
    CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
    .jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
    1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
    12.zip;d:\Blazix\ejbtut\PropsEjb.jar
    JAVA_HOME=c:\jdk1.3
    LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
    winbootdir=C:\WINDOWS
    windir=C:\WINDOWS
    BLASTER=A220 I5 D1
    CMDLINE=java DBConnection
    <HR></BLOCKQUOTE>
    null

  • SetReplyTo not found in Java smtp?

    Hello
    I'm able to send email using Java's smtp library but when I add setReplyTo it gets underlined in red and when I hover over it, I get a message saying "Cannot find symbol" here is the code
            String host = "smtp.live.com";
            String from = "[email protected]";
            String to = "[email protected]";
            int port = 587;
            // Get system properties
            Properties props = System.getProperties();
            // Setup mail server
            props.setProperty("mail.smtp.host", host);
            props.put("mail.smtp.port", port);
            props.put("mail.smtp.starttls.enable","true");
            Session session = Session.getInstance(props);
            //session.setDebug(true);
            MimeMessage msg = new MimeMessage(session);
            msg.setText("This is a test");
            msg.setSubject("This is the subject");
            msg.setFrom(new InternetAddress(from));
            msg.setReplyTo(new InternetAddress(from));
            msg.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
            Transport tr = session.getTransport("smtp");
            tr.connect("smtp.live.com", from, "password");
            msg.saveChanges();
            tr.sendMessage(msg, msg.getAllRecipients());
            tr.close();Everything works when I comment out "msg.setReplyTo(new InternetAddress(from))", but I need that method because I want the reply address to be different. Any idea why its not working?
    Best Regards
    Edited by: xpro on Jan 15, 2010 10:56 AM

    There isn't any setReplyTo(Address) method in the MimeMessage class. That's why you get a message saying that. Look a bit more closely at the API documentation; there is indeed a setReplyTo method, but look at its parameters.

  • Javax.smartcardio package not found in Java source file

    I downloaded the latest JDK from developer.apple.com, but now I cannot find the javax.smartcardio package in the source package (src.jar) that came with it. I unpacked the JAR file, but simply can't find the stated package. Can you help me out?

    I can confirm the issue here (Mountain Lion, 10.8.5). A very simple program (attached below) that just enumerates terminals and checks if a card is present will crash:
    If Apple JDK6 is used in 64-bit mode (without supplying the -d32 argument)
    If Oracle JDK7 is used (can not switch to 64-bit, uses)
    It will work if:
    If Apple JDK6 is forced into 32-bit mode using -d32
    If Oracle JDK7 version of libj2pcsc.dylib is replaced with a patched version
    javax.smartcardio on Mac OS X is in a truly sad state. :-(
    Can anyone suggest alternatives for Smartcard communication on Mac OS X fat clients?
    package com.example.smartcardio;
    import javax.smartcardio.CardTerminal;
    import javax.smartcardio.CardTerminals;
    import javax.smartcardio.TerminalFactory;
    public class TestWaitForChanges {
              public static void main(String[] args) throws Exception {
                        CardTerminals terminals = TerminalFactory.getDefault().terminals();
                        while (true) {
                                  for (CardTerminal terminal : terminals.list()) {
                                            System.out.println("Checking terminal: " + terminal.getName());
                                            System.out.println("Card present: " + (terminal.isCardPresent() ? "YES" : "NO"));
                                  System.out.println("Waiting for changes...");
                                  terminals.waitForChange();

  • Java.io.IOException: /opt/sun/portal/bin/psconfig: not found

    I have installed JES 2005Q4 and then I try to setup Portal Server 7 and at the beginnig of the installation it gave thsi error: Is there any thing you can suggest?
    1. Install
    2. Start Over
    3. Exit Installation
    What would you like to do [1] {"<" goes back, "!" exits}?
    Java Enterprise System
    |-1%--------------25%---
    java.io.IOException: java.io.IOException: /opt/sun/portal/bin/psconfig: not found
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    at java.lang.Runtime.exec(Runtime.java:591)
    at java.lang.Runtime.exec(Runtime.java:464)
    at com.sun.orion.installer.common.config.OrionConfigurator.executeCmdWithArgs(Unknown Source)
    at com.sun.orion.installer.portalserv.config.PortalServerConfigurator.unconfigure(Unknown Source)
    at com.sun.orion.installer.common.config.OrionConfigurator.performUnconfiguration(Unknown Source)
    at com.sun.orion.installer.common.config.ConfigLeaf.uninstall(Unknown Source)
    at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1637)
    at com.sun.install.products.InstallNode.finishUninstall(InstallNode.java:1270)
    at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1642)
    at com.sun.install.products.InstallNode.finishUninstall(InstallNode.java:1270)
    at com.sun.install.products.InstallComponent.performUninstallation(InstallComponent.java:1642)
    at com.sun.install.products.Product.performUninstallation(Product.java:223)
    at com.sun.install.products.InstallNode.CheckCancelledAndWriteToLog(InstallNode.java:965)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1090)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
    at com.sun.install.products.Product.performInstallation(Product.java:651)
    at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)
    at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
    at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
    at java.lang.Thread.run(Thread.java:595)
    Error in executing command : /opt/sun/portal/bin/psconfig --unconfig /tmp/psunconfig_bla.bla_114286064037648246.xml
    --------------50%-----------------75%--------------100%|
    Installation Failed
    No software was installed.

    at the installation log file containing these:
    Installation Log
    Installing Java Enterprise System
    Log file: /var/opt/sun/install/logs/Java_Enterprise_System_install.
    B03201513
    Installed: /var/sadm/prod/sun-ps7_0-
    entsys/uninstall_Sun_Java_tm__Enterprise_System_2005Q4.class
    Uninstaller is at: /var/sadm/prod/sun-ps7_0-
    entsys/uninstall_Sun_Java_tm__Enterprise_System_2005Q4.class
    OrionUninstallersun-ps7_0-entsys
    Installing RPM: sun-ps7_0-entsys
    RPM sun-ps7_0-entsys successfully installed.
    Installing RPM: sun-ps7_0-entsys-l10n
    error: ../Product/entsys/Packages/sun-ps7_0-entsys-l10n-4.0-1.i386.rpm: MD5
    digest: BAD Expected(50518d27bb86729827e12611f261333a) !=
    (9bff1755f96e04bebe270aa64f9d9d4c)
    error: ../Product/entsys/Packages/sun-ps7_0-entsys-l10n-4.0-1.i386.rpm cannot
    be installed
    Error: RPM sun-ps7_0-entsys-l10n install failed}.
    Install complete. Package: sun-ps7_0-entsys-l10n
    rpm: Skipping rpm remove of sun-ps7_0-entsys-l10n, not installed.
    rpm: Skipping rpm remove of sun-portal-search, not installed.
    rpm: Skipping rpm remove of sun-portal-portlets, not installed.
    rpm: Skipping rpm remove of sun-portal-base, not installed.
    rpm: Skipping rpm remove of sun-portal-admin, not installed.
    Installing RPM: sun-mobileaccess-config
    package sun-mobileaccess-config-1.0-25 is already installed
    Error: RPM sun-mobileaccess-config install failed}.
    Install complete. Package: sun-mobileaccess-config

  • OMWB under Linux redhat AS 3 : Java 1.4 not found

    Hi,
    I have already used the oracle migration workbench under Windows with a total sucess.
    But passing to Linux Redhat AS 3; Trying to launch the migration workbench by the ./omwb.sh ... the stressing error follows :
    Java 1.4 not found. Java 1.4 requiered
    I installed the j2re and j2sdk rpms without any changes
    please help ! thinks

    Hello All,
    I solved the problem by executing the following commands :
    $ java -version
    ... placeholder message ...
    $ su -
    # alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
    # alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
    # alternatives --remove jar /usr/bin/fastjar
    # alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
    # cd /usr/bin
    # ln -s /usr/java/jre1.5.0/bin/java java
    ... also set the links for javac etc ...
    # exit
    $ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
    $
    Procedure of JDK is similar to J2RE...
    It seems that it wasn't a difficult problem
    sorry and thinks
    Tchao

  • Gifs not found from jhall.jar in java webstart

    hello everybody,
    i've implemented javahelp in my application which is working fine but when i try the same thing in webstart it works fine as far as functionality part is concerned but does not display the gifs for menus like index,toc,previous,next etc.instead it dispalys unknown at that place.
    i'm getting the error of getIcon not found in java console.which looks for these images in my jdk1.3/jre/ext/lib/jhall.jar but these gifs are present there.
    can somebody help me?

    i forgot to mention the error
    GetIcon
    name: images/index.gif
    klass: class javax.help.plaf.basic.BasicIndexNavigatorUI
    URL is jar:file:/C:/jdk1.3/jre/lib/ext/jhall.jar!/javax/help/plaf/basic/images/index.gif
    ImageIcon is null
    thanks

  • Relocation Error In Solaris - Symbol 0FI__rtbi_fv not found

    Hi!,
    I get the following error, when i try to load a library using JNI, (jdk 1.3.0_02) in Solaris 2.6 :
    It cribs about symbol __0FI__rtbi_fv not found.
    I used nm on the .so and got the following output -
    [123762] | 0| 0|NOTY |GLOB |0 |UNDEF |__0FI__rtbi_fv
    Kindly help me in overcoming this problem. Its bit urgent.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /disk1/anuj/Sinu/usrtool/obj/libusrtool.so:
    ld.so.1: /disk1/sriram/java1.3/bin/../bin/sparc/native_threads/java:
    fatal: relocation error: file /disk1/anuj/Sinu/usrtool/obj/libusrtool.so:
    symbol __0FI__rtbi_fv: referenced symbol not found
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
         at java.lang.Runtime.loadLibrary(Runtime.java:737)
    regards
    Sriram

    It is not in the java documentation because it is not a java problem.
    When you write JNI code (or any other code for that matter) you probably should look at the documentation for the compilers and other tools that you are using for recommendations for how to use these third party tools.
    What would have been surprizing to me, is if your C++ compiler manual did not recommend linking with the standard C++ library when you use code contained in the library. Which was the problem here.

  • ConfigurationException during deploy "CONFIGURATION FAILED! File not found"

    Hello All,
    The deployment of my adf app. is failing with the following error. Although till yesterday also, it was failing but atleast it was going much farther than this. What is causing this error? I did make changes to config.xml but then restored it. Any help is appreciated. This is critical.
    ####<Sep 14, 2011 1:23:36 PM CDT> <Info> <J2EE Deployment SPI> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024616200> <BEA-260121> <Initiating deploy operation for application, myProject [archive: F:\Oracle\Middleware\user_projects\domains\BPEL_DEV\servers\AdminServer\upload\myProject.ear], to AdminServer .>
    ####<Sep 14, 2011 1:23:47 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024627386> <BEA-149038> *<Initiating Task for myProject : [Deployer:149026]deploy application myProject on AdminServer.>*
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <J2EE> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630053> <BEA-160170> <Imported library Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.2.0 for Application myProject>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <WorkManager> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630069> <BEA-002903> <Creating WorkManager from "wm/SOAWorkManager" WorkManagerMBean for application "myProject">
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630771> <BEA-101363> <Application: myProject, WebApp: mySubProj has context-root specified in application.xml: "mySubProj". The context-root specified in weblogic.xml: "mySubProj" will be ignored.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024693171> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:54 PM CDT> <Warning> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024694451> <BEA-101162> *<User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found.*
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.io.FileNotFoundException: File not found
    at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:117)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:72)
         at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:262)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:115)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:92)
         at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)     
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1096)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1064)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:642)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    I did some more research and found out that method loadURLs of class MetaInfFacesConfigResourceProvider.java is throwing IOException. Is this some kind of class path issue? Please help!
    private Collection<URL> loadURLs(ServletContext context) throws IOException {
    154
    155 Set<URL> urls = new HashSet<URL>();
    156 for (Enumeration<URL> e = Util.getCurrentLoader(this).getResources(META_INF_RESOURCES); e.hasMoreElements();) {
    157 urls.add(e.nextElement());
    158 }
    159 urls.addAll(Arrays.asList(Classpath.search("META-INF/", ".faces-config.xml")));
    160 // special case for finding taglib files in WEB-INF/classes/META-INF
    161 Set paths = context.getResourcePaths(WEB_INF_CLASSES);
    162 if (paths != null) {
    163 for (Object path : paths) {
    164 String p = path.toString();
    165 if (p.endsWith(".taglib.xml")) {
    166 urls.add(context.getResource(p));
    167 }
    168 }
    169 }
    170 return urls;
    171
    172 }
    173
    Edited by: user12054715 on Sep 14, 2011 2:13 PM

    I did a couple of things ( gathered from various posts on OTN). I am not sure which one did the trick but the error is gone now. I am mentioning the steps that I took. Later when I have more time, I will narrow down to exactly what worked.
    1. The following was missing from my web.xml (Thanks Rene!) Added it
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    2. Removed any mention of 'Anonymous-User' from Jazn-data.xml.
    Application tab -> Secure -> Configure ADF Security -> Jazn-data.xml (source tab and removed block of code referring to anonymous user)
    Hope this will help others.

Maybe you are looking for

  • My iPod turned off and it will not turn back on or connect to iTunes.

    I was writing a note in my iPod Touch & it just shut off on me. The battery was fully charged, and now it will not turn on or connect to iTunes. I only had my iPod for 3 months... I do not know what to do..

  • 10.5.1 solved all the problems

    I had several problems reported: -no sleep -Radeon X1900 zapped by Mathematica software and crashing the computer which have been all solved by the OS 10.5.1 update. I can now really start to work with, rather than experiment with, OS 10.5 - which is

  • Reprocessing of a IDOC

    Hello friends, We have an outbound idoc and for invoice and in of the segments one of the field is missing. looking at the idoc segments it looks like the missing field if froma a custom segment. I need to debug and find the cause of this missing fel

  • Sorry. One More OnyX Question!

    Sorry. I just realized I had one more question pertaining to OnyX. When I'm on the Optimization page, it says to either "update" or "complete optimization" options for optimization. What do either of those options mean? I'm just a little scared to tr

  • Zen micro and getting Zen Media Player to recognize

    I went back to firmware .0.03 and reinstalled the Zen software after getting no where with firmware that works with MS media player. I noticed two things. the device installs differnently in the hardware profile between the two firmware versions 2 If