Javac -classpath / -sourcepath does not work ?

when i call javac in the current directory (where the java source files within subdirectories for package names) the compilation works. but when i go one directory up and want to use the -classpath or the -sourcepath options, i just get errors:
D:\TEMP\Java>javac -classpath ./examples test/HelloWorld.java
error: cannot read: test/HelloWorld.java
1 error
D:\TEMP\Java>javac -sourcepath ./examples test/HelloWorld.java
error: cannot read: test/HelloWorld.java
1 errorRunning javac in the directory D:\TEMP\Java\examples works ...

nope, the doc for javac clearly says:
"If the -sourcepath option is not specified, the user
class path is searched for source files as well as
class files. "
(see
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/ja
ac.html#options)Yes but this is in reference to dependent classes, as the page you referenced explains.
The basic format of javac isjavac source_fileIf the source file needs other user classes, then the classpath is searched for either .class files or .java files.

Similar Messages

  • Set CLASSPATH does not work, how do I run java.exe?

    Hi guys,
    I have a problem running the java.exe and I'm using Win XP. Here is my problem:
    Under the command prompt, I set the path: path = C:\Program Files\Java 2\j2sdk1.4.2_05\bin
    Then I created a folder in E:\Hello. I save my Hello.java in that folder, and I compiled it:
    javac Hello.java
    Now, there is a Hello.class created in that folder.
    Then I try to run it: java Hello
    but I got an error: "Exception in thread "main" java.lang.NoClassDefFoundError: Hello"
    So, I try to set CLASSPATH, however, the problem remains, no matter how hard I try.
    Any ideas?

    None of the suggestion worked, I wonder why???
    Here is my location for the JDK:
    C:\Program Files\Java 2\j2sdk1.4.2_05\bin
    Here is my location for my Java project file:
    E:\JavaProject\Hello
    Here is the file name:
    Hello.java
    Here is the command prompt:
    C:\Documents and Settings\Alex Ngai> e:
    E:\> cd JavaProject
    E:\JavaProject> cd Hello
    E:\JavaProject\Hello> path = C:\Program Files\Java
    2\j2sdk1.4.2_05\bin
    E:\JavaProject\Hello> javac Hello.java
    E:\JavaProject\Hello> java Hello
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Hello
    E:\JavaProject\Hello> java -cp Hello
    // Does not work, it lists all of the options for java
    E:\JavaProject\Hello> set CLASSPATH =
    E:\JavaProject\Hello
    CLASSPATH="C:\Program
    Files\Java\j2re1.4.2_04\lib\ext\QTJava.zip"
    E:\JavaProject\Hello> java Hello
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Hello
    // I have tried a lot more, none of them won't work!!
    Now what should I try in the following command prompt?
    E:\JavaProject\Hello>Given the above there is only one possible explaination.
    You have a file named "Hello.java".
    In that file you have a non-public class which is NOT named "Hello". Instead it is named something like "HelloWorld" or even "hello" (case matters.)

  • Import package does not work - beginner help

    Hi, I'm a beginner with java. I just trying to figure out how to use packages. I followed everything in the tutorial, but I can't figure out why my simple example does not work.
    I made the following directories three, for the sake of the example.
    in /home/username/Desktop I created a directory named it
    inside it I created prove
    inside prove I created test1 and test2
    Inside test1 I created the following sample class:
    package it.prove.test1;
    public class HelloWorld
         private String message;
         public HelloWorld(String message)
              this.message = message;
         public String getMessage()
              return this.message;
    }in the directory test2 I created this other one:
    package it.prove.test2;
    import it.prove.test1.HelloWorld;
    public class HelloWorldProgram
         public static void main(String[] args)
              HelloWorld hw = new HelloWorld("Guten Tag, Welt!");
              System.out.println(hw.getMessage());
    }So now I have this three:
    it
    it/prove
    it/prove/test1, it/prove/test2
    As I said in test1 there is HelloWorld.java and in test2 HelloWorldProgram.java.
    When I compile HelloWorld.java, it worked fine.
    When I try to compile HelloWorldProgram.java, the compiler says that cannot find package it.prove.test1..
    Why that? What did I make wrong?
    Sorry both for my bad english (it is not my first language) and for the really trivial question (I'm a really beginner).
    Tnx to whoever will help

    Assuming you are running on Windows here.
    Packages are directly tied to the classpath. Before java can find the it.prove.test1 package, it needs to be a part of the classpath. To make this possible, you need to add the root of the path, where the 'it' directory is in, to the classpath, like this:
    javac -cp .;/home/username/Desktop file.java
    the -cp switch tells java which classpath to use; it consists of two elements:
    . = current directory
    /home/username/Desktop = the directory containing the 'it' package root
    When run like this, it should work. The same goes for running the code, you would run it like this:
    java -cp .;/home/username/Desktop it.prove.test2.HelloWorldProgram
    Hope that gives you the hints you need.

  • Applet does not work after conversion

    Hi,
    A have an html page on with a use an applet. The applet is downloaded in two cab files for the internet explorer.
    The applet and the download works fine without the java plugin.
    When I convert this page to using the html converter the applet does not work
    The error is
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I think he fails on the downlad of the second cab file....
    Sombody any ideas,
    Thank
    Tom Van de Velde

    I recently moved to programming applets and this problem gave me many
    headaches. I know that the java compiler is supposed to compile with an
    appropriate version, but I suspect that there may be a few flaws in the
    system.
    Try compiling with a command like this to force a 1.1 compilation:
    "javac -target 1.1 yourfile.java"
    This enabled my applets to load in Netscape 4.6, something they wouldn't do before.
    Installing the java plugin seems to fix the problem on other browsers. This might
    be a new bug introduced by Java 1.4, since I had very few problems with
    Java 1.3...I dunno...that's speculation...

  • JasperReports does not work outside Netbeans

    Hi guys,
    Background story: application with a couple of forms, the data can be stored and saved from a sqlite database. In the end the forms need to be saved as a PDF.
    Netbeans 6.7, JasperReports 4.0.2.
    Libraries in my Classpath: Commons-beanutils, Commons collections, commons digester, commons javaflow, commons logging, iText, Jasperreports
    I tried to use JasperReports for this matter. It runs perfectly when in Netbeans, and my PDF is generated.
    However, when I try to run the compiled .jar file from windows explorer... the whole JasperReports part does not work at all.
    I made a simple example showing my problem. It produces a nice 1 line PDF when in netbeans, but outside Netbeans, nothing again.
    Could you give me some advice on this? Or maybe an alternative for JasperReports?
    Thanks alot,
    Elwin
    package jasperreportsproject2;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.export.*;
    import java.util.*;
    * @author Elwin
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            String fileName = "test1.jrxml";
            String outFileName = "test.pdf";
            HashMap hm = new HashMap();
                // Fill the report using an empty data source
            try {
                JasperPrint print;
                JasperReport jasperreport;
                jasperreport = JasperCompileManager.compileReport(fileName);
                print = JasperFillManager.fillReport(jasperreport, hm, new JREmptyDataSource());
                // Create a PDF exporter
                JRExporter exporter = new JRPdfExporter();
                // Configure the exporter (set output file name and print object)
                exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outFileName);
                exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
                // Export the PDF file
                exporter.exportReport();
                } catch (JRException ex) {
                Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
    }The xml file used to build the report
    Test1.jrxml
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="HelloWorld" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <detail>
              <band height="200" splitType="Stretch">
                   <staticText>
                        <reportElement x="0" y="0" width="500" height="20"/>
                        <textElement/>
                        <text><![CDATA[Hello Report World!]]></text>
                   </staticText>
              </band>
         </detail>
    </jasperReport>

    Another for xsql:
    Producing PDF Output with the FOP Serializer
    at
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/appdev.102/b14252/adx_j_xsqladv.htm
    NA
    http://nickaiva.blogspot.com

  • Sync with Itunes does not work

    Hi,
    I reinstalled latest Itunes completly but still sync with outlook 2007 does not work.
    Itunes says Sync finished, but nothing is synced.
    Here is the log:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ===================
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] iTunes.exe begins
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ===================
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] "C:\Programme\iTunes\iTunes.exe"
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] APPDATA=C:\Dokumente und Einstellungen\mispde\Anwendungsdaten
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] asl.log=Destination=file;OnFirstLog=command,environment
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CIHOLOSCLI=C:\Programme\Seagate Software\Open Olap\
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CLASSPATH=.;C:\Programme\Java\jre6\lib\ext\QTJava.zip
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] CommonProgramFiles=C:\Programme\Gemeinsame Dateien
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] COMPUTERNAME=MISPDE0
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ComSpec=C:\WINDOWS\system32\cmd.exe
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] FPNO_HOSTCHECK=NO
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HARVESTHOME=C:\Programme\CA\AllFusion Harvest Change Manager
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOME=C:\Programme\Computer Associates International, inc.\CCC Harvest
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOMEDRIVE=C:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] HOMEPATH=\Dokumente und Einstellungen\mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] LOCALHARVESTHOME=C:\Programme\CA\AllFusion Harvest Change Manager
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] LOGONSERVER=\\ERLCNDC1
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] NewEnvironment1=C:\Programme\Vodafone\Vodafone Mobile Connect\"Optimization Client"
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] NUMBEROFPROCESSORS=2
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] OS=Windows_NT
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] Path=C:\Programme\Gemeinsame Dateien\Apple\Apple Application Support\;C:\Programme\Gemeinsame Dateien\Microsoft Shared\Windows Live;C:\Programme\CA\SharedComponents\PEC\bin;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\Programme\Microsoft SQL Server\80\Tools\Binn\;C:\oracle\ora102\bin;L:\deployment files\runtime;L:\development\client;D:\FOUNDA~1\fnd301\deployment files\runtime;D:\FOUNDA~1\fnd301\development\client;C:\Programme\Samsung\Samsun g PC Studio 3\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Programme\CA\AllFusion Harvest Change Manager;C:\Programme\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\Microsoft Shared\Windows Live
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PERL5LIB=C:\oracle\ora102\perl\lib\5.8.3\MSWin32-x86;C:\oracle\ora102\perl\lib\ 5.8.3;C:\oracle\ora102\perl\5.8.3\lib\MSWin32-x86-multi-thread;C:\oracle\ora102\ perl\site\5.8.3;C:\oracle\ora102\perl\site\5.8.3\lib;C:\oracle\ora102\sysman\adm in\scripts
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_ARCHITECTURE=x86
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_LEVEL=6
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] PROCESSOR_REVISION=0f0b
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] ProgramFiles=C:\Programme
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] QTJAVA=C:\Programme\Java\jre6\lib\ext\QTJava.zip
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] RTARCH=i86_w32
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] RTHOME=C:\Programme\CA\SharedComponents\PEC
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SESSIONNAME=Console
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SQLBASE=C:\Oracle\ora102\NETWORK\ADMIN
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SystemDrive=C:
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] SystemRoot=C:\WINDOWS
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TEMP=C:\DOKUME~1\mispde\LOKALE~1\Temp
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TMP=C:\DOKUME~1\mispde\LOKALE~1\Temp
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] TNS_ADMIN=C:\Oracle\ora102\NETWORK\ADMIN
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERDNSDOMAIN=CORPNET.IFSWORLD.COM
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERDOMAIN=CORPNET
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERNAME=mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] USERPROFILE=C:\Dokumente und Einstellungen\mispde
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] VS90COMNTOOLS=C:\Programme\Microsoft Visual Studio 9.0\Common7\Tools\
    [3068 @ Wed Jun 09 10:45:52 2010] [ASL ASL] windir=C:\WINDOWS
    [3068 @ Wed Jun 09 10:45:52 2010] [(unknown facility) iTunes.exe] receive_message: Could not receive secure message: -1
    [3068 @ Wed Jun 09 10:45:52 2010] [(unknown facility) iTunes.exe] readthread: Could not receive message
    [7028 @ Wed Jun 09 10:47:00 2010] [_ISDVLog SyncServer.exe] Cancelling all sync plans.
    [7028 @ Wed Jun 09 10:47:00 2010] [_ISDVLog SyncServer.exe] Goodnight, Gracie.
    Please help me!

    *I just spoke with two different senior advisors from Apple one whose name was Matt and the other whose name was Zachary. They both were extremely rude and were not helpful at all. I explained the same exact scenario to them about how I just updated to iTunes 9.1.1 and that now my iPhone will not sync.*
    The ONLY help they could give me was to purchase a plan for either 29.99 or 69.99
    The reason no one from Apple will help us is because this company is based on greed. I am sure they knew about this bug that prevents thousands of users from syncing but I am also sure they assumed that we would pay the 29.99 or 69.99 for them to fix the problem. I honestly feel as though this is a scam to make more profit off of us.
    There is absolutely NOTHING they can do to help they said except for me to purchase one of those two plans they offer. My question is WHY THE **** SHOULD I PAY FOR SOMETHING THAT I AM NOT AT FAULT FOR? It should be there moral duty and responsibility to fix this bug yet because they know they will profit from it they have no intentions on doing so. The only thing I can really suggest is calling Apple and telling them how you feel. The more people who voice there opinions the better (just be prepared for them to tell you the ONLY thing they can do to fix the problem THEY created is by making YOU pay more money to fix it).
    I am extremely disappointed as a loyal Apple customer and this has seriously made me reconsider ever buying another Apple product.
    This company is morally and ethically wrong.

  • ISQLPLUS does not works after downgrading JDK.

    Hi,
    I am not sure if ISQLPLUS has anything to do with downgrading JDK. To my understand apache has its own classpath set. I have properly configure ISQLPLUS last week and no issues at all. This week, I am trying to downgrade my JDK (Sun) from 1.3.1 to 1.2.2. Soon after that i cannot access to my ISQLPLUS at all. It says FIle not found: Error 404. I haven't change any of my conf file, and apache start properly as well.
    I have a few JDK version on my machine at this point of time. 1.2.2 (IBM), 1.3.1(Sun), and 1.3.2 (Sun) . I am using them for different projects. And I believed Apache has its own version as well (1.7.1 ??).
    Any hints what am I getting Error 404?
    Thanks
    -KL

    What do you mean by "restoring definitions"?
    What EXACTLY is your problem?
    "does not works" is just a bit vague.

  • WLEC does not work

    Hello,
    after trying unsuccessfully for several hours to get WLEC to work on
    WLS 5.1, I think I might ask this group.
    It simply does not work.
    I have installed the latest service pack (6) and I'm now trying to
    install the WLEC version included therein. I've merged the files from
    wlec_classes.jar (some classes in the package
    com.beasys.CORBA.pool.weblogic) into the $WLS_HOME/classes tree,
    copied the files wleorb.jar and wlepool.jar to $WLS_HOME/lib and added
    them to the appropriate class paths as described in the
    README_wlec.txt file that comes with WLEC. WLS is started as follows:
    /opt/JAVA/JDK/1.2.2/bin/java -ms64m -mx64m -classpath ./lib/weblogic510sp6boot.jar:./lib/wleorb.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar -Dweblogic.class.path=./lib/weblogic510sp6.jar:./lib/wlepool.jar:./license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses -Dweblogic.home=. -Djava.security.manager -Djava.security.policy=$WLSHOME/weblogic.policy -Dweblogic.system.name=myserver -Djava.naming.ldap.version=2 weblogic.Server
    (README_wlec.txt does not document the order in which the jar files
    should appear in the class paths..?)
    Furthermore, I've defined an IIOP connection pool in
    weblogic.properties like this:
    weblogic.CORBA.connectionPool.myIIOPConnectionPool=\
    appaddrlist=//wlehost:3800,\
    failoverlist=//wlehost:3800,\
    minpoolsize=4,\
    maxpoolsize=7,\
    domainname=test
    A WLE 5.1 instance is waiting for IIOP connections at wlehost:3800,
    providing the WLE domain "test".
    WLS starts up and functions flawlessly, but the IIOP connection pool
    doesn't show up in the WebLogic Console (the "IIOP Connection Pool
    Manager" branch is missing completely). An attempt to connect to the
    pool with the following code:
    com.beasys.Tobj_Bootstrap tBootstrap
    = com.beasys.BootstrapFactory.getClientContext("myIIOPConnectionPool")
    results in a NullPointerException in getClientContext.
    I can connect to the running WLE server directly, bypassing the pool,
    like this:
    String[] args = new String[0];
    org.omg.CORBA.ORB tOrb = org.omg.CORBA.ORB.init(args, null);
    com.beasys.Tobj_Bootstrap tBootstrap
    = new com.beasys.Tobj_Bootstrap(tOrb,"//wlehost:3800");
    This works, which proves that WLE is not the problem, right?
    The java version is:
    $ /opt/JAVA/JDK/1.2.2/bin/java -version
    java version "1.2.2"
    Classic VM (build JDK-1.2.2_006, green threads, sunwjit)
    $
    (I've tried 1.3, too)
    running on:
    $ uname -a
    SunOS bird 5.8 Generic_108528-01 sun4u sparc
    $
    WLE runs on:
    wlehost:~$ uname -a
    AIX wlehost 3 4 002013145700
    wlehost:~$
    What might be the problem here?
    Thanks,
    Olaf
    Olaf Klischat | Fraunhofer ISST
    Oberfeldstrasse 132 | Mollstrasse 1
    12683 Berlin, Germany | 10178 Berlin, Germany
    phone: +49 30 54986231 | mail: [email protected]

    Craig Perez <[email protected]> writes:
    WLS starts up and functions flawlessly, but the IIOP connection pool
    doesn't show up in the WebLogic Console (the "IIOP Connection Pool
    Manager" branch is missing completely). An attempt to connect to the
    pool with the following code:
    com.beasys.Tobj_Bootstrap tBootstrap
    = com.beasys.BootstrapFactory.getClientContext("myIIOPConnectionPool")
    results in a NullPointerException in getClientContext.Have you examined your WLS startup log very carefully to look
    for any connection pool errors?Yes I have. I've searched (case-insensitively) for "iiop" and the
    hostname of the host running WLE ("wlehost"), and there was always
    only one log entry per WLS session:
    Mon Dec 04 16:36:50 CET 2000:<I> <Config> Property name: 'weblogic.CORBA.connectionPool', current value: '[weblogic.CORBA.connectionPool.myIIOPConnectionPool=appaddrlist=//wlehost:3800,failoverlist=//wlehost:3800,minpoolsize=4,maxpoolsize=7,domainname=test ]'
    This seems to be a generic notification that the property was read and
    that the property name
    "weblogic.CORBA.connectionPool.myIIOPConnectionPool" was recognized
    (otherwise there would have been an "undeclared property" error
    message, right?).
    How would a log message look which notifies the user that an IIOP
    conection pool has been set up successfully?
    When I delete or rename the file wleorb.jar or remove it from the
    classpath, I get the following exception when WLS boots:
    Tue Dec 05 15:42:11 CET 2000:<E> <WebLogicServer> Failed startup on com.beasys.CORBA.pool.weblogic.PoolStartUp
    java.lang.NoClassDefFoundError: com/beasys/CORBA/pool/ConnectionPoolManagerImpl
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getMethod(Class.java:888)
    at weblogic.t3.srvr.T3Srvr.callPoolStartupMehtod(T3Srvr.java:1444)
    at weblogic.t3.srvr.T3Srvr.startIIOPConnectionPools(T3Srvr.java:1422)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1262)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    (note the spelling mistake ("callPoolStartupMehtod"). Could this be
    part of the problem?)
    When I remove the connection pool entry from weblogic.properties, the
    exception disappears.
    I examined the file $WLS_HOME/myserver/weblogic.log as well as the
    standard output and standard error of the WLS process. Are there any
    other places to look at?
    I'm still suspecting the order in which the JAR files appear in my
    system class path and weblogic class path. As pointed out in my
    previous posting, the order is as follows:
    system class path:
    ./lib/weblogic510sp6boot.jar:./lib/wleorb.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar
    weblogic.class.path:
    ./lib/weblogic510sp6.jar:./lib/wlepool.jar:./license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses
    Is anything wrong with that? I could try out all permutations, but
    that would take a while....
    Could anybody post the class paths of a WLS configuration with a
    working WLEC?
    Thank you,
    Olaf
    Olaf Klischat | Fraunhofer ISST
    Oberfeldstrasse 132 | Mollstrasse 1
    12683 Berlin, Germany | 10178 Berlin, Germany
    phone: +49 30 54986231 | mail: [email protected]

  • Der2pem does not work

    I followed the manual instructions and ran the setWLSEnv.sh from the /server/bin directory to make sure weblogic.jar is in the path. Now when I run der2pem as suggested in the bea weblogic manual der2pem does not work.
    [182] % sudo java utils.der2pem
    Exception in thread "main" java.lang.NoClassDefFoundError: utils/der2pem
    [183] %
    Did anyone else faced the same problem?
    Thanks

    Forget the environment script and specify the classpath when you execute
    java. The path is not important, only the classpath.
    java -cp ${WL_HOME}/server/lib/weblogic.jar utils.der2pem ...
    Grant
    I followed the manual instructions and ran the setWLSEnv.sh from the
    /server/bin directory to make sure weblogic.jar is in the path. Now
    when I run der2pem as suggested in the bea weblogic manual der2pem
    does not work.
    [182] % sudo java utils.der2pem
    Exception in thread "main" java.lang.NoClassDefFoundError:
    utils/der2pem
    [183] %
    Did anyone else faced the same problem?
    Thanks

  • Installed Premiere Pro CS4 but video display does not work?

    I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
    1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
    2) the UI is way too slow for my big beefy system.
    My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
    Any ideas how to solve this CS4 install issue?
    Ron

    I would like to thank Dan, Hunt, and Haram:
    The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
    My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
    My PC is brand new with the following "beefy" components:
    Motherboard
    nForce 790i SLI FTW
    Features:
    3x PCI Express x16 graphics support
    PCI Express 2.0
    NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
    DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
    Overclocking tools
    NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
    ESA Certified
    NVIDIA DualNet and FirstPacket Ethernet technology
    Registered
    CPU: Intel Core 2 Quad Q9550
    S-Spec: SLAWQ
    Ver: E36105-001
    Product Code: BX80569Q9550
    Made in Malaysia
    Pack Date: 09/04/08
    Features:
    Freq.: 2.83 GHz
    L2 Cache: 12 MHz Cache
    FSB: 1333 MHz (MT/s)
    Core: 45nm
    Code named: Yorkfield
    Power:95W
    Socket: LGA775
    Cooling: Liquid Cooled
    NVIDIAGeForce GTX 280 SC graphics card
    Features:
    1 GB of onboard memory
    Full Microsoft DirectX 10
    NVIDIA 2-way and 3-way SLI Ready
    NVIDIA PureVideo HD technology
    NVIDIA PhysX Ready
    NVIDI CUDA technology
    PCI Express 2.0 support
    Dual-link HDCP
    OpenGL 2.1 Capaple
    Output: DVI (2 dual-link), HDTV
    Western Digital
    2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
    Features:
    10,000 RPM, 3 Gb/sec transfer rate
    RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
    p/n: TW3X4G1333C9DHX G
    product: CM3X2048-1333C9DHX
    Features:
    XMS3 DHX Dual-Path 'heat xchange'
    2048 x 2 MB
    1333 MHz
    Latency 9-9-9-24-2T
    1.6V ver3.2

  • A2109 tablet autorotate does not work

    The autorotation on my recently purchased tablet A2109 does not work. I look in settings and the auto rotate field is not highlighted, I therefore cannot choose to turn it on.The tablet has the Android jellybean OS and I did update it but to no avail. Can anyone help?
    Thanks
    Solved!
    Go to Solution.

    Dear tdsouza
    Welcome in lenovo forums
    just a clarification , do you mean option Rotate is dimmed in setting 
    Please let me know 
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • For what reason on my tablet with OS Android 4.1 does not work flash on the sites?

    Hi! I recently bought a Google Nexus 7 tablet with Android 4.1 operating system and on my tablet does not work flash sites. Why adobe does not release a new version of flash for android 4.1? Why it was necessary to buy a company Macromedia, if adobe does not want to develop web technology? I think against Adobe can sue for violation of antitrust

    I found this for example:
    http://www.slashgear.com/adobe-no-jelly-bean-flash-flash-player-pulled-altogether-august-1 5-29236404/

  • My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already

    My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already have it installed...

    1.      Are you getting any error message?
    2.      Which browser are you using?
    3.      Were there any recent changes made on the computer prior to the issue?

  • My flash player does not work on my tablet.

    My flash player does not work on my tablet

    Your tablet uses Android OS.
    There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device.

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

Maybe you are looking for

  • Error while running Dev60 with jdk 11711o

    Dear OTN Members / Oracle Development Team. Have any one tried it. Help required form Oracle Devlopemnt Team. hi i am using oracle8 OAS 4.0.7, Developer 6.0 production with NT 4.0 and service Pack 3 when i try to run the form through jinitinator or J

  • Firefox won't load homepage when launched and crashes when closed.

    Last night, while I was in Firefox, a notification popped up that updater.exe had been downloaded. I could easily take a guess: a new version of Firefox was out. I closed Firefox and then had the updater do its thing. When Firefox then launched & cam

  • Sql query taking long time

    the below query is taking very long time. select /*+ PARALLEL(a,8) PARALLEL(b,8) */ a.personid,a.winning_id, b.questionid from winning_id_cleanup a , rm_personquestion b where a.personid = b.personid and (a.winning_id,b.questionid) not in (select /*+

  • Difference Smart Sync - Generic Sync

    Hi all, sorry for this simple and maybe stupid question, but I am a newbie in this topic. Can anybody tell me the differnce between generic sync and smart sync and when do i have to use them? Can they be used mixed or only one of them? Thanks in adva

  • With the new i tunes donwload I now have many songs that will not play

    with the new i tunes donwload I now have many songs that will not play